From 9612eb0c1cacafdd4d29a6398321074c65f3c4c5 Mon Sep 17 00:00:00 2001 From: Guillaume Claret Date: Mon, 31 Mar 2025 00:16:44 +0200 Subject: [PATCH] feat: handle constants like functions fro better support --- CoqOfRust/M.v | 82 +- CoqOfRust/alloc/alloc.v | 67 +- CoqOfRust/alloc/borrow.v | 8 +- CoqOfRust/alloc/boxed.v | 123 +- CoqOfRust/alloc/boxed/convert.v | 34 +- CoqOfRust/alloc/boxed/thin.v | 54 +- CoqOfRust/alloc/collections/binary_heap/mod.v | 172 +- CoqOfRust/alloc/collections/btree/append.v | 17 +- CoqOfRust/alloc/collections/btree/borrow.v | 8 +- .../collections/btree/dedup_sorted_iter.v | 2 +- CoqOfRust/alloc/collections/btree/fix.v | 89 +- CoqOfRust/alloc/collections/btree/map.v | 171 +- CoqOfRust/alloc/collections/btree/map/entry.v | 43 +- CoqOfRust/alloc/collections/btree/mem.v | 4 +- .../alloc/collections/btree/merge_iter.v | 6 +- CoqOfRust/alloc/collections/btree/navigate.v | 110 +- CoqOfRust/alloc/collections/btree/node.v | 509 +- CoqOfRust/alloc/collections/btree/remove.v | 37 +- CoqOfRust/alloc/collections/btree/search.v | 21 +- CoqOfRust/alloc/collections/btree/set.v | 177 +- CoqOfRust/alloc/collections/btree/set/entry.v | 18 +- CoqOfRust/alloc/collections/btree/split.v | 6 +- CoqOfRust/alloc/collections/linked_list.v | 151 +- CoqOfRust/alloc/collections/mod.v | 2 +- CoqOfRust/alloc/collections/vec_deque/drain.v | 4 +- .../alloc/collections/vec_deque/into_iter.v | 52 +- CoqOfRust/alloc/collections/vec_deque/iter.v | 16 +- .../alloc/collections/vec_deque/iter_mut.v | 20 +- CoqOfRust/alloc/collections/vec_deque/mod.v | 209 +- CoqOfRust/alloc/ffi/c_str.v | 53 +- CoqOfRust/alloc/fmt.v | 4 +- CoqOfRust/alloc/raw_vec.v | 289 +- CoqOfRust/alloc/rc.v | 192 +- CoqOfRust/alloc/slice.v | 48 +- CoqOfRust/alloc/str.v | 88 +- CoqOfRust/alloc/string.v | 273 +- CoqOfRust/alloc/sync.v | 406 +- CoqOfRust/alloc/task.v | 22 +- CoqOfRust/alloc/vec/drain.v | 19 +- CoqOfRust/alloc/vec/extract_if.v | 2 +- CoqOfRust/alloc/vec/in_place_collect.v | 36 +- CoqOfRust/alloc/vec/in_place_drop.v | 2 +- CoqOfRust/alloc/vec/into_iter.v | 209 +- CoqOfRust/alloc/vec/is_zero.v | 38 +- CoqOfRust/alloc/vec/mod.v | 166 +- CoqOfRust/alloc/vec/set_len_on_drop.v | 6 +- CoqOfRust/alloc/vec/spec_from_iter_nested.v | 9 +- CoqOfRust/alloc/vec/splice.v | 4 +- CoqOfRust/alloy_primitives/bits/address.v | 35 +- CoqOfRust/alloy_primitives/bits/bloom.v | 211 +- CoqOfRust/alloy_primitives/bits/fixed.v | 268 +- CoqOfRust/alloy_primitives/bits/function.v | 10 +- CoqOfRust/alloy_primitives/bits/links/fixed.v | 23 +- CoqOfRust/alloy_primitives/bits/macros.v | 177 +- CoqOfRust/alloy_primitives/bytes/mod.v | 24 +- CoqOfRust/alloy_primitives/common.v | 9 +- CoqOfRust/alloy_primitives/log/mod.v | 52 +- CoqOfRust/alloy_primitives/map/fixed.v | 40 +- CoqOfRust/alloy_primitives/sealed.v | 24 +- CoqOfRust/alloy_primitives/signature/parity.v | 20 +- .../signature/primitive_sig.v | 119 +- CoqOfRust/alloy_primitives/signature/sig.v | 127 +- CoqOfRust/alloy_primitives/signature/utils.v | 10 +- .../alloy_primitives/signed/conversions.v | 96 +- CoqOfRust/alloy_primitives/signed/int.v | 336 +- CoqOfRust/alloy_primitives/signed/ops.v | 684 +- CoqOfRust/alloy_primitives/signed/sign.v | 9 +- CoqOfRust/alloy_primitives/signed/utils.v | 111 +- CoqOfRust/alloy_primitives/utils/mod.v | 114 +- CoqOfRust/alloy_primitives/utils/units.v | 506 +- CoqOfRust/core/alloc/layout.v | 55 +- CoqOfRust/core/any.v | 40 +- CoqOfRust/core/arch.v | 2 +- CoqOfRust/core/array/ascii.v | 4 +- CoqOfRust/core/array/drain.v | 2 +- CoqOfRust/core/array/iter.v | 39 +- CoqOfRust/core/array/mod.v | 84 +- CoqOfRust/core/ascii.v | 8 +- CoqOfRust/core/ascii/ascii_char.v | 36 +- CoqOfRust/core/asserting.v | 2 +- CoqOfRust/core/async_iter/async_iter.v | 36 +- CoqOfRust/core/async_iter/from_iter.v | 2 +- CoqOfRust/core/bool.v | 4 +- CoqOfRust/core/cell.v | 152 +- CoqOfRust/core/cell/lazy.v | 16 +- CoqOfRust/core/cell/once.v | 24 +- CoqOfRust/core/char/convert.v | 8 +- CoqOfRust/core/char/decode.v | 4 +- CoqOfRust/core/char/methods.v | 197 +- CoqOfRust/core/char/mod.v | 169 +- CoqOfRust/core/clone/uninit.v | 4 +- CoqOfRust/core/cmp.v | 38 +- CoqOfRust/core/convert/mod.v | 3 +- CoqOfRust/core/convert/num.v | 482 +- CoqOfRust/core/error.v | 56 +- CoqOfRust/core/escape.v | 535 +- CoqOfRust/core/ffi/c_str.v | 50 +- CoqOfRust/core/ffi/va_list.v | 14 +- CoqOfRust/core/fmt/builders.v | 79 +- CoqOfRust/core/fmt/float.v | 16 +- CoqOfRust/core/fmt/mod.v | 164 +- CoqOfRust/core/fmt/num.v | 336 +- CoqOfRust/core/fmt/rt.v | 34 +- CoqOfRust/core/future/async_drop.v | 28 +- CoqOfRust/core/future/join.v | 2 +- CoqOfRust/core/future/mod.v | 2 +- CoqOfRust/core/future/pending.v | 2 +- CoqOfRust/core/future/poll_fn.v | 2 +- CoqOfRust/core/future/ready.v | 5 +- CoqOfRust/core/hash/mod.v | 2 +- CoqOfRust/core/hash/sip.v | 14 +- CoqOfRust/core/hint.v | 12 +- CoqOfRust/core/intrinsics.v | 2556 -- .../intrinsics.v => intrinsics/links/mod.v} | 2 +- CoqOfRust/core/intrinsics/mir.v | 66 +- CoqOfRust/core/intrinsics/mod.v | 796 +- CoqOfRust/core/intrinsics/simd.v | 140 +- CoqOfRust/core/io/borrowed_buf.v | 46 +- CoqOfRust/core/iter/adapters/array_chunks.v | 95 +- CoqOfRust/core/iter/adapters/chain.v | 6 +- CoqOfRust/core/iter/adapters/cloned.v | 56 +- CoqOfRust/core/iter/adapters/copied.v | 103 +- CoqOfRust/core/iter/adapters/cycle.v | 10 +- CoqOfRust/core/iter/adapters/enumerate.v | 61 +- CoqOfRust/core/iter/adapters/filter.v | 109 +- CoqOfRust/core/iter/adapters/filter_map.v | 59 +- CoqOfRust/core/iter/adapters/flatten.v | 323 +- CoqOfRust/core/iter/adapters/fuse.v | 25 +- CoqOfRust/core/iter/adapters/inspect.v | 48 +- CoqOfRust/core/iter/adapters/intersperse.v | 8 +- CoqOfRust/core/iter/adapters/map.v | 61 +- CoqOfRust/core/iter/adapters/map_while.v | 42 +- CoqOfRust/core/iter/adapters/map_windows.v | 129 +- CoqOfRust/core/iter/adapters/mod.v | 41 +- CoqOfRust/core/iter/adapters/peekable.v | 10 +- CoqOfRust/core/iter/adapters/rev.v | 2 +- CoqOfRust/core/iter/adapters/scan.v | 42 +- CoqOfRust/core/iter/adapters/skip.v | 67 +- CoqOfRust/core/iter/adapters/skip_while.v | 42 +- CoqOfRust/core/iter/adapters/step_by.v | 66 +- CoqOfRust/core/iter/adapters/take.v | 42 +- CoqOfRust/core/iter/adapters/take_while.v | 42 +- CoqOfRust/core/iter/adapters/zip.v | 145 +- CoqOfRust/core/iter/range.v | 258 +- CoqOfRust/core/iter/sources/empty.v | 2 +- CoqOfRust/core/iter/sources/from_coroutine.v | 2 +- CoqOfRust/core/iter/sources/from_fn.v | 2 +- CoqOfRust/core/iter/sources/once.v | 2 +- CoqOfRust/core/iter/sources/once_with.v | 2 +- CoqOfRust/core/iter/sources/repeat.v | 6 +- CoqOfRust/core/iter/sources/repeat_n.v | 6 +- CoqOfRust/core/iter/sources/repeat_with.v | 6 +- CoqOfRust/core/iter/sources/successors.v | 2 +- CoqOfRust/core/iter/traits/collect.v | 4 +- CoqOfRust/core/iter/traits/iterator.v | 6 +- CoqOfRust/core/links/array.v | 77 +- CoqOfRust/core/links/cmp.v | 3 +- CoqOfRust/core/mem/manually_drop.v | 8 +- CoqOfRust/core/mem/maybe_uninit.v | 63 +- CoqOfRust/core/mem/mod.v | 42 +- CoqOfRust/core/mem/transmutability.v | 124 +- CoqOfRust/core/net/display_buffer.v | 4 +- CoqOfRust/core/net/ip_addr.v | 329 +- CoqOfRust/core/net/parser.v | 68 +- CoqOfRust/core/net/socket_addr.v | 44 +- CoqOfRust/core/num/bignum.v | 211 +- CoqOfRust/core/num/dec2flt/common.v | 4 +- CoqOfRust/core/num/dec2flt/decimal.v | 2944 +- CoqOfRust/core/num/dec2flt/float.v | 294 +- CoqOfRust/core/num/dec2flt/fpu.v | 2 +- CoqOfRust/core/num/dec2flt/lemire.v | 125 +- CoqOfRust/core/num/dec2flt/mod.v | 13 +- CoqOfRust/core/num/dec2flt/number.v | 106 +- CoqOfRust/core/num/dec2flt/parse.v | 143 +- CoqOfRust/core/num/dec2flt/slow.v | 203 +- CoqOfRust/core/num/dec2flt/table.v | 6614 ++--- CoqOfRust/core/num/diy_float.v | 22 +- CoqOfRust/core/num/error.v | 2 +- CoqOfRust/core/num/f128.v | 556 +- CoqOfRust/core/num/f16.v | 544 +- CoqOfRust/core/num/f32.v | 661 +- CoqOfRust/core/num/f64.v | 692 +- CoqOfRust/core/num/flt2dec/decoder.v | 14 +- CoqOfRust/core/num/flt2dec/estimator.v | 2 +- CoqOfRust/core/num/flt2dec/mod.v | 59 +- CoqOfRust/core/num/flt2dec/strategy/dragon.v | 421 +- CoqOfRust/core/num/flt2dec/strategy/grisu.v | 1410 +- CoqOfRust/core/num/fmt.v | 8 +- CoqOfRust/core/num/int_log10.v | 182 +- CoqOfRust/core/num/int_sqrt.v | 2094 +- CoqOfRust/core/num/links/mod.v | 19 +- CoqOfRust/core/num/mod.v | 4795 ++-- CoqOfRust/core/num/nonzero.v | 2239 +- CoqOfRust/core/num/overflow_panic.v | 24 +- CoqOfRust/core/num/saturating.v | 888 +- CoqOfRust/core/num/shells/int_macros.v | 216 +- CoqOfRust/core/num/wrapping.v | 1222 +- CoqOfRust/core/ops/control_flow.v | 16 +- CoqOfRust/core/ops/drop.v | 2 +- CoqOfRust/core/ops/index_range.v | 19 +- CoqOfRust/core/ops/range.v | 32 +- CoqOfRust/core/ops/try_trait.v | 6 +- CoqOfRust/core/option.v | 104 +- CoqOfRust/core/panic.v | 90 +- CoqOfRust/core/panic/location.v | 10 +- CoqOfRust/core/panic/panic_info.v | 16 +- CoqOfRust/core/panicking.v | 74 +- CoqOfRust/core/pin.v | 32 +- CoqOfRust/core/ptr/alignment.v | 46 +- CoqOfRust/core/ptr/const_ptr.v | 124 +- CoqOfRust/core/ptr/metadata.v | 14 +- CoqOfRust/core/ptr/mod.v | 181 +- CoqOfRust/core/ptr/mut_ptr.v | 141 +- CoqOfRust/core/ptr/non_null.v | 112 +- CoqOfRust/core/ptr/unique.v | 16 +- CoqOfRust/core/range.v | 18 +- CoqOfRust/core/range/iter.v | 106 +- CoqOfRust/core/result.v | 80 +- CoqOfRust/core/slice/ascii.v | 86 +- CoqOfRust/core/slice/cmp.v | 50 +- CoqOfRust/core/slice/index.v | 63 +- CoqOfRust/core/slice/iter.v | 247 +- CoqOfRust/core/slice/iter/macros.v | 248 +- CoqOfRust/core/slice/memchr.v | 102 +- CoqOfRust/core/slice/mod.v | 505 +- CoqOfRust/core/slice/raw.v | 12 +- CoqOfRust/core/slice/rotate.v | 8 +- CoqOfRust/core/slice/sort/select.v | 59 +- CoqOfRust/core/slice/sort/shared/mod.v | 2 +- CoqOfRust/core/slice/sort/shared/pivot.v | 34 +- CoqOfRust/core/slice/sort/shared/smallsort.v | 296 +- CoqOfRust/core/slice/sort/stable/drift.v | 73 +- CoqOfRust/core/slice/sort/stable/merge.v | 6 +- CoqOfRust/core/slice/sort/stable/mod.v | 78 +- CoqOfRust/core/slice/sort/stable/quicksort.v | 36 +- CoqOfRust/core/slice/sort/unstable/heapsort.v | 4 +- CoqOfRust/core/slice/sort/unstable/mod.v | 32 +- .../core/slice/sort/unstable/quicksort.v | 56 +- CoqOfRust/core/str/converts.v | 12 +- CoqOfRust/core/str/count.v | 194 +- CoqOfRust/core/str/error.v | 4 +- CoqOfRust/core/str/iter.v | 85 +- CoqOfRust/core/str/lossy.v | 33 +- CoqOfRust/core/str/mod.v | 191 +- CoqOfRust/core/str/pattern.v | 202 +- CoqOfRust/core/str/traits.v | 66 +- CoqOfRust/core/str/validations.v | 677 +- CoqOfRust/core/sync/atomic.v | 730 +- CoqOfRust/core/sync/exclusive.v | 12 +- CoqOfRust/core/task/poll.v | 14 +- CoqOfRust/core/task/wake.v | 120 +- CoqOfRust/core/time.v | 809 +- CoqOfRust/core/ub_checks.v | 50 +- CoqOfRust/core/unicode/mod.v | 15 +- CoqOfRust/core/unicode/printable.v | 3209 ++- CoqOfRust/core/unicode/unicode_data.v | 23817 ++++++++-------- .../axiomatized/examples/custom/add_one.v | 2 +- .../examples/custom/constructor_as_function.v | 4 +- .../axiomatized/examples/custom/hello_world.v | 8 +- .../axiomatized/examples/custom/impl_param.v | 3 +- .../examples/custom/module_duplicate.v | 7 +- .../axiomatized/examples/custom/mutual_loop.v | 8 +- .../custom/pattern_in_function_parameters.v | 5 +- .../custom/polymorphic_associated_function.v | 4 +- .../examples/custom/polymorphic_constants.v | 4 +- .../examples/custom/provided_method.v | 2 +- .../ink_contracts/basic_contract_caller.v | 10 +- .../examples/ink_contracts/call_runtime.v | 13 +- .../ink_contracts/conditional_compilation.v | 23 +- .../ink_contracts/contract_terminate.v | 13 +- .../ink_contracts/contract_transfer.v | 20 +- .../examples/ink_contracts/custom_allocator.v | 8 +- .../ink_contracts/custom_environment.v | 13 +- .../axiomatized/examples/ink_contracts/dns.v | 44 +- .../examples/ink_contracts/e2e_call_runtime.v | 11 +- .../examples/ink_contracts/erc1155.v | 50 +- .../examples/ink_contracts/erc20.v | 34 +- .../examples/ink_contracts/erc721.v | 65 +- .../examples/ink_contracts/flipper.v | 8 +- .../examples/ink_contracts/incrementer.v | 8 +- .../lang_err_integration_tests/call_builder.v | 12 +- .../call_builder_delegate.v | 7 +- .../constructors_return_value.v | 14 +- .../lang_err_integration_tests/contract_ref.v | 23 +- .../integration_flipper.v | 13 +- .../ink_contracts/mapping_integration_tests.v | 35 +- .../examples/ink_contracts/mother.v | 25 +- .../examples/ink_contracts/multisig.v | 84 +- .../examples/ink_contracts/payment_channel.v | 51 +- .../examples/ink_contracts/set_code_hash.v | 11 +- .../set_code_hash/updated_incrementer.v | 16 +- .../examples/ink_contracts/trait_erc20.v | 21 +- .../examples/ink_contracts/trait_flipper.v | 2 +- .../ink_contracts/trait_incrementer.v | 4 +- .../ink_contracts/wildcard_selector.v | 9 +- .../monadic_transformation/example01.v | 6 +- .../monadic_transformation/example02.v | 2 +- .../monadic_transformation/example03.v | 2 +- .../monadic_transformation/example04.v | 2 +- .../monadic_transformation/example05.v | 4 +- .../examples/rust_book/attributes/dead_code.v | 8 +- .../rust_book/cargo/concurrent_tests.v | 6 +- .../conversion/converting_to_string.v | 2 +- .../examples/rust_book/conversion/from.v | 2 +- .../examples/rust_book/conversion/into.v | 2 +- .../rust_book/conversion/parsing_a_string.v | 2 +- .../conversion/try_from_and_try_into.v | 2 +- .../rust_book/custom_types/constants.v | 18 +- .../examples/rust_book/custom_types/enums.v | 4 +- .../rust_book/custom_types/enums_c_like.v | 2 +- .../custom_types/enums_testcase_linked_list.v | 11 +- .../custom_types/enums_type_aliases_v1.v | 2 +- .../custom_types/enums_type_aliases_v2.v | 2 +- .../rust_book/custom_types/enums_use.v | 2 +- .../rust_book/custom_types/structures.v | 2 +- .../error_handling/aliases_for_result.v | 6 +- .../rust_book/error_handling/boxing_errors.v | 6 +- .../error_handling/combinators_and_then.v | 12 +- .../error_handling/combinators_map.v | 12 +- .../error_handling/defining_an_error_type.v | 7 +- .../rust_book/error_handling/early_returns.v | 7 +- .../introducing_question_mark.v | 8 +- ...ark_is_an_replacement_for_deprecated_try.v | 6 +- ..._valid_values_and_failures_via_partition.v | 2 +- ...ues_and_failures_via_partition_unwrapped.v | 2 +- ...sults_collect_via_map_err_and_filter_map.v | 2 +- ...esults_fail_entire_operation_via_collect.v | 2 +- .../iterating_over_results_failed.v | 2 +- ...ating_over_results_handle_via_filter_map.v | 2 +- .../map_in_result_via_combinators.v | 6 +- .../error_handling/map_in_result_via_match.v | 7 +- .../error_handling/multiple_error_types.v | 4 +- .../error_handling/option_and_unwrap.v | 6 +- .../other_uses_of_question_mark.v | 7 +- .../examples/rust_book/error_handling/panic.v | 4 +- .../pulling_results_out_of_options.v | 4 +- ...ut_of_options_with_stop_error_processing.v | 4 +- .../error_handling/result_use_in_main.v | 2 +- ...g_options_and_defaults_via_get_or_insert.v | 2 +- ...ions_and_defaults_via_get_or_insert_with.v | 2 +- .../unpacking_options_and_defaults_via_or.v | 2 +- ...packing_options_and_defaults_via_or_else.v | 2 +- .../unpacking_options_via_question_mark.v | 4 +- .../error_handling/wrapping_errors.v | 6 +- .../examples/rust_book/expressions/blocks.v | 2 +- .../rust_book/expressions/statement.v | 2 +- .../variable_binding_and_expression.v | 2 +- .../for_and_iterators_into_iter.v | 3 +- .../flow_of_control/for_and_iterators_iter.v | 2 +- .../for_and_iterators_iter_mut.v | 3 +- .../for_and_range_completely_inclusive.v | 2 +- .../for_and_range_inclusive_to_exclusive.v | 2 +- .../rust_book/flow_of_control/if_else.v | 2 +- .../rust_book/flow_of_control/if_let.v | 2 +- .../flow_of_control/if_let_challenge.v | 2 +- .../flow_of_control/if_let_dont_use_match.v | 2 +- .../if_let_match_enum_values.v | 2 +- .../rust_book/flow_of_control/infinite_loop.v | 2 +- .../flow_of_control/loop_nesting_and_labels.v | 2 +- .../loop_returning_from_loops.v | 3 +- .../rust_book/flow_of_control/match.v | 2 +- .../rust_book/flow_of_control/match_binding.v | 4 +- .../match_binding_destructure_enum_variants.v | 4 +- .../match_destructuring_arrays_slices.v | 2 +- .../match_destructuring_enums.v | 3 +- .../match_destructuring_pointers_ref.v | 2 +- .../match_destructuring_structs.v | 3 +- .../match_destructuring_tuples.v | 3 +- .../match_destructuring_tuples_fixed.v | 2 +- .../rust_book/flow_of_control/match_guards.v | 2 +- .../match_guards_unreachable.v | 2 +- .../rust_book/flow_of_control/while.v | 2 +- .../rust_book/flow_of_control/while_let.v | 2 +- .../while_let_match_is_weird.v | 2 +- .../associated_functions_and_methods.v | 16 +- .../rust_book/functions/diverging_functions.v | 4 +- ...erging_functions_example_sum_odd_numbers.v | 4 +- ...verging_functions_no_info_in_return_type.v | 4 +- .../examples/rust_book/functions/functions.v | 8 +- .../rust_book/functions/functions_closures.v | 2 +- .../functions_closures_as_input_parameters.v | 6 +- .../functions_closures_as_output_parameters.v | 8 +- .../functions/functions_closures_capturing.v | 3 +- .../functions_closures_example_Iterator_any.v | 2 +- ...earching_through_iterators_Iterator_find.v | 4 +- ...hing_through_iterators_Iterator_position.v | 2 +- ...ions_closures_forced_capturing_with_move.v | 2 +- .../functions_closures_input_functions.v | 6 +- ...functions_closures_type_anonymity_define.v | 4 +- ...s_closures_type_anonymity_define_and_use.v | 4 +- .../rust_book/functions/functions_order.v | 20 +- .../functions/higher_order_functions.v | 5 +- .../examples/rust_book/generics/generics.v | 2 +- .../generics_associated_types_problem.v | 4 +- .../generics_associated_types_solution.v | 8 +- .../rust_book/generics/generics_bounds.v | 6 +- .../generics_bounds_test_case_empty_bounds.v | 6 +- .../rust_book/generics/generics_functions.v | 11 +- .../generics/generics_implementation.v | 6 +- .../generics/generics_multiple_bounds.v | 6 +- .../generics/generics_new_type_idiom.v | 9 +- .../generics_new_type_idiom_as_base_type.v | 2 +- .../generics/generics_phantom_type.v | 2 +- ...hantom_type_test_case_unit_clarification.v | 2 +- .../rust_book/generics/generics_traits.v | 2 +- .../generics/generics_where_clauses.v | 2 +- .../rust_book/guessing_game/guessing_game.v | 5 +- .../rust_book/hello_world/formatted_print.v | 2 +- .../rust_book/hello_world/hello_world.v | 2 +- .../rust_book/macro_rules/macro_example.v | 2 +- .../macro_rules/macro_rules_designators.v | 6 +- .../rust_book/macro_rules/macro_rules_dsl.v | 2 +- .../macro_rules/macro_rules_overload.v | 2 +- .../macro_rules/macro_rules_repeat.v | 2 +- .../macro_rules_variadic_interfaces.v | 2 +- .../rust_book/modules/struct_visibility.v | 4 +- .../rust_book/modules/super_and_self.v | 13 +- .../modules/the_use_as_declaration.v | 6 +- .../examples/rust_book/modules/visibility.v | 30 +- .../rust_book/primitives/arrays_and_slices.v | 4 +- .../rust_book/primitives/compound_types.v | 2 +- .../rust_book/primitives/literals_operators.v | 2 +- .../examples/rust_book/primitives/tuples.v | 4 +- .../scoping_rules/scoping_rules_borrowing.v | 6 +- .../scoping_rules_borrowing_aliasing.v | 2 +- .../scoping_rules_borrowing_mutablity.v | 6 +- .../scoping_rules_borrowing_the_ref_pattern.v | 2 +- .../scoping_rules/scoping_rules_lifetimes.v | 2 +- .../scoping_rules_lifetimes_bounds.v | 6 +- .../scoping_rules_lifetimes_coercion.v | 6 +- .../scoping_rules_lifetimes_elision.v | 10 +- .../scoping_rules_lifetimes_functions.v | 10 +- .../scoping_rules_lifetimes_methods.v | 6 +- ...ules_lifetimes_reference_lifetime_static.v | 14 +- .../scoping_rules_lifetimes_structs.v | 2 +- .../scoping_rules_lifetimes_traits.v | 2 +- .../scoping_rules_ownership_and_rules.v | 4 +- ...ping_rules_ownership_and_rules_mutablity.v | 2 +- ..._rules_ownership_and_rules_partial_moves.v | 2 +- .../scoping_rules/scoping_rules_raii.v | 4 +- .../scoping_rules_raii_desctructor.v | 2 +- .../rust_book/std_library_types/arc.v | 2 +- .../std_library_types/box_stack_heap.v | 6 +- .../rust_book/std_library_types/hash_map.v | 4 +- .../hash_map_alternate_or_custom_key_types.v | 4 +- .../std_library_types/hash_map_hash_set.v | 2 +- .../rust_book/std_library_types/option.v | 6 +- .../rust_book/std_library_types/panic.v | 4 +- .../examples/rust_book/std_library_types/rc.v | 2 +- .../rust_book/std_library_types/result.v | 10 +- .../result_chaining_with_question_mark.v | 12 +- .../rust_book/std_library_types/strings.v | 2 +- .../strings_byte_strings_as_non_utf8.v | 2 +- .../strings_literals_and_escapes.v | 3 +- .../strings_raw_string_literals.v | 3 +- .../rust_book/std_library_types/vectors.v | 2 +- .../examples/rust_book/std_misc/channels.v | 9 +- .../rust_book/std_misc/child_processes.v | 2 +- .../std_misc/child_processes_pipes.v | 9 +- .../rust_book/std_misc/child_processes_wait.v | 2 +- .../rust_book/std_misc/file_io_create.v | 10 +- .../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 | 8 +- .../std_misc/foreign_function_interface.v | 9 +- .../examples/rust_book/std_misc/path.v | 2 +- .../rust_book/std_misc/program_arguments.v | 2 +- .../std_misc/program_arguments_parsing.v | 10 +- .../examples/rust_book/std_misc/threads.v | 9 +- .../std_misc/threads_test_case_map_reduce.v | 3 +- .../rust_book/testing/documentation_testing.v | 4 +- .../examples/rust_book/testing/unit_testing.v | 8 +- .../examples/rust_book/traits/clone.v | 2 +- .../examples/rust_book/traits/derive.v | 4 +- .../disambiguating_overlapping_traits.v | 2 +- .../examples/rust_book/traits/drop.v | 2 +- .../examples/rust_book/traits/hash.v | 4 +- .../traits/impl_trait_as_return_type.v | 7 +- .../examples/rust_book/traits/iterators.v | 4 +- .../rust_book/traits/operator_overloading.v | 2 +- .../traits/returning_traits_with_dyn.v | 5 +- .../examples/rust_book/traits/supertraits.v | 4 +- .../examples/rust_book/traits/traits.v | 7 +- .../examples/rust_book/types/aliasing.v | 2 +- .../examples/rust_book/types/casting.v | 2 +- .../examples/rust_book/types/inference.v | 2 +- .../examples/rust_book/types/literals.v | 2 +- .../calling_unsafe_functions.v | 2 +- .../unsafe_operations/inline_assembly.v | 2 +- .../inline_assembly_clobbered_registers.v | 2 +- ...line_assembly_explicit_register_operands.v | 2 +- ...line_assembly_inlateout_case_implemented.v | 2 +- .../inline_assembly_inlateout_case_non_used.v | 2 +- .../inline_assembly_inlateout_mul.v | 4 +- .../unsafe_operations/inline_assembly_inout.v | 2 +- .../inline_assembly_inputs_and_outputs.v | 2 +- ...embly_inputs_and_outputs_another_example.v | 2 +- ..._and_outputs_another_example_without_mov.v | 2 +- .../inline_assembly_labels.v | 2 +- .../inline_assembly_memory_address_operands.v | 4 +- .../inline_assembly_options.v | 2 +- ...ine_assembly_register_template_modifiers.v | 2 +- .../inline_assembly_scratch_register.v | 2 +- ...ssembly_symbol_operands_and_abi_clobbers.v | 6 +- .../unsafe_operations/raw_pointers.v | 2 +- .../variable_bindings/declare_first.v | 2 +- .../rust_book/variable_bindings/freezing.v | 2 +- .../rust_book/variable_bindings/mutability.v | 2 +- .../rust_book/variable_bindings/scope.v | 2 +- .../variable_bindings/variable_bindings.v | 2 +- .../variable_bindings/variable_shadowing.v | 2 +- .../examples/axiomatized/examples/subtle.v | 24 +- .../default/examples/custom/add_one.v | 2 +- .../examples/custom/constructor_as_function.v | 4 +- .../default/examples/custom/hello_world.v | 16 +- .../default/examples/custom/impl_param.v | 3 +- .../examples/custom/module_duplicate.v | 7 +- .../default/examples/custom/mutual_loop.v | 8 +- .../custom/pattern_in_function_parameters.v | 5 +- .../custom/polymorphic_associated_function.v | 4 +- .../examples/custom/polymorphic_constants.v | 4 +- .../default/examples/custom/provided_method.v | 2 +- .../ink_contracts/basic_contract_caller.v | 10 +- .../examples/ink_contracts/call_runtime.v | 13 +- .../ink_contracts/conditional_compilation.v | 23 +- .../ink_contracts/contract_terminate.v | 13 +- .../ink_contracts/contract_transfer.v | 20 +- .../examples/ink_contracts/custom_allocator.v | 8 +- .../ink_contracts/custom_environment.v | 13 +- .../default/examples/ink_contracts/dns.v | 44 +- .../examples/ink_contracts/e2e_call_runtime.v | 11 +- .../default/examples/ink_contracts/erc1155.v | 102 +- .../default/examples/ink_contracts/erc20.v | 34 +- .../default/examples/ink_contracts/erc721.v | 65 +- .../default/examples/ink_contracts/flipper.v | 8 +- .../examples/ink_contracts/incrementer.v | 8 +- .../lang_err_integration_tests/call_builder.v | 12 +- .../call_builder_delegate.v | 7 +- .../constructors_return_value.v | 14 +- .../lang_err_integration_tests/contract_ref.v | 23 +- .../integration_flipper.v | 13 +- .../default/examples/ink_contracts/lib.v | 56 - .../ink_contracts/mapping_integration_tests.v | 35 +- .../default/examples/ink_contracts/mother.v | 25 +- .../default/examples/ink_contracts/multisig.v | 122 +- .../examples/ink_contracts/payment_channel.v | 51 +- .../examples/ink_contracts/set_code_hash.v | 11 +- .../set_code_hash/updated_incrementer.v | 16 +- .../examples/ink_contracts/trait_erc20.v | 21 +- .../examples/ink_contracts/trait_flipper.v | 2 +- .../ink_contracts/trait_incrementer.v | 4 +- .../ink_contracts/wildcard_selector.v | 9 +- .../monadic_transformation/example01.v | 6 +- .../monadic_transformation/example02.v | 2 +- .../monadic_transformation/example03.v | 2 +- .../monadic_transformation/example04.v | 2 +- .../monadic_transformation/example05.v | 4 +- .../examples/rust_book/attributes/dead_code.v | 8 +- .../rust_book/cargo/concurrent_tests.v | 6 +- .../conversion/converting_to_string.v | 2 +- .../examples/rust_book/conversion/from.v | 2 +- .../examples/rust_book/conversion/into.v | 2 +- .../rust_book/conversion/parsing_a_string.v | 2 +- .../conversion/try_from_and_try_into.v | 2 +- .../rust_book/custom_types/constants.v | 41 +- .../examples/rust_book/custom_types/enums.v | 4 +- .../rust_book/custom_types/enums_c_like.v | 18 +- .../custom_types/enums_testcase_linked_list.v | 11 +- .../custom_types/enums_type_aliases_v1.v | 2 +- .../custom_types/enums_type_aliases_v2.v | 2 +- .../rust_book/custom_types/enums_use.v | 2 +- .../rust_book/custom_types/structures.v | 2 +- .../error_handling/aliases_for_result.v | 6 +- .../rust_book/error_handling/boxing_errors.v | 6 +- .../error_handling/combinators_and_then.v | 12 +- .../error_handling/combinators_map.v | 12 +- .../error_handling/defining_an_error_type.v | 7 +- .../rust_book/error_handling/early_returns.v | 7 +- .../introducing_question_mark.v | 8 +- ...ark_is_an_replacement_for_deprecated_try.v | 6 +- ..._valid_values_and_failures_via_partition.v | 2 +- ...ues_and_failures_via_partition_unwrapped.v | 2 +- ...sults_collect_via_map_err_and_filter_map.v | 2 +- ...esults_fail_entire_operation_via_collect.v | 2 +- .../iterating_over_results_failed.v | 2 +- ...ating_over_results_handle_via_filter_map.v | 2 +- .../map_in_result_via_combinators.v | 6 +- .../error_handling/map_in_result_via_match.v | 7 +- .../error_handling/multiple_error_types.v | 4 +- .../error_handling/option_and_unwrap.v | 6 +- .../other_uses_of_question_mark.v | 7 +- .../examples/rust_book/error_handling/panic.v | 4 +- .../pulling_results_out_of_options.v | 4 +- ...ut_of_options_with_stop_error_processing.v | 4 +- .../error_handling/result_use_in_main.v | 2 +- ...g_options_and_defaults_via_get_or_insert.v | 2 +- ...ions_and_defaults_via_get_or_insert_with.v | 2 +- .../unpacking_options_and_defaults_via_or.v | 2 +- ...packing_options_and_defaults_via_or_else.v | 2 +- .../unpacking_options_via_question_mark.v | 4 +- .../error_handling/wrapping_errors.v | 6 +- .../examples/rust_book/expressions/blocks.v | 2 +- .../rust_book/expressions/statement.v | 2 +- .../variable_binding_and_expression.v | 2 +- .../for_and_iterators_into_iter.v | 3 +- .../flow_of_control/for_and_iterators_iter.v | 2 +- .../for_and_iterators_iter_mut.v | 3 +- .../for_and_range_completely_inclusive.v | 2 +- .../for_and_range_inclusive_to_exclusive.v | 2 +- .../rust_book/flow_of_control/if_else.v | 2 +- .../rust_book/flow_of_control/if_let.v | 2 +- .../flow_of_control/if_let_challenge.v | 2 +- .../flow_of_control/if_let_dont_use_match.v | 2 +- .../if_let_match_enum_values.v | 2 +- .../rust_book/flow_of_control/infinite_loop.v | 2 +- .../flow_of_control/loop_nesting_and_labels.v | 2 +- .../loop_returning_from_loops.v | 3 +- .../rust_book/flow_of_control/match.v | 2 +- .../rust_book/flow_of_control/match_binding.v | 4 +- .../match_binding_destructure_enum_variants.v | 4 +- .../match_destructuring_arrays_slices.v | 2 +- .../match_destructuring_enums.v | 3 +- .../match_destructuring_pointers_ref.v | 2 +- .../match_destructuring_structs.v | 3 +- .../match_destructuring_tuples.v | 3 +- .../match_destructuring_tuples_fixed.v | 2 +- .../rust_book/flow_of_control/match_guards.v | 2 +- .../match_guards_unreachable.v | 2 +- .../rust_book/flow_of_control/while.v | 2 +- .../rust_book/flow_of_control/while_let.v | 2 +- .../while_let_match_is_weird.v | 2 +- .../associated_functions_and_methods.v | 16 +- .../rust_book/functions/diverging_functions.v | 4 +- ...erging_functions_example_sum_odd_numbers.v | 4 +- ...verging_functions_no_info_in_return_type.v | 4 +- .../examples/rust_book/functions/functions.v | 8 +- .../rust_book/functions/functions_closures.v | 2 +- .../functions_closures_as_input_parameters.v | 6 +- .../functions_closures_as_output_parameters.v | 8 +- .../functions/functions_closures_capturing.v | 3 +- .../functions_closures_example_Iterator_any.v | 2 +- ...earching_through_iterators_Iterator_find.v | 4 +- ...hing_through_iterators_Iterator_position.v | 2 +- ...ions_closures_forced_capturing_with_move.v | 2 +- .../functions_closures_input_functions.v | 6 +- ...functions_closures_type_anonymity_define.v | 4 +- ...s_closures_type_anonymity_define_and_use.v | 4 +- .../rust_book/functions/functions_order.v | 20 +- .../functions/higher_order_functions.v | 5 +- .../examples/rust_book/generics/generics.v | 2 +- .../generics_associated_types_problem.v | 4 +- .../generics_associated_types_solution.v | 8 +- .../rust_book/generics/generics_bounds.v | 6 +- .../generics_bounds_test_case_empty_bounds.v | 6 +- .../rust_book/generics/generics_functions.v | 11 +- .../generics/generics_implementation.v | 6 +- .../generics/generics_multiple_bounds.v | 6 +- .../generics/generics_new_type_idiom.v | 9 +- .../generics_new_type_idiom_as_base_type.v | 2 +- .../generics/generics_phantom_type.v | 2 +- ...hantom_type_test_case_unit_clarification.v | 2 +- .../rust_book/generics/generics_traits.v | 2 +- .../generics/generics_where_clauses.v | 2 +- .../rust_book/guessing_game/guessing_game.v | 5 +- .../rust_book/hello_world/formatted_print.v | 2 +- .../rust_book/hello_world/hello_world.v | 2 +- .../rust_book/macro_rules/macro_example.v | 2 +- .../macro_rules/macro_rules_designators.v | 6 +- .../rust_book/macro_rules/macro_rules_dsl.v | 2 +- .../macro_rules/macro_rules_overload.v | 2 +- .../macro_rules/macro_rules_repeat.v | 2 +- .../macro_rules_variadic_interfaces.v | 2 +- .../rust_book/modules/struct_visibility.v | 4 +- .../rust_book/modules/super_and_self.v | 13 +- .../modules/the_use_as_declaration.v | 6 +- .../examples/rust_book/modules/visibility.v | 30 +- .../rust_book/primitives/arrays_and_slices.v | 4 +- .../rust_book/primitives/compound_types.v | 2 +- .../rust_book/primitives/literals_operators.v | 2 +- .../examples/rust_book/primitives/tuples.v | 4 +- .../scoping_rules/scoping_rules_borrowing.v | 6 +- .../scoping_rules_borrowing_aliasing.v | 2 +- .../scoping_rules_borrowing_mutablity.v | 6 +- .../scoping_rules_borrowing_the_ref_pattern.v | 2 +- .../scoping_rules/scoping_rules_lifetimes.v | 2 +- .../scoping_rules_lifetimes_bounds.v | 6 +- .../scoping_rules_lifetimes_coercion.v | 6 +- .../scoping_rules_lifetimes_elision.v | 10 +- .../scoping_rules_lifetimes_functions.v | 10 +- .../scoping_rules_lifetimes_methods.v | 6 +- ...ules_lifetimes_reference_lifetime_static.v | 28 +- .../scoping_rules_lifetimes_structs.v | 2 +- .../scoping_rules_lifetimes_traits.v | 2 +- .../scoping_rules_ownership_and_rules.v | 4 +- ...ping_rules_ownership_and_rules_mutablity.v | 2 +- ..._rules_ownership_and_rules_partial_moves.v | 2 +- .../scoping_rules/scoping_rules_raii.v | 4 +- .../scoping_rules_raii_desctructor.v | 2 +- .../rust_book/std_library_types/arc.v | 2 +- .../std_library_types/box_stack_heap.v | 6 +- .../rust_book/std_library_types/hash_map.v | 4 +- .../hash_map_alternate_or_custom_key_types.v | 4 +- .../std_library_types/hash_map_hash_set.v | 2 +- .../rust_book/std_library_types/option.v | 6 +- .../rust_book/std_library_types/panic.v | 4 +- .../examples/rust_book/std_library_types/rc.v | 2 +- .../rust_book/std_library_types/result.v | 10 +- .../result_chaining_with_question_mark.v | 12 +- .../rust_book/std_library_types/strings.v | 2 +- .../strings_byte_strings_as_non_utf8.v | 2 +- .../strings_literals_and_escapes.v | 3 +- .../strings_raw_string_literals.v | 3 +- .../rust_book/std_library_types/vectors.v | 2 +- .../examples/rust_book/std_misc/channels.v | 39 +- .../rust_book/std_misc/child_processes.v | 2 +- .../std_misc/child_processes_pipes.v | 25 +- .../rust_book/std_misc/child_processes_wait.v | 2 +- .../rust_book/std_misc/file_io_create.v | 36 +- .../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 | 8 +- .../std_misc/foreign_function_interface.v | 9 +- .../examples/rust_book/std_misc/path.v | 2 +- .../rust_book/std_misc/program_arguments.v | 2 +- .../std_misc/program_arguments_parsing.v | 10 +- .../examples/rust_book/std_misc/threads.v | 14 +- .../std_misc/threads_test_case_map_reduce.v | 3 +- .../rust_book/testing/documentation_testing.v | 4 +- .../examples/rust_book/testing/unit_testing.v | 8 +- .../default/examples/rust_book/traits/clone.v | 2 +- .../examples/rust_book/traits/derive.v | 4 +- .../disambiguating_overlapping_traits.v | 2 +- .../default/examples/rust_book/traits/drop.v | 2 +- .../default/examples/rust_book/traits/hash.v | 4 +- .../traits/impl_trait_as_return_type.v | 7 +- .../examples/rust_book/traits/iterators.v | 4 +- .../rust_book/traits/operator_overloading.v | 2 +- .../traits/returning_traits_with_dyn.v | 5 +- .../examples/rust_book/traits/supertraits.v | 4 +- .../examples/rust_book/traits/traits.v | 7 +- .../examples/rust_book/types/aliasing.v | 2 +- .../examples/rust_book/types/casting.v | 20 +- .../examples/rust_book/types/inference.v | 2 +- .../examples/rust_book/types/literals.v | 2 +- .../calling_unsafe_functions.v | 2 +- .../unsafe_operations/inline_assembly.v | 2 +- .../inline_assembly_clobbered_registers.v | 2 +- ...line_assembly_explicit_register_operands.v | 2 +- ...line_assembly_inlateout_case_implemented.v | 2 +- .../inline_assembly_inlateout_case_non_used.v | 2 +- .../inline_assembly_inlateout_mul.v | 4 +- .../unsafe_operations/inline_assembly_inout.v | 2 +- .../inline_assembly_inputs_and_outputs.v | 2 +- ...embly_inputs_and_outputs_another_example.v | 2 +- ..._and_outputs_another_example_without_mov.v | 2 +- .../inline_assembly_labels.v | 2 +- .../inline_assembly_memory_address_operands.v | 4 +- .../inline_assembly_options.v | 2 +- ...ine_assembly_register_template_modifiers.v | 2 +- .../inline_assembly_scratch_register.v | 2 +- ...ssembly_symbol_operands_and_abi_clobbers.v | 6 +- .../unsafe_operations/raw_pointers.v | 2 +- .../variable_bindings/declare_first.v | 2 +- .../rust_book/variable_bindings/freezing.v | 2 +- .../rust_book/variable_bindings/mutability.v | 2 +- .../rust_book/variable_bindings/scope.v | 2 +- .../variable_bindings/variable_bindings.v | 2 +- .../variable_bindings/variable_shadowing.v | 2 +- CoqOfRust/examples/default/examples/subtle.v | 24 +- CoqOfRust/lib/lib.v | 8 + CoqOfRust/links/M.v | 128 +- .../translations/move_abstract_stack/lib.v | 16 +- .../move_binary_format/binary_config.v | 67 +- .../move_binary_format/check_bounds.v | 87 +- .../move_binary_format/compatibility.v | 49 +- .../move_binary_format/constant.v | 8 +- .../move_binary_format/control_flow_graph.v | 46 +- .../move_binary_format/deserializer.v | 607 +- .../translations/move_binary_format/errors.v | 66 +- .../move_binary_format/file_format.v | 859 +- .../move_binary_format/file_format_common.v | 826 +- .../translations/move_binary_format/lib.v | 3 +- .../move_binary_format/normalized.v | 164 +- .../move_binary_format/serializer.v | 1225 +- .../ability_field_requirements.v | 22 +- .../move_bytecode_verifier/absint.v | 97 +- .../acquires_list_verifier.v | 12 +- .../check_duplication.v | 35 +- .../code_unit_verifier.v | 8 +- .../move_bytecode_verifier/constants.v | 14 +- .../move_bytecode_verifier/control_flow.v | 10 +- .../move_bytecode_verifier/control_flow_v5.v | 32 +- .../cyclic_dependencies.v | 6 +- .../move_bytecode_verifier/dependencies.v | 53 +- .../move_bytecode_verifier/friends.v | 4 +- .../instantiation_loops.v | 25 +- .../instruction_consistency.v | 21 +- .../move_bytecode_verifier/limits.v | 30 +- .../locals_safety/abstract_state.v | 83 +- .../locals_safety/mod.v | 16 +- .../move_bytecode_verifier/loop_summary.v | 29 +- .../reference_safety/abstract_state.v | 275 +- .../reference_safety/mod.v | 40 +- .../move_bytecode_verifier/script_signature.v | 27 +- .../move_bytecode_verifier/signature.v | 35 +- .../stack_usage_verifier.v | 8 +- .../move_bytecode_verifier/struct_defs.v | 12 +- .../move_bytecode_verifier/type_safety.v | 74 +- .../move_bytecode_verifier/verifier.v | 33 +- .../move_bytecode_verifier_meter/bound.v | 12 +- .../translations/move_core_types/abi.v | 125 +- .../move_core_types/account_address.v | 188 +- .../move_core_types/annotated_value.v | 116 +- .../move_core_types/annotated_visitor.v | 28 +- .../translations/move_core_types/effects.v | 56 +- .../translations/move_core_types/errmap.v | 41 +- .../move_core_types/gas_algebra.v | 372 +- .../translations/move_core_types/identifier.v | 88 +- .../move_core_types/language_storage.v | 354 +- .../translations/move_core_types/lib.v | 3 +- .../translations/move_core_types/metadata.v | 15 +- .../move_core_types/move_resource.v | 15 +- .../translations/move_core_types/parser.v | 48 +- .../translations/move_core_types/resolver.v | 8 +- .../move_core_types/runtime_value.v | 79 +- .../translations/move_core_types/state.v | 36 +- .../move_core_types/transaction_argument.v | 20 +- .../translations/move_core_types/u256.v | 149 +- .../translations/move_core_types/vm_status.v | 274 +- CoqOfRust/revm/revm_bytecode/bytecode.v | 64 +- CoqOfRust/revm/revm_bytecode/eip7702.v | 118 +- CoqOfRust/revm/revm_bytecode/eof.v | 124 +- CoqOfRust/revm/revm_bytecode/eof/body.v | 10 +- .../revm/revm_bytecode/eof/decode_helpers.v | 4 +- CoqOfRust/revm/revm_bytecode/eof/header.v | 128 +- CoqOfRust/revm/revm_bytecode/eof/printer.v | 15 +- .../revm/revm_bytecode/eof/types_section.v | 34 +- .../revm/revm_bytecode/eof/verification.v | 47 +- .../revm/revm_bytecode/legacy/analyzed.v | 24 +- .../revm/revm_bytecode/legacy/jump_map.v | 6 +- CoqOfRust/revm/revm_bytecode/legacy/raw.v | 6 +- CoqOfRust/revm/revm_bytecode/links/opcode.v | 119 +- CoqOfRust/revm/revm_bytecode/opcode.v | 842 +- CoqOfRust/revm/revm_bytecode/opcode/parse.v | 20 +- CoqOfRust/revm/revm_bytecode/utils.v | 4 +- .../revm/revm_context_interface/block/blob.v | 26 +- CoqOfRust/revm/revm_context_interface/host.v | 12 +- .../revm/revm_context_interface/host/dummy.v | 122 +- .../revm_context_interface/journaled_state.v | 14 +- .../revm/revm_context_interface/result.v | 28 +- .../transaction/eip4844.v | 4 +- .../transaction/eip7702.v | 11 +- CoqOfRust/revm/revm_interpreter/gas.v | 35 +- CoqOfRust/revm/revm_interpreter/gas/calc.v | 283 +- .../revm/revm_interpreter/gas/constants.v | 569 +- .../revm_interpreter/gas/links/constants.v | 754 +- .../revm_interpreter/gas/links/generate.py | 80 - .../revm_interpreter/instruction_result.v | 21 +- .../revm/revm_interpreter/instructions.v | 10 +- .../instructions/arithmetic.v | 72 +- .../revm_interpreter/instructions/bitwise.v | 252 +- .../instructions/block_info.v | 56 +- .../revm_interpreter/instructions/contract.v | 179 +- .../instructions/contract/call_helpers.v | 27 +- .../revm_interpreter/instructions/control.v | 121 +- .../revm/revm_interpreter/instructions/data.v | 74 +- .../revm/revm_interpreter/instructions/host.v | 119 +- .../revm/revm_interpreter/instructions/i256.v | 258 +- .../instructions/links/arithmetic.v | 7 +- .../instructions/links/block_info.v | 1 + .../instructions/links/progress_on_links.md | 10 +- .../instructions/links/stack.v | 8 +- .../instructions/links/system.v | 47 +- .../revm_interpreter/instructions/memory.v | 66 +- .../revm_interpreter/instructions/stack.v | 123 +- .../revm_interpreter/instructions/system.v | 204 +- .../revm_interpreter/instructions/tx_info.v | 75 +- .../revm_interpreter/instructions/utility.v | 2 +- CoqOfRust/revm/revm_interpreter/interpreter.v | 15 +- .../interpreter/ext_bytecode.v | 2 +- .../interpreter/links/stack.v | 38 +- .../interpreter/loop_control.v | 2 +- .../interpreter/shared_memory.v | 123 +- .../revm/revm_interpreter/interpreter/stack.v | 140 +- .../interpreter/subroutine_stack.v | 12 +- .../revm_interpreter/interpreter_action.v | 15 +- .../interpreter_action/call_inputs.v | 63 +- .../interpreter_action/call_outcome.v | 12 +- .../interpreter_action/create_inputs.v | 2 +- .../interpreter_action/create_outcome.v | 8 +- .../interpreter_action/eof_create_inputs.v | 6 +- .../revm_interpreter/links/instructions.v | 2 - .../links/interpreter_types.v | 13 + CoqOfRust/revm/revm_interpreter/table.v | 37 +- CoqOfRust/revm/revm_precompile/blake2.v | 536 +- CoqOfRust/revm/revm_precompile/bls12_381.v | 65 +- CoqOfRust/revm/revm_precompile/bls12_381/g1.v | 82 +- .../revm/revm_precompile/bls12_381/g1_add.v | 114 +- .../revm/revm_precompile/bls12_381/g1_msm.v | 147 +- .../revm/revm_precompile/bls12_381/g1_mul.v | 121 +- CoqOfRust/revm/revm_precompile/bls12_381/g2.v | 110 +- .../revm/revm_precompile/bls12_381/g2_add.v | 114 +- .../revm/revm_precompile/bls12_381/g2_msm.v | 147 +- .../revm/revm_precompile/bls12_381/g2_mul.v | 121 +- .../revm_precompile/bls12_381/map_fp2_to_g2.v | 122 +- .../revm_precompile/bls12_381/map_fp_to_g1.v | 105 +- .../revm/revm_precompile/bls12_381/msm.v | 330 +- .../revm/revm_precompile/bls12_381/pairing.v | 181 +- .../revm/revm_precompile/bls12_381/utils.v | 254 +- CoqOfRust/revm/revm_precompile/bn128.v | 2116 +- CoqOfRust/revm/revm_precompile/hash.v | 80 +- CoqOfRust/revm/revm_precompile/identity.v | 74 +- CoqOfRust/revm/revm_precompile/interface.v | 6 +- .../revm_precompile/kzg_point_evaluation.v | 163 +- CoqOfRust/revm/revm_precompile/lib.v | 230 +- CoqOfRust/revm/revm_precompile/modexp.v | 115 +- CoqOfRust/revm/revm_precompile/secp256k1.v | 91 +- CoqOfRust/revm/revm_precompile/utilities.v | 187 +- CoqOfRust/revm/revm_primitives/constants.v | 157 +- CoqOfRust/revm/revm_primitives/lib.v | 47 +- CoqOfRust/revm/revm_primitives/links/lib.v | 16 +- CoqOfRust/revm/revm_specification/constants.v | 57 +- CoqOfRust/revm/revm_specification/eip170.v | 11 +- CoqOfRust/revm/revm_specification/eip2.v | 112 +- CoqOfRust/revm/revm_specification/eip4844.v | 177 +- .../eip7702/authorization_list.v | 10 +- .../revm_specification/eip7702/constants.v | 28 +- .../eip7702/recovered_authorization.v | 8 +- CoqOfRust/revm/revm_specification/hardfork.v | 344 +- CoqOfRust/ruint/add.v | 153 +- CoqOfRust/ruint/algorithms/add.v | 4 +- CoqOfRust/ruint/algorithms/div/knuth.v | 17 +- CoqOfRust/ruint/algorithms/div/mod.v | 2 +- CoqOfRust/ruint/algorithms/div/reciprocal.v | 651 +- CoqOfRust/ruint/algorithms/div/small.v | 16 +- CoqOfRust/ruint/algorithms/gcd/matrix.v | 135 +- CoqOfRust/ruint/algorithms/gcd/mod.v | 145 +- CoqOfRust/ruint/algorithms/mod.v | 2 +- CoqOfRust/ruint/algorithms/mul.v | 24 +- CoqOfRust/ruint/algorithms/mul_redc.v | 7 +- CoqOfRust/ruint/algorithms/ops.v | 4 +- CoqOfRust/ruint/algorithms/shift.v | 4 +- CoqOfRust/ruint/base_convert.v | 89 +- CoqOfRust/ruint/bit_arr.v | 138 +- CoqOfRust/ruint/bits.v | 445 +- CoqOfRust/ruint/bytes.v | 235 +- CoqOfRust/ruint/cmp.v | 11 +- CoqOfRust/ruint/div.v | 57 +- CoqOfRust/ruint/fmt.v | 259 +- CoqOfRust/ruint/from.v | 567 +- CoqOfRust/ruint/gcd.v | 6 +- CoqOfRust/ruint/lib.v | 449 +- CoqOfRust/ruint/links/lib.v | 45 +- CoqOfRust/ruint/log.v | 47 +- CoqOfRust/ruint/modular.v | 119 +- CoqOfRust/ruint/mul.v | 250 +- CoqOfRust/ruint/pow.v | 73 +- CoqOfRust/ruint/root.v | 39 +- CoqOfRust/ruint/special.v | 35 +- CoqOfRust/ruint/string.v | 2 +- CoqOfRust/ruint/utils.v | 9 +- lib/src/coq.rs | 26 + lib/src/expression.rs | 29 +- lib/src/thir_expression.rs | 55 +- lib/src/top_level.rs | 109 +- 967 files changed, 56624 insertions(+), 47032 deletions(-) delete mode 100644 CoqOfRust/core/intrinsics.v rename CoqOfRust/core/{links/intrinsics.v => intrinsics/links/mod.v} (94%) delete mode 100644 CoqOfRust/examples/default/examples/ink_contracts/lib.v delete mode 100644 CoqOfRust/revm/revm_interpreter/gas/links/generate.py diff --git a/CoqOfRust/M.v b/CoqOfRust/M.v index af1fbc53e..5ee0056ff 100644 --- a/CoqOfRust/M.v +++ b/CoqOfRust/M.v @@ -140,7 +140,7 @@ Module Pointer. Module Kind. Inductive t : Set := (** The address kind for the allocation primitive. This is later converted to proper pointer - kinds. *) + kinds. This is not a native Rust kind of pointer. *) | Raw | Ref | MutRef @@ -149,7 +149,7 @@ Module Pointer. Definition to_ty_path (kind : t) : string := match kind with - | Raw => "raw" (* it should appear as it is not possible to manipulate raw pointers in Rust *) + | Raw => "*" | Ref => "&" | MutRef => "&mut" | ConstPointer => "*const" @@ -275,12 +275,22 @@ End Value. Module Primitive. Inductive t : Set := - | StateAlloc (value : Value.t) - | StateRead (pointer : Value.t) - | StateWrite (pointer : Value.t) (value : Value.t) - | GetSubPointer (pointer : Value.t) (index : Pointer.Index.t) - | AreEqual (value1 value2 : Value.t) - | GetFunction (path : string) (generic_consts : list Value.t) (generic_tys : list Ty.t) + | StateAlloc + (value : Value.t) + | StateRead + (pointer : Value.t) + | StateWrite + (pointer : Value.t) + (value : Value.t) + | GetSubPointer + (pointer : Value.t) + (index : Pointer.Index.t) + | AreEqual + (value1 value2 : Value.t) + | GetFunction + (path : string) + (generic_consts : list Value.t) + (generic_tys : list Ty.t) | GetAssociatedFunction (ty : Ty.t) (name : string) @@ -376,7 +386,6 @@ End PolymorphicFunction. Module InstanceField. Inductive t : Set := - | Constant (constant : Value.t) | Method (method : PolymorphicFunction.t) | Ty (ty : Ty.t). End InstanceField. @@ -400,7 +409,7 @@ Module IsFunction. (function : PolymorphicFunction.t), Prop. - Class Trait + Class C (trait_name : string) (function : PolymorphicFunction.t) : Prop := { @@ -415,7 +424,7 @@ Module IsAssociatedFunction. (function : PolymorphicFunction.t), Prop. - Class Trait + Class C (Self : Ty.t) (function_name : string) (function : PolymorphicFunction.t) : @@ -424,22 +433,6 @@ Module IsAssociatedFunction. }. End IsAssociatedFunction. -Module IsAssociatedConstant. - Parameter t : forall - (Self : Ty.t) - (constant_name : string) - (constant : Value.t), - Prop. - - Class Trait - (Self : Ty.t) - (constant_name : string) - (constant : Value.t) : - Prop := { - is_associated_constant : t Self constant_name constant; - }. -End IsAssociatedConstant. - Parameter IsProvidedMethod : forall (trait_name : string) @@ -664,8 +657,6 @@ Definition get_sub_pointer (pointer : Value.t) (index : Pointer.Index.t) : M := Definition are_equal (value1 value2 : Value.t) : M := call_primitive (Primitive.AreEqual value1 value2). -Parameter get_constant : string -> Value.t. - Definition get_function (path : string) (generic_consts : list Value.t) (generic_tys : list Ty.t) : M := call_primitive (Primitive.GetFunction path generic_consts generic_tys). @@ -896,36 +887,3 @@ Parameter struct_record_update : Value.t -> list (string * Value.t) -> Value.t. Parameter unevaluated_const : Value.t -> Value.t. Parameter yield : Value.t -> M. - -Fixpoint run_constant (constant : M) : Value.t := - match constant with - | LowM.Pure value => - match value with - | inl value => value - | inr _ => Value.Error "expected a success value" - end - | LowM.CallPrimitive primitive k => - let value := - match primitive with - | Primitive.StateAlloc value => - Value.Pointer {| - Pointer.kind := Pointer.Kind.Raw; - Pointer.core := Pointer.Core.Immediate value; - |} - | Primitive.StateRead pointer => - match pointer with - | Value.Pointer {| - Pointer.kind := Pointer.Kind.Raw; - Pointer.core := Pointer.Core.Immediate value; - |} => - value - | _ => Value.Error "expected an immediate raw pointer" - end - | _ => Value.Error "unhandled primitive" - end in - run_constant (k value) - | LowM.CallClosure _ _ _ _ => Value.Error "unexpected closure call" - | LowM.Let _ _ _ => Value.Error "unexpected let" - | LowM.Loop _ _ _ => Value.Error "unexpected loop" - | LowM.Impossible _ => Value.Error "impossible" - end. diff --git a/CoqOfRust/alloc/alloc.v b/CoqOfRust/alloc/alloc.v index 28f668174..2ef954eba 100644 --- a/CoqOfRust/alloc/alloc.v +++ b/CoqOfRust/alloc/alloc.v @@ -5,33 +5,34 @@ Module alloc. Parameter __rust_alloc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction___rust_alloc : - M.IsFunction.Trait "alloc::alloc::__rust_alloc" __rust_alloc. + M.IsFunction.C "alloc::alloc::__rust_alloc" __rust_alloc. Admitted. Parameter __rust_dealloc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction___rust_dealloc : - M.IsFunction.Trait "alloc::alloc::__rust_dealloc" __rust_dealloc. + M.IsFunction.C "alloc::alloc::__rust_dealloc" __rust_dealloc. Admitted. Parameter __rust_realloc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction___rust_realloc : - M.IsFunction.Trait "alloc::alloc::__rust_realloc" __rust_realloc. + M.IsFunction.C "alloc::alloc::__rust_realloc" __rust_realloc. Admitted. Parameter __rust_alloc_zeroed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction___rust_alloc_zeroed : - M.IsFunction.Trait "alloc::alloc::__rust_alloc_zeroed" __rust_alloc_zeroed. + M.IsFunction.C "alloc::alloc::__rust_alloc_zeroed" __rust_alloc_zeroed. Admitted. - Parameter __rust_no_alloc_shim_is_unstable : Value.t. + Parameter __rust_no_alloc_shim_is_unstable : PolymorphicFunction.t. - Axiom Constant___rust_no_alloc_shim_is_unstable : - (M.get_constant "alloc::alloc::__rust_no_alloc_shim_is_unstable") = + Global Instance Instance_IsConstant___rust_no_alloc_shim_is_unstable : + M.IsFunction.C + "alloc::alloc::__rust_no_alloc_shim_is_unstable" __rust_no_alloc_shim_is_unstable. - Global Hint Rewrite Constant___rust_no_alloc_shim_is_unstable : constant_rewrites. + Admitted. (* StructTuple { @@ -157,7 +158,10 @@ Module alloc. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "alloc::alloc::__rust_no_alloc_shim_is_unstable" + get_constant (| + "alloc::alloc::__rust_no_alloc_shim_is_unstable", + Ty.apply (Ty.path "*const") [] [ Ty.path "u8" ] + |) |) |) |) @@ -198,7 +202,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_alloc : M.IsFunction.Trait "alloc::alloc::alloc" alloc. + Global Instance Instance_IsFunction_alloc : M.IsFunction.C "alloc::alloc::alloc" alloc. Admitted. Global Typeclasses Opaque alloc. @@ -238,7 +242,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_dealloc : M.IsFunction.Trait "alloc::alloc::dealloc" dealloc. + Global Instance Instance_IsFunction_dealloc : M.IsFunction.C "alloc::alloc::dealloc" dealloc. Admitted. Global Typeclasses Opaque dealloc. @@ -280,7 +284,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_realloc : M.IsFunction.Trait "alloc::alloc::realloc" realloc. + Global Instance Instance_IsFunction_realloc : M.IsFunction.C "alloc::alloc::realloc" realloc. Admitted. Global Typeclasses Opaque realloc. @@ -314,7 +318,10 @@ Module alloc. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "alloc::alloc::__rust_no_alloc_shim_is_unstable" + get_constant (| + "alloc::alloc::__rust_no_alloc_shim_is_unstable", + Ty.apply (Ty.path "*const") [] [ Ty.path "u8" ] + |) |) |) |) @@ -356,7 +363,7 @@ Module alloc. end. Global Instance Instance_IsFunction_alloc_zeroed : - M.IsFunction.Trait "alloc::alloc::alloc_zeroed" alloc_zeroed. + M.IsFunction.C "alloc::alloc::alloc_zeroed" alloc_zeroed. Admitted. Global Typeclasses Opaque alloc_zeroed. @@ -696,7 +703,7 @@ Module alloc. end. Global Instance AssociatedFunction_alloc_impl : - M.IsAssociatedFunction.Trait Self "alloc_impl" alloc_impl. + M.IsAssociatedFunction.C Self "alloc_impl" alloc_impl. Admitted. Global Typeclasses Opaque alloc_impl. @@ -1471,7 +1478,7 @@ Module alloc. end. Global Instance AssociatedFunction_grow_impl : - M.IsAssociatedFunction.Trait Self "grow_impl" grow_impl. + M.IsAssociatedFunction.C Self "grow_impl" grow_impl. Admitted. Global Typeclasses Opaque grow_impl. End Impl_alloc_alloc_Global. @@ -2554,14 +2561,14 @@ Module alloc. end. Global Instance Instance_IsFunction_exchange_malloc : - M.IsFunction.Trait "alloc::alloc::exchange_malloc" exchange_malloc. + M.IsFunction.C "alloc::alloc::exchange_malloc" exchange_malloc. Admitted. Global Typeclasses Opaque exchange_malloc. Parameter __rust_alloc_error_handler : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction___rust_alloc_error_handler : - M.IsFunction.Trait "alloc::alloc::__rust_alloc_error_handler" __rust_alloc_error_handler. + M.IsFunction.C "alloc::alloc::__rust_alloc_error_handler" __rust_alloc_error_handler. Admitted. (* @@ -2613,7 +2620,7 @@ Module alloc. end. Global Instance Instance_IsFunction_handle_alloc_error : - M.IsFunction.Trait "alloc::alloc::handle_alloc_error" handle_alloc_error. + M.IsFunction.C "alloc::alloc::handle_alloc_error" handle_alloc_error. Admitted. Global Typeclasses Opaque handle_alloc_error. @@ -2666,7 +2673,7 @@ Module alloc. end. Global Instance Instance_IsFunction_ct_error : - M.IsFunction.Trait "alloc::alloc::handle_alloc_error::ct_error" ct_error. + M.IsFunction.C "alloc::alloc::handle_alloc_error::ct_error" ct_error. Admitted. Global Typeclasses Opaque ct_error. @@ -2712,7 +2719,7 @@ Module alloc. end. Global Instance Instance_IsFunction_rt_error : - M.IsFunction.Trait "alloc::alloc::handle_alloc_error::rt_error" rt_error. + M.IsFunction.C "alloc::alloc::handle_alloc_error::rt_error" rt_error. Admitted. Global Typeclasses Opaque rt_error. End handle_alloc_error. @@ -2756,8 +2763,10 @@ Module alloc. M.read (| M.deref (| M.read (| - M.get_constant - "alloc::alloc::__alloc_error_handler::__rdl_oom::__rust_alloc_error_handler_should_panic" + get_constant (| + "alloc::alloc::__alloc_error_handler::__rdl_oom::__rust_alloc_error_handler_should_panic", + Ty.apply (Ty.path "*const") [] [ Ty.path "u8" ] + |) |) |) |), @@ -2901,18 +2910,18 @@ Module alloc. end. Global Instance Instance_IsFunction___rdl_oom : - M.IsFunction.Trait "alloc::alloc::__alloc_error_handler::__rdl_oom" __rdl_oom. + M.IsFunction.C "alloc::alloc::__alloc_error_handler::__rdl_oom" __rdl_oom. Admitted. Global Typeclasses Opaque __rdl_oom. Module __rdl_oom. - Parameter __rust_alloc_error_handler_should_panic : Value.t. + Parameter __rust_alloc_error_handler_should_panic : PolymorphicFunction.t. - Axiom Constant___rust_alloc_error_handler_should_panic : - (M.get_constant - "alloc::alloc::__alloc_error_handler::__rdl_oom::__rust_alloc_error_handler_should_panic") = + Global Instance Instance_IsConstant___rust_alloc_error_handler_should_panic : + M.IsFunction.C + "alloc::alloc::__alloc_error_handler::__rdl_oom::__rust_alloc_error_handler_should_panic" __rust_alloc_error_handler_should_panic. - Global Hint Rewrite Constant___rust_alloc_error_handler_should_panic : constant_rewrites. + Admitted. End __rdl_oom. End __alloc_error_handler. End alloc. diff --git a/CoqOfRust/alloc/borrow.v b/CoqOfRust/alloc/borrow.v index fe80901ab..56231d554 100644 --- a/CoqOfRust/alloc/borrow.v +++ b/CoqOfRust/alloc/borrow.v @@ -433,7 +433,7 @@ Module borrow. Global Instance AssociatedFunction_is_borrowed : forall (B : Ty.t), - M.IsAssociatedFunction.Trait (Self B) "is_borrowed" (is_borrowed B). + M.IsAssociatedFunction.C (Self B) "is_borrowed" (is_borrowed B). Admitted. Global Typeclasses Opaque is_borrowed. @@ -465,7 +465,7 @@ Module borrow. Global Instance AssociatedFunction_is_owned : forall (B : Ty.t), - M.IsAssociatedFunction.Trait (Self B) "is_owned" (is_owned B). + M.IsAssociatedFunction.C (Self B) "is_owned" (is_owned B). Admitted. Global Typeclasses Opaque is_owned. @@ -644,7 +644,7 @@ Module borrow. Global Instance AssociatedFunction_to_mut : forall (B : Ty.t), - M.IsAssociatedFunction.Trait (Self B) "to_mut" (to_mut B). + M.IsAssociatedFunction.C (Self B) "to_mut" (to_mut B). Admitted. Global Typeclasses Opaque to_mut. @@ -705,7 +705,7 @@ Module borrow. Global Instance AssociatedFunction_into_owned : forall (B : Ty.t), - M.IsAssociatedFunction.Trait (Self B) "into_owned" (into_owned B). + M.IsAssociatedFunction.C (Self B) "into_owned" (into_owned B). Admitted. Global Typeclasses Opaque into_owned. End Impl_alloc_borrow_Cow_B. diff --git a/CoqOfRust/alloc/boxed.v b/CoqOfRust/alloc/boxed.v index 871c4b9ef..b442c09bc 100644 --- a/CoqOfRust/alloc/boxed.v +++ b/CoqOfRust/alloc/boxed.v @@ -43,7 +43,7 @@ Module boxed. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -78,7 +78,7 @@ Module boxed. Global Instance AssociatedFunction_new_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_uninit" (new_uninit T). + M.IsAssociatedFunction.C (Self T) "new_uninit" (new_uninit T). Admitted. Global Typeclasses Opaque new_uninit. @@ -113,7 +113,7 @@ Module boxed. Global Instance AssociatedFunction_new_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_zeroed" (new_zeroed T). + M.IsAssociatedFunction.C (Self T) "new_zeroed" (new_zeroed T). Admitted. Global Typeclasses Opaque new_zeroed. @@ -166,7 +166,7 @@ Module boxed. Global Instance AssociatedFunction_pin : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pin" (pin T). + M.IsAssociatedFunction.C (Self T) "pin" (pin T). Admitted. Global Typeclasses Opaque pin. @@ -202,7 +202,7 @@ Module boxed. Global Instance AssociatedFunction_try_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new" (try_new T). + M.IsAssociatedFunction.C (Self T) "try_new" (try_new T). Admitted. Global Typeclasses Opaque try_new. @@ -248,7 +248,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_uninit" (try_new_uninit T). + M.IsAssociatedFunction.C (Self T) "try_new_uninit" (try_new_uninit T). Admitted. Global Typeclasses Opaque try_new_uninit. @@ -294,7 +294,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_zeroed" (try_new_zeroed T). + M.IsAssociatedFunction.C (Self T) "try_new_zeroed" (try_new_zeroed T). Admitted. Global Typeclasses Opaque try_new_zeroed. (* @@ -323,7 +323,7 @@ Module boxed. Global Instance AssociatedFunction_from_raw : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw" (from_raw T). + M.IsAssociatedFunction.C (Self T) "from_raw" (from_raw T). Admitted. Global Typeclasses Opaque from_raw. @@ -364,7 +364,7 @@ Module boxed. Global Instance AssociatedFunction_from_non_null : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_non_null" (from_non_null T). + M.IsAssociatedFunction.C (Self T) "from_non_null" (from_non_null T). Admitted. Global Typeclasses Opaque from_non_null. End Impl_alloc_boxed_Box_T_alloc_alloc_Global. @@ -458,7 +458,7 @@ Module boxed. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -690,7 +690,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_in" (try_new_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_in" (try_new_in T A). Admitted. Global Typeclasses Opaque try_new_in. @@ -788,7 +788,7 @@ Module boxed. Global Instance AssociatedFunction_new_uninit_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_uninit_in" (new_uninit_in T A). + M.IsAssociatedFunction.C (Self T A) "new_uninit_in" (new_uninit_in T A). Admitted. Global Typeclasses Opaque new_uninit_in. @@ -837,7 +837,11 @@ Module boxed. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1128,7 +1132,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_uninit_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_uninit_in" (try_new_uninit_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_uninit_in" (try_new_uninit_in T A). Admitted. Global Typeclasses Opaque try_new_uninit_in. @@ -1226,7 +1230,7 @@ Module boxed. Global Instance AssociatedFunction_new_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_zeroed_in" (new_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "new_zeroed_in" (new_zeroed_in T A). Admitted. Global Typeclasses Opaque new_zeroed_in. @@ -1275,7 +1279,11 @@ Module boxed. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1566,7 +1574,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_zeroed_in" (try_new_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_zeroed_in" (try_new_zeroed_in T A). Admitted. Global Typeclasses Opaque try_new_zeroed_in. @@ -1614,7 +1622,7 @@ Module boxed. Global Instance AssociatedFunction_pin_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pin_in" (pin_in T A). + M.IsAssociatedFunction.C (Self T A) "pin_in" (pin_in T A). Admitted. Global Typeclasses Opaque pin_in. @@ -1696,7 +1704,7 @@ Module boxed. Global Instance AssociatedFunction_into_boxed_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_boxed_slice" (into_boxed_slice T A). + M.IsAssociatedFunction.C (Self T A) "into_boxed_slice" (into_boxed_slice T A). Admitted. Global Typeclasses Opaque into_boxed_slice. @@ -1717,7 +1725,7 @@ Module boxed. Global Instance AssociatedFunction_into_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_inner" (into_inner T A). + M.IsAssociatedFunction.C (Self T A) "into_inner" (into_inner T A). Admitted. Global Typeclasses Opaque into_inner. (* @@ -1752,7 +1760,7 @@ Module boxed. Global Instance AssociatedFunction_from_raw_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_in" (from_raw_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_in" (from_raw_in T A). Admitted. Global Typeclasses Opaque from_raw_in. @@ -1801,7 +1809,7 @@ Module boxed. Global Instance AssociatedFunction_from_non_null_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_non_null_in" (from_non_null_in T A). + M.IsAssociatedFunction.C (Self T A) "from_non_null_in" (from_non_null_in T A). Admitted. Global Typeclasses Opaque from_non_null_in. @@ -1849,7 +1857,7 @@ Module boxed. Global Instance AssociatedFunction_into_raw : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_raw" (into_raw T A). + M.IsAssociatedFunction.C (Self T A) "into_raw" (into_raw T A). Admitted. Global Typeclasses Opaque into_raw. @@ -1896,7 +1904,7 @@ Module boxed. Global Instance AssociatedFunction_into_non_null : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_non_null" (into_non_null T A). + M.IsAssociatedFunction.C (Self T A) "into_non_null" (into_non_null T A). Admitted. Global Typeclasses Opaque into_non_null. @@ -2028,10 +2036,7 @@ Module boxed. Global Instance AssociatedFunction_into_raw_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "into_raw_with_allocator" - (into_raw_with_allocator T A). + M.IsAssociatedFunction.C (Self T A) "into_raw_with_allocator" (into_raw_with_allocator T A). Admitted. Global Typeclasses Opaque into_raw_with_allocator. @@ -2099,7 +2104,7 @@ Module boxed. Global Instance AssociatedFunction_into_non_null_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "into_non_null_with_allocator" (into_non_null_with_allocator T A). @@ -2167,7 +2172,7 @@ Module boxed. Global Instance AssociatedFunction_into_unique : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_unique" (into_unique T A). + M.IsAssociatedFunction.C (Self T A) "into_unique" (into_unique T A). Admitted. Global Typeclasses Opaque into_unique. @@ -2193,7 +2198,7 @@ Module boxed. Global Instance AssociatedFunction_as_mut_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_mut_ptr" (as_mut_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_mut_ptr" (as_mut_ptr T A). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -2219,7 +2224,7 @@ Module boxed. Global Instance AssociatedFunction_as_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_ptr" (as_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_ptr" (as_ptr T A). Admitted. Global Typeclasses Opaque as_ptr. @@ -2252,7 +2257,7 @@ Module boxed. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -2305,7 +2310,7 @@ Module boxed. Global Instance AssociatedFunction_leak : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "leak" (leak T A). + M.IsAssociatedFunction.C (Self T A) "leak" (leak T A). Admitted. Global Typeclasses Opaque leak. @@ -2347,7 +2352,7 @@ Module boxed. Global Instance AssociatedFunction_into_pin : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_pin" (into_pin T A). + M.IsAssociatedFunction.C (Self T A) "into_pin" (into_pin T A). Admitted. Global Typeclasses Opaque into_pin. End Impl_alloc_boxed_Box_T_A. @@ -2417,7 +2422,7 @@ Module boxed. Global Instance AssociatedFunction_new_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_uninit_slice" (new_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "new_uninit_slice" (new_uninit_slice T). Admitted. Global Typeclasses Opaque new_uninit_slice. @@ -2479,7 +2484,7 @@ Module boxed. Global Instance AssociatedFunction_new_zeroed_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_zeroed_slice" (new_zeroed_slice T). + M.IsAssociatedFunction.C (Self T) "new_zeroed_slice" (new_zeroed_slice T). Admitted. Global Typeclasses Opaque new_zeroed_slice. @@ -2524,7 +2529,10 @@ Module boxed. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.eq (| @@ -2868,7 +2876,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_uninit_slice" (try_new_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "try_new_uninit_slice" (try_new_uninit_slice T). Admitted. Global Typeclasses Opaque try_new_uninit_slice. @@ -2913,7 +2921,10 @@ Module boxed. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.eq (| @@ -3257,7 +3268,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_zeroed_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_zeroed_slice" (try_new_zeroed_slice T). + M.IsAssociatedFunction.C (Self T) "try_new_zeroed_slice" (try_new_zeroed_slice T). Admitted. Global Typeclasses Opaque try_new_zeroed_slice. End Impl_alloc_boxed_Box_slice_T_alloc_alloc_Global. @@ -3319,7 +3330,7 @@ Module boxed. Global Instance AssociatedFunction_new_uninit_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_uninit_slice_in" (new_uninit_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "new_uninit_slice_in" (new_uninit_slice_in T A). Admitted. Global Typeclasses Opaque new_uninit_slice_in. @@ -3376,7 +3387,7 @@ Module boxed. Global Instance AssociatedFunction_new_zeroed_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_zeroed_slice_in" (new_zeroed_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "new_zeroed_slice_in" (new_zeroed_slice_in T A). Admitted. Global Typeclasses Opaque new_zeroed_slice_in. @@ -3425,7 +3436,10 @@ Module boxed. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.eq (| @@ -3755,10 +3769,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_uninit_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "try_new_uninit_slice_in" - (try_new_uninit_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_uninit_slice_in" (try_new_uninit_slice_in T A). Admitted. Global Typeclasses Opaque try_new_uninit_slice_in. @@ -3807,7 +3818,10 @@ Module boxed. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.eq (| @@ -4137,10 +4151,7 @@ Module boxed. Global Instance AssociatedFunction_try_new_zeroed_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "try_new_zeroed_slice_in" - (try_new_zeroed_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_zeroed_slice_in" (try_new_zeroed_slice_in T A). Admitted. Global Typeclasses Opaque try_new_zeroed_slice_in. End Impl_alloc_boxed_Box_slice_T_A. @@ -4219,7 +4230,7 @@ Module boxed. Global Instance AssociatedFunction_assume_init : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "assume_init" (assume_init T A). + M.IsAssociatedFunction.C (Self T A) "assume_init" (assume_init T A). Admitted. Global Typeclasses Opaque assume_init. @@ -4276,7 +4287,7 @@ Module boxed. Global Instance AssociatedFunction_write : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "write" (write T A). + M.IsAssociatedFunction.C (Self T A) "write" (write T A). Admitted. Global Typeclasses Opaque write. End Impl_alloc_boxed_Box_core_mem_maybe_uninit_MaybeUninit_T_A. @@ -4380,7 +4391,7 @@ Module boxed. Global Instance AssociatedFunction_assume_init : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "assume_init" (assume_init T A). + M.IsAssociatedFunction.C (Self T A) "assume_init" (assume_init T A). Admitted. Global Typeclasses Opaque assume_init. End Impl_alloc_boxed_Box_slice_core_mem_maybe_uninit_MaybeUninit_T_A. diff --git a/CoqOfRust/alloc/boxed/convert.v b/CoqOfRust/alloc/boxed/convert.v index 888347a10..768acf069 100644 --- a/CoqOfRust/alloc/boxed/convert.v +++ b/CoqOfRust/alloc/boxed/convert.v @@ -933,8 +933,10 @@ Module boxed. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "alloc::boxed::convert::boxed_slice_as_array_unchecked::N" + get_constant (| + "alloc::boxed::convert::boxed_slice_as_array_unchecked::N", + Ty.path "usize" + |) |) ] |), @@ -1079,7 +1081,7 @@ Module boxed. end. Global Instance Instance_IsFunction_boxed_slice_as_array_unchecked : - M.IsFunction.Trait + M.IsFunction.C "alloc::boxed::convert::boxed_slice_as_array_unchecked" boxed_slice_as_array_unchecked. Admitted. @@ -1159,7 +1161,9 @@ Module boxed. |) ] |), - M.read (| M.get_constant "alloc::boxed::convert::N" |) + M.read (| + get_constant (| "alloc::boxed::convert::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1282,7 +1286,9 @@ Module boxed. |), [ M.borrow (| Pointer.Kind.Ref, vec |) ] |), - M.read (| M.get_constant "alloc::boxed::convert::N" |) + M.read (| + get_constant (| "alloc::boxed::convert::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1437,7 +1443,7 @@ Module boxed. Global Instance AssociatedFunction_downcast : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast" (downcast A). + M.IsAssociatedFunction.C (Self A) "downcast" (downcast A). Admitted. Global Typeclasses Opaque downcast. @@ -1570,7 +1576,7 @@ Module boxed. Global Instance AssociatedFunction_downcast_unchecked : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast_unchecked" (downcast_unchecked A). + M.IsAssociatedFunction.C (Self A) "downcast_unchecked" (downcast_unchecked A). Admitted. Global Typeclasses Opaque downcast_unchecked. End Impl_alloc_boxed_Box_Dyn_core_any_Any_Trait_A. @@ -1673,7 +1679,7 @@ Module boxed. Global Instance AssociatedFunction_downcast : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast" (downcast A). + M.IsAssociatedFunction.C (Self A) "downcast" (downcast A). Admitted. Global Typeclasses Opaque downcast. @@ -1824,7 +1830,7 @@ Module boxed. Global Instance AssociatedFunction_downcast_unchecked : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast_unchecked" (downcast_unchecked A). + M.IsAssociatedFunction.C (Self A) "downcast_unchecked" (downcast_unchecked A). Admitted. Global Typeclasses Opaque downcast_unchecked. End Impl_alloc_boxed_Box_Dyn_core_any_Any_Trait_core_marker_Send_AutoTrait_A. @@ -1940,7 +1946,7 @@ Module boxed. Global Instance AssociatedFunction_downcast : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast" (downcast A). + M.IsAssociatedFunction.C (Self A) "downcast" (downcast A). Admitted. Global Typeclasses Opaque downcast. @@ -2099,7 +2105,7 @@ Module boxed. Global Instance AssociatedFunction_downcast_unchecked : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast_unchecked" (downcast_unchecked A). + M.IsAssociatedFunction.C (Self A) "downcast_unchecked" (downcast_unchecked A). Admitted. Global Typeclasses Opaque downcast_unchecked. End Impl_alloc_boxed_Box_Dyn_core_any_Any_Trait_core_marker_Sync_AutoTrait_core_marker_Send_AutoTrait_A. @@ -2780,7 +2786,7 @@ Module boxed. end. Global Instance AssociatedFunction_downcast : - M.IsAssociatedFunction.Trait Self "downcast" downcast. + M.IsAssociatedFunction.C Self "downcast" downcast. Admitted. Global Typeclasses Opaque downcast. End Impl_Dyn_core_error_Error_Trait. @@ -3003,7 +3009,7 @@ Module boxed. end. Global Instance AssociatedFunction_downcast : - M.IsAssociatedFunction.Trait Self "downcast" downcast. + M.IsAssociatedFunction.C Self "downcast" downcast. Admitted. Global Typeclasses Opaque downcast. End Impl_Dyn_core_error_Error_Trait_core_marker_Send_AutoTrait. @@ -3237,7 +3243,7 @@ Module boxed. end. Global Instance AssociatedFunction_downcast : - M.IsAssociatedFunction.Trait Self "downcast" downcast. + M.IsAssociatedFunction.C Self "downcast" downcast. Admitted. Global Typeclasses Opaque downcast. End Impl_Dyn_core_error_Error_Trait_core_marker_Sync_AutoTrait_core_marker_Send_AutoTrait. diff --git a/CoqOfRust/alloc/boxed/thin.v b/CoqOfRust/alloc/boxed/thin.v index 560530704..36ca31b29 100644 --- a/CoqOfRust/alloc/boxed/thin.v +++ b/CoqOfRust/alloc/boxed/thin.v @@ -101,7 +101,7 @@ Module boxed. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -210,7 +210,7 @@ Module boxed. Global Instance AssociatedFunction_try_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new" (try_new T). + M.IsAssociatedFunction.C (Self T) "try_new" (try_new T). Admitted. Global Typeclasses Opaque try_new. (* @@ -282,7 +282,7 @@ Module boxed. Global Instance AssociatedFunction_meta : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "meta" (meta T). + M.IsAssociatedFunction.C (Self T) "meta" (meta T). Admitted. Global Typeclasses Opaque meta. @@ -346,7 +346,7 @@ Module boxed. Global Instance AssociatedFunction_data : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "data" (data T). + M.IsAssociatedFunction.C (Self T) "data" (data T). Admitted. Global Typeclasses Opaque data. @@ -402,7 +402,7 @@ Module boxed. Global Instance AssociatedFunction_with_header : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_header" (with_header T). + M.IsAssociatedFunction.C (Self T) "with_header" (with_header T). Admitted. Global Typeclasses Opaque with_header. End Impl_alloc_boxed_thin_ThinBox_T. @@ -551,7 +551,7 @@ Module boxed. Global Instance AssociatedFunction_new_unsize : forall (Dyn : Ty.t), - M.IsAssociatedFunction.Trait (Self Dyn) "new_unsize" (new_unsize Dyn). + M.IsAssociatedFunction.C (Self Dyn) "new_unsize" (new_unsize Dyn). Admitted. Global Typeclasses Opaque new_unsize. End Impl_alloc_boxed_thin_ThinBox_Dyn. @@ -1024,7 +1024,7 @@ Module boxed. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1088,7 +1088,7 @@ Module boxed. end. Global Instance AssociatedFunction_new_unsize_zst : - M.IsAssociatedFunction.Trait Self "new_unsize_zst" new_unsize_zst. + M.IsAssociatedFunction.C Self "new_unsize_zst" new_unsize_zst. Admitted. Global Typeclasses Opaque new_unsize_zst. @@ -1182,8 +1182,7 @@ Module boxed. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_try_new : - M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Global Typeclasses Opaque try_new. End Impl_alloc_boxed_thin_WithOpaqueHeader. @@ -1357,14 +1356,18 @@ Module boxed. |), ltac:(M.monadic (M.read (| - M.get_constant - "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |))) |), ltac:(M.monadic (M.read (| - M.get_constant - "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |))) |) |) @@ -1568,7 +1571,7 @@ Module boxed. Global Instance AssociatedFunction_new : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "new" (new H). + M.IsAssociatedFunction.C (Self H) "new" (new H). Admitted. Global Typeclasses Opaque new. @@ -1984,7 +1987,7 @@ Module boxed. Global Instance AssociatedFunction_try_new : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "try_new" (try_new H). + M.IsAssociatedFunction.C (Self H) "try_new" (try_new H). Admitted. Global Typeclasses Opaque try_new. @@ -2087,7 +2090,12 @@ Module boxed. ] |) in let~ alloc : Ty.apply (Ty.path "&") [] [ H ] := - M.copy (| M.get_constant "alloc::boxed::thin::new_unsize_zst_discriminant" |) in + M.copy (| + get_constant (| + "alloc::boxed::thin::new_unsize_zst_discriminant", + Ty.apply (Ty.path "&") [] [ H ] + |) + |) in let~ value_ptr : Ty.apply (Ty.path "*mut") [] [ T ] := M.alloc (| M.call_closure (| @@ -2248,7 +2256,7 @@ Module boxed. Global Instance AssociatedFunction_new_unsize_zst : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "new_unsize_zst" (new_unsize_zst H). + M.IsAssociatedFunction.C (Self H) "new_unsize_zst" (new_unsize_zst H). Admitted. Global Typeclasses Opaque new_unsize_zst. @@ -2343,7 +2351,7 @@ Module boxed. Global Instance AssociatedFunction_drop : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "drop" (drop H). + M.IsAssociatedFunction.C (Self H) "drop" (drop H). Admitted. Global Typeclasses Opaque drop. @@ -2473,7 +2481,7 @@ Module boxed. Global Instance AssociatedFunction_header : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "header" (header H). + M.IsAssociatedFunction.C (Self H) "header" (header H). Admitted. Global Typeclasses Opaque header. @@ -2511,7 +2519,7 @@ Module boxed. Global Instance AssociatedFunction_value : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "value" (value H). + M.IsAssociatedFunction.C (Self H) "value" (value H). Admitted. Global Typeclasses Opaque value. @@ -2535,7 +2543,7 @@ Module boxed. Global Instance AssociatedFunction_header_size : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "header_size" (header_size H). + M.IsAssociatedFunction.C (Self H) "header_size" (header_size H). Admitted. Global Typeclasses Opaque header_size. @@ -2593,7 +2601,7 @@ Module boxed. Global Instance AssociatedFunction_alloc_layout : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "alloc_layout" (alloc_layout H). + M.IsAssociatedFunction.C (Self H) "alloc_layout" (alloc_layout H). Admitted. Global Typeclasses Opaque alloc_layout. End Impl_alloc_boxed_thin_WithHeader_H. diff --git a/CoqOfRust/alloc/collections/binary_heap/mod.v b/CoqOfRust/alloc/collections/binary_heap/mod.v index 7d7781e95..ca1b65cc7 100644 --- a/CoqOfRust/alloc/collections/binary_heap/mod.v +++ b/CoqOfRust/alloc/collections/binary_heap/mod.v @@ -925,7 +925,7 @@ Module collections. Global Instance AssociatedFunction_pop : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop" (pop T A). + M.IsAssociatedFunction.C (Self T A) "pop" (pop T A). Admitted. Global Typeclasses Opaque pop. End Impl_alloc_collections_binary_heap_PeekMut_T_A. @@ -1303,7 +1303,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -1343,7 +1343,7 @@ Module collections. Global Instance AssociatedFunction_with_capacity : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_capacity" (with_capacity T). + M.IsAssociatedFunction.C (Self T) "with_capacity" (with_capacity T). Admitted. Global Typeclasses Opaque with_capacity. End Impl_alloc_collections_binary_heap_BinaryHeap_T_alloc_alloc_Global. @@ -1383,7 +1383,7 @@ Module collections. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -1424,7 +1424,7 @@ Module collections. Global Instance AssociatedFunction_with_capacity_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "with_capacity_in" (with_capacity_in T A). + M.IsAssociatedFunction.C (Self T A) "with_capacity_in" (with_capacity_in T A). Admitted. Global Typeclasses Opaque with_capacity_in. @@ -1495,7 +1495,7 @@ Module collections. Global Instance AssociatedFunction_peek_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_mut" (peek_mut T A). + M.IsAssociatedFunction.C (Self T A) "peek_mut" (peek_mut T A). Admitted. Global Typeclasses Opaque peek_mut. @@ -1693,7 +1693,7 @@ Module collections. Global Instance AssociatedFunction_pop : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop" (pop T A). + M.IsAssociatedFunction.C (Self T A) "pop" (pop T A). Admitted. Global Typeclasses Opaque pop. @@ -1774,7 +1774,7 @@ Module collections. Global Instance AssociatedFunction_push : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push" (push T A). + M.IsAssociatedFunction.C (Self T A) "push" (push T A). Admitted. Global Typeclasses Opaque push. @@ -1952,7 +1952,7 @@ Module collections. Global Instance AssociatedFunction_into_sorted_vec : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_sorted_vec" (into_sorted_vec T A). + M.IsAssociatedFunction.C (Self T A) "into_sorted_vec" (into_sorted_vec T A). Admitted. Global Typeclasses Opaque into_sorted_vec. @@ -2221,7 +2221,7 @@ Module collections. Global Instance AssociatedFunction_sift_up : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "sift_up" (sift_up T A). + M.IsAssociatedFunction.C (Self T A) "sift_up" (sift_up T A). Admitted. Global Typeclasses Opaque sift_up. @@ -2712,7 +2712,7 @@ Module collections. Global Instance AssociatedFunction_sift_down_range : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "sift_down_range" (sift_down_range T A). + M.IsAssociatedFunction.C (Self T A) "sift_down_range" (sift_down_range T A). Admitted. Global Typeclasses Opaque sift_down_range. @@ -2769,7 +2769,7 @@ Module collections. Global Instance AssociatedFunction_sift_down : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "sift_down" (sift_down T A). + M.IsAssociatedFunction.C (Self T A) "sift_down" (sift_down T A). Admitted. Global Typeclasses Opaque sift_down. @@ -3155,7 +3155,7 @@ Module collections. Global Instance AssociatedFunction_sift_down_to_bottom : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "sift_down_to_bottom" (sift_down_to_bottom T A). + M.IsAssociatedFunction.C (Self T A) "sift_down_to_bottom" (sift_down_to_bottom T A). Admitted. Global Typeclasses Opaque sift_down_to_bottom. @@ -3585,7 +3585,7 @@ Module collections. Global Instance AssociatedFunction_rebuild_tail : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "rebuild_tail" (rebuild_tail T A). + M.IsAssociatedFunction.C (Self T A) "rebuild_tail" (rebuild_tail T A). Admitted. Global Typeclasses Opaque rebuild_tail. @@ -3697,7 +3697,7 @@ Module collections. Global Instance AssociatedFunction_rebuild : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "rebuild" (rebuild T A). + M.IsAssociatedFunction.C (Self T A) "rebuild" (rebuild T A). Admitted. Global Typeclasses Opaque rebuild. @@ -3873,7 +3873,7 @@ Module collections. Global Instance AssociatedFunction_append : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "append" (append T A). + M.IsAssociatedFunction.C (Self T A) "append" (append T A). Admitted. Global Typeclasses Opaque append. @@ -3901,7 +3901,7 @@ Module collections. Global Instance AssociatedFunction_drain_sorted : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "drain_sorted" (drain_sorted T A). + M.IsAssociatedFunction.C (Self T A) "drain_sorted" (drain_sorted T A). Admitted. Global Typeclasses Opaque drain_sorted. @@ -4103,7 +4103,7 @@ Module collections. Global Instance AssociatedFunction_retain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain" (retain T A). + M.IsAssociatedFunction.C (Self T A) "retain" (retain T A). Admitted. Global Typeclasses Opaque retain. (* @@ -4165,7 +4165,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "iter" (iter T A). + M.IsAssociatedFunction.C (Self T A) "iter" (iter T A). Admitted. Global Typeclasses Opaque iter. @@ -4193,7 +4193,7 @@ Module collections. Global Instance AssociatedFunction_into_iter_sorted : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_iter_sorted" (into_iter_sorted T A). + M.IsAssociatedFunction.C (Self T A) "into_iter_sorted" (into_iter_sorted T A). Admitted. Global Typeclasses Opaque into_iter_sorted. @@ -4252,7 +4252,7 @@ Module collections. Global Instance AssociatedFunction_peek : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek" (peek T A). + M.IsAssociatedFunction.C (Self T A) "peek" (peek T A). Admitted. Global Typeclasses Opaque peek. @@ -4291,7 +4291,7 @@ Module collections. Global Instance AssociatedFunction_capacity : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "capacity" (capacity T A). + M.IsAssociatedFunction.C (Self T A) "capacity" (capacity T A). Admitted. Global Typeclasses Opaque capacity. @@ -4343,7 +4343,7 @@ Module collections. Global Instance AssociatedFunction_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve_exact" (reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "reserve_exact" (reserve_exact T A). Admitted. Global Typeclasses Opaque reserve_exact. @@ -4390,7 +4390,7 @@ Module collections. Global Instance AssociatedFunction_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve" (reserve T A). + M.IsAssociatedFunction.C (Self T A) "reserve" (reserve T A). Admitted. Global Typeclasses Opaque reserve. @@ -4439,7 +4439,7 @@ Module collections. Global Instance AssociatedFunction_try_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve_exact" (try_reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve_exact" (try_reserve_exact T A). Admitted. Global Typeclasses Opaque try_reserve_exact. @@ -4488,7 +4488,7 @@ Module collections. Global Instance AssociatedFunction_try_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve" (try_reserve T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve" (try_reserve T A). Admitted. Global Typeclasses Opaque try_reserve. @@ -4538,7 +4538,7 @@ Module collections. Global Instance AssociatedFunction_shrink_to_fit : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to_fit" (shrink_to_fit T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to_fit" (shrink_to_fit T A). Admitted. Global Typeclasses Opaque shrink_to_fit. @@ -4579,7 +4579,7 @@ Module collections. Global Instance AssociatedFunction_shrink_to : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to" (shrink_to T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to" (shrink_to T A). Admitted. Global Typeclasses Opaque shrink_to. @@ -4623,7 +4623,7 @@ Module collections. Global Instance AssociatedFunction_as_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_slice" (as_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_slice" (as_slice T A). Admitted. Global Typeclasses Opaque as_slice. @@ -4656,7 +4656,7 @@ Module collections. Global Instance AssociatedFunction_into_vec : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_vec" (into_vec T A). + M.IsAssociatedFunction.C (Self T A) "into_vec" (into_vec T A). Admitted. Global Typeclasses Opaque into_vec. @@ -4700,7 +4700,7 @@ Module collections. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -4739,7 +4739,7 @@ Module collections. Global Instance AssociatedFunction_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "len" (len T A). + M.IsAssociatedFunction.C (Self T A) "len" (len T A). Admitted. Global Typeclasses Opaque len. @@ -4772,7 +4772,7 @@ Module collections. Global Instance AssociatedFunction_is_empty : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_empty" (is_empty T A). + M.IsAssociatedFunction.C (Self T A) "is_empty" (is_empty T A). Admitted. Global Typeclasses Opaque is_empty. @@ -4817,7 +4817,7 @@ Module collections. Global Instance AssociatedFunction_drain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "drain" (drain T A). + M.IsAssociatedFunction.C (Self T A) "drain" (drain T A). Admitted. Global Typeclasses Opaque drain. @@ -4853,7 +4853,7 @@ Module collections. Global Instance AssociatedFunction_clear : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "clear" (clear T A). + M.IsAssociatedFunction.C (Self T A) "clear" (clear T A). Admitted. Global Typeclasses Opaque clear. End Impl_alloc_collections_binary_heap_BinaryHeap_T_A. @@ -5006,7 +5006,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -5033,7 +5033,7 @@ Module collections. Global Instance AssociatedFunction_pos : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pos" (pos T). + M.IsAssociatedFunction.C (Self T) "pos" (pos T). Admitted. Global Typeclasses Opaque pos. @@ -5085,7 +5085,7 @@ Module collections. Global Instance AssociatedFunction_element : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "element" (element T). + M.IsAssociatedFunction.C (Self T) "element" (element T). Admitted. Global Typeclasses Opaque element. @@ -5265,7 +5265,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. @@ -5509,7 +5509,7 @@ Module collections. Global Instance AssociatedFunction_move_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "move_to" (move_to T). + M.IsAssociatedFunction.C (Self T) "move_to" (move_to T). Admitted. Global Typeclasses Opaque move_to. End Impl_alloc_collections_binary_heap_Hole_T. @@ -6199,7 +6199,7 @@ Module collections. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. End Impl_alloc_collections_binary_heap_IntoIter_T_A. @@ -6643,50 +6643,58 @@ Module collections. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I A : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I A : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I A in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |) + |))). (* const MERGE_BY: Option> = NonZero::new(1); *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I A : Ty.t) : Value.t := + Definition value_MERGE_BY + (I A : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I A in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |) + |))). Axiom Implements : forall (I A : Ty.t), @@ -6697,8 +6705,8 @@ Module collections. (Self I A) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I A)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I A)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I A)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I A)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_alloc_Allocator_A_for_alloc_collections_binary_heap_IntoIter_I_A. @@ -6933,7 +6941,7 @@ Module collections. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. End Impl_alloc_collections_binary_heap_IntoIterSorted_T_A. @@ -7193,7 +7201,7 @@ Module collections. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. End Impl_alloc_collections_binary_heap_Drain_T_A. @@ -7531,7 +7539,7 @@ Module collections. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. End Impl_alloc_collections_binary_heap_DrainSorted_T_A. diff --git a/CoqOfRust/alloc/collections/btree/append.v b/CoqOfRust/alloc/collections/btree/append.v index 8bd88a45f..dfc062b52 100644 --- a/CoqOfRust/alloc/collections/btree/append.v +++ b/CoqOfRust/alloc/collections/btree/append.v @@ -114,7 +114,7 @@ Module collections. Global Instance AssociatedFunction_append_from_sorted_iters : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "append_from_sorted_iters" (append_from_sorted_iters K V). @@ -410,8 +410,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |)) in @@ -670,8 +672,11 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path + "usize" + |) |) |) |)) in @@ -1310,7 +1315,7 @@ Module collections. Global Instance AssociatedFunction_bulk_push : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "bulk_push" (bulk_push K V). + M.IsAssociatedFunction.C (Self K V) "bulk_push" (bulk_push K V). Admitted. Global Typeclasses Opaque bulk_push. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Owned_K_V_alloc_collections_btree_node_marker_LeafOrInternal. diff --git a/CoqOfRust/alloc/collections/btree/borrow.v b/CoqOfRust/alloc/collections/btree/borrow.v index 05d996ca7..0b4ae67a3 100644 --- a/CoqOfRust/alloc/collections/btree/borrow.v +++ b/CoqOfRust/alloc/collections/btree/borrow.v @@ -125,7 +125,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -184,7 +184,7 @@ Module collections. Global Instance AssociatedFunction_awaken : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "awaken" (awaken T). + M.IsAssociatedFunction.C (Self T) "awaken" (awaken T). Admitted. Global Typeclasses Opaque awaken. @@ -243,7 +243,7 @@ Module collections. Global Instance AssociatedFunction_reborrow : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "reborrow" (reborrow T). + M.IsAssociatedFunction.C (Self T) "reborrow" (reborrow T). Admitted. Global Typeclasses Opaque reborrow. @@ -297,7 +297,7 @@ Module collections. Global Instance AssociatedFunction_reborrow_shared : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "reborrow_shared" (reborrow_shared T). + M.IsAssociatedFunction.C (Self T) "reborrow_shared" (reborrow_shared T). Admitted. Global Typeclasses Opaque reborrow_shared. End Impl_alloc_collections_btree_borrow_DormantMutRef_T. diff --git a/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v b/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v index be83d842f..30f464616 100644 --- a/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v +++ b/CoqOfRust/alloc/collections/btree/dedup_sorted_iter.v @@ -54,7 +54,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (K V I : Ty.t), - M.IsAssociatedFunction.Trait (Self K V I) "new" (new K V I). + M.IsAssociatedFunction.C (Self K V I) "new" (new K V I). Admitted. Global Typeclasses Opaque new. End Impl_alloc_collections_btree_dedup_sorted_iter_DedupSortedIter_K_V_I. diff --git a/CoqOfRust/alloc/collections/btree/fix.v b/CoqOfRust/alloc/collections/btree/fix.v index 20b5b681b..da701f7f8 100644 --- a/CoqOfRust/alloc/collections/btree/fix.v +++ b/CoqOfRust/alloc/collections/btree/fix.v @@ -129,7 +129,10 @@ Module collections. BinOp.ge (| M.read (| len |), M.read (| - M.get_constant "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |)) in @@ -361,8 +364,10 @@ Module collections. M.borrow (| Pointer.Kind.MutRef, left_parent_kv |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), M.read (| len |) |) @@ -518,8 +523,10 @@ Module collections. M.borrow (| Pointer.Kind.MutRef, right_parent_kv |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), M.read (| len |) |) @@ -616,7 +623,7 @@ Module collections. Global Instance AssociatedFunction_fix_node_through_parent : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "fix_node_through_parent" (fix_node_through_parent K V). @@ -808,7 +815,7 @@ Module collections. Global Instance AssociatedFunction_fix_node_and_affected_ancestors : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "fix_node_and_affected_ancestors" (fix_node_and_affected_ancestors K V). @@ -979,7 +986,7 @@ Module collections. Global Instance AssociatedFunction_fix_top : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "fix_top" (fix_top K V). + M.IsAssociatedFunction.C (Self K V) "fix_top" (fix_top K V). Admitted. Global Typeclasses Opaque fix_top. @@ -1214,7 +1221,7 @@ Module collections. Global Instance AssociatedFunction_fix_right_border : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "fix_right_border" (fix_right_border K V). + M.IsAssociatedFunction.C (Self K V) "fix_right_border" (fix_right_border K V). Admitted. Global Typeclasses Opaque fix_right_border. @@ -1449,7 +1456,7 @@ Module collections. Global Instance AssociatedFunction_fix_left_border : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "fix_left_border" (fix_left_border K V). + M.IsAssociatedFunction.C (Self K V) "fix_left_border" (fix_left_border K V). Admitted. Global Typeclasses Opaque fix_left_border. @@ -1699,8 +1706,10 @@ Module collections. |), BinOp.Wrap.mul (| M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 2 |) @@ -1765,8 +1774,10 @@ Module collections. BinOp.lt (| M.read (| right_child_len |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |)) in @@ -1793,8 +1804,10 @@ Module collections. M.borrow (| Pointer.Kind.MutRef, last_kv |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), M.read (| right_child_len |) |) @@ -1855,7 +1868,7 @@ Module collections. Global Instance AssociatedFunction_fix_right_border_of_plentiful : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "fix_right_border_of_plentiful" (fix_right_border_of_plentiful K V). @@ -2222,8 +2235,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |) @@ -2278,7 +2293,7 @@ Module collections. Global Instance AssociatedFunction_fix_left_border_of_left_edge : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "fix_left_border_of_left_edge" (fix_left_border_of_left_edge K V). @@ -2626,8 +2641,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |) @@ -2682,7 +2699,7 @@ Module collections. Global Instance AssociatedFunction_fix_right_border_of_right_edge : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "fix_right_border_of_right_edge" (fix_right_border_of_right_edge K V). @@ -2828,8 +2845,10 @@ Module collections. [ M.borrow (| Pointer.Kind.Ref, internal_kv |) ] |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |) @@ -2931,7 +2950,10 @@ Module collections. [ BinOp.Wrap.add (| M.read (| - M.get_constant "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |); @@ -3014,7 +3036,7 @@ Module collections. Global Instance AssociatedFunction_fix_left_child : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "fix_left_child" (fix_left_child K V). + M.IsAssociatedFunction.C (Self K V) "fix_left_child" (fix_left_child K V). Admitted. Global Typeclasses Opaque fix_left_child. @@ -3138,8 +3160,10 @@ Module collections. [ M.borrow (| Pointer.Kind.Ref, internal_kv |) ] |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |) @@ -3241,7 +3265,10 @@ Module collections. [ BinOp.Wrap.add (| M.read (| - M.get_constant "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |); @@ -3324,7 +3351,7 @@ Module collections. Global Instance AssociatedFunction_fix_right_child : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "fix_right_child" (fix_right_child K V). + M.IsAssociatedFunction.C (Self K V) "fix_right_child" (fix_right_child K V). Admitted. Global Typeclasses Opaque fix_right_child. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Internal_alloc_collections_btree_node_marker_KV. diff --git a/CoqOfRust/alloc/collections/btree/map.v b/CoqOfRust/alloc/collections/btree/map.v index 826637f9e..d1b446107 100644 --- a/CoqOfRust/alloc/collections/btree/map.v +++ b/CoqOfRust/alloc/collections/btree/map.v @@ -4,13 +4,17 @@ Require Import CoqOfRust.CoqOfRust. Module collections. Module btree. Module map. - Definition value_MIN_LEN : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "alloc::collections::btree::node::MIN_LEN_AFTER_SPLIT")). + Definition value_MIN_LEN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "alloc::collections::btree::node::MIN_LEN_AFTER_SPLIT", + Ty.path "usize" + |))). - Axiom Constant_value_MIN_LEN : - (M.get_constant "alloc::collections::btree::map::MIN_LEN") = value_MIN_LEN. - Global Hint Rewrite Constant_value_MIN_LEN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_LEN : + M.IsFunction.C "alloc::collections::btree::map::MIN_LEN" value_MIN_LEN. + Admitted. + Global Typeclasses Opaque value_MIN_LEN. (* StructRecord { @@ -1043,7 +1047,7 @@ Module collections. Global Instance AssociatedFunction_replace : forall (K A : Ty.t), - M.IsAssociatedFunction.Trait (Self K A) "replace" (replace K A). + M.IsAssociatedFunction.C (Self K A) "replace" (replace K A). Admitted. Global Typeclasses Opaque replace. @@ -1725,7 +1729,7 @@ Module collections. Global Instance AssociatedFunction_get_or_insert_with : forall (K A : Ty.t), - M.IsAssociatedFunction.Trait (Self K A) "get_or_insert_with" (get_or_insert_with K A). + M.IsAssociatedFunction.C (Self K A) "get_or_insert_with" (get_or_insert_with K A). Admitted. Global Typeclasses Opaque get_or_insert_with. End Impl_alloc_collections_btree_map_BTreeMap_K_alloc_collections_btree_set_val_SetValZST_A. @@ -2176,7 +2180,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "iter" (iter K V A). + M.IsAssociatedFunction.C (Self K V A) "iter" (iter K V A). Admitted. Global Typeclasses Opaque iter. (* @@ -2384,7 +2388,7 @@ Module collections. Global Instance AssociatedFunction_dying_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "dying_next" (dying_next K V A). + M.IsAssociatedFunction.C (Self K V A) "dying_next" (dying_next K V A). Admitted. Global Typeclasses Opaque dying_next. @@ -2593,7 +2597,7 @@ Module collections. Global Instance AssociatedFunction_dying_next_back : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "dying_next_back" (dying_next_back K V A). + M.IsAssociatedFunction.C (Self K V A) "dying_next_back" (dying_next_back K V A). Admitted. Global Typeclasses Opaque dying_next_back. End Impl_alloc_collections_btree_map_IntoIter_K_V_A. @@ -3911,7 +3915,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Global Typeclasses Opaque new. End Impl_alloc_collections_btree_map_BTreeMap_K_V_alloc_alloc_Global. @@ -4074,7 +4078,7 @@ Module collections. Global Instance AssociatedFunction_clear : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "clear" (clear K V A). + M.IsAssociatedFunction.C (Self K V A) "clear" (clear K V A). Admitted. Global Typeclasses Opaque clear. @@ -4117,7 +4121,7 @@ Module collections. Global Instance AssociatedFunction_new_in : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "new_in" (new_in K V A). + M.IsAssociatedFunction.C (Self K V A) "new_in" (new_in K V A). Admitted. Global Typeclasses Opaque new_in. (* @@ -4496,7 +4500,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "get" (get K V A). + M.IsAssociatedFunction.C (Self K V A) "get" (get K V A). Admitted. Global Typeclasses Opaque get. @@ -4881,7 +4885,7 @@ Module collections. Global Instance AssociatedFunction_get_key_value : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "get_key_value" (get_key_value K V A). + M.IsAssociatedFunction.C (Self K V A) "get_key_value" (get_key_value K V A). Admitted. Global Typeclasses Opaque get_key_value. @@ -5404,7 +5408,7 @@ Module collections. Global Instance AssociatedFunction_first_key_value : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "first_key_value" (first_key_value K V A). + M.IsAssociatedFunction.C (Self K V A) "first_key_value" (first_key_value K V A). Admitted. Global Typeclasses Opaque first_key_value. @@ -6211,7 +6215,7 @@ Module collections. Global Instance AssociatedFunction_first_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "first_entry" (first_entry K V A). + M.IsAssociatedFunction.C (Self K V A) "first_entry" (first_entry K V A). Admitted. Global Typeclasses Opaque first_entry. @@ -6332,7 +6336,7 @@ Module collections. Global Instance AssociatedFunction_pop_first : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "pop_first" (pop_first K V A). + M.IsAssociatedFunction.C (Self K V A) "pop_first" (pop_first K V A). Admitted. Global Typeclasses Opaque pop_first. @@ -6855,7 +6859,7 @@ Module collections. Global Instance AssociatedFunction_last_key_value : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "last_key_value" (last_key_value K V A). + M.IsAssociatedFunction.C (Self K V A) "last_key_value" (last_key_value K V A). Admitted. Global Typeclasses Opaque last_key_value. @@ -7662,7 +7666,7 @@ Module collections. Global Instance AssociatedFunction_last_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "last_entry" (last_entry K V A). + M.IsAssociatedFunction.C (Self K V A) "last_entry" (last_entry K V A). Admitted. Global Typeclasses Opaque last_entry. @@ -7783,7 +7787,7 @@ Module collections. Global Instance AssociatedFunction_pop_last : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "pop_last" (pop_last K V A). + M.IsAssociatedFunction.C (Self K V A) "pop_last" (pop_last K V A). Admitted. Global Typeclasses Opaque pop_last. @@ -7848,7 +7852,7 @@ Module collections. Global Instance AssociatedFunction_contains_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "contains_key" (contains_key K V A). + M.IsAssociatedFunction.C (Self K V A) "contains_key" (contains_key K V A). Admitted. Global Typeclasses Opaque contains_key. @@ -8219,7 +8223,7 @@ Module collections. Global Instance AssociatedFunction_get_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "get_mut" (get_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "get_mut" (get_mut K V A). Admitted. Global Typeclasses Opaque get_mut. @@ -8337,7 +8341,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert" (insert K V A). + M.IsAssociatedFunction.C (Self K V A) "insert" (insert K V A). Admitted. Global Typeclasses Opaque insert. @@ -8460,7 +8464,7 @@ Module collections. Global Instance AssociatedFunction_try_insert : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "try_insert" (try_insert K V A). + M.IsAssociatedFunction.C (Self K V A) "try_insert" (try_insert K V A). Admitted. Global Typeclasses Opaque try_insert. @@ -8534,7 +8538,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove" (remove K V A). + M.IsAssociatedFunction.C (Self K V A) "remove" (remove K V A). Admitted. Global Typeclasses Opaque remove. @@ -9016,7 +9020,7 @@ Module collections. Global Instance AssociatedFunction_remove_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_entry" (remove_entry K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_entry" (remove_entry K V A). Admitted. Global Typeclasses Opaque remove_entry. @@ -9202,7 +9206,7 @@ Module collections. Global Instance AssociatedFunction_retain : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "retain" (retain K V A). + M.IsAssociatedFunction.C (Self K V A) "retain" (retain K V A). Admitted. Global Typeclasses Opaque retain. @@ -9853,7 +9857,7 @@ Module collections. Global Instance AssociatedFunction_append : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "append" (append K V A). + M.IsAssociatedFunction.C (Self K V A) "append" (append K V A). Admitted. Global Typeclasses Opaque append. @@ -10008,7 +10012,7 @@ Module collections. Global Instance AssociatedFunction_range : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "range" (range K V A). + M.IsAssociatedFunction.C (Self K V A) "range" (range K V A). Admitted. Global Typeclasses Opaque range. @@ -10176,7 +10180,7 @@ Module collections. Global Instance AssociatedFunction_range_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "range_mut" (range_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "range_mut" (range_mut K V A). Admitted. Global Typeclasses Opaque range_mut. @@ -10591,7 +10595,7 @@ Module collections. Global Instance AssociatedFunction_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "entry" (entry K V A). + M.IsAssociatedFunction.C (Self K V A) "entry" (entry K V A). Admitted. Global Typeclasses Opaque entry. @@ -11063,7 +11067,7 @@ Module collections. Global Instance AssociatedFunction_split_off : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "split_off" (split_off K V A). + M.IsAssociatedFunction.C (Self K V A) "split_off" (split_off K V A). Admitted. Global Typeclasses Opaque split_off. @@ -11138,7 +11142,7 @@ Module collections. Global Instance AssociatedFunction_extract_if : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "extract_if" (extract_if K V A). + M.IsAssociatedFunction.C (Self K V A) "extract_if" (extract_if K V A). Admitted. Global Typeclasses Opaque extract_if. @@ -11574,7 +11578,7 @@ Module collections. Global Instance AssociatedFunction_extract_if_inner : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "extract_if_inner" (extract_if_inner K V A). + M.IsAssociatedFunction.C (Self K V A) "extract_if_inner" (extract_if_inner K V A). Admitted. Global Typeclasses Opaque extract_if_inner. @@ -11620,7 +11624,7 @@ Module collections. Global Instance AssociatedFunction_into_keys : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "into_keys" (into_keys K V A). + M.IsAssociatedFunction.C (Self K V A) "into_keys" (into_keys K V A). Admitted. Global Typeclasses Opaque into_keys. @@ -11666,7 +11670,7 @@ Module collections. Global Instance AssociatedFunction_into_values : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "into_values" (into_values K V A). + M.IsAssociatedFunction.C (Self K V A) "into_values" (into_values K V A). Admitted. Global Typeclasses Opaque into_values. @@ -11870,7 +11874,7 @@ Module collections. Global Instance AssociatedFunction_bulk_build_from_sorted_iter : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V A) "bulk_build_from_sorted_iter" (bulk_build_from_sorted_iter K V A). @@ -12032,7 +12036,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "iter" (iter K V A). + M.IsAssociatedFunction.C (Self K V A) "iter" (iter K V A). Admitted. Global Typeclasses Opaque iter. @@ -12206,7 +12210,7 @@ Module collections. Global Instance AssociatedFunction_iter_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "iter_mut" (iter_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "iter_mut" (iter_mut K V A). Admitted. Global Typeclasses Opaque iter_mut. @@ -12244,7 +12248,7 @@ Module collections. Global Instance AssociatedFunction_keys : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "keys" (keys K V A). + M.IsAssociatedFunction.C (Self K V A) "keys" (keys K V A). Admitted. Global Typeclasses Opaque keys. @@ -12287,7 +12291,7 @@ Module collections. Global Instance AssociatedFunction_values : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "values" (values K V A). + M.IsAssociatedFunction.C (Self K V A) "values" (values K V A). Admitted. Global Typeclasses Opaque values. @@ -12330,7 +12334,7 @@ Module collections. Global Instance AssociatedFunction_values_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "values_mut" (values_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "values_mut" (values_mut K V A). Admitted. Global Typeclasses Opaque values_mut. @@ -12357,7 +12361,7 @@ Module collections. Global Instance AssociatedFunction_len : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "len" (len K V A). + M.IsAssociatedFunction.C (Self K V A) "len" (len K V A). Admitted. Global Typeclasses Opaque len. @@ -12395,7 +12399,7 @@ Module collections. Global Instance AssociatedFunction_is_empty : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "is_empty" (is_empty K V A). + M.IsAssociatedFunction.C (Self K V A) "is_empty" (is_empty K V A). Admitted. Global Typeclasses Opaque is_empty. @@ -12707,7 +12711,7 @@ Module collections. Global Instance AssociatedFunction_lower_bound : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "lower_bound" (lower_bound K V A). + M.IsAssociatedFunction.C (Self K V A) "lower_bound" (lower_bound K V A). Admitted. Global Typeclasses Opaque lower_bound. @@ -13206,7 +13210,7 @@ Module collections. Global Instance AssociatedFunction_lower_bound_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "lower_bound_mut" (lower_bound_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "lower_bound_mut" (lower_bound_mut K V A). Admitted. Global Typeclasses Opaque lower_bound_mut. @@ -13518,7 +13522,7 @@ Module collections. Global Instance AssociatedFunction_upper_bound : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "upper_bound" (upper_bound K V A). + M.IsAssociatedFunction.C (Self K V A) "upper_bound" (upper_bound K V A). Admitted. Global Typeclasses Opaque upper_bound. @@ -14017,7 +14021,7 @@ Module collections. Global Instance AssociatedFunction_upper_bound_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "upper_bound_mut" (upper_bound_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "upper_bound_mut" (upper_bound_mut K V A). Admitted. Global Typeclasses Opaque upper_bound_mut. End Impl_alloc_collections_btree_map_BTreeMap_K_V_A. @@ -15137,7 +15141,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "iter" (iter K V). + M.IsAssociatedFunction.C (Self K V) "iter" (iter K V). Admitted. Global Typeclasses Opaque iter. End Impl_alloc_collections_btree_map_IterMut_K_V. @@ -18096,7 +18100,7 @@ Module collections. Global Instance AssociatedFunction_peek : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "peek" (peek K V). + M.IsAssociatedFunction.C (Self K V) "peek" (peek K V). Admitted. Global Typeclasses Opaque peek. @@ -19143,7 +19147,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next" (next K V). + M.IsAssociatedFunction.C (Self K V) "next" (next K V). Admitted. Global Typeclasses Opaque next. @@ -19191,7 +19195,7 @@ Module collections. Global Instance AssociatedFunction_size_hint : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size_hint" (size_hint K V). + M.IsAssociatedFunction.C (Self K V) "size_hint" (size_hint K V). Admitted. Global Typeclasses Opaque size_hint. End Impl_alloc_collections_btree_map_ExtractIfInner_K_V. @@ -22640,7 +22644,10 @@ Module collections. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloc::collections::btree::map::N" + get_constant (| + "alloc::collections::btree::map::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -23601,7 +23608,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next" (next K V). + M.IsAssociatedFunction.C (Self K V) "next" (next K V). Admitted. Global Typeclasses Opaque next. @@ -24089,7 +24096,7 @@ Module collections. Global Instance AssociatedFunction_prev : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "prev" (prev K V). + M.IsAssociatedFunction.C (Self K V) "prev" (prev K V). Admitted. Global Typeclasses Opaque prev. @@ -24146,7 +24153,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "peek_next" (peek_next K V). + M.IsAssociatedFunction.C (Self K V) "peek_next" (peek_next K V). Admitted. Global Typeclasses Opaque peek_next. @@ -24203,7 +24210,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "peek_prev" (peek_prev K V). + M.IsAssociatedFunction.C (Self K V) "peek_prev" (peek_prev K V). Admitted. Global Typeclasses Opaque peek_prev. End Impl_alloc_collections_btree_map_Cursor_K_V. @@ -24407,7 +24414,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "next" (next K V A). + M.IsAssociatedFunction.C (Self K V A) "next" (next K V A). Admitted. Global Typeclasses Opaque next. @@ -24606,7 +24613,7 @@ Module collections. Global Instance AssociatedFunction_prev : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "prev" (prev K V A). + M.IsAssociatedFunction.C (Self K V A) "prev" (prev K V A). Admitted. Global Typeclasses Opaque prev. @@ -24810,7 +24817,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "peek_next" (peek_next K V A). + M.IsAssociatedFunction.C (Self K V A) "peek_next" (peek_next K V A). Admitted. Global Typeclasses Opaque peek_next. @@ -25014,7 +25021,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "peek_prev" (peek_prev K V A). + M.IsAssociatedFunction.C (Self K V A) "peek_prev" (peek_prev K V A). Admitted. Global Typeclasses Opaque peek_prev. @@ -25058,7 +25065,7 @@ Module collections. Global Instance AssociatedFunction_as_cursor : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "as_cursor" (as_cursor K V A). + M.IsAssociatedFunction.C (Self K V A) "as_cursor" (as_cursor K V A). Admitted. Global Typeclasses Opaque as_cursor. @@ -25090,7 +25097,7 @@ Module collections. Global Instance AssociatedFunction_with_mutable_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "with_mutable_key" (with_mutable_key K V A). + M.IsAssociatedFunction.C (Self K V A) "with_mutable_key" (with_mutable_key K V A). Admitted. Global Typeclasses Opaque with_mutable_key. (* @@ -25137,7 +25144,7 @@ Module collections. Global Instance AssociatedFunction_insert_after_unchecked : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V A) "insert_after_unchecked" (insert_after_unchecked K V A). @@ -25188,7 +25195,7 @@ Module collections. Global Instance AssociatedFunction_insert_before_unchecked : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V A) "insert_before_unchecked" (insert_before_unchecked K V A). @@ -25242,7 +25249,7 @@ Module collections. Global Instance AssociatedFunction_insert_after : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert_after" (insert_after K V A). + M.IsAssociatedFunction.C (Self K V A) "insert_after" (insert_after K V A). Admitted. Global Typeclasses Opaque insert_after. @@ -25293,7 +25300,7 @@ Module collections. Global Instance AssociatedFunction_insert_before : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert_before" (insert_before K V A). + M.IsAssociatedFunction.C (Self K V A) "insert_before" (insert_before K V A). Admitted. Global Typeclasses Opaque insert_before. @@ -25337,7 +25344,7 @@ Module collections. Global Instance AssociatedFunction_remove_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_next" (remove_next K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_next" (remove_next K V A). Admitted. Global Typeclasses Opaque remove_next. @@ -25381,7 +25388,7 @@ Module collections. Global Instance AssociatedFunction_remove_prev : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_prev" (remove_prev K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_prev" (remove_prev K V A). Admitted. Global Typeclasses Opaque remove_prev. End Impl_alloc_collections_btree_map_CursorMut_K_V_A. @@ -25993,7 +26000,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "next" (next K V A). + M.IsAssociatedFunction.C (Self K V A) "next" (next K V A). Admitted. Global Typeclasses Opaque next. @@ -26600,7 +26607,7 @@ Module collections. Global Instance AssociatedFunction_prev : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "prev" (prev K V A). + M.IsAssociatedFunction.C (Self K V A) "prev" (prev K V A). Admitted. Global Typeclasses Opaque prev. @@ -27252,7 +27259,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "peek_next" (peek_next K V A). + M.IsAssociatedFunction.C (Self K V A) "peek_next" (peek_next K V A). Admitted. Global Typeclasses Opaque peek_next. @@ -27904,7 +27911,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "peek_prev" (peek_prev K V A). + M.IsAssociatedFunction.C (Self K V A) "peek_prev" (peek_prev K V A). Admitted. Global Typeclasses Opaque peek_prev. @@ -28335,7 +28342,7 @@ Module collections. Global Instance AssociatedFunction_as_cursor : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "as_cursor" (as_cursor K V A). + M.IsAssociatedFunction.C (Self K V A) "as_cursor" (as_cursor K V A). Admitted. Global Typeclasses Opaque as_cursor. (* @@ -29540,7 +29547,7 @@ Module collections. Global Instance AssociatedFunction_insert_after_unchecked : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V A) "insert_after_unchecked" (insert_after_unchecked K V A). @@ -30759,7 +30766,7 @@ Module collections. Global Instance AssociatedFunction_insert_before_unchecked : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V A) "insert_before_unchecked" (insert_before_unchecked K V A). @@ -31048,7 +31055,7 @@ Module collections. Global Instance AssociatedFunction_insert_after : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert_after" (insert_after K V A). + M.IsAssociatedFunction.C (Self K V A) "insert_after" (insert_after K V A). Admitted. Global Typeclasses Opaque insert_after. @@ -31334,7 +31341,7 @@ Module collections. Global Instance AssociatedFunction_insert_before : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert_before" (insert_before K V A). + M.IsAssociatedFunction.C (Self K V A) "insert_before" (insert_before K V A). Admitted. Global Typeclasses Opaque insert_before. @@ -32463,7 +32470,7 @@ Module collections. Global Instance AssociatedFunction_remove_next : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_next" (remove_next K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_next" (remove_next K V A). Admitted. Global Typeclasses Opaque remove_next. @@ -33592,7 +33599,7 @@ Module collections. Global Instance AssociatedFunction_remove_prev : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_prev" (remove_prev K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_prev" (remove_prev K V A). Admitted. Global Typeclasses Opaque remove_prev. End Impl_alloc_collections_btree_map_CursorMutKey_K_V_A. diff --git a/CoqOfRust/alloc/collections/btree/map/entry.v b/CoqOfRust/alloc/collections/btree/map/entry.v index 24f5cef21..007f46b78 100644 --- a/CoqOfRust/alloc/collections/btree/map/entry.v +++ b/CoqOfRust/alloc/collections/btree/map/entry.v @@ -1149,7 +1149,7 @@ Module collections. Global Instance AssociatedFunction_or_insert : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "or_insert" (or_insert K V A). + M.IsAssociatedFunction.C (Self K V A) "or_insert" (or_insert K V A). Admitted. Global Typeclasses Opaque or_insert. @@ -1271,7 +1271,7 @@ Module collections. Global Instance AssociatedFunction_or_insert_with : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "or_insert_with" (or_insert_with K V A). + M.IsAssociatedFunction.C (Self K V A) "or_insert_with" (or_insert_with K V A). Admitted. Global Typeclasses Opaque or_insert_with. @@ -1421,10 +1421,7 @@ Module collections. Global Instance AssociatedFunction_or_insert_with_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V A) - "or_insert_with_key" - (or_insert_with_key K V A). + M.IsAssociatedFunction.C (Self K V A) "or_insert_with_key" (or_insert_with_key K V A). Admitted. Global Typeclasses Opaque or_insert_with_key. @@ -1530,7 +1527,7 @@ Module collections. Global Instance AssociatedFunction_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "key" (key K V A). + M.IsAssociatedFunction.C (Self K V A) "key" (key K V A). Admitted. Global Typeclasses Opaque key. @@ -1645,7 +1642,7 @@ Module collections. Global Instance AssociatedFunction_and_modify : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "and_modify" (and_modify K V A). + M.IsAssociatedFunction.C (Self K V A) "and_modify" (and_modify K V A). Admitted. Global Typeclasses Opaque and_modify. @@ -1742,7 +1739,7 @@ Module collections. Global Instance AssociatedFunction_insert_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert_entry" (insert_entry K V A). + M.IsAssociatedFunction.C (Self K V A) "insert_entry" (insert_entry K V A). Admitted. Global Typeclasses Opaque insert_entry. (* @@ -1862,7 +1859,7 @@ Module collections. Global Instance AssociatedFunction_or_default : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "or_default" (or_default K V A). + M.IsAssociatedFunction.C (Self K V A) "or_default" (or_default K V A). Admitted. Global Typeclasses Opaque or_default. End Impl_alloc_collections_btree_map_entry_Entry_K_V_A. @@ -1901,7 +1898,7 @@ Module collections. Global Instance AssociatedFunction_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "key" (key K V A). + M.IsAssociatedFunction.C (Self K V A) "key" (key K V A). Admitted. Global Typeclasses Opaque key. @@ -1933,7 +1930,7 @@ Module collections. Global Instance AssociatedFunction_into_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "into_key" (into_key K V A). + M.IsAssociatedFunction.C (Self K V A) "into_key" (into_key K V A). Admitted. Global Typeclasses Opaque into_key. @@ -1999,7 +1996,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert" (insert K V A). + M.IsAssociatedFunction.C (Self K V A) "insert" (insert K V A). Admitted. Global Typeclasses Opaque insert. @@ -3006,7 +3003,7 @@ Module collections. Global Instance AssociatedFunction_insert_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert_entry" (insert_entry K V A). + M.IsAssociatedFunction.C (Self K V A) "insert_entry" (insert_entry K V A). Admitted. Global Typeclasses Opaque insert_entry. End Impl_alloc_collections_btree_map_entry_VacantEntry_K_V_A. @@ -3122,7 +3119,7 @@ Module collections. Global Instance AssociatedFunction_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "key" (key K V A). + M.IsAssociatedFunction.C (Self K V A) "key" (key K V A). Admitted. Global Typeclasses Opaque key. @@ -3196,7 +3193,7 @@ Module collections. Global Instance AssociatedFunction_into_key : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "into_key" (into_key K V A). + M.IsAssociatedFunction.C (Self K V A) "into_key" (into_key K V A). Admitted. Global Typeclasses Opaque into_key. @@ -3234,7 +3231,7 @@ Module collections. Global Instance AssociatedFunction_remove_entry : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_entry" (remove_entry K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_entry" (remove_entry K V A). Admitted. Global Typeclasses Opaque remove_entry. @@ -3342,7 +3339,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "get" (get K V A). + M.IsAssociatedFunction.C (Self K V A) "get" (get K V A). Admitted. Global Typeclasses Opaque get. @@ -3422,7 +3419,7 @@ Module collections. Global Instance AssociatedFunction_get_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "get_mut" (get_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "get_mut" (get_mut K V A). Admitted. Global Typeclasses Opaque get_mut. @@ -3490,7 +3487,7 @@ Module collections. Global Instance AssociatedFunction_into_mut : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "into_mut" (into_mut K V A). + M.IsAssociatedFunction.C (Self K V A) "into_mut" (into_mut K V A). Admitted. Global Typeclasses Opaque into_mut. @@ -3541,7 +3538,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "insert" (insert K V A). + M.IsAssociatedFunction.C (Self K V A) "insert" (insert K V A). Admitted. Global Typeclasses Opaque insert. @@ -3586,7 +3583,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove" (remove K V A). + M.IsAssociatedFunction.C (Self K V A) "remove" (remove K V A). Admitted. Global Typeclasses Opaque remove. @@ -3967,7 +3964,7 @@ Module collections. Global Instance AssociatedFunction_remove_kv : forall (K V A : Ty.t), - M.IsAssociatedFunction.Trait (Self K V A) "remove_kv" (remove_kv K V A). + M.IsAssociatedFunction.C (Self K V A) "remove_kv" (remove_kv K V A). Admitted. Global Typeclasses Opaque remove_kv. End Impl_alloc_collections_btree_map_entry_OccupiedEntry_K_V_A. diff --git a/CoqOfRust/alloc/collections/btree/mem.v b/CoqOfRust/alloc/collections/btree/mem.v index 9aacdf579..c2cf6f380 100644 --- a/CoqOfRust/alloc/collections/btree/mem.v +++ b/CoqOfRust/alloc/collections/btree/mem.v @@ -64,7 +64,7 @@ Module collections. end. Global Instance Instance_IsFunction_take_mut : - M.IsFunction.Trait "alloc::collections::btree::mem::take_mut" take_mut. + M.IsFunction.C "alloc::collections::btree::mem::take_mut" take_mut. Admitted. Global Typeclasses Opaque take_mut. @@ -165,7 +165,7 @@ Module collections. end. Global Instance Instance_IsFunction_replace : - M.IsFunction.Trait "alloc::collections::btree::mem::replace" replace. + M.IsFunction.C "alloc::collections::btree::mem::replace" replace. Admitted. Global Typeclasses Opaque replace. diff --git a/CoqOfRust/alloc/collections/btree/merge_iter.v b/CoqOfRust/alloc/collections/btree/merge_iter.v index dfc17bd52..4ecc25c08 100644 --- a/CoqOfRust/alloc/collections/btree/merge_iter.v +++ b/CoqOfRust/alloc/collections/btree/merge_iter.v @@ -562,7 +562,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. @@ -1149,7 +1149,7 @@ Module collections. Global Instance AssociatedFunction_nexts : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "nexts" (nexts I). + M.IsAssociatedFunction.C (Self I) "nexts" (nexts I). Admitted. Global Typeclasses Opaque nexts. @@ -1371,7 +1371,7 @@ Module collections. Global Instance AssociatedFunction_lens : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "lens" (lens I). + M.IsAssociatedFunction.C (Self I) "lens" (lens I). Admitted. Global Typeclasses Opaque lens. End Impl_alloc_collections_btree_merge_iter_MergeIterInner_I. diff --git a/CoqOfRust/alloc/collections/btree/navigate.v b/CoqOfRust/alloc/collections/btree/navigate.v index ae35fb4e2..6395f0590 100644 --- a/CoqOfRust/alloc/collections/btree/navigate.v +++ b/CoqOfRust/alloc/collections/btree/navigate.v @@ -284,7 +284,7 @@ Module collections. Global Instance AssociatedFunction_none : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "none" (none BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "none" (none BorrowType K V). Admitted. Global Typeclasses Opaque none. @@ -379,7 +379,7 @@ Module collections. Global Instance AssociatedFunction_is_empty : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "is_empty" (is_empty BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "is_empty" (is_empty BorrowType K V). Admitted. Global Typeclasses Opaque is_empty. @@ -989,7 +989,7 @@ Module collections. Global Instance AssociatedFunction_reborrow : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "reborrow" (reborrow BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "reborrow" (reborrow BorrowType K V). Admitted. Global Typeclasses Opaque reborrow. (* @@ -1643,7 +1643,7 @@ Module collections. Global Instance AssociatedFunction_perform_next_checked : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "perform_next_checked" (perform_next_checked BorrowType K V). @@ -2301,7 +2301,7 @@ Module collections. Global Instance AssociatedFunction_perform_next_back_checked : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "perform_next_back_checked" (perform_next_back_checked BorrowType K V). @@ -2468,7 +2468,7 @@ Module collections. Global Instance AssociatedFunction_next_checked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_checked" (next_checked K V). + M.IsAssociatedFunction.C (Self K V) "next_checked" (next_checked K V). Admitted. Global Typeclasses Opaque next_checked. @@ -2624,7 +2624,7 @@ Module collections. Global Instance AssociatedFunction_next_back_checked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_back_checked" (next_back_checked K V). + M.IsAssociatedFunction.C (Self K V) "next_back_checked" (next_back_checked K V). Admitted. Global Typeclasses Opaque next_back_checked. End Impl_alloc_collections_btree_navigate_LeafRange_alloc_collections_btree_node_marker_Immut_K_V. @@ -2840,7 +2840,7 @@ Module collections. Global Instance AssociatedFunction_next_checked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_checked" (next_checked K V). + M.IsAssociatedFunction.C (Self K V) "next_checked" (next_checked K V). Admitted. Global Typeclasses Opaque next_checked. @@ -3048,7 +3048,7 @@ Module collections. Global Instance AssociatedFunction_next_back_checked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_back_checked" (next_back_checked K V). + M.IsAssociatedFunction.C (Self K V) "next_back_checked" (next_back_checked K V). Admitted. Global Typeclasses Opaque next_back_checked. End Impl_alloc_collections_btree_navigate_LeafRange_alloc_collections_btree_node_marker_ValMut_K_V. @@ -3325,7 +3325,7 @@ Module collections. Global Instance AssociatedFunction_reborrow : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "reborrow" (reborrow BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "reborrow" (reborrow BorrowType K V). Admitted. Global Typeclasses Opaque reborrow. End Impl_alloc_collections_btree_navigate_LazyLeafHandle_BorrowType_K_V. @@ -3544,7 +3544,7 @@ Module collections. Global Instance AssociatedFunction_none : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "none" (none BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "none" (none BorrowType K V). Admitted. Global Typeclasses Opaque none. @@ -3914,7 +3914,7 @@ Module collections. Global Instance AssociatedFunction_reborrow : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "reborrow" (reborrow BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "reborrow" (reborrow BorrowType K V). Admitted. Global Typeclasses Opaque reborrow. (* @@ -4165,10 +4165,7 @@ Module collections. Global Instance AssociatedFunction_init_front : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V) - "init_front" - (init_front BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "init_front" (init_front BorrowType K V). Admitted. Global Typeclasses Opaque init_front. @@ -4420,7 +4417,7 @@ Module collections. Global Instance AssociatedFunction_init_back : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "init_back" (init_back BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "init_back" (init_back BorrowType K V). Admitted. Global Typeclasses Opaque init_back. End Impl_alloc_collections_btree_navigate_LazyLeafRange_BorrowType_K_V. @@ -4575,7 +4572,7 @@ Module collections. Global Instance AssociatedFunction_next_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_unchecked" (next_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_unchecked" (next_unchecked K V). Admitted. Global Typeclasses Opaque next_unchecked. @@ -4722,7 +4719,7 @@ Module collections. Global Instance AssociatedFunction_next_back_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_back_unchecked" (next_back_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_back_unchecked" (next_back_unchecked K V). Admitted. Global Typeclasses Opaque next_back_unchecked. End Impl_alloc_collections_btree_navigate_LazyLeafRange_alloc_collections_btree_node_marker_Immut_K_V. @@ -4877,7 +4874,7 @@ Module collections. Global Instance AssociatedFunction_next_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_unchecked" (next_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_unchecked" (next_unchecked K V). Admitted. Global Typeclasses Opaque next_unchecked. @@ -5024,7 +5021,7 @@ Module collections. Global Instance AssociatedFunction_next_back_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_back_unchecked" (next_back_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_back_unchecked" (next_back_unchecked K V). Admitted. Global Typeclasses Opaque next_back_unchecked. End Impl_alloc_collections_btree_navigate_LazyLeafRange_alloc_collections_btree_node_marker_ValMut_K_V. @@ -5335,7 +5332,7 @@ Module collections. Global Instance AssociatedFunction_take_front : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take_front" (take_front K V). + M.IsAssociatedFunction.C (Self K V) "take_front" (take_front K V). Admitted. Global Typeclasses Opaque take_front. @@ -5602,7 +5599,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_next_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "deallocating_next_unchecked" (deallocating_next_unchecked K V). @@ -5872,7 +5869,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_next_back_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "deallocating_next_back_unchecked" (deallocating_next_back_unchecked K V). @@ -5984,7 +5981,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_end : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "deallocating_end" (deallocating_end K V). + M.IsAssociatedFunction.C (Self K V) "deallocating_end" (deallocating_end K V). Admitted. Global Typeclasses Opaque deallocating_end. End Impl_alloc_collections_btree_navigate_LazyLeafRange_alloc_collections_btree_node_marker_Dying_K_V. @@ -6863,7 +6860,7 @@ Module collections. Global Instance AssociatedFunction_find_leaf_edges_spanning_range : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "find_leaf_edges_spanning_range" (find_leaf_edges_spanning_range BorrowType K V). @@ -7115,7 +7112,7 @@ Module collections. Global Instance AssociatedFunction_first_leaf_edge : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "first_leaf_edge" (first_leaf_edge BorrowType K V). @@ -7368,7 +7365,7 @@ Module collections. Global Instance AssociatedFunction_last_leaf_edge : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "last_leaf_edge" (last_leaf_edge BorrowType K V). @@ -7642,10 +7639,7 @@ Module collections. Global Instance AssociatedFunction_lower_bound : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V) - "lower_bound" - (lower_bound BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "lower_bound" (lower_bound BorrowType K V). Admitted. Global Typeclasses Opaque lower_bound. @@ -7917,10 +7911,7 @@ Module collections. Global Instance AssociatedFunction_upper_bound : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V) - "upper_bound" - (upper_bound BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "upper_bound" (upper_bound BorrowType K V). Admitted. Global Typeclasses Opaque upper_bound. End Impl_alloc_collections_btree_node_NodeRef_BorrowType_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -7966,7 +7957,7 @@ Module collections. end. Global Instance Instance_IsFunction_full_range : - M.IsFunction.Trait "alloc::collections::btree::navigate::full_range" full_range. + M.IsFunction.C "alloc::collections::btree::navigate::full_range" full_range. Admitted. Global Typeclasses Opaque full_range. @@ -8031,7 +8022,7 @@ Module collections. Global Instance AssociatedFunction_range_search : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "range_search" (range_search K V). + M.IsAssociatedFunction.C (Self K V) "range_search" (range_search K V). Admitted. Global Typeclasses Opaque range_search. @@ -8068,7 +8059,7 @@ Module collections. Global Instance AssociatedFunction_full_range : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "full_range" (full_range K V). + M.IsAssociatedFunction.C (Self K V) "full_range" (full_range K V). Admitted. Global Typeclasses Opaque full_range. (* @@ -8799,7 +8790,7 @@ Module collections. Global Instance AssociatedFunction_visit_nodes_in_order : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "visit_nodes_in_order" (visit_nodes_in_order K V). + M.IsAssociatedFunction.C (Self K V) "visit_nodes_in_order" (visit_nodes_in_order K V). Admitted. Global Typeclasses Opaque visit_nodes_in_order. @@ -9000,7 +8991,7 @@ Module collections. Global Instance AssociatedFunction_calc_length : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "calc_length" (calc_length K V). + M.IsAssociatedFunction.C (Self K V) "calc_length" (calc_length K V). Admitted. Global Typeclasses Opaque calc_length. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Immut_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -9065,7 +9056,7 @@ Module collections. Global Instance AssociatedFunction_range_search : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "range_search" (range_search K V). + M.IsAssociatedFunction.C (Self K V) "range_search" (range_search K V). Admitted. Global Typeclasses Opaque range_search. @@ -9153,7 +9144,7 @@ Module collections. Global Instance AssociatedFunction_full_range : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "full_range" (full_range K V). + M.IsAssociatedFunction.C (Self K V) "full_range" (full_range K V). Admitted. Global Typeclasses Opaque full_range. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_ValMut_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -9254,7 +9245,7 @@ Module collections. Global Instance AssociatedFunction_full_range : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "full_range" (full_range K V). + M.IsAssociatedFunction.C (Self K V) "full_range" (full_range K V). Admitted. Global Typeclasses Opaque full_range. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Dying_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -9700,7 +9691,7 @@ Module collections. Global Instance AssociatedFunction_next_kv : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "next_kv" (next_kv BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "next_kv" (next_kv BorrowType K V). Admitted. Global Typeclasses Opaque next_kv. @@ -10132,7 +10123,7 @@ Module collections. Global Instance AssociatedFunction_next_back_kv : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "next_back_kv" (next_back_kv BorrowType K V). @@ -10495,7 +10486,7 @@ Module collections. Global Instance AssociatedFunction_next_kv : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "next_kv" (next_kv BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "next_kv" (next_kv BorrowType K V). Admitted. Global Typeclasses Opaque next_kv. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_BorrowType_K_V_alloc_collections_btree_node_marker_Internal_alloc_collections_btree_node_marker_Edge. @@ -11072,7 +11063,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_next : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "deallocating_next" (deallocating_next K V). + M.IsAssociatedFunction.C (Self K V) "deallocating_next" (deallocating_next K V). Admitted. Global Typeclasses Opaque deallocating_next. @@ -11630,10 +11621,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_next_back : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V) - "deallocating_next_back" - (deallocating_next_back K V). + M.IsAssociatedFunction.C (Self K V) "deallocating_next_back" (deallocating_next_back K V). Admitted. Global Typeclasses Opaque deallocating_next_back. @@ -11893,7 +11881,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_end : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "deallocating_end" (deallocating_end K V). + M.IsAssociatedFunction.C (Self K V) "deallocating_end" (deallocating_end K V). Admitted. Global Typeclasses Opaque deallocating_end. (* @@ -12280,7 +12268,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_next_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "deallocating_next_unchecked" (deallocating_next_unchecked K V). @@ -12671,7 +12659,7 @@ Module collections. Global Instance AssociatedFunction_deallocating_next_back_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "deallocating_next_back_unchecked" (deallocating_next_back_unchecked K V). @@ -13151,7 +13139,7 @@ Module collections. Global Instance AssociatedFunction_next_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_unchecked" (next_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_unchecked" (next_unchecked K V). Admitted. Global Typeclasses Opaque next_unchecked. @@ -13609,7 +13597,7 @@ Module collections. Global Instance AssociatedFunction_next_back_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_back_unchecked" (next_back_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_back_unchecked" (next_back_unchecked K V). Admitted. Global Typeclasses Opaque next_back_unchecked. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Immut_K_V_alloc_collections_btree_node_marker_Leaf_alloc_collections_btree_node_marker_Edge. @@ -14225,7 +14213,7 @@ Module collections. Global Instance AssociatedFunction_next_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_unchecked" (next_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_unchecked" (next_unchecked K V). Admitted. Global Typeclasses Opaque next_unchecked. @@ -14822,7 +14810,7 @@ Module collections. Global Instance AssociatedFunction_next_back_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "next_back_unchecked" (next_back_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "next_back_unchecked" (next_back_unchecked K V). Admitted. Global Typeclasses Opaque next_back_unchecked. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_ValMut_K_V_alloc_collections_btree_node_marker_Leaf_alloc_collections_btree_node_marker_Edge. @@ -15189,7 +15177,7 @@ Module collections. Global Instance AssociatedFunction_next_leaf_edge : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "next_leaf_edge" (next_leaf_edge BorrowType K V). @@ -15490,7 +15478,7 @@ Module collections. Global Instance AssociatedFunction_next_back_leaf_edge : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "next_back_leaf_edge" (next_back_leaf_edge BorrowType K V). diff --git a/CoqOfRust/alloc/collections/btree/node.v b/CoqOfRust/alloc/collections/btree/node.v index dea19d7ee..340ead110 100644 --- a/CoqOfRust/alloc/collections/btree/node.v +++ b/CoqOfRust/alloc/collections/btree/node.v @@ -4,80 +4,100 @@ Require Import CoqOfRust.CoqOfRust. Module collections. Module btree. Module node. - Definition value_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 6 |))). + Definition value_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 6 |))). - Axiom Constant_value_B : (M.get_constant "alloc::collections::btree::node::B") = value_B. - Global Hint Rewrite Constant_value_B : constant_rewrites. + Global Instance Instance_IsConstant_value_B : + M.IsFunction.C "alloc::collections::btree::node::B" value_B. + Admitted. + Global Typeclasses Opaque value_B. - Definition value_CAPACITY : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - 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_CAPACITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| + get_constant (| "alloc::collections::btree::node::B", Ty.path "usize" |) + |) + |), + Value.Integer IntegerKind.Usize 1 + |) + |))). - Axiom Constant_value_CAPACITY : - (M.get_constant "alloc::collections::btree::node::CAPACITY") = value_CAPACITY. - Global Hint Rewrite Constant_value_CAPACITY : constant_rewrites. + Global Instance Instance_IsConstant_value_CAPACITY : + M.IsFunction.C "alloc::collections::btree::node::CAPACITY" value_CAPACITY. + Admitted. + Global Typeclasses Opaque value_CAPACITY. - Definition value_MIN_LEN_AFTER_SPLIT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - M.read (| M.get_constant "alloc::collections::btree::node::B" |), - Value.Integer IntegerKind.Usize 1 - |) - |))). + Definition value_MIN_LEN_AFTER_SPLIT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + M.read (| get_constant (| "alloc::collections::btree::node::B", Ty.path "usize" |) |), + Value.Integer IntegerKind.Usize 1 + |) + |))). - Axiom Constant_value_MIN_LEN_AFTER_SPLIT : - (M.get_constant "alloc::collections::btree::node::MIN_LEN_AFTER_SPLIT") = + Global Instance Instance_IsConstant_value_MIN_LEN_AFTER_SPLIT : + M.IsFunction.C + "alloc::collections::btree::node::MIN_LEN_AFTER_SPLIT" value_MIN_LEN_AFTER_SPLIT. - Global Hint Rewrite Constant_value_MIN_LEN_AFTER_SPLIT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MIN_LEN_AFTER_SPLIT. - Definition value_KV_IDX_CENTER : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - M.read (| M.get_constant "alloc::collections::btree::node::B" |), - Value.Integer IntegerKind.Usize 1 - |) - |))). + Definition value_KV_IDX_CENTER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + M.read (| get_constant (| "alloc::collections::btree::node::B", Ty.path "usize" |) |), + Value.Integer IntegerKind.Usize 1 + |) + |))). - Axiom Constant_value_KV_IDX_CENTER : - (M.get_constant "alloc::collections::btree::node::KV_IDX_CENTER") = value_KV_IDX_CENTER. - Global Hint Rewrite Constant_value_KV_IDX_CENTER : constant_rewrites. + Global Instance Instance_IsConstant_value_KV_IDX_CENTER : + M.IsFunction.C "alloc::collections::btree::node::KV_IDX_CENTER" value_KV_IDX_CENTER. + Admitted. + Global Typeclasses Opaque value_KV_IDX_CENTER. - Definition value_EDGE_IDX_LEFT_OF_CENTER : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - 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 + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + M.read (| get_constant (| "alloc::collections::btree::node::B", Ty.path "usize" |) |), + Value.Integer IntegerKind.Usize 1 + |) + |))). - Axiom Constant_value_EDGE_IDX_LEFT_OF_CENTER : - (M.get_constant "alloc::collections::btree::node::EDGE_IDX_LEFT_OF_CENTER") = + Global Instance Instance_IsConstant_value_EDGE_IDX_LEFT_OF_CENTER : + M.IsFunction.C + "alloc::collections::btree::node::EDGE_IDX_LEFT_OF_CENTER" value_EDGE_IDX_LEFT_OF_CENTER. - Global Hint Rewrite Constant_value_EDGE_IDX_LEFT_OF_CENTER : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EDGE_IDX_LEFT_OF_CENTER. - Definition value_EDGE_IDX_RIGHT_OF_CENTER : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "alloc::collections::btree::node::B")). + Definition value_EDGE_IDX_RIGHT_OF_CENTER + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (get_constant (| "alloc::collections::btree::node::B", Ty.path "usize" |))). - Axiom Constant_value_EDGE_IDX_RIGHT_OF_CENTER : - (M.get_constant "alloc::collections::btree::node::EDGE_IDX_RIGHT_OF_CENTER") = + Global Instance Instance_IsConstant_value_EDGE_IDX_RIGHT_OF_CENTER : + M.IsFunction.C + "alloc::collections::btree::node::EDGE_IDX_RIGHT_OF_CENTER" value_EDGE_IDX_RIGHT_OF_CENTER. - Global Hint Rewrite Constant_value_EDGE_IDX_RIGHT_OF_CENTER : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EDGE_IDX_RIGHT_OF_CENTER. (* StructRecord { @@ -109,8 +129,7 @@ Module collections. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "alloc::collections::btree::node::LeafNode::keys_discriminant") + (mk_str (| "alloc_collections_btree_node_LeafNode_keys_discriminant" |)) ] [ Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ K ] ]); ("vals", @@ -118,8 +137,7 @@ Module collections. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "alloc::collections::btree::node::LeafNode::vals_discriminant") + (mk_str (| "alloc_collections_btree_node_LeafNode_vals_discriminant" |)) ] [ Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ V ] ]) ]; @@ -218,7 +236,7 @@ Module collections. Global Instance AssociatedFunction_init : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "init" (init K V). + M.IsAssociatedFunction.C (Self K V) "init" (init K V). Admitted. Global Typeclasses Opaque init. @@ -367,7 +385,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Global Typeclasses Opaque new. End Impl_alloc_collections_btree_node_LeafNode_K_V. @@ -385,8 +403,7 @@ Module collections. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "alloc::collections::btree::node::InternalNode::edges_discriminant") + (mk_str (| "alloc_collections_btree_node_InternalNode_edges_discriminant" |)) ] [ Ty.apply @@ -574,7 +591,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Global Typeclasses Opaque new. End Impl_alloc_collections_btree_node_InternalNode_K_V. @@ -853,7 +870,7 @@ Module collections. Global Instance AssociatedFunction_new_leaf : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new_leaf" (new_leaf K V). + M.IsAssociatedFunction.C (Self K V) "new_leaf" (new_leaf K V). Admitted. Global Typeclasses Opaque new_leaf. @@ -948,7 +965,7 @@ Module collections. Global Instance AssociatedFunction_from_new_leaf : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "from_new_leaf" (from_new_leaf K V). + M.IsAssociatedFunction.C (Self K V) "from_new_leaf" (from_new_leaf K V). Admitted. Global Typeclasses Opaque from_new_leaf. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Owned_K_V_alloc_collections_btree_node_marker_Leaf. @@ -1138,7 +1155,7 @@ Module collections. Global Instance AssociatedFunction_new_internal : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new_internal" (new_internal K V). + M.IsAssociatedFunction.C (Self K V) "new_internal" (new_internal K V). Admitted. Global Typeclasses Opaque new_internal. @@ -1393,7 +1410,7 @@ Module collections. Global Instance AssociatedFunction_from_new_internal : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "from_new_internal" (from_new_internal K V). + M.IsAssociatedFunction.C (Self K V) "from_new_internal" (from_new_internal K V). Admitted. Global Typeclasses Opaque from_new_internal. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Owned_K_V_alloc_collections_btree_node_marker_Internal. @@ -1518,7 +1535,7 @@ Module collections. Global Instance AssociatedFunction_from_internal : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "from_internal" (from_internal BorrowType K V). @@ -1577,7 +1594,7 @@ Module collections. Global Instance AssociatedFunction_as_internal_ptr : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "as_internal_ptr" (as_internal_ptr BorrowType K V). @@ -1625,10 +1642,7 @@ Module collections. Global Instance AssociatedFunction_forget_type : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V) - "forget_type" - (forget_type BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "forget_type" (forget_type BorrowType K V). Admitted. Global Typeclasses Opaque forget_type. End Impl_alloc_collections_btree_node_NodeRef_BorrowType_K_V_alloc_collections_btree_node_marker_Internal. @@ -1726,7 +1740,7 @@ Module collections. Global Instance AssociatedFunction_as_internal_mut : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "as_internal_mut" (as_internal_mut K V). + M.IsAssociatedFunction.C (Self K V) "as_internal_mut" (as_internal_mut K V). Admitted. Global Typeclasses Opaque as_internal_mut. (* @@ -1905,7 +1919,7 @@ Module collections. Global Instance AssociatedFunction_edge_area_mut : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "edge_area_mut" (edge_area_mut K V). + M.IsAssociatedFunction.C (Self K V) "edge_area_mut" (edge_area_mut K V). Admitted. Global Typeclasses Opaque edge_area_mut. (* @@ -2219,7 +2233,7 @@ Module collections. Global Instance AssociatedFunction_correct_childrens_parent_links : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "correct_childrens_parent_links" (correct_childrens_parent_links K V). @@ -2316,7 +2330,7 @@ Module collections. Global Instance AssociatedFunction_correct_all_childrens_parent_links : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "correct_all_childrens_parent_links" (correct_all_childrens_parent_links K V). @@ -2445,7 +2459,10 @@ Module collections. BinOp.lt (| M.read (| idx |), M.read (| - M.get_constant "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -2794,7 +2811,7 @@ Module collections. Global Instance AssociatedFunction_push : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "push" (push K V). + M.IsAssociatedFunction.C (Self K V) "push" (push K V). Admitted. Global Typeclasses Opaque push. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Internal. @@ -2872,7 +2889,7 @@ Module collections. Global Instance AssociatedFunction_len : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V Type_) "len" (len BorrowType K V Type_). + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "len" (len BorrowType K V Type_). Admitted. Global Typeclasses Opaque len. @@ -2904,7 +2921,7 @@ Module collections. Global Instance AssociatedFunction_height : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "height" (height BorrowType K V Type_). @@ -2953,7 +2970,7 @@ Module collections. Global Instance AssociatedFunction_reborrow : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "reborrow" (reborrow BorrowType K V Type_). @@ -3008,7 +3025,7 @@ Module collections. Global Instance AssociatedFunction_as_leaf_ptr : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "as_leaf_ptr" (as_leaf_ptr BorrowType K V Type_). @@ -3048,7 +3065,10 @@ Module collections. (let self := M.alloc (| self |) in M.read (| let~ _ : Ty.tuple [] := - M.get_constant "alloc::collections::btree::node::ascend_discriminant" in + get_constant (| + "alloc::collections::btree::node::ascend_discriminant", + Ty.tuple [] + |) in let~ leaf_ptr : Ty.apply (Ty.path "*const") @@ -3445,7 +3465,7 @@ Module collections. Global Instance AssociatedFunction_ascend : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "ascend" (ascend BorrowType K V Type_). @@ -3501,7 +3521,7 @@ Module collections. Global Instance AssociatedFunction_first_edge : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "first_edge" (first_edge BorrowType K V Type_). @@ -3578,7 +3598,7 @@ Module collections. Global Instance AssociatedFunction_last_edge : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "last_edge" (last_edge BorrowType K V Type_). @@ -3684,7 +3704,7 @@ Module collections. Global Instance AssociatedFunction_first_kv : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "first_kv" (first_kv BorrowType K V Type_). @@ -3793,7 +3813,7 @@ Module collections. Global Instance AssociatedFunction_last_kv : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "last_kv" (last_kv BorrowType K V Type_). @@ -4070,7 +4090,7 @@ Module collections. Global Instance AssociatedFunction_eq : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V Type_) "eq" (eq BorrowType K V Type_). + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "eq" (eq BorrowType K V Type_). Admitted. Global Typeclasses Opaque eq. End Impl_alloc_collections_btree_node_NodeRef_BorrowType_K_V_Type_. @@ -4145,7 +4165,7 @@ Module collections. Global Instance AssociatedFunction_into_leaf : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "into_leaf" (into_leaf K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "into_leaf" (into_leaf K V Type_). Admitted. Global Typeclasses Opaque into_leaf. @@ -4294,7 +4314,7 @@ Module collections. Global Instance AssociatedFunction_keys : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "keys" (keys K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "keys" (keys K V Type_). Admitted. Global Typeclasses Opaque keys. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Immut_K_V_Type_. @@ -4598,10 +4618,7 @@ Module collections. Global Instance AssociatedFunction_deallocate_and_ascend : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V) - "deallocate_and_ascend" - (deallocate_and_ascend K V). + M.IsAssociatedFunction.C (Self K V) "deallocate_and_ascend" (deallocate_and_ascend K V). Admitted. Global Typeclasses Opaque deallocate_and_ascend. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Dying_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -4655,7 +4672,7 @@ Module collections. Global Instance AssociatedFunction_reborrow_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "reborrow_mut" (reborrow_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "reborrow_mut" (reborrow_mut K V Type_). Admitted. Global Typeclasses Opaque reborrow_mut. @@ -4736,7 +4753,7 @@ Module collections. Global Instance AssociatedFunction_as_leaf_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "as_leaf_mut" (as_leaf_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "as_leaf_mut" (as_leaf_mut K V Type_). Admitted. Global Typeclasses Opaque as_leaf_mut. @@ -4822,7 +4839,7 @@ Module collections. Global Instance AssociatedFunction_into_leaf_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "into_leaf_mut" (into_leaf_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "into_leaf_mut" (into_leaf_mut K V Type_). Admitted. Global Typeclasses Opaque into_leaf_mut. @@ -4868,7 +4885,7 @@ Module collections. Global Instance AssociatedFunction_dormant : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "dormant" (dormant K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "dormant" (dormant K V Type_). Admitted. Global Typeclasses Opaque dormant. (* @@ -5010,7 +5027,7 @@ Module collections. Global Instance AssociatedFunction_key_area_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "key_area_mut" (key_area_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "key_area_mut" (key_area_mut K V Type_). Admitted. Global Typeclasses Opaque key_area_mut. @@ -5153,7 +5170,7 @@ Module collections. Global Instance AssociatedFunction_val_area_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "val_area_mut" (val_area_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "val_area_mut" (val_area_mut K V Type_). Admitted. Global Typeclasses Opaque val_area_mut. (* @@ -5223,7 +5240,7 @@ Module collections. Global Instance AssociatedFunction_len_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "len_mut" (len_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "len_mut" (len_mut K V Type_). Admitted. Global Typeclasses Opaque len_mut. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_Type_. @@ -5277,7 +5294,7 @@ Module collections. Global Instance AssociatedFunction_awaken : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "awaken" (awaken K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "awaken" (awaken K V Type_). Admitted. Global Typeclasses Opaque awaken. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_DormantMut_K_V_Type_. @@ -5370,7 +5387,7 @@ Module collections. Global Instance AssociatedFunction_as_leaf_dying : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "as_leaf_dying" (as_leaf_dying K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "as_leaf_dying" (as_leaf_dying K V Type_). Admitted. Global Typeclasses Opaque as_leaf_dying. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Dying_K_V_Type_. @@ -5634,7 +5651,7 @@ Module collections. Global Instance AssociatedFunction_into_key_val_mut_at : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V Type_) "into_key_val_mut_at" (into_key_val_mut_at K V Type_). @@ -5751,7 +5768,7 @@ Module collections. Global Instance AssociatedFunction_set_parent_link : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "set_parent_link" (set_parent_link K V). + M.IsAssociatedFunction.C (Self K V) "set_parent_link" (set_parent_link K V). Admitted. Global Typeclasses Opaque set_parent_link. (* @@ -5855,10 +5872,7 @@ Module collections. Global Instance AssociatedFunction_cast_to_leaf_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V) - "cast_to_leaf_unchecked" - (cast_to_leaf_unchecked K V). + M.IsAssociatedFunction.C (Self K V) "cast_to_leaf_unchecked" (cast_to_leaf_unchecked K V). Admitted. Global Typeclasses Opaque cast_to_leaf_unchecked. @@ -5963,7 +5977,7 @@ Module collections. Global Instance AssociatedFunction_cast_to_internal_unchecked : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "cast_to_internal_unchecked" (cast_to_internal_unchecked K V). @@ -6761,7 +6775,7 @@ Module collections. Global Instance AssociatedFunction_choose_parent_kv : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "choose_parent_kv" (choose_parent_kv K V). + M.IsAssociatedFunction.C (Self K V) "choose_parent_kv" (choose_parent_kv K V). Admitted. Global Typeclasses Opaque choose_parent_kv. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -6883,7 +6897,7 @@ Module collections. Global Instance AssociatedFunction_clear_parent_link : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "clear_parent_link" (clear_parent_link K V). + M.IsAssociatedFunction.C (Self K V) "clear_parent_link" (clear_parent_link K V). Admitted. Global Typeclasses Opaque clear_parent_link. (* @@ -6955,7 +6969,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Global Typeclasses Opaque new. @@ -7169,7 +7183,7 @@ Module collections. Global Instance AssociatedFunction_push_internal_level : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "push_internal_level" (push_internal_level K V). + M.IsAssociatedFunction.C (Self K V) "push_internal_level" (push_internal_level K V). Admitted. Global Typeclasses Opaque push_internal_level. @@ -7519,7 +7533,7 @@ Module collections. Global Instance AssociatedFunction_pop_internal_level : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "pop_internal_level" (pop_internal_level K V). + M.IsAssociatedFunction.C (Self K V) "pop_internal_level" (pop_internal_level K V). Admitted. Global Typeclasses Opaque pop_internal_level. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Owned_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -7574,7 +7588,7 @@ Module collections. Global Instance AssociatedFunction_borrow_mut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "borrow_mut" (borrow_mut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "borrow_mut" (borrow_mut K V Type_). Admitted. Global Typeclasses Opaque borrow_mut. @@ -7620,7 +7634,7 @@ Module collections. Global Instance AssociatedFunction_borrow_valmut : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "borrow_valmut" (borrow_valmut K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "borrow_valmut" (borrow_valmut K V Type_). Admitted. Global Typeclasses Opaque borrow_valmut. @@ -7666,7 +7680,7 @@ Module collections. Global Instance AssociatedFunction_into_dying : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self K V Type_) "into_dying" (into_dying K V Type_). + M.IsAssociatedFunction.C (Self K V Type_) "into_dying" (into_dying K V Type_). Admitted. Global Typeclasses Opaque into_dying. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Owned_K_V_Type_. @@ -7768,7 +7782,10 @@ Module collections. BinOp.lt (| M.read (| idx |), M.read (| - M.get_constant "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -7960,7 +7977,7 @@ Module collections. Global Instance AssociatedFunction_push_with_handle : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "push_with_handle" (push_with_handle K V). + M.IsAssociatedFunction.C (Self K V) "push_with_handle" (push_with_handle K V). Admitted. Global Typeclasses Opaque push_with_handle. @@ -8049,7 +8066,7 @@ Module collections. Global Instance AssociatedFunction_push : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "push" (push K V). + M.IsAssociatedFunction.C (Self K V) "push" (push K V). Admitted. Global Typeclasses Opaque push. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Leaf. @@ -8104,10 +8121,7 @@ Module collections. Global Instance AssociatedFunction_forget_type : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V) - "forget_type" - (forget_type BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "forget_type" (forget_type BorrowType K V). Admitted. Global Typeclasses Opaque forget_type. End Impl_alloc_collections_btree_node_NodeRef_BorrowType_K_V_alloc_collections_btree_node_marker_Leaf. @@ -8263,7 +8277,7 @@ Module collections. Global Instance AssociatedFunction_force : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "force" (force BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "force" (force BorrowType K V). Admitted. Global Typeclasses Opaque force. End Impl_alloc_collections_btree_node_NodeRef_BorrowType_K_V_alloc_collections_btree_node_marker_LeafOrInternal. @@ -8362,7 +8376,7 @@ Module collections. Global Instance AssociatedFunction_into_node : forall (Node Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self Node Type_) "into_node" (into_node Node Type_). + M.IsAssociatedFunction.C (Self Node Type_) "into_node" (into_node Node Type_). Admitted. Global Typeclasses Opaque into_node. @@ -8394,7 +8408,7 @@ Module collections. Global Instance AssociatedFunction_idx : forall (Node Type_ : Ty.t), - M.IsAssociatedFunction.Trait (Self Node Type_) "idx" (idx Node Type_). + M.IsAssociatedFunction.C (Self Node Type_) "idx" (idx Node Type_). Admitted. Global Typeclasses Opaque idx. End Impl_alloc_collections_btree_node_Handle_Node_Type_. @@ -8508,7 +8522,7 @@ Module collections. Global Instance AssociatedFunction_new_kv : forall (BorrowType K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType) "new_kv" (new_kv BorrowType K V NodeType). @@ -8579,7 +8593,7 @@ Module collections. Global Instance AssociatedFunction_left_edge : forall (BorrowType K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType) "left_edge" (left_edge BorrowType K V NodeType). @@ -8653,7 +8667,7 @@ Module collections. Global Instance AssociatedFunction_right_edge : forall (BorrowType K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType) "right_edge" (right_edge BorrowType K V NodeType). @@ -8867,7 +8881,7 @@ Module collections. Global Instance AssociatedFunction_reborrow : forall (BorrowType K V NodeType HandleType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType HandleType) "reborrow" (reborrow BorrowType K V NodeType HandleType). @@ -8952,7 +8966,7 @@ Module collections. Global Instance AssociatedFunction_reborrow_mut : forall (K V NodeType HandleType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V NodeType HandleType) "reborrow_mut" (reborrow_mut K V NodeType HandleType). @@ -9025,7 +9039,7 @@ Module collections. Global Instance AssociatedFunction_dormant : forall (K V NodeType HandleType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V NodeType HandleType) "dormant" (dormant K V NodeType HandleType). @@ -9110,7 +9124,7 @@ Module collections. Global Instance AssociatedFunction_awaken : forall (K V NodeType HandleType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V NodeType HandleType) "awaken" (awaken K V NodeType HandleType). @@ -9227,7 +9241,7 @@ Module collections. Global Instance AssociatedFunction_new_edge : forall (BorrowType K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType) "new_edge" (new_edge BorrowType K V NodeType). @@ -9367,7 +9381,7 @@ Module collections. Global Instance AssociatedFunction_left_kv : forall (BorrowType K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType) "left_kv" (left_kv BorrowType K V NodeType). @@ -9525,7 +9539,7 @@ Module collections. Global Instance AssociatedFunction_right_kv : forall (BorrowType K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V NodeType) "right_kv" (right_kv BorrowType K V NodeType). @@ -9599,8 +9613,10 @@ Module collections. BinOp.le (| M.read (| edge_idx |), M.read (| - M.get_constant - "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -9645,7 +9661,10 @@ Module collections. [ BinOp.Wrap.sub (| M.read (| - M.get_constant "alloc::collections::btree::node::KV_IDX_CENTER" + get_constant (| + "alloc::collections::btree::node::KV_IDX_CENTER", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |); @@ -9665,7 +9684,10 @@ Module collections. Value.Tuple [ M.read (| - M.get_constant "alloc::collections::btree::node::KV_IDX_CENTER" + get_constant (| + "alloc::collections::btree::node::KV_IDX_CENTER", + Ty.path "usize" + |) |); Value.StructTuple "alloc::collections::btree::node::LeftOrRight::Left" @@ -9683,7 +9705,10 @@ Module collections. Value.Tuple [ M.read (| - M.get_constant "alloc::collections::btree::node::KV_IDX_CENTER" + get_constant (| + "alloc::collections::btree::node::KV_IDX_CENTER", + Ty.path "usize" + |) |); Value.StructTuple "alloc::collections::btree::node::LeftOrRight::Right" @@ -9697,7 +9722,10 @@ Module collections. [ BinOp.Wrap.add (| M.read (| - M.get_constant "alloc::collections::btree::node::KV_IDX_CENTER" + get_constant (| + "alloc::collections::btree::node::KV_IDX_CENTER", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |); @@ -9709,8 +9737,10 @@ Module collections. BinOp.Wrap.add (| BinOp.Wrap.add (| M.read (| - M.get_constant - "alloc::collections::btree::node::KV_IDX_CENTER" + get_constant (| + "alloc::collections::btree::node::KV_IDX_CENTER", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |), @@ -9727,7 +9757,7 @@ Module collections. end. Global Instance Instance_IsFunction_splitpoint : - M.IsFunction.Trait "alloc::collections::btree::node::splitpoint" splitpoint. + M.IsFunction.C "alloc::collections::btree::node::splitpoint" splitpoint. Admitted. Global Typeclasses Opaque splitpoint. @@ -9834,8 +9864,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -10160,7 +10192,7 @@ Module collections. Global Instance AssociatedFunction_insert_fit : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert_fit" (insert_fit K V). + M.IsAssociatedFunction.C (Self K V) "insert_fit" (insert_fit K V). Admitted. Global Typeclasses Opaque insert_fit. (* @@ -10271,7 +10303,10 @@ Module collections. ] |), M.read (| - M.get_constant "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |)) in @@ -10910,7 +10945,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. (* @@ -11615,7 +11650,7 @@ Module collections. Global Instance AssociatedFunction_insert_recursing : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert_recursing" (insert_recursing K V). + M.IsAssociatedFunction.C (Self K V) "insert_recursing" (insert_recursing K V). Admitted. Global Typeclasses Opaque insert_recursing. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Leaf_alloc_collections_btree_node_marker_Edge. @@ -11823,7 +11858,7 @@ Module collections. Global Instance AssociatedFunction_correct_parent_link : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "correct_parent_link" (correct_parent_link K V). + M.IsAssociatedFunction.C (Self K V) "correct_parent_link" (correct_parent_link K V). Admitted. Global Typeclasses Opaque correct_parent_link. (* @@ -11910,8 +11945,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -12433,7 +12470,7 @@ Module collections. Global Instance AssociatedFunction_insert_fit : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert_fit" (insert_fit K V). + M.IsAssociatedFunction.C (Self K V) "insert_fit" (insert_fit K V). Admitted. Global Typeclasses Opaque insert_fit. @@ -12579,7 +12616,10 @@ Module collections. ] |), M.read (| - M.get_constant "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |)) in @@ -13065,7 +13105,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Internal_alloc_collections_btree_node_marker_Edge. @@ -13116,7 +13156,10 @@ Module collections. (let self := M.alloc (| self |) in M.read (| let~ _ : Ty.tuple [] := - M.get_constant "alloc::collections::btree::node::descend_discriminant" in + get_constant (| + "alloc::collections::btree::node::descend_discriminant", + Ty.tuple [] + |) in let~ parent_ptr : Ty.apply (Ty.path "*mut") @@ -13301,7 +13344,7 @@ Module collections. Global Instance AssociatedFunction_descend : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait (Self BorrowType K V) "descend" (descend BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "descend" (descend BorrowType K V). Admitted. Global Typeclasses Opaque descend. (* @@ -13407,7 +13450,7 @@ Module collections. Global Instance AssociatedFunction_forget_node_type : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "forget_node_type" (forget_node_type BorrowType K V). @@ -13696,7 +13739,7 @@ Module collections. Global Instance AssociatedFunction_into_kv : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait (Self K V NodeType) "into_kv" (into_kv K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "into_kv" (into_kv K V NodeType). Admitted. Global Typeclasses Opaque into_kv. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Immut_K_V_NodeType_alloc_collections_btree_node_marker_KV. @@ -13814,7 +13857,7 @@ Module collections. Global Instance AssociatedFunction_key_mut : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait (Self K V NodeType) "key_mut" (key_mut K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "key_mut" (key_mut K V NodeType). Admitted. Global Typeclasses Opaque key_mut. @@ -14056,10 +14099,7 @@ Module collections. Global Instance AssociatedFunction_into_val_mut : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V NodeType) - "into_val_mut" - (into_val_mut K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "into_val_mut" (into_val_mut K V NodeType). Admitted. Global Typeclasses Opaque into_val_mut. @@ -14349,7 +14389,7 @@ Module collections. Global Instance AssociatedFunction_into_kv_mut : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait (Self K V NodeType) "into_kv_mut" (into_kv_mut K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "into_kv_mut" (into_kv_mut K V NodeType). Admitted. Global Typeclasses Opaque into_kv_mut. (* @@ -14625,7 +14665,7 @@ Module collections. Global Instance AssociatedFunction_kv_mut : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait (Self K V NodeType) "kv_mut" (kv_mut K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "kv_mut" (kv_mut K V NodeType). Admitted. Global Typeclasses Opaque kv_mut. @@ -14720,7 +14760,7 @@ Module collections. Global Instance AssociatedFunction_replace_kv : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait (Self K V NodeType) "replace_kv" (replace_kv K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "replace_kv" (replace_kv K V NodeType). Admitted. Global Typeclasses Opaque replace_kv. (* @@ -15367,7 +15407,7 @@ Module collections. Global Instance AssociatedFunction_split_leaf_data : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V NodeType) "split_leaf_data" (split_leaf_data K V NodeType). @@ -15437,7 +15477,7 @@ Module collections. Global Instance AssociatedFunction_into_kv_valmut : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V NodeType) "into_kv_valmut" (into_kv_valmut K V NodeType). @@ -15724,10 +15764,7 @@ Module collections. Global Instance AssociatedFunction_into_key_val : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V NodeType) - "into_key_val" - (into_key_val K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "into_key_val" (into_key_val K V NodeType). Admitted. Global Typeclasses Opaque into_key_val. @@ -15996,10 +16033,7 @@ Module collections. Global Instance AssociatedFunction_drop_key_val : forall (K V NodeType : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V NodeType) - "drop_key_val" - (drop_key_val K V NodeType). + M.IsAssociatedFunction.C (Self K V NodeType) "drop_key_val" (drop_key_val K V NodeType). Admitted. Global Typeclasses Opaque drop_key_val. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Dying_K_V_NodeType_alloc_collections_btree_node_marker_KV. @@ -16165,7 +16199,7 @@ Module collections. Global Instance AssociatedFunction_split : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "split" (split K V). + M.IsAssociatedFunction.C (Self K V) "split" (split K V). Admitted. Global Typeclasses Opaque split. @@ -16473,7 +16507,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Global Typeclasses Opaque remove. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Leaf_alloc_collections_btree_node_marker_KV. @@ -16946,7 +16980,7 @@ Module collections. Global Instance AssociatedFunction_split : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "split" (split K V). + M.IsAssociatedFunction.C (Self K V) "split" (split K V). Admitted. Global Typeclasses Opaque split. (* @@ -17253,10 +17287,7 @@ Module collections. Global Instance AssociatedFunction_consider_for_balancing : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V) - "consider_for_balancing" - (consider_for_balancing K V). + M.IsAssociatedFunction.C (Self K V) "consider_for_balancing" (consider_for_balancing K V). Admitted. Global Typeclasses Opaque consider_for_balancing. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Internal_alloc_collections_btree_node_marker_KV. @@ -17361,7 +17392,7 @@ Module collections. Global Instance AssociatedFunction_left_child_len : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "left_child_len" (left_child_len K V). + M.IsAssociatedFunction.C (Self K V) "left_child_len" (left_child_len K V). Admitted. Global Typeclasses Opaque left_child_len. @@ -17413,7 +17444,7 @@ Module collections. Global Instance AssociatedFunction_right_child_len : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "right_child_len" (right_child_len K V). + M.IsAssociatedFunction.C (Self K V) "right_child_len" (right_child_len K V). Admitted. Global Typeclasses Opaque right_child_len. @@ -17445,7 +17476,7 @@ Module collections. Global Instance AssociatedFunction_into_left_child : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "into_left_child" (into_left_child K V). + M.IsAssociatedFunction.C (Self K V) "into_left_child" (into_left_child K V). Admitted. Global Typeclasses Opaque into_left_child. @@ -17477,7 +17508,7 @@ Module collections. Global Instance AssociatedFunction_into_right_child : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "into_right_child" (into_right_child K V). + M.IsAssociatedFunction.C (Self K V) "into_right_child" (into_right_child K V). Admitted. Global Typeclasses Opaque into_right_child. @@ -17557,14 +17588,16 @@ Module collections. ] |) |), - M.read (| M.get_constant "alloc::collections::btree::node::CAPACITY" |) + M.read (| + get_constant (| "alloc::collections::btree::node::CAPACITY", Ty.path "usize" |) + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_can_merge : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "can_merge" (can_merge K V). + M.IsAssociatedFunction.C (Self K V) "can_merge" (can_merge K V). Admitted. Global Typeclasses Opaque can_merge. (* @@ -17799,8 +17832,10 @@ Module collections. BinOp.le (| M.read (| new_left_len |), M.read (| - M.get_constant - "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -19167,7 +19202,7 @@ Module collections. Global Instance AssociatedFunction_do_merge : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "do_merge" (do_merge K V). + M.IsAssociatedFunction.C (Self K V) "do_merge" (do_merge K V). Admitted. Global Typeclasses Opaque do_merge. @@ -19367,10 +19402,7 @@ Module collections. Global Instance AssociatedFunction_merge_tracking_parent : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self K V) - "merge_tracking_parent" - (merge_tracking_parent K V). + M.IsAssociatedFunction.C (Self K V) "merge_tracking_parent" (merge_tracking_parent K V). Admitted. Global Typeclasses Opaque merge_tracking_parent. @@ -19571,7 +19603,7 @@ Module collections. Global Instance AssociatedFunction_merge_tracking_child : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "merge_tracking_child" (merge_tracking_child K V). + M.IsAssociatedFunction.C (Self K V) "merge_tracking_child" (merge_tracking_child K V). Admitted. Global Typeclasses Opaque merge_tracking_child. @@ -19857,7 +19889,7 @@ Module collections. Global Instance AssociatedFunction_merge_tracking_child_edge : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V) "merge_tracking_child_edge" (merge_tracking_child_edge K V). @@ -19961,7 +19993,7 @@ Module collections. Global Instance AssociatedFunction_steal_left : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "steal_left" (steal_left K V). + M.IsAssociatedFunction.C (Self K V) "steal_left" (steal_left K V). Admitted. Global Typeclasses Opaque steal_left. @@ -20059,7 +20091,7 @@ Module collections. Global Instance AssociatedFunction_steal_right : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "steal_right" (steal_right K V). + M.IsAssociatedFunction.C (Self K V) "steal_right" (steal_right K V). Admitted. Global Typeclasses Opaque steal_right. @@ -20279,7 +20311,10 @@ Module collections. M.read (| count |) |), M.read (| - M.get_constant "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -21670,7 +21705,7 @@ Module collections. Global Instance AssociatedFunction_bulk_steal_left : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "bulk_steal_left" (bulk_steal_left K V). + M.IsAssociatedFunction.C (Self K V) "bulk_steal_left" (bulk_steal_left K V). Admitted. Global Typeclasses Opaque bulk_steal_left. @@ -21891,7 +21926,10 @@ Module collections. M.read (| count |) |), M.read (| - M.get_constant "alloc::collections::btree::node::CAPACITY" + get_constant (| + "alloc::collections::btree::node::CAPACITY", + Ty.path "usize" + |) |) |) |) @@ -23330,7 +23368,7 @@ Module collections. Global Instance AssociatedFunction_bulk_steal_right : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "bulk_steal_right" (bulk_steal_right K V). + M.IsAssociatedFunction.C (Self K V) "bulk_steal_right" (bulk_steal_right K V). Admitted. Global Typeclasses Opaque bulk_steal_right. End Impl_alloc_collections_btree_node_BalancingContext_K_V. @@ -23448,7 +23486,7 @@ Module collections. Global Instance AssociatedFunction_forget_node_type : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "forget_node_type" (forget_node_type BorrowType K V). @@ -23569,7 +23607,7 @@ Module collections. Global Instance AssociatedFunction_forget_node_type : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "forget_node_type" (forget_node_type BorrowType K V). @@ -23778,10 +23816,7 @@ Module collections. Global Instance AssociatedFunction_force : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V Type_) - "force" - (force BorrowType K V Type_). + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "force" (force BorrowType K V Type_). Admitted. Global Typeclasses Opaque force. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_BorrowType_K_V_alloc_collections_btree_node_marker_LeafOrInternal_Type_. @@ -23892,7 +23927,7 @@ Module collections. Global Instance AssociatedFunction_cast_to_leaf_unchecked : forall (K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self K V Type_) "cast_to_leaf_unchecked" (cast_to_leaf_unchecked K V Type_). @@ -24946,7 +24981,7 @@ Module collections. Global Instance AssociatedFunction_move_suffix : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "move_suffix" (move_suffix K V). + M.IsAssociatedFunction.C (Self K V) "move_suffix" (move_suffix K V). Admitted. Global Typeclasses Opaque move_suffix. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_LeafOrInternal_alloc_collections_btree_node_marker_Edge. @@ -25106,7 +25141,7 @@ Module collections. Global Instance AssociatedFunction_forget_node_type : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "forget_node_type" (forget_node_type K V). + M.IsAssociatedFunction.C (Self K V) "forget_node_type" (forget_node_type K V). Admitted. Global Typeclasses Opaque forget_node_type. End Impl_alloc_collections_btree_node_SplitResult_K_V_alloc_collections_btree_node_marker_Leaf. @@ -25221,7 +25256,7 @@ Module collections. Global Instance AssociatedFunction_forget_node_type : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "forget_node_type" (forget_node_type K V). + M.IsAssociatedFunction.C (Self K V) "forget_node_type" (forget_node_type K V). Admitted. Global Typeclasses Opaque forget_node_type. End Impl_alloc_collections_btree_node_SplitResult_K_V_alloc_collections_btree_node_marker_Internal. @@ -25337,8 +25372,12 @@ Module collections. (* const TRAVERSAL_PERMIT: bool = false; *) (* Ty.path "bool" *) - Definition value_TRAVERSAL_PERMIT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_TRAVERSAL_PERMIT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -25347,7 +25386,7 @@ Module collections. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_TRAVERSAL_PERMIT", InstanceField.Constant value_TRAVERSAL_PERMIT) ]. + [ ("value_TRAVERSAL_PERMIT", InstanceField.Method value_TRAVERSAL_PERMIT) ]. End Impl_alloc_collections_btree_node_marker_BorrowType_for_alloc_collections_btree_node_marker_Owned. Module Impl_alloc_collections_btree_node_marker_BorrowType_for_alloc_collections_btree_node_marker_Dying. @@ -25682,7 +25721,7 @@ Module collections. end. Global Instance Instance_IsFunction_slice_insert : - M.IsFunction.Trait "alloc::collections::btree::node::slice_insert" slice_insert. + M.IsFunction.C "alloc::collections::btree::node::slice_insert" slice_insert. Admitted. Global Typeclasses Opaque slice_insert. @@ -25887,7 +25926,7 @@ Module collections. end. Global Instance Instance_IsFunction_slice_remove : - M.IsFunction.Trait "alloc::collections::btree::node::slice_remove" slice_remove. + M.IsFunction.C "alloc::collections::btree::node::slice_remove" slice_remove. Admitted. Global Typeclasses Opaque slice_remove. @@ -25985,7 +26024,7 @@ Module collections. end. Global Instance Instance_IsFunction_slice_shl : - M.IsFunction.Trait "alloc::collections::btree::node::slice_shl" slice_shl. + M.IsFunction.C "alloc::collections::btree::node::slice_shl" slice_shl. Admitted. Global Typeclasses Opaque slice_shl. @@ -26080,7 +26119,7 @@ Module collections. end. Global Instance Instance_IsFunction_slice_shr : - M.IsFunction.Trait "alloc::collections::btree::node::slice_shr" slice_shr. + M.IsFunction.C "alloc::collections::btree::node::slice_shr" slice_shr. Admitted. Global Typeclasses Opaque slice_shr. @@ -26238,7 +26277,7 @@ Module collections. end. Global Instance Instance_IsFunction_move_to_slice : - M.IsFunction.Trait "alloc::collections::btree::node::move_to_slice" move_to_slice. + M.IsFunction.C "alloc::collections::btree::node::move_to_slice" move_to_slice. Admitted. Global Typeclasses Opaque move_to_slice. End node. diff --git a/CoqOfRust/alloc/collections/btree/remove.v b/CoqOfRust/alloc/collections/btree/remove.v index 835c4a02a..a7c52f5f8 100644 --- a/CoqOfRust/alloc/collections/btree/remove.v +++ b/CoqOfRust/alloc/collections/btree/remove.v @@ -252,7 +252,7 @@ Module collections. Global Instance AssociatedFunction_remove_kv_tracking : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove_kv_tracking" (remove_kv_tracking K V). + M.IsAssociatedFunction.C (Self K V) "remove_kv_tracking" (remove_kv_tracking K V). Admitted. Global Typeclasses Opaque remove_kv_tracking. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_LeafOrInternal_alloc_collections_btree_node_marker_KV. @@ -514,7 +514,10 @@ Module collections. BinOp.lt (| M.read (| len |), M.read (| - M.get_constant "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |) |) |)) in @@ -778,8 +781,10 @@ Module collections. |), BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize @@ -985,8 +990,11 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path + "usize" + |) |) |) |) @@ -1128,8 +1136,10 @@ Module collections. |), BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize @@ -1335,8 +1345,11 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::map::MIN_LEN" + get_constant (| + "alloc::collections::btree::map::MIN_LEN", + Ty.path + "usize" + |) |) |) |) @@ -1844,7 +1857,7 @@ Module collections. Global Instance AssociatedFunction_remove_leaf_kv : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove_leaf_kv" (remove_leaf_kv K V). + M.IsAssociatedFunction.C (Self K V) "remove_leaf_kv" (remove_leaf_kv K V). Admitted. Global Typeclasses Opaque remove_leaf_kv. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Leaf_alloc_collections_btree_node_marker_KV. @@ -2571,7 +2584,7 @@ Module collections. Global Instance AssociatedFunction_remove_internal_kv : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove_internal_kv" (remove_internal_kv K V). + M.IsAssociatedFunction.C (Self K V) "remove_internal_kv" (remove_internal_kv K V). Admitted. Global Typeclasses Opaque remove_internal_kv. End Impl_alloc_collections_btree_node_Handle_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Mut_K_V_alloc_collections_btree_node_marker_Internal_alloc_collections_btree_node_marker_KV. diff --git a/CoqOfRust/alloc/collections/btree/search.v b/CoqOfRust/alloc/collections/btree/search.v index bcbb27a1e..60ea91168 100644 --- a/CoqOfRust/alloc/collections/btree/search.v +++ b/CoqOfRust/alloc/collections/btree/search.v @@ -114,7 +114,7 @@ Module collections. Global Instance AssociatedFunction_from_range : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_range" (from_range T). + M.IsAssociatedFunction.C (Self T) "from_range" (from_range T). Admitted. Global Typeclasses Opaque from_range. End Impl_alloc_collections_btree_search_SearchBound_T. @@ -494,10 +494,7 @@ Module collections. Global Instance AssociatedFunction_search_tree : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait - (Self BorrowType K V) - "search_tree" - (search_tree BorrowType K V). + M.IsAssociatedFunction.C (Self BorrowType K V) "search_tree" (search_tree BorrowType K V). Admitted. Global Typeclasses Opaque search_tree. @@ -1628,7 +1625,7 @@ Module collections. Global Instance AssociatedFunction_search_tree_for_bifurcation : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "search_tree_for_bifurcation" (search_tree_for_bifurcation BorrowType K V). @@ -1766,7 +1763,7 @@ Module collections. Global Instance AssociatedFunction_find_lower_bound_edge : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "find_lower_bound_edge" (find_lower_bound_edge BorrowType K V). @@ -1908,7 +1905,7 @@ Module collections. Global Instance AssociatedFunction_find_upper_bound_edge : forall (BorrowType K V : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V) "find_upper_bound_edge" (find_upper_bound_edge BorrowType K V). @@ -2068,7 +2065,7 @@ Module collections. Global Instance AssociatedFunction_search_node : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "search_node" (search_node BorrowType K V Type_). @@ -2514,7 +2511,7 @@ Module collections. Global Instance AssociatedFunction_find_key_index : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "find_key_index" (find_key_index BorrowType K V Type_). @@ -2762,7 +2759,7 @@ Module collections. Global Instance AssociatedFunction_find_lower_bound_index : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "find_lower_bound_index" (find_lower_bound_index BorrowType K V Type_). @@ -3012,7 +3009,7 @@ Module collections. Global Instance AssociatedFunction_find_upper_bound_index : forall (BorrowType K V Type_ : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BorrowType K V Type_) "find_upper_bound_index" (find_upper_bound_index BorrowType K V Type_). diff --git a/CoqOfRust/alloc/collections/btree/set.v b/CoqOfRust/alloc/collections/btree/set.v index bce3e5c51..1885bc18c 100644 --- a/CoqOfRust/alloc/collections/btree/set.v +++ b/CoqOfRust/alloc/collections/btree/set.v @@ -1927,13 +1927,19 @@ Module collections. (* Instance *) [ ("fmt", InstanceField.Method (fmt T)) ]. 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_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF : - (M.get_constant "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF") = + Global Instance Instance_IsConstant_value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF : + M.IsFunction.C + "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF. - Global Hint Rewrite Constant_value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ITER_PERFORMANCE_TIPPING_SIZE_DIFF. Module Impl_alloc_collections_btree_set_BTreeSet_T_alloc_alloc_Global. Definition Self (T : Ty.t) : Ty.t := @@ -1986,7 +1992,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_alloc_collections_btree_set_BTreeSet_T_alloc_alloc_Global. @@ -2032,7 +2038,7 @@ Module collections. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -2089,7 +2095,7 @@ Module collections. Global Instance AssociatedFunction_range : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "range" (range T A). + M.IsAssociatedFunction.C (Self T A) "range" (range T A). Admitted. Global Typeclasses Opaque range. @@ -2759,8 +2765,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" + get_constant (| + "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF", + Ty.path "usize" + |) |) |) |) @@ -2907,7 +2915,7 @@ Module collections. Global Instance AssociatedFunction_difference : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "difference" (difference T A). + M.IsAssociatedFunction.C (Self T A) "difference" (difference T A). Admitted. Global Typeclasses Opaque difference. @@ -2980,7 +2988,7 @@ Module collections. Global Instance AssociatedFunction_symmetric_difference : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "symmetric_difference" (symmetric_difference T A). + M.IsAssociatedFunction.C (Self T A) "symmetric_difference" (symmetric_difference T A). Admitted. Global Typeclasses Opaque symmetric_difference. @@ -3473,8 +3481,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" + get_constant (| + "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF", + Ty.path "usize" + |) |) |) |) @@ -3564,8 +3574,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" + get_constant (| + "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF", + Ty.path "usize" + |) |) |) |) @@ -3682,7 +3694,7 @@ Module collections. Global Instance AssociatedFunction_intersection : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "intersection" (intersection T A). + M.IsAssociatedFunction.C (Self T A) "intersection" (intersection T A). Admitted. Global Typeclasses Opaque intersection. @@ -3747,7 +3759,7 @@ Module collections. Global Instance AssociatedFunction_union : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "union" (union T A). + M.IsAssociatedFunction.C (Self T A) "union" (union T A). Admitted. Global Typeclasses Opaque union. @@ -3792,7 +3804,7 @@ Module collections. Global Instance AssociatedFunction_clear : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "clear" (clear T A). + M.IsAssociatedFunction.C (Self T A) "clear" (clear T A). Admitted. Global Typeclasses Opaque clear. @@ -3845,7 +3857,7 @@ Module collections. Global Instance AssociatedFunction_contains : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "contains" (contains T A). + M.IsAssociatedFunction.C (Self T A) "contains" (contains T A). Admitted. Global Typeclasses Opaque contains. @@ -3983,7 +3995,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get" (get T A). + M.IsAssociatedFunction.C (Self T A) "get" (get T A). Admitted. Global Typeclasses Opaque get. @@ -4072,7 +4084,7 @@ Module collections. Global Instance AssociatedFunction_is_disjoint : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_disjoint" (is_disjoint T A). + M.IsAssociatedFunction.C (Self T A) "is_disjoint" (is_disjoint T A). Admitted. Global Typeclasses Opaque is_disjoint. @@ -4650,8 +4662,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF" + get_constant (| + "alloc::collections::btree::set::ITER_PERFORMANCE_TIPPING_SIZE_DIFF", + Ty.path "usize" + |) |) |) |) @@ -5205,7 +5219,7 @@ Module collections. Global Instance AssociatedFunction_is_subset : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_subset" (is_subset T A). + M.IsAssociatedFunction.C (Self T A) "is_subset" (is_subset T A). Admitted. Global Typeclasses Opaque is_subset. @@ -5247,7 +5261,7 @@ Module collections. Global Instance AssociatedFunction_is_superset : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_superset" (is_superset T A). + M.IsAssociatedFunction.C (Self T A) "is_superset" (is_superset T A). Admitted. Global Typeclasses Opaque is_superset. @@ -5382,7 +5396,7 @@ Module collections. Global Instance AssociatedFunction_first : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "first" (first T A). + M.IsAssociatedFunction.C (Self T A) "first" (first T A). Admitted. Global Typeclasses Opaque first. @@ -5517,7 +5531,7 @@ Module collections. Global Instance AssociatedFunction_last : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "last" (last T A). + M.IsAssociatedFunction.C (Self T A) "last" (last T A). Admitted. Global Typeclasses Opaque last. @@ -5623,7 +5637,7 @@ Module collections. Global Instance AssociatedFunction_pop_first : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_first" (pop_first T A). + M.IsAssociatedFunction.C (Self T A) "pop_first" (pop_first T A). Admitted. Global Typeclasses Opaque pop_first. @@ -5729,7 +5743,7 @@ Module collections. Global Instance AssociatedFunction_pop_last : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_last" (pop_last T A). + M.IsAssociatedFunction.C (Self T A) "pop_last" (pop_last T A). Admitted. Global Typeclasses Opaque pop_last. @@ -5811,7 +5825,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert" (insert T A). + M.IsAssociatedFunction.C (Self T A) "insert" (insert T A). Admitted. Global Typeclasses Opaque insert. @@ -5858,7 +5872,7 @@ Module collections. Global Instance AssociatedFunction_replace : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "replace" (replace T A). + M.IsAssociatedFunction.C (Self T A) "replace" (replace T A). Admitted. Global Typeclasses Opaque replace. @@ -5950,7 +5964,7 @@ Module collections. Global Instance AssociatedFunction_get_or_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_or_insert" (get_or_insert T A). + M.IsAssociatedFunction.C (Self T A) "get_or_insert" (get_or_insert T A). Admitted. Global Typeclasses Opaque get_or_insert. @@ -6011,7 +6025,7 @@ Module collections. Global Instance AssociatedFunction_get_or_insert_with : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_or_insert_with" (get_or_insert_with T A). + M.IsAssociatedFunction.C (Self T A) "get_or_insert_with" (get_or_insert_with T A). Admitted. Global Typeclasses Opaque get_or_insert_with. @@ -6110,7 +6124,7 @@ Module collections. Global Instance AssociatedFunction_entry : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "entry" (entry T A). + M.IsAssociatedFunction.C (Self T A) "entry" (entry T A). Admitted. Global Typeclasses Opaque entry. @@ -6180,7 +6194,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove" (remove T A). + M.IsAssociatedFunction.C (Self T A) "remove" (remove T A). Admitted. Global Typeclasses Opaque remove. @@ -6286,7 +6300,7 @@ Module collections. Global Instance AssociatedFunction_take : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "take" (take T A). + M.IsAssociatedFunction.C (Self T A) "take" (take T A). Admitted. Global Typeclasses Opaque take. @@ -6414,7 +6428,7 @@ Module collections. Global Instance AssociatedFunction_retain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain" (retain T A). + M.IsAssociatedFunction.C (Self T A) "retain" (retain T A). Admitted. Global Typeclasses Opaque retain. @@ -6480,7 +6494,7 @@ Module collections. Global Instance AssociatedFunction_append : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "append" (append T A). + M.IsAssociatedFunction.C (Self T A) "append" (append T A). Admitted. Global Typeclasses Opaque append. @@ -6541,7 +6555,7 @@ Module collections. Global Instance AssociatedFunction_split_off : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_off" (split_off T A). + M.IsAssociatedFunction.C (Self T A) "split_off" (split_off T A). Admitted. Global Typeclasses Opaque split_off. @@ -6625,7 +6639,7 @@ Module collections. Global Instance AssociatedFunction_extract_if : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extract_if" (extract_if T A). + M.IsAssociatedFunction.C (Self T A) "extract_if" (extract_if T A). Admitted. Global Typeclasses Opaque extract_if. @@ -6675,7 +6689,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "iter" (iter T A). + M.IsAssociatedFunction.C (Self T A) "iter" (iter T A). Admitted. Global Typeclasses Opaque iter. @@ -6717,7 +6731,7 @@ Module collections. Global Instance AssociatedFunction_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "len" (len T A). + M.IsAssociatedFunction.C (Self T A) "len" (len T A). Admitted. Global Typeclasses Opaque len. @@ -6755,7 +6769,7 @@ Module collections. Global Instance AssociatedFunction_is_empty : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_empty" (is_empty T A). + M.IsAssociatedFunction.C (Self T A) "is_empty" (is_empty T A). Admitted. Global Typeclasses Opaque is_empty. @@ -6816,7 +6830,7 @@ Module collections. Global Instance AssociatedFunction_lower_bound : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "lower_bound" (lower_bound T A). + M.IsAssociatedFunction.C (Self T A) "lower_bound" (lower_bound T A). Admitted. Global Typeclasses Opaque lower_bound. @@ -6877,7 +6891,7 @@ Module collections. Global Instance AssociatedFunction_lower_bound_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "lower_bound_mut" (lower_bound_mut T A). + M.IsAssociatedFunction.C (Self T A) "lower_bound_mut" (lower_bound_mut T A). Admitted. Global Typeclasses Opaque lower_bound_mut. @@ -6938,7 +6952,7 @@ Module collections. Global Instance AssociatedFunction_upper_bound : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "upper_bound" (upper_bound T A). + M.IsAssociatedFunction.C (Self T A) "upper_bound" (upper_bound T A). Admitted. Global Typeclasses Opaque upper_bound. @@ -6999,7 +7013,7 @@ Module collections. Global Instance AssociatedFunction_upper_bound_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "upper_bound_mut" (upper_bound_mut T A). + M.IsAssociatedFunction.C (Self T A) "upper_bound_mut" (upper_bound_mut T A). Admitted. Global Typeclasses Opaque upper_bound_mut. (* @@ -7152,7 +7166,7 @@ Module collections. Global Instance AssociatedFunction_from_sorted_iter : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_sorted_iter" (from_sorted_iter T A). + M.IsAssociatedFunction.C (Self T A) "from_sorted_iter" (from_sorted_iter T A). Admitted. Global Typeclasses Opaque from_sorted_iter. End Impl_alloc_collections_btree_set_BTreeSet_T_A. @@ -7439,7 +7453,10 @@ Module collections. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloc::collections::btree::set::N" + get_constant (| + "alloc::collections::btree::set::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -14532,7 +14549,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (K : Ty.t), - M.IsAssociatedFunction.Trait (Self K) "next" (next K). + M.IsAssociatedFunction.C (Self K) "next" (next K). Admitted. Global Typeclasses Opaque next. @@ -14664,7 +14681,7 @@ Module collections. Global Instance AssociatedFunction_prev : forall (K : Ty.t), - M.IsAssociatedFunction.Trait (Self K) "prev" (prev K). + M.IsAssociatedFunction.C (Self K) "prev" (prev K). Admitted. Global Typeclasses Opaque prev. @@ -14796,7 +14813,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (K : Ty.t), - M.IsAssociatedFunction.Trait (Self K) "peek_next" (peek_next K). + M.IsAssociatedFunction.C (Self K) "peek_next" (peek_next K). Admitted. Global Typeclasses Opaque peek_next. @@ -14928,7 +14945,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (K : Ty.t), - M.IsAssociatedFunction.Trait (Self K) "peek_prev" (peek_prev K). + M.IsAssociatedFunction.C (Self K) "peek_prev" (peek_prev K). Admitted. Global Typeclasses Opaque peek_prev. End Impl_alloc_collections_btree_set_Cursor_K. @@ -15065,7 +15082,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "next" (next T A). + M.IsAssociatedFunction.C (Self T A) "next" (next T A). Admitted. Global Typeclasses Opaque next. @@ -15197,7 +15214,7 @@ Module collections. Global Instance AssociatedFunction_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "prev" (prev T A). + M.IsAssociatedFunction.C (Self T A) "prev" (prev T A). Admitted. Global Typeclasses Opaque prev. @@ -15334,7 +15351,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_next" (peek_next T A). + M.IsAssociatedFunction.C (Self T A) "peek_next" (peek_next T A). Admitted. Global Typeclasses Opaque peek_next. @@ -15471,7 +15488,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_prev" (peek_prev T A). + M.IsAssociatedFunction.C (Self T A) "peek_prev" (peek_prev T A). Admitted. Global Typeclasses Opaque peek_prev. @@ -15526,7 +15543,7 @@ Module collections. Global Instance AssociatedFunction_as_cursor : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_cursor" (as_cursor T A). + M.IsAssociatedFunction.C (Self T A) "as_cursor" (as_cursor T A). Admitted. Global Typeclasses Opaque as_cursor. @@ -15580,7 +15597,7 @@ Module collections. Global Instance AssociatedFunction_with_mutable_key : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "with_mutable_key" (with_mutable_key T A). + M.IsAssociatedFunction.C (Self T A) "with_mutable_key" (with_mutable_key T A). Admitted. Global Typeclasses Opaque with_mutable_key. (* @@ -15629,10 +15646,7 @@ Module collections. Global Instance AssociatedFunction_insert_after_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "insert_after_unchecked" - (insert_after_unchecked T A). + M.IsAssociatedFunction.C (Self T A) "insert_after_unchecked" (insert_after_unchecked T A). Admitted. Global Typeclasses Opaque insert_after_unchecked. @@ -15682,7 +15696,7 @@ Module collections. Global Instance AssociatedFunction_insert_before_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "insert_before_unchecked" (insert_before_unchecked T A). @@ -15738,7 +15752,7 @@ Module collections. Global Instance AssociatedFunction_insert_after : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_after" (insert_after T A). + M.IsAssociatedFunction.C (Self T A) "insert_after" (insert_after T A). Admitted. Global Typeclasses Opaque insert_after. @@ -15791,7 +15805,7 @@ Module collections. Global Instance AssociatedFunction_insert_before : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_before" (insert_before T A). + M.IsAssociatedFunction.C (Self T A) "insert_before" (insert_before T A). Admitted. Global Typeclasses Opaque insert_before. @@ -15896,7 +15910,7 @@ Module collections. Global Instance AssociatedFunction_remove_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove_next" (remove_next T A). + M.IsAssociatedFunction.C (Self T A) "remove_next" (remove_next T A). Admitted. Global Typeclasses Opaque remove_next. @@ -16001,7 +16015,7 @@ Module collections. Global Instance AssociatedFunction_remove_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove_prev" (remove_prev T A). + M.IsAssociatedFunction.C (Self T A) "remove_prev" (remove_prev T A). Admitted. Global Typeclasses Opaque remove_prev. End Impl_alloc_collections_btree_set_CursorMut_T_A. @@ -16138,7 +16152,7 @@ Module collections. Global Instance AssociatedFunction_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "next" (next T A). + M.IsAssociatedFunction.C (Self T A) "next" (next T A). Admitted. Global Typeclasses Opaque next. @@ -16270,7 +16284,7 @@ Module collections. Global Instance AssociatedFunction_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "prev" (prev T A). + M.IsAssociatedFunction.C (Self T A) "prev" (prev T A). Admitted. Global Typeclasses Opaque prev. @@ -16407,7 +16421,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_next" (peek_next T A). + M.IsAssociatedFunction.C (Self T A) "peek_next" (peek_next T A). Admitted. Global Typeclasses Opaque peek_next. @@ -16544,7 +16558,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_prev" (peek_prev T A). + M.IsAssociatedFunction.C (Self T A) "peek_prev" (peek_prev T A). Admitted. Global Typeclasses Opaque peek_prev. @@ -16599,7 +16613,7 @@ Module collections. Global Instance AssociatedFunction_as_cursor : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_cursor" (as_cursor T A). + M.IsAssociatedFunction.C (Self T A) "as_cursor" (as_cursor T A). Admitted. Global Typeclasses Opaque as_cursor. (* @@ -16648,10 +16662,7 @@ Module collections. Global Instance AssociatedFunction_insert_after_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "insert_after_unchecked" - (insert_after_unchecked T A). + M.IsAssociatedFunction.C (Self T A) "insert_after_unchecked" (insert_after_unchecked T A). Admitted. Global Typeclasses Opaque insert_after_unchecked. @@ -16701,7 +16712,7 @@ Module collections. Global Instance AssociatedFunction_insert_before_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "insert_before_unchecked" (insert_before_unchecked T A). @@ -16757,7 +16768,7 @@ Module collections. Global Instance AssociatedFunction_insert_after : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_after" (insert_after T A). + M.IsAssociatedFunction.C (Self T A) "insert_after" (insert_after T A). Admitted. Global Typeclasses Opaque insert_after. @@ -16810,7 +16821,7 @@ Module collections. Global Instance AssociatedFunction_insert_before : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_before" (insert_before T A). + M.IsAssociatedFunction.C (Self T A) "insert_before" (insert_before T A). Admitted. Global Typeclasses Opaque insert_before. @@ -16915,7 +16926,7 @@ Module collections. Global Instance AssociatedFunction_remove_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove_next" (remove_next T A). + M.IsAssociatedFunction.C (Self T A) "remove_next" (remove_next T A). Admitted. Global Typeclasses Opaque remove_next. @@ -17020,7 +17031,7 @@ Module collections. Global Instance AssociatedFunction_remove_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove_prev" (remove_prev T A). + M.IsAssociatedFunction.C (Self T A) "remove_prev" (remove_prev T A). Admitted. Global Typeclasses Opaque remove_prev. End Impl_alloc_collections_btree_set_CursorMutKey_T_A. diff --git a/CoqOfRust/alloc/collections/btree/set/entry.v b/CoqOfRust/alloc/collections/btree/set/entry.v index 9efcf8da7..0810d3460 100644 --- a/CoqOfRust/alloc/collections/btree/set/entry.v +++ b/CoqOfRust/alloc/collections/btree/set/entry.v @@ -550,7 +550,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert" (insert T A). + M.IsAssociatedFunction.C (Self T A) "insert" (insert T A). Admitted. Global Typeclasses Opaque insert. @@ -613,7 +613,7 @@ Module collections. Global Instance AssociatedFunction_or_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "or_insert" (or_insert T A). + M.IsAssociatedFunction.C (Self T A) "or_insert" (or_insert T A). Admitted. Global Typeclasses Opaque or_insert. @@ -719,7 +719,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get" (get T A). + M.IsAssociatedFunction.C (Self T A) "get" (get T A). Admitted. Global Typeclasses Opaque get. End Impl_alloc_collections_btree_set_entry_Entry_T_A. @@ -771,7 +771,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get" (get T A). + M.IsAssociatedFunction.C (Self T A) "get" (get T A). Admitted. Global Typeclasses Opaque get. @@ -824,7 +824,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove" (remove T A). + M.IsAssociatedFunction.C (Self T A) "remove" (remove T A). Admitted. Global Typeclasses Opaque remove. End Impl_alloc_collections_btree_set_entry_OccupiedEntry_T_A. @@ -876,7 +876,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get" (get T A). + M.IsAssociatedFunction.C (Self T A) "get" (get T A). Admitted. Global Typeclasses Opaque get. @@ -922,7 +922,7 @@ Module collections. Global Instance AssociatedFunction_into_value : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_value" (into_value T A). + M.IsAssociatedFunction.C (Self T A) "into_value" (into_value T A). Admitted. Global Typeclasses Opaque into_value. @@ -982,7 +982,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert" (insert T A). + M.IsAssociatedFunction.C (Self T A) "insert" (insert T A). Admitted. Global Typeclasses Opaque insert. @@ -1037,7 +1037,7 @@ Module collections. Global Instance AssociatedFunction_insert_entry : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_entry" (insert_entry T A). + M.IsAssociatedFunction.C (Self T A) "insert_entry" (insert_entry T A). Admitted. Global Typeclasses Opaque insert_entry. End Impl_alloc_collections_btree_set_entry_VacantEntry_T_A. diff --git a/CoqOfRust/alloc/collections/btree/split.v b/CoqOfRust/alloc/collections/btree/split.v index 1f6bc2905..a39bc0f71 100644 --- a/CoqOfRust/alloc/collections/btree/split.v +++ b/CoqOfRust/alloc/collections/btree/split.v @@ -680,7 +680,7 @@ Module collections. Global Instance AssociatedFunction_calc_split_length : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "calc_split_length" (calc_split_length K V). + M.IsAssociatedFunction.C (Self K V) "calc_split_length" (calc_split_length K V). Admitted. Global Typeclasses Opaque calc_split_length. @@ -1396,7 +1396,7 @@ Module collections. Global Instance AssociatedFunction_split_off : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "split_off" (split_off K V). + M.IsAssociatedFunction.C (Self K V) "split_off" (split_off K V). Admitted. Global Typeclasses Opaque split_off. @@ -1622,7 +1622,7 @@ Module collections. Global Instance AssociatedFunction_new_pillar : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new_pillar" (new_pillar K V). + M.IsAssociatedFunction.C (Self K V) "new_pillar" (new_pillar K V). Admitted. Global Typeclasses Opaque new_pillar. End Impl_alloc_collections_btree_node_NodeRef_alloc_collections_btree_node_marker_Owned_K_V_alloc_collections_btree_node_marker_LeafOrInternal. diff --git a/CoqOfRust/alloc/collections/linked_list.v b/CoqOfRust/alloc/collections/linked_list.v index b89efb90e..87827e43f 100644 --- a/CoqOfRust/alloc/collections/linked_list.v +++ b/CoqOfRust/alloc/collections/linked_list.v @@ -849,7 +849,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -881,7 +881,7 @@ Module collections. Global Instance AssociatedFunction_into_element : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_element" (into_element T). + M.IsAssociatedFunction.C (Self T) "into_element" (into_element T). Admitted. Global Typeclasses Opaque into_element. End Impl_alloc_collections_linked_list_Node_T. @@ -1101,7 +1101,7 @@ Module collections. Global Instance AssociatedFunction_push_front_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_front_node" (push_front_node T A). + M.IsAssociatedFunction.C (Self T A) "push_front_node" (push_front_node T A). Admitted. Global Typeclasses Opaque push_front_node. @@ -1434,7 +1434,7 @@ Module collections. Global Instance AssociatedFunction_pop_front_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_front_node" (pop_front_node T A). + M.IsAssociatedFunction.C (Self T A) "pop_front_node" (pop_front_node T A). Admitted. Global Typeclasses Opaque pop_front_node. @@ -1649,7 +1649,7 @@ Module collections. Global Instance AssociatedFunction_push_back_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_back_node" (push_back_node T A). + M.IsAssociatedFunction.C (Self T A) "push_back_node" (push_back_node T A). Admitted. Global Typeclasses Opaque push_back_node. @@ -1982,7 +1982,7 @@ Module collections. Global Instance AssociatedFunction_pop_back_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_back_node" (pop_back_node T A). + M.IsAssociatedFunction.C (Self T A) "pop_back_node" (pop_back_node T A). Admitted. Global Typeclasses Opaque pop_back_node. @@ -2231,7 +2231,7 @@ Module collections. Global Instance AssociatedFunction_unlink_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "unlink_node" (unlink_node T A). + M.IsAssociatedFunction.C (Self T A) "unlink_node" (unlink_node T A). Admitted. Global Typeclasses Opaque unlink_node. @@ -2520,7 +2520,7 @@ Module collections. Global Instance AssociatedFunction_splice_nodes : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "splice_nodes" (splice_nodes T A). + M.IsAssociatedFunction.C (Self T A) "splice_nodes" (splice_nodes T A). Admitted. Global Typeclasses Opaque splice_nodes. @@ -2751,7 +2751,7 @@ Module collections. Global Instance AssociatedFunction_detach_all_nodes : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "detach_all_nodes" (detach_all_nodes T A). + M.IsAssociatedFunction.C (Self T A) "detach_all_nodes" (detach_all_nodes T A). Admitted. Global Typeclasses Opaque detach_all_nodes. @@ -3133,7 +3133,7 @@ Module collections. Global Instance AssociatedFunction_split_off_before_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_off_before_node" (split_off_before_node T A). + M.IsAssociatedFunction.C (Self T A) "split_off_before_node" (split_off_before_node T A). Admitted. Global Typeclasses Opaque split_off_before_node. @@ -3517,7 +3517,7 @@ Module collections. Global Instance AssociatedFunction_split_off_after_node : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_off_after_node" (split_off_after_node T A). + M.IsAssociatedFunction.C (Self T A) "split_off_after_node" (split_off_after_node T A). Admitted. Global Typeclasses Opaque split_off_after_node. (* @@ -3545,7 +3545,7 @@ Module collections. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -3594,7 +3594,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "iter" (iter T A). + M.IsAssociatedFunction.C (Self T A) "iter" (iter T A). Admitted. Global Typeclasses Opaque iter. @@ -3643,7 +3643,7 @@ Module collections. Global Instance AssociatedFunction_iter_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "iter_mut" (iter_mut T A). + M.IsAssociatedFunction.C (Self T A) "iter_mut" (iter_mut T A). Admitted. Global Typeclasses Opaque iter_mut. @@ -3682,7 +3682,7 @@ Module collections. Global Instance AssociatedFunction_cursor_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "cursor_front" (cursor_front T A). + M.IsAssociatedFunction.C (Self T A) "cursor_front" (cursor_front T A). Admitted. Global Typeclasses Opaque cursor_front. @@ -3721,7 +3721,7 @@ Module collections. Global Instance AssociatedFunction_cursor_front_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "cursor_front_mut" (cursor_front_mut T A). + M.IsAssociatedFunction.C (Self T A) "cursor_front_mut" (cursor_front_mut T A). Admitted. Global Typeclasses Opaque cursor_front_mut. @@ -3786,7 +3786,7 @@ Module collections. Global Instance AssociatedFunction_cursor_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "cursor_back" (cursor_back T A). + M.IsAssociatedFunction.C (Self T A) "cursor_back" (cursor_back T A). Admitted. Global Typeclasses Opaque cursor_back. @@ -3851,7 +3851,7 @@ Module collections. Global Instance AssociatedFunction_cursor_back_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "cursor_back_mut" (cursor_back_mut T A). + M.IsAssociatedFunction.C (Self T A) "cursor_back_mut" (cursor_back_mut T A). Admitted. Global Typeclasses Opaque cursor_back_mut. @@ -3898,7 +3898,7 @@ Module collections. Global Instance AssociatedFunction_is_empty : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_empty" (is_empty T A). + M.IsAssociatedFunction.C (Self T A) "is_empty" (is_empty T A). Admitted. Global Typeclasses Opaque is_empty. @@ -3925,7 +3925,7 @@ Module collections. Global Instance AssociatedFunction_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "len" (len T A). + M.IsAssociatedFunction.C (Self T A) "len" (len T A). Admitted. Global Typeclasses Opaque len. @@ -4100,7 +4100,7 @@ Module collections. Global Instance AssociatedFunction_clear : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "clear" (clear T A). + M.IsAssociatedFunction.C (Self T A) "clear" (clear T A). Admitted. Global Typeclasses Opaque clear. @@ -4192,7 +4192,7 @@ Module collections. Global Instance AssociatedFunction_contains : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "contains" (contains T A). + M.IsAssociatedFunction.C (Self T A) "contains" (contains T A). Admitted. Global Typeclasses Opaque contains. @@ -4377,7 +4377,7 @@ Module collections. Global Instance AssociatedFunction_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front" (front T A). + M.IsAssociatedFunction.C (Self T A) "front" (front T A). Admitted. Global Typeclasses Opaque front. @@ -4562,7 +4562,7 @@ Module collections. Global Instance AssociatedFunction_front_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front_mut" (front_mut T A). + M.IsAssociatedFunction.C (Self T A) "front_mut" (front_mut T A). Admitted. Global Typeclasses Opaque front_mut. @@ -4747,7 +4747,7 @@ Module collections. Global Instance AssociatedFunction_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back" (back T A). + M.IsAssociatedFunction.C (Self T A) "back" (back T A). Admitted. Global Typeclasses Opaque back. @@ -4932,7 +4932,7 @@ Module collections. Global Instance AssociatedFunction_back_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back_mut" (back_mut T A). + M.IsAssociatedFunction.C (Self T A) "back_mut" (back_mut T A). Admitted. Global Typeclasses Opaque back_mut. @@ -5084,7 +5084,7 @@ Module collections. Global Instance AssociatedFunction_push_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_front" (push_front T A). + M.IsAssociatedFunction.C (Self T A) "push_front" (push_front T A). Admitted. Global Typeclasses Opaque push_front. @@ -5166,7 +5166,7 @@ Module collections. Global Instance AssociatedFunction_pop_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_front" (pop_front T A). + M.IsAssociatedFunction.C (Self T A) "pop_front" (pop_front T A). Admitted. Global Typeclasses Opaque pop_front. @@ -5313,7 +5313,7 @@ Module collections. Global Instance AssociatedFunction_push_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_back" (push_back T A). + M.IsAssociatedFunction.C (Self T A) "push_back" (push_back T A). Admitted. Global Typeclasses Opaque push_back. @@ -5395,7 +5395,7 @@ Module collections. Global Instance AssociatedFunction_pop_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_back" (pop_back T A). + M.IsAssociatedFunction.C (Self T A) "pop_back" (pop_back T A). Admitted. Global Typeclasses Opaque pop_back. @@ -6101,7 +6101,7 @@ Module collections. Global Instance AssociatedFunction_split_off : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_off" (split_off T A). + M.IsAssociatedFunction.C (Self T A) "split_off" (split_off T A). Admitted. Global Typeclasses Opaque split_off. @@ -6550,7 +6550,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove" (remove T A). + M.IsAssociatedFunction.C (Self T A) "remove" (remove T A). Admitted. Global Typeclasses Opaque remove. @@ -6638,7 +6638,7 @@ Module collections. Global Instance AssociatedFunction_retain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain" (retain T A). + M.IsAssociatedFunction.C (Self T A) "retain" (retain T A). Admitted. Global Typeclasses Opaque retain. @@ -6828,7 +6828,7 @@ Module collections. Global Instance AssociatedFunction_retain_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain_mut" (retain_mut T A). + M.IsAssociatedFunction.C (Self T A) "retain_mut" (retain_mut T A). Admitted. Global Typeclasses Opaque retain_mut. @@ -6899,7 +6899,7 @@ Module collections. Global Instance AssociatedFunction_extract_if : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extract_if" (extract_if T A). + M.IsAssociatedFunction.C (Self T A) "extract_if" (extract_if T A). Admitted. Global Typeclasses Opaque extract_if. End Impl_alloc_collections_linked_list_LinkedList_T_A. @@ -6981,7 +6981,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -7303,7 +7303,7 @@ Module collections. Global Instance AssociatedFunction_append : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "append" (append T). + M.IsAssociatedFunction.C (Self T) "append" (append T). Admitted. Global Typeclasses Opaque append. End Impl_alloc_collections_linked_list_LinkedList_T_alloc_alloc_Global. @@ -9378,7 +9378,7 @@ Module collections. Global Instance AssociatedFunction_index : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "index" (index T A). + M.IsAssociatedFunction.C (Self T A) "index" (index T A). Admitted. Global Typeclasses Opaque index. @@ -9561,7 +9561,7 @@ Module collections. Global Instance AssociatedFunction_move_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "move_next" (move_next T A). + M.IsAssociatedFunction.C (Self T A) "move_next" (move_next T A). Admitted. Global Typeclasses Opaque move_next. @@ -9862,7 +9862,7 @@ Module collections. Global Instance AssociatedFunction_move_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "move_prev" (move_prev T A). + M.IsAssociatedFunction.C (Self T A) "move_prev" (move_prev T A). Admitted. Global Typeclasses Opaque move_prev. @@ -9989,7 +9989,7 @@ Module collections. Global Instance AssociatedFunction_current : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "current" (current T A). + M.IsAssociatedFunction.C (Self T A) "current" (current T A). Admitted. Global Typeclasses Opaque current. @@ -10215,7 +10215,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_next" (peek_next T A). + M.IsAssociatedFunction.C (Self T A) "peek_next" (peek_next T A). Admitted. Global Typeclasses Opaque peek_next. @@ -10441,7 +10441,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_prev" (peek_prev T A). + M.IsAssociatedFunction.C (Self T A) "peek_prev" (peek_prev T A). Admitted. Global Typeclasses Opaque peek_prev. @@ -10484,7 +10484,7 @@ Module collections. Global Instance AssociatedFunction_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front" (front T A). + M.IsAssociatedFunction.C (Self T A) "front" (front T A). Admitted. Global Typeclasses Opaque front. @@ -10527,7 +10527,7 @@ Module collections. Global Instance AssociatedFunction_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back" (back T A). + M.IsAssociatedFunction.C (Self T A) "back" (back T A). Admitted. Global Typeclasses Opaque back. @@ -10554,7 +10554,7 @@ Module collections. Global Instance AssociatedFunction_as_list : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_list" (as_list T A). + M.IsAssociatedFunction.C (Self T A) "as_list" (as_list T A). Admitted. Global Typeclasses Opaque as_list. End Impl_alloc_collections_linked_list_Cursor_T_A. @@ -10718,7 +10718,7 @@ Module collections. Global Instance AssociatedFunction_index : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "index" (index T A). + M.IsAssociatedFunction.C (Self T A) "index" (index T A). Admitted. Global Typeclasses Opaque index. @@ -10901,7 +10901,7 @@ Module collections. Global Instance AssociatedFunction_move_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "move_next" (move_next T A). + M.IsAssociatedFunction.C (Self T A) "move_next" (move_next T A). Admitted. Global Typeclasses Opaque move_next. @@ -11202,7 +11202,7 @@ Module collections. Global Instance AssociatedFunction_move_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "move_prev" (move_prev T A). + M.IsAssociatedFunction.C (Self T A) "move_prev" (move_prev T A). Admitted. Global Typeclasses Opaque move_prev. @@ -11329,7 +11329,7 @@ Module collections. Global Instance AssociatedFunction_current : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "current" (current T A). + M.IsAssociatedFunction.C (Self T A) "current" (current T A). Admitted. Global Typeclasses Opaque current. @@ -11558,7 +11558,7 @@ Module collections. Global Instance AssociatedFunction_peek_next : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_next" (peek_next T A). + M.IsAssociatedFunction.C (Self T A) "peek_next" (peek_next T A). Admitted. Global Typeclasses Opaque peek_next. @@ -11787,7 +11787,7 @@ Module collections. Global Instance AssociatedFunction_peek_prev : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "peek_prev" (peek_prev T A). + M.IsAssociatedFunction.C (Self T A) "peek_prev" (peek_prev T A). Admitted. Global Typeclasses Opaque peek_prev. @@ -11840,7 +11840,7 @@ Module collections. Global Instance AssociatedFunction_as_cursor : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_cursor" (as_cursor T A). + M.IsAssociatedFunction.C (Self T A) "as_cursor" (as_cursor T A). Admitted. Global Typeclasses Opaque as_cursor. @@ -11872,7 +11872,7 @@ Module collections. Global Instance AssociatedFunction_as_list : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_list" (as_list T A). + M.IsAssociatedFunction.C (Self T A) "as_list" (as_list T A). Admitted. Global Typeclasses Opaque as_list. (* @@ -12229,7 +12229,7 @@ Module collections. Global Instance AssociatedFunction_insert_after : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_after" (insert_after T A). + M.IsAssociatedFunction.C (Self T A) "insert_after" (insert_after T A). Admitted. Global Typeclasses Opaque insert_after. @@ -12526,7 +12526,7 @@ Module collections. Global Instance AssociatedFunction_insert_before : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert_before" (insert_before T A). + M.IsAssociatedFunction.C (Self T A) "insert_before" (insert_before T A). Admitted. Global Typeclasses Opaque insert_before. @@ -12835,7 +12835,7 @@ Module collections. Global Instance AssociatedFunction_remove_current : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove_current" (remove_current T A). + M.IsAssociatedFunction.C (Self T A) "remove_current" (remove_current T A). Admitted. Global Typeclasses Opaque remove_current. @@ -13216,10 +13216,7 @@ Module collections. Global Instance AssociatedFunction_remove_current_as_list : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "remove_current_as_list" - (remove_current_as_list T A). + M.IsAssociatedFunction.C (Self T A) "remove_current_as_list" (remove_current_as_list T A). Admitted. Global Typeclasses Opaque remove_current_as_list. @@ -13395,7 +13392,7 @@ Module collections. Global Instance AssociatedFunction_split_after : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_after" (split_after T A). + M.IsAssociatedFunction.C (Self T A) "split_after" (split_after T A). Admitted. Global Typeclasses Opaque split_after. @@ -13479,7 +13476,7 @@ Module collections. Global Instance AssociatedFunction_split_before : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_before" (split_before T A). + M.IsAssociatedFunction.C (Self T A) "split_before" (split_before T A). Admitted. Global Typeclasses Opaque split_before. @@ -13552,7 +13549,7 @@ Module collections. Global Instance AssociatedFunction_push_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_front" (push_front T A). + M.IsAssociatedFunction.C (Self T A) "push_front" (push_front T A). Admitted. Global Typeclasses Opaque push_front. @@ -13678,7 +13675,7 @@ Module collections. Global Instance AssociatedFunction_push_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_back" (push_back T A). + M.IsAssociatedFunction.C (Self T A) "push_back" (push_back T A). Admitted. Global Typeclasses Opaque push_back. @@ -13913,7 +13910,7 @@ Module collections. Global Instance AssociatedFunction_pop_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_front" (pop_front T A). + M.IsAssociatedFunction.C (Self T A) "pop_front" (pop_front T A). Admitted. Global Typeclasses Opaque pop_front. @@ -14197,7 +14194,7 @@ Module collections. Global Instance AssociatedFunction_pop_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_back" (pop_back T A). + M.IsAssociatedFunction.C (Self T A) "pop_back" (pop_back T A). Admitted. Global Typeclasses Opaque pop_back. @@ -14240,7 +14237,7 @@ Module collections. Global Instance AssociatedFunction_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front" (front T A). + M.IsAssociatedFunction.C (Self T A) "front" (front T A). Admitted. Global Typeclasses Opaque front. @@ -14283,7 +14280,7 @@ Module collections. Global Instance AssociatedFunction_front_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front_mut" (front_mut T A). + M.IsAssociatedFunction.C (Self T A) "front_mut" (front_mut T A). Admitted. Global Typeclasses Opaque front_mut. @@ -14326,7 +14323,7 @@ Module collections. Global Instance AssociatedFunction_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back" (back T A). + M.IsAssociatedFunction.C (Self T A) "back" (back T A). Admitted. Global Typeclasses Opaque back. @@ -14369,7 +14366,7 @@ Module collections. Global Instance AssociatedFunction_back_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back_mut" (back_mut T A). + M.IsAssociatedFunction.C (Self T A) "back_mut" (back_mut T A). Admitted. Global Typeclasses Opaque back_mut. End Impl_alloc_collections_linked_list_CursorMut_T_A. @@ -14727,7 +14724,7 @@ Module collections. Global Instance AssociatedFunction_splice_after : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "splice_after" (splice_after T). + M.IsAssociatedFunction.C (Self T) "splice_after" (splice_after T). Admitted. Global Typeclasses Opaque splice_after. @@ -15011,7 +15008,7 @@ Module collections. Global Instance AssociatedFunction_splice_before : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "splice_before" (splice_before T). + M.IsAssociatedFunction.C (Self T) "splice_before" (splice_before T). Admitted. Global Typeclasses Opaque splice_before. End Impl_alloc_collections_linked_list_CursorMut_T_alloc_alloc_Global. @@ -17722,7 +17719,7 @@ Module collections. end. Global Instance Instance_IsFunction_assert_covariance : - M.IsFunction.Trait "alloc::collections::linked_list::assert_covariance" assert_covariance. + M.IsFunction.C "alloc::collections::linked_list::assert_covariance" assert_covariance. Admitted. Global Typeclasses Opaque assert_covariance. @@ -17742,7 +17739,7 @@ Module collections. end. Global Instance Instance_IsFunction_a : - M.IsFunction.Trait "alloc::collections::linked_list::assert_covariance::a" a. + M.IsFunction.C "alloc::collections::linked_list::assert_covariance::a" a. Admitted. Global Typeclasses Opaque a. @@ -17761,7 +17758,7 @@ Module collections. end. Global Instance Instance_IsFunction_b : - M.IsFunction.Trait "alloc::collections::linked_list::assert_covariance::b" b. + M.IsFunction.C "alloc::collections::linked_list::assert_covariance::b" b. Admitted. Global Typeclasses Opaque b. @@ -17780,7 +17777,7 @@ Module collections. end. Global Instance Instance_IsFunction_c : - M.IsFunction.Trait "alloc::collections::linked_list::assert_covariance::c" c. + M.IsFunction.C "alloc::collections::linked_list::assert_covariance::c" c. Admitted. Global Typeclasses Opaque c. End assert_covariance. diff --git a/CoqOfRust/alloc/collections/mod.v b/CoqOfRust/alloc/collections/mod.v index a416fa45a..cc6dce5ec 100644 --- a/CoqOfRust/alloc/collections/mod.v +++ b/CoqOfRust/alloc/collections/mod.v @@ -255,7 +255,7 @@ Module collections. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_kind : M.IsAssociatedFunction.Trait Self "kind" kind. + Global Instance AssociatedFunction_kind : M.IsAssociatedFunction.C Self "kind" kind. Admitted. Global Typeclasses Opaque kind. End Impl_alloc_collections_TryReserveError. diff --git a/CoqOfRust/alloc/collections/vec_deque/drain.v b/CoqOfRust/alloc/collections/vec_deque/drain.v index b293b6262..22dd902e6 100644 --- a/CoqOfRust/alloc/collections/vec_deque/drain.v +++ b/CoqOfRust/alloc/collections/vec_deque/drain.v @@ -143,7 +143,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new" (new T A). + M.IsAssociatedFunction.C (Self T A) "new" (new T A). Admitted. Global Typeclasses Opaque new. @@ -344,7 +344,7 @@ Module collections. Global Instance AssociatedFunction_as_slices : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_slices" (as_slices T A). + M.IsAssociatedFunction.C (Self T A) "as_slices" (as_slices T A). Admitted. Global Typeclasses Opaque as_slices. End Impl_alloc_collections_vec_deque_drain_Drain_T_A. diff --git a/CoqOfRust/alloc/collections/vec_deque/into_iter.v b/CoqOfRust/alloc/collections/vec_deque/into_iter.v index 93bafbbe3..beb464477 100644 --- a/CoqOfRust/alloc/collections/vec_deque/into_iter.v +++ b/CoqOfRust/alloc/collections/vec_deque/into_iter.v @@ -92,7 +92,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new" (new T A). + M.IsAssociatedFunction.C (Self T A) "new" (new T A). Admitted. Global Typeclasses Opaque new. @@ -124,7 +124,7 @@ Module collections. Global Instance AssociatedFunction_into_vecdeque : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_vecdeque" (into_vecdeque T A). + M.IsAssociatedFunction.C (Self T A) "into_vecdeque" (into_vecdeque T A). Admitted. Global Typeclasses Opaque into_vecdeque. End Impl_alloc_collections_vec_deque_into_iter_IntoIter_T_A. @@ -1262,8 +1262,10 @@ Module collections. M.alloc (| repeat (| M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk_discriminant" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) |), N |) @@ -1372,8 +1374,10 @@ Module collections. ] |), M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |) |) |)) in @@ -1412,8 +1416,10 @@ Module collections. |); M.read (| raw_arr_ptr |); M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |) ] |) @@ -1452,8 +1458,10 @@ Module collections. |) |); M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |) ] |) @@ -1476,8 +1484,10 @@ Module collections. BinOp.Wrap.sub (| M.read (| β |), M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |) |) |) @@ -1581,8 +1591,10 @@ Module collections. M.alloc (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |), M.call_closure (| Ty.path "usize", @@ -1730,8 +1742,10 @@ Module collections. |) |); M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |) ] |) @@ -1754,8 +1768,10 @@ Module collections. BinOp.Wrap.sub (| M.read (| β |), M.read (| - M.get_constant - "alloc::collections::vec_deque::into_iter::next_chunk::N" + get_constant (| + "alloc::collections::vec_deque::into_iter::next_chunk::N", + Ty.path "usize" + |) |) |) |) diff --git a/CoqOfRust/alloc/collections/vec_deque/iter.v b/CoqOfRust/alloc/collections/vec_deque/iter.v index 0fc6e5ca1..6c3ae8984 100644 --- a/CoqOfRust/alloc/collections/vec_deque/iter.v +++ b/CoqOfRust/alloc/collections/vec_deque/iter.v @@ -40,7 +40,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -111,7 +111,7 @@ Module collections. Global Instance AssociatedFunction_as_slices : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_slices" (as_slices T). + M.IsAssociatedFunction.C (Self T) "as_slices" (as_slices T). Admitted. Global Typeclasses Opaque as_slices. End Impl_alloc_collections_vec_deque_iter_Iter_T. @@ -1955,9 +1955,14 @@ Module collections. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -1967,8 +1972,7 @@ Module collections. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_alloc_collections_vec_deque_iter_Iter_T. End iter. End vec_deque. diff --git a/CoqOfRust/alloc/collections/vec_deque/iter_mut.v b/CoqOfRust/alloc/collections/vec_deque/iter_mut.v index 0d5337b50..1f72e9c14 100644 --- a/CoqOfRust/alloc/collections/vec_deque/iter_mut.v +++ b/CoqOfRust/alloc/collections/vec_deque/iter_mut.v @@ -40,7 +40,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -114,7 +114,7 @@ Module collections. Global Instance AssociatedFunction_into_slices : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_slices" (into_slices T). + M.IsAssociatedFunction.C (Self T) "into_slices" (into_slices T). Admitted. Global Typeclasses Opaque into_slices. @@ -185,7 +185,7 @@ Module collections. Global Instance AssociatedFunction_as_slices : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_slices" (as_slices T). + M.IsAssociatedFunction.C (Self T) "as_slices" (as_slices T). Admitted. Global Typeclasses Opaque as_slices. @@ -261,7 +261,7 @@ Module collections. Global Instance AssociatedFunction_as_mut_slices : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_slices" (as_mut_slices T). + M.IsAssociatedFunction.C (Self T) "as_mut_slices" (as_mut_slices T). Admitted. Global Typeclasses Opaque as_mut_slices. End Impl_alloc_collections_vec_deque_iter_mut_IterMut_T. @@ -2071,9 +2071,14 @@ Module collections. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -2083,8 +2088,7 @@ Module collections. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_alloc_collections_vec_deque_iter_mut_IterMut_T. End iter_mut. End vec_deque. diff --git a/CoqOfRust/alloc/collections/vec_deque/mod.v b/CoqOfRust/alloc/collections/vec_deque/mod.v index 5a37844d6..dac5981aa 100644 --- a/CoqOfRust/alloc/collections/vec_deque/mod.v +++ b/CoqOfRust/alloc/collections/vec_deque/mod.v @@ -436,7 +436,7 @@ Module collections. Global Instance AssociatedFunction_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "ptr" (ptr T A). + M.IsAssociatedFunction.C (Self T A) "ptr" (ptr T A). Admitted. Global Typeclasses Opaque ptr. @@ -517,7 +517,7 @@ Module collections. Global Instance AssociatedFunction_push_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_unchecked" (push_unchecked T A). + M.IsAssociatedFunction.C (Self T A) "push_unchecked" (push_unchecked T A). Admitted. Global Typeclasses Opaque push_unchecked. @@ -573,7 +573,7 @@ Module collections. Global Instance AssociatedFunction_buffer_read : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "buffer_read" (buffer_read T A). + M.IsAssociatedFunction.C (Self T A) "buffer_read" (buffer_read T A). Admitted. Global Typeclasses Opaque buffer_read. @@ -640,7 +640,7 @@ Module collections. Global Instance AssociatedFunction_buffer_write : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "buffer_write" (buffer_write T A). + M.IsAssociatedFunction.C (Self T A) "buffer_write" (buffer_write T A). Admitted. Global Typeclasses Opaque buffer_write. @@ -713,7 +713,7 @@ Module collections. Global Instance AssociatedFunction_buffer_range : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "buffer_range" (buffer_range T A). + M.IsAssociatedFunction.C (Self T A) "buffer_range" (buffer_range T A). Admitted. Global Typeclasses Opaque buffer_range. @@ -752,7 +752,7 @@ Module collections. Global Instance AssociatedFunction_is_full : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_full" (is_full T A). + M.IsAssociatedFunction.C (Self T A) "is_full" (is_full T A). Admitted. Global Typeclasses Opaque is_full. @@ -795,7 +795,7 @@ Module collections. Global Instance AssociatedFunction_wrap_add : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "wrap_add" (wrap_add T A). + M.IsAssociatedFunction.C (Self T A) "wrap_add" (wrap_add T A). Admitted. Global Typeclasses Opaque wrap_add. @@ -841,7 +841,7 @@ Module collections. Global Instance AssociatedFunction_to_physical_idx : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "to_physical_idx" (to_physical_idx T A). + M.IsAssociatedFunction.C (Self T A) "to_physical_idx" (to_physical_idx T A). Admitted. Global Typeclasses Opaque to_physical_idx. @@ -900,7 +900,7 @@ Module collections. Global Instance AssociatedFunction_wrap_sub : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "wrap_sub" (wrap_sub T A). + M.IsAssociatedFunction.C (Self T A) "wrap_sub" (wrap_sub T A). Admitted. Global Typeclasses Opaque wrap_sub. @@ -1432,7 +1432,7 @@ Module collections. Global Instance AssociatedFunction_copy : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "copy" (copy T A). + M.IsAssociatedFunction.C (Self T A) "copy" (copy T A). Admitted. Global Typeclasses Opaque copy. @@ -1969,7 +1969,7 @@ Module collections. Global Instance AssociatedFunction_copy_nonoverlapping : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "copy_nonoverlapping" (copy_nonoverlapping T A). + M.IsAssociatedFunction.C (Self T A) "copy_nonoverlapping" (copy_nonoverlapping T A). Admitted. Global Typeclasses Opaque copy_nonoverlapping. @@ -2400,7 +2400,10 @@ Module collections. LogicalOp.or (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.eq (| M.read (| src |), M.read (| dst |) |))) @@ -3156,7 +3159,7 @@ Module collections. Global Instance AssociatedFunction_wrap_copy : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "wrap_copy" (wrap_copy T A). + M.IsAssociatedFunction.C (Self T A) "wrap_copy" (wrap_copy T A). Admitted. Global Typeclasses Opaque wrap_copy. @@ -3550,7 +3553,7 @@ Module collections. Global Instance AssociatedFunction_copy_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "copy_slice" (copy_slice T A). + M.IsAssociatedFunction.C (Self T A) "copy_slice" (copy_slice T A). Admitted. Global Typeclasses Opaque copy_slice. @@ -3689,7 +3692,7 @@ Module collections. Global Instance AssociatedFunction_write_iter : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "write_iter" (write_iter T A). + M.IsAssociatedFunction.C (Self T A) "write_iter" (write_iter T A). Admitted. Global Typeclasses Opaque write_iter. @@ -3982,7 +3985,7 @@ Module collections. Global Instance AssociatedFunction_write_iter_wrapping : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "write_iter_wrapping" (write_iter_wrapping T A). + M.IsAssociatedFunction.C (Self T A) "write_iter_wrapping" (write_iter_wrapping T A). Admitted. Global Typeclasses Opaque write_iter_wrapping. @@ -4390,7 +4393,7 @@ Module collections. Global Instance AssociatedFunction_handle_capacity_increase : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "handle_capacity_increase" (handle_capacity_increase T A). @@ -4429,7 +4432,7 @@ Module collections. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -4472,7 +4475,7 @@ Module collections. Global Instance AssociatedFunction_with_capacity_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "with_capacity_in" (with_capacity_in T A). + M.IsAssociatedFunction.C (Self T A) "with_capacity_in" (with_capacity_in T A). Admitted. Global Typeclasses Opaque with_capacity_in. @@ -4686,7 +4689,7 @@ Module collections. Global Instance AssociatedFunction_from_contiguous_raw_parts_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "from_contiguous_raw_parts_in" (from_contiguous_raw_parts_in T A). @@ -4812,7 +4815,7 @@ Module collections. Global Instance AssociatedFunction_get : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get" (get T A). + M.IsAssociatedFunction.C (Self T A) "get" (get T A). Admitted. Global Typeclasses Opaque get. @@ -4935,7 +4938,7 @@ Module collections. Global Instance AssociatedFunction_get_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_mut" (get_mut T A). + M.IsAssociatedFunction.C (Self T A) "get_mut" (get_mut T A). Admitted. Global Typeclasses Opaque get_mut. @@ -5149,7 +5152,7 @@ Module collections. Global Instance AssociatedFunction_swap : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "swap" (swap T A). + M.IsAssociatedFunction.C (Self T A) "swap" (swap T A). Admitted. Global Typeclasses Opaque swap. @@ -5171,9 +5174,14 @@ Module collections. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -5205,7 +5213,7 @@ Module collections. Global Instance AssociatedFunction_capacity : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "capacity" (capacity T A). + M.IsAssociatedFunction.C (Self T A) "capacity" (capacity T A). Admitted. Global Typeclasses Opaque capacity. @@ -5351,7 +5359,7 @@ Module collections. Global Instance AssociatedFunction_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve_exact" (reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "reserve_exact" (reserve_exact T A). Admitted. Global Typeclasses Opaque reserve_exact. @@ -5494,7 +5502,7 @@ Module collections. Global Instance AssociatedFunction_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve" (reserve T A). + M.IsAssociatedFunction.C (Self T A) "reserve" (reserve T A). Admitted. Global Typeclasses Opaque reserve. @@ -5863,7 +5871,7 @@ Module collections. Global Instance AssociatedFunction_try_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve_exact" (try_reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve_exact" (try_reserve_exact T A). Admitted. Global Typeclasses Opaque try_reserve_exact. @@ -6232,7 +6240,7 @@ Module collections. Global Instance AssociatedFunction_try_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve" (try_reserve T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve" (try_reserve T A). Admitted. Global Typeclasses Opaque try_reserve. @@ -6276,7 +6284,7 @@ Module collections. Global Instance AssociatedFunction_shrink_to_fit : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to_fit" (shrink_to_fit T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to_fit" (shrink_to_fit T A). Admitted. Global Typeclasses Opaque shrink_to_fit. @@ -6429,7 +6437,10 @@ Module collections. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.le (| @@ -7130,7 +7141,7 @@ Module collections. Global Instance AssociatedFunction_shrink_to : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to" (shrink_to T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to" (shrink_to T A). Admitted. Global Typeclasses Opaque shrink_to. @@ -7369,7 +7380,7 @@ Module collections. Global Instance AssociatedFunction_abort_shrink : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "abort_shrink" (abort_shrink T A). + M.IsAssociatedFunction.C (Self T A) "abort_shrink" (abort_shrink T A). Admitted. Global Typeclasses Opaque abort_shrink. @@ -7713,7 +7724,7 @@ Module collections. Global Instance AssociatedFunction_truncate : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "truncate" (truncate T A). + M.IsAssociatedFunction.C (Self T A) "truncate" (truncate T A). Admitted. Global Typeclasses Opaque truncate. @@ -7757,7 +7768,7 @@ Module collections. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -7840,7 +7851,7 @@ Module collections. Global Instance AssociatedFunction_iter : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "iter" (iter T A). + M.IsAssociatedFunction.C (Self T A) "iter" (iter T A). Admitted. Global Typeclasses Opaque iter. @@ -7929,7 +7940,7 @@ Module collections. Global Instance AssociatedFunction_iter_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "iter_mut" (iter_mut T A). + M.IsAssociatedFunction.C (Self T A) "iter_mut" (iter_mut T A). Admitted. Global Typeclasses Opaque iter_mut. @@ -8060,7 +8071,7 @@ Module collections. Global Instance AssociatedFunction_as_slices : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_slices" (as_slices T A). + M.IsAssociatedFunction.C (Self T A) "as_slices" (as_slices T A). Admitted. Global Typeclasses Opaque as_slices. @@ -8196,7 +8207,7 @@ Module collections. Global Instance AssociatedFunction_as_mut_slices : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_mut_slices" (as_mut_slices T A). + M.IsAssociatedFunction.C (Self T A) "as_mut_slices" (as_mut_slices T A). Admitted. Global Typeclasses Opaque as_mut_slices. @@ -8223,7 +8234,7 @@ Module collections. Global Instance AssociatedFunction_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "len" (len T A). + M.IsAssociatedFunction.C (Self T A) "len" (len T A). Admitted. Global Typeclasses Opaque len. @@ -8253,7 +8264,7 @@ Module collections. Global Instance AssociatedFunction_is_empty : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_empty" (is_empty T A). + M.IsAssociatedFunction.C (Self T A) "is_empty" (is_empty T A). Admitted. Global Typeclasses Opaque is_empty. @@ -8528,7 +8539,7 @@ Module collections. Global Instance AssociatedFunction_slice_ranges : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "slice_ranges" (slice_ranges T A). + M.IsAssociatedFunction.C (Self T A) "slice_ranges" (slice_ranges T A). Admitted. Global Typeclasses Opaque slice_ranges. @@ -8685,7 +8696,7 @@ Module collections. Global Instance AssociatedFunction_range : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "range" (range T A). + M.IsAssociatedFunction.C (Self T A) "range" (range T A). Admitted. Global Typeclasses Opaque range. @@ -8866,7 +8877,7 @@ Module collections. Global Instance AssociatedFunction_range_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "range_mut" (range_mut T A). + M.IsAssociatedFunction.C (Self T A) "range_mut" (range_mut T A). Admitted. Global Typeclasses Opaque range_mut. @@ -8992,7 +9003,7 @@ Module collections. Global Instance AssociatedFunction_drain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "drain" (drain T A). + M.IsAssociatedFunction.C (Self T A) "drain" (drain T A). Admitted. Global Typeclasses Opaque drain. @@ -9044,7 +9055,7 @@ Module collections. Global Instance AssociatedFunction_clear : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "clear" (clear T A). + M.IsAssociatedFunction.C (Self T A) "clear" (clear T A). Admitted. Global Typeclasses Opaque clear. @@ -9129,7 +9140,7 @@ Module collections. Global Instance AssociatedFunction_contains : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "contains" (contains T A). + M.IsAssociatedFunction.C (Self T A) "contains" (contains T A). Admitted. Global Typeclasses Opaque contains. @@ -9162,7 +9173,7 @@ Module collections. Global Instance AssociatedFunction_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front" (front T A). + M.IsAssociatedFunction.C (Self T A) "front" (front T A). Admitted. Global Typeclasses Opaque front. @@ -9195,7 +9206,7 @@ Module collections. Global Instance AssociatedFunction_front_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "front_mut" (front_mut T A). + M.IsAssociatedFunction.C (Self T A) "front_mut" (front_mut T A). Admitted. Global Typeclasses Opaque front_mut. @@ -9241,7 +9252,7 @@ Module collections. Global Instance AssociatedFunction_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back" (back T A). + M.IsAssociatedFunction.C (Self T A) "back" (back T A). Admitted. Global Typeclasses Opaque back. @@ -9287,7 +9298,7 @@ Module collections. Global Instance AssociatedFunction_back_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "back_mut" (back_mut T A). + M.IsAssociatedFunction.C (Self T A) "back_mut" (back_mut T A). Admitted. Global Typeclasses Opaque back_mut. @@ -9449,7 +9460,7 @@ Module collections. Global Instance AssociatedFunction_pop_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_front" (pop_front T A). + M.IsAssociatedFunction.C (Self T A) "pop_front" (pop_front T A). Admitted. Global Typeclasses Opaque pop_front. @@ -9599,7 +9610,7 @@ Module collections. Global Instance AssociatedFunction_pop_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_back" (pop_back T A). + M.IsAssociatedFunction.C (Self T A) "pop_back" (pop_back T A). Admitted. Global Typeclasses Opaque pop_back. @@ -9750,7 +9761,7 @@ Module collections. Global Instance AssociatedFunction_push_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_front" (push_front T A). + M.IsAssociatedFunction.C (Self T A) "push_front" (push_front T A). Admitted. Global Typeclasses Opaque push_front. @@ -9874,7 +9885,7 @@ Module collections. Global Instance AssociatedFunction_push_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_back" (push_back T A). + M.IsAssociatedFunction.C (Self T A) "push_back" (push_back T A). Admitted. Global Typeclasses Opaque push_back. @@ -9928,7 +9939,7 @@ Module collections. Global Instance AssociatedFunction_is_contiguous : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_contiguous" (is_contiguous T A). + M.IsAssociatedFunction.C (Self T A) "is_contiguous" (is_contiguous T A). Admitted. Global Typeclasses Opaque is_contiguous. @@ -10062,7 +10073,7 @@ Module collections. Global Instance AssociatedFunction_swap_remove_front : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "swap_remove_front" (swap_remove_front T A). + M.IsAssociatedFunction.C (Self T A) "swap_remove_front" (swap_remove_front T A). Admitted. Global Typeclasses Opaque swap_remove_front. @@ -10205,7 +10216,7 @@ Module collections. Global Instance AssociatedFunction_swap_remove_back : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "swap_remove_back" (swap_remove_back T A). + M.IsAssociatedFunction.C (Self T A) "swap_remove_back" (swap_remove_back T A). Admitted. Global Typeclasses Opaque swap_remove_back. @@ -10617,7 +10628,7 @@ Module collections. Global Instance AssociatedFunction_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert" (insert T A). + M.IsAssociatedFunction.C (Self T A) "insert" (insert T A). Admitted. Global Typeclasses Opaque insert. @@ -10914,7 +10925,7 @@ Module collections. Global Instance AssociatedFunction_remove : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove" (remove T A). + M.IsAssociatedFunction.C (Self T A) "remove" (remove T A). Admitted. Global Typeclasses Opaque remove. @@ -11366,7 +11377,7 @@ Module collections. Global Instance AssociatedFunction_split_off : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_off" (split_off T A). + M.IsAssociatedFunction.C (Self T A) "split_off" (split_off T A). Admitted. Global Typeclasses Opaque split_off. @@ -11412,7 +11423,11 @@ Module collections. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11723,7 +11738,7 @@ Module collections. Global Instance AssociatedFunction_append : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "append" (append T A). + M.IsAssociatedFunction.C (Self T A) "append" (append T A). Admitted. Global Typeclasses Opaque append. @@ -11811,7 +11826,7 @@ Module collections. Global Instance AssociatedFunction_retain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain" (retain T A). + M.IsAssociatedFunction.C (Self T A) "retain" (retain T A). Admitted. Global Typeclasses Opaque retain. @@ -12220,7 +12235,7 @@ Module collections. Global Instance AssociatedFunction_retain_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain_mut" (retain_mut T A). + M.IsAssociatedFunction.C (Self T A) "retain_mut" (retain_mut T A). Admitted. Global Typeclasses Opaque retain_mut. @@ -12431,7 +12446,7 @@ Module collections. Global Instance AssociatedFunction_grow : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "grow" (grow T A). + M.IsAssociatedFunction.C (Self T A) "grow" (grow T A). Admitted. Global Typeclasses Opaque grow. @@ -12576,7 +12591,7 @@ Module collections. Global Instance AssociatedFunction_resize_with : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "resize_with" (resize_with T A). + M.IsAssociatedFunction.C (Self T A) "resize_with" (resize_with T A). Admitted. Global Typeclasses Opaque resize_with. @@ -12729,7 +12744,11 @@ Module collections. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ : Ty.tuple [] := @@ -13476,7 +13495,7 @@ Module collections. Global Instance AssociatedFunction_make_contiguous : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "make_contiguous" (make_contiguous T A). + M.IsAssociatedFunction.C (Self T A) "make_contiguous" (make_contiguous T A). Admitted. Global Typeclasses Opaque make_contiguous. @@ -13620,7 +13639,7 @@ Module collections. Global Instance AssociatedFunction_rotate_left : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "rotate_left" (rotate_left T A). + M.IsAssociatedFunction.C (Self T A) "rotate_left" (rotate_left T A). Admitted. Global Typeclasses Opaque rotate_left. @@ -13764,7 +13783,7 @@ Module collections. Global Instance AssociatedFunction_rotate_right : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "rotate_right" (rotate_right T A). + M.IsAssociatedFunction.C (Self T A) "rotate_right" (rotate_right T A). Admitted. Global Typeclasses Opaque rotate_right. @@ -13936,7 +13955,7 @@ Module collections. Global Instance AssociatedFunction_rotate_left_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "rotate_left_inner" (rotate_left_inner T A). + M.IsAssociatedFunction.C (Self T A) "rotate_left_inner" (rotate_left_inner T A). Admitted. Global Typeclasses Opaque rotate_left_inner. @@ -14110,7 +14129,7 @@ Module collections. Global Instance AssociatedFunction_rotate_right_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "rotate_right_inner" (rotate_right_inner T A). + M.IsAssociatedFunction.C (Self T A) "rotate_right_inner" (rotate_right_inner T A). Admitted. Global Typeclasses Opaque rotate_right_inner. @@ -14191,7 +14210,7 @@ Module collections. Global Instance AssociatedFunction_binary_search : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "binary_search" (binary_search T A). + M.IsAssociatedFunction.C (Self T A) "binary_search" (binary_search T A). Admitted. Global Typeclasses Opaque binary_search. @@ -14582,7 +14601,7 @@ Module collections. Global Instance AssociatedFunction_binary_search_by : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "binary_search_by" (binary_search_by T A). + M.IsAssociatedFunction.C (Self T A) "binary_search_by" (binary_search_by T A). Admitted. Global Typeclasses Opaque binary_search_by. @@ -14691,7 +14710,7 @@ Module collections. Global Instance AssociatedFunction_binary_search_by_key : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "binary_search_by_key" (binary_search_by_key T A). + M.IsAssociatedFunction.C (Self T A) "binary_search_by_key" (binary_search_by_key T A). Admitted. Global Typeclasses Opaque binary_search_by_key. @@ -14918,7 +14937,7 @@ Module collections. Global Instance AssociatedFunction_partition_point : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "partition_point" (partition_point T A). + M.IsAssociatedFunction.C (Self T A) "partition_point" (partition_point T A). Admitted. Global Typeclasses Opaque partition_point. (* @@ -15045,7 +15064,7 @@ Module collections. Global Instance AssociatedFunction_resize : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "resize" (resize T A). + M.IsAssociatedFunction.C (Self T A) "resize" (resize T A). Admitted. Global Typeclasses Opaque resize. End Impl_alloc_collections_vec_deque_VecDeque_T_A. @@ -15096,7 +15115,7 @@ Module collections. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -15137,7 +15156,7 @@ Module collections. Global Instance AssociatedFunction_with_capacity : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_capacity" (with_capacity T). + M.IsAssociatedFunction.C (Self T) "with_capacity" (with_capacity T). Admitted. Global Typeclasses Opaque with_capacity. @@ -15320,7 +15339,7 @@ Module collections. Global Instance AssociatedFunction_try_with_capacity : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_with_capacity" (try_with_capacity T). + M.IsAssociatedFunction.C (Self T) "try_with_capacity" (try_with_capacity T). Admitted. Global Typeclasses Opaque try_with_capacity. End Impl_alloc_collections_vec_deque_VecDeque_T_alloc_alloc_Global. @@ -15443,7 +15462,7 @@ Module collections. end. Global Instance Instance_IsFunction_wrap_index : - M.IsFunction.Trait "alloc::collections::vec_deque::wrap_index" wrap_index. + M.IsFunction.C "alloc::collections::vec_deque::wrap_index" wrap_index. Admitted. Global Typeclasses Opaque wrap_index. @@ -19494,7 +19513,11 @@ Module collections. [], [] |), - [ M.read (| M.get_constant "alloc::collections::vec_deque::N" |) ] + [ + M.read (| + get_constant (| "alloc::collections::vec_deque::N", Ty.path "usize" |) + |) + ] |) |) in let~ arr : @@ -19531,7 +19554,12 @@ Module collections. M.use (M.alloc (| UnOp.not (| - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) |) |)) in let _ := @@ -19594,7 +19622,12 @@ Module collections. |), [ M.borrow (| Pointer.Kind.Ref, deq |) ] |); - M.read (| M.get_constant "alloc::collections::vec_deque::N" |) + M.read (| + get_constant (| + "alloc::collections::vec_deque::N", + Ty.path "usize" + |) + |) ] |) |) in @@ -19621,7 +19654,9 @@ Module collections. "alloc::collections::vec_deque::VecDeque", "len" |), - M.read (| M.get_constant "alloc::collections::vec_deque::N" |) + M.read (| + get_constant (| "alloc::collections::vec_deque::N", Ty.path "usize" |) + |) |) |) in deq diff --git a/CoqOfRust/alloc/ffi/c_str.v b/CoqOfRust/alloc/ffi/c_str.v index 7e8a39bfe..25945d3f4 100644 --- a/CoqOfRust/alloc/ffi/c_str.v +++ b/CoqOfRust/alloc/ffi/c_str.v @@ -1393,7 +1393,7 @@ Module ffi. end. Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -1418,7 +1418,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_bytes : - M.IsAssociatedFunction.Trait Self "into_bytes" into_bytes. + M.IsAssociatedFunction.C Self "into_bytes" into_bytes. Admitted. Global Typeclasses Opaque into_bytes. End Impl_alloc_ffi_c_str_FromVecWithNulError. @@ -1811,7 +1811,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1964,7 +1964,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_vec_unchecked : - M.IsAssociatedFunction.Trait Self "from_vec_unchecked" from_vec_unchecked. + M.IsAssociatedFunction.C Self "from_vec_unchecked" from_vec_unchecked. Admitted. Global Typeclasses Opaque from_vec_unchecked. @@ -2044,7 +2044,7 @@ Module ffi. end. Global Instance AssociatedFunction__from_vec_unchecked : - M.IsAssociatedFunction.Trait Self "_from_vec_unchecked" _from_vec_unchecked. + M.IsAssociatedFunction.C Self "_from_vec_unchecked" _from_vec_unchecked. Admitted. Global Typeclasses Opaque _from_vec_unchecked. @@ -2145,7 +2145,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_raw : - M.IsAssociatedFunction.Trait Self "from_raw" from_raw. + M.IsAssociatedFunction.C Self "from_raw" from_raw. Admitted. Global Typeclasses Opaque from_raw. @@ -2196,7 +2196,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_raw : - M.IsAssociatedFunction.Trait Self "into_raw" into_raw. + M.IsAssociatedFunction.C Self "into_raw" into_raw. Admitted. Global Typeclasses Opaque into_raw. @@ -2326,7 +2326,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_string : - M.IsAssociatedFunction.Trait Self "into_string" into_string. + M.IsAssociatedFunction.C Self "into_string" into_string. Admitted. Global Typeclasses Opaque into_string. @@ -2547,7 +2547,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_bytes : - M.IsAssociatedFunction.Trait Self "into_bytes" into_bytes. + M.IsAssociatedFunction.C Self "into_bytes" into_bytes. Admitted. Global Typeclasses Opaque into_bytes. @@ -2592,7 +2592,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_bytes_with_nul : - M.IsAssociatedFunction.Trait Self "into_bytes_with_nul" into_bytes_with_nul. + M.IsAssociatedFunction.C Self "into_bytes_with_nul" into_bytes_with_nul. Admitted. Global Typeclasses Opaque into_bytes_with_nul. @@ -2670,7 +2670,7 @@ Module ffi. end. Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -2705,7 +2705,7 @@ Module ffi. end. Global Instance AssociatedFunction_as_bytes_with_nul : - M.IsAssociatedFunction.Trait Self "as_bytes_with_nul" as_bytes_with_nul. + M.IsAssociatedFunction.C Self "as_bytes_with_nul" as_bytes_with_nul. Admitted. Global Typeclasses Opaque as_bytes_with_nul. @@ -2746,7 +2746,7 @@ Module ffi. end. Global Instance AssociatedFunction_as_c_str : - M.IsAssociatedFunction.Trait Self "as_c_str" as_c_str. + M.IsAssociatedFunction.C Self "as_c_str" as_c_str. Admitted. Global Typeclasses Opaque as_c_str. @@ -2816,7 +2816,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_boxed_c_str : - M.IsAssociatedFunction.Trait Self "into_boxed_c_str" into_boxed_c_str. + M.IsAssociatedFunction.C Self "into_boxed_c_str" into_boxed_c_str. Admitted. Global Typeclasses Opaque into_boxed_c_str. @@ -2918,7 +2918,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -3088,7 +3088,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_vec_with_nul_unchecked : - M.IsAssociatedFunction.Trait Self "from_vec_with_nul_unchecked" from_vec_with_nul_unchecked. + M.IsAssociatedFunction.C Self "from_vec_with_nul_unchecked" from_vec_with_nul_unchecked. Admitted. Global Typeclasses Opaque from_vec_with_nul_unchecked. @@ -3134,10 +3134,7 @@ Module ffi. end. Global Instance AssociatedFunction__from_vec_with_nul_unchecked : - M.IsAssociatedFunction.Trait - Self - "_from_vec_with_nul_unchecked" - _from_vec_with_nul_unchecked. + M.IsAssociatedFunction.C Self "_from_vec_with_nul_unchecked" _from_vec_with_nul_unchecked. Admitted. Global Typeclasses Opaque _from_vec_with_nul_unchecked. @@ -3314,7 +3311,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_vec_with_nul : - M.IsAssociatedFunction.Trait Self "from_vec_with_nul" from_vec_with_nul. + M.IsAssociatedFunction.C Self "from_vec_with_nul" from_vec_with_nul. Admitted. Global Typeclasses Opaque from_vec_with_nul. End Impl_alloc_ffi_c_str_CString. @@ -5278,7 +5275,7 @@ Module ffi. end. Global Instance AssociatedFunction_nul_position : - M.IsAssociatedFunction.Trait Self "nul_position" nul_position. + M.IsAssociatedFunction.C Self "nul_position" nul_position. Admitted. Global Typeclasses Opaque nul_position. @@ -5299,7 +5296,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_vec : - M.IsAssociatedFunction.Trait Self "into_vec" into_vec. + M.IsAssociatedFunction.C Self "into_vec" into_vec. Admitted. Global Typeclasses Opaque into_vec. End Impl_alloc_ffi_c_str_NulError. @@ -5604,7 +5601,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_cstring : - M.IsAssociatedFunction.Trait Self "into_cstring" into_cstring. + M.IsAssociatedFunction.C Self "into_cstring" into_cstring. Admitted. Global Typeclasses Opaque into_cstring. @@ -5629,7 +5626,7 @@ Module ffi. end. Global Instance AssociatedFunction_utf8_error : - M.IsAssociatedFunction.Trait Self "utf8_error" utf8_error. + M.IsAssociatedFunction.C Self "utf8_error" utf8_error. Admitted. Global Typeclasses Opaque utf8_error. (* @@ -5650,7 +5647,7 @@ Module ffi. end. Global Instance AssociatedFunction_description : - M.IsAssociatedFunction.Trait Self "description" description. + M.IsAssociatedFunction.C Self "description" description. Admitted. Global Typeclasses Opaque description. End Impl_alloc_ffi_c_str_IntoStringError. @@ -6108,7 +6105,7 @@ Module ffi. end. Global Instance AssociatedFunction_to_string_lossy : - M.IsAssociatedFunction.Trait Self "to_string_lossy" to_string_lossy. + M.IsAssociatedFunction.C Self "to_string_lossy" to_string_lossy. Admitted. Global Typeclasses Opaque to_string_lossy. @@ -6144,7 +6141,7 @@ Module ffi. end. Global Instance AssociatedFunction_into_c_string : - M.IsAssociatedFunction.Trait Self "into_c_string" into_c_string. + M.IsAssociatedFunction.C Self "into_c_string" into_c_string. Admitted. Global Typeclasses Opaque into_c_string. End Impl_core_ffi_c_str_CStr. diff --git a/CoqOfRust/alloc/fmt.v b/CoqOfRust/alloc/fmt.v index c9724f2e0..8f6cd3865 100644 --- a/CoqOfRust/alloc/fmt.v +++ b/CoqOfRust/alloc/fmt.v @@ -82,7 +82,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_format : M.IsFunction.Trait "alloc::fmt::format" format. + Global Instance Instance_IsFunction_format : M.IsFunction.C "alloc::fmt::format" format. Admitted. Global Typeclasses Opaque format. @@ -176,7 +176,7 @@ Module fmt. end. Global Instance Instance_IsFunction_format_inner : - M.IsFunction.Trait "alloc::fmt::format::format_inner" format_inner. + M.IsFunction.C "alloc::fmt::format::format_inner" format_inner. Admitted. Global Typeclasses Opaque format_inner. End format. diff --git a/CoqOfRust/alloc/raw_vec.v b/CoqOfRust/alloc/raw_vec.v index d49ecc51b..e44347423 100644 --- a/CoqOfRust/alloc/raw_vec.v +++ b/CoqOfRust/alloc/raw_vec.v @@ -41,7 +41,7 @@ Module raw_vec. end. Global Instance Instance_IsFunction_capacity_overflow : - M.IsFunction.Trait "alloc::raw_vec::capacity_overflow" capacity_overflow. + M.IsFunction.C "alloc::raw_vec::capacity_overflow" capacity_overflow. Admitted. Global Typeclasses Opaque capacity_overflow. @@ -81,15 +81,13 @@ Module raw_vec. (* const ZERO: Cap = unsafe { Cap(0) }; *) (* Ty.path "alloc::raw_vec::Cap" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "alloc::raw_vec::Cap" [ Value.Integer IntegerKind.Usize 0 ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "alloc::raw_vec::Cap" [ Value.Integer IntegerKind.Usize 0 ] + |))). - Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + Global Instance AssociatedConstant_value_ZERO : M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. @@ -110,9 +108,18 @@ Module raw_vec. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "alloc::raw_vec::ZERO")); + get_associated_constant (| + Ty.path "alloc::raw_vec::Cap", + "ZERO", + Ty.path "alloc::raw_vec::Cap" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.StructTuple "alloc::raw_vec::Cap" [ M.read (| cap |) ] |))) @@ -122,7 +129,7 @@ Module raw_vec. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_alloc_raw_vec_Cap. @@ -181,7 +188,7 @@ Module raw_vec. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -216,7 +223,12 @@ Module raw_vec. |), [ M.read (| capacity |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) @@ -226,7 +238,7 @@ Module raw_vec. Global Instance AssociatedFunction_with_capacity : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_capacity" (with_capacity T). + M.IsAssociatedFunction.C (Self T) "with_capacity" (with_capacity T). Admitted. Global Typeclasses Opaque with_capacity. @@ -270,7 +282,12 @@ Module raw_vec. [ M.read (| capacity |); Value.StructTuple "alloc::alloc::Global" []; - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) @@ -280,7 +297,7 @@ Module raw_vec. Global Instance AssociatedFunction_with_capacity_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_capacity_zeroed" (with_capacity_zeroed T). + M.IsAssociatedFunction.C (Self T) "with_capacity_zeroed" (with_capacity_zeroed T). Admitted. Global Typeclasses Opaque with_capacity_zeroed. End Impl_alloc_raw_vec_RawVec_T_alloc_alloc_Global. @@ -367,7 +384,7 @@ Module raw_vec. end. Global Instance AssociatedFunction_with_capacity : - M.IsAssociatedFunction.Trait Self "with_capacity" with_capacity. + M.IsAssociatedFunction.C Self "with_capacity" with_capacity. Admitted. Global Typeclasses Opaque with_capacity. End Impl_alloc_raw_vec_RawVecInner_alloc_alloc_Global. @@ -431,7 +448,7 @@ Module raw_vec. end. Global Instance Instance_IsFunction_min_non_zero_cap : - M.IsFunction.Trait "alloc::raw_vec::min_non_zero_cap" min_non_zero_cap. + M.IsFunction.C "alloc::raw_vec::min_non_zero_cap" min_non_zero_cap. Admitted. Global Typeclasses Opaque min_non_zero_cap. @@ -440,27 +457,31 @@ Module raw_vec. (* pub(crate) const MIN_NON_ZERO_CAP: usize = min_non_zero_cap(size_of::()); *) (* Ty.path "usize" *) - Definition value_MIN_NON_ZERO_CAP (T A : Ty.t) : Value.t := + Definition value_MIN_NON_ZERO_CAP + (T A : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T A in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_function (| "alloc::raw_vec::min_non_zero_cap", [], [] |), - [ - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::size_of", [], [ T ] |), - [] - |) - ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_function (| "alloc::raw_vec::min_non_zero_cap", [], [] |), + [ + M.call_closure (| + Ty.path "usize", + M.get_function (| "core::mem::size_of", [], [ T ] |), + [] + |) + ] + |) + |))). Global Instance AssociatedConstant_value_MIN_NON_ZERO_CAP : forall (T A : Ty.t), - M.IsAssociatedConstant.Trait (Self T A) "value_MIN_NON_ZERO_CAP" (value_MIN_NON_ZERO_CAP T A). + M.IsAssociatedFunction.C (Self T A) "MIN_NON_ZERO_CAP" (value_MIN_NON_ZERO_CAP T A). Admitted. Global Typeclasses Opaque value_MIN_NON_ZERO_CAP. @@ -503,7 +524,7 @@ Module raw_vec. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -542,7 +563,12 @@ Module raw_vec. [ M.read (| capacity |); M.read (| alloc |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) @@ -552,7 +578,7 @@ Module raw_vec. Global Instance AssociatedFunction_with_capacity_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "with_capacity_in" (with_capacity_in T A). + M.IsAssociatedFunction.C (Self T A) "with_capacity_in" (with_capacity_in T A). Admitted. Global Typeclasses Opaque with_capacity_in. @@ -604,7 +630,12 @@ Module raw_vec. [ M.read (| capacity |); M.read (| alloc |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |) |), @@ -640,7 +671,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_with_capacity_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_with_capacity_in" (try_with_capacity_in T A). + M.IsAssociatedFunction.C (Self T A) "try_with_capacity_in" (try_with_capacity_in T A). Admitted. Global Typeclasses Opaque try_with_capacity_in. @@ -679,7 +710,12 @@ Module raw_vec. [ M.read (| capacity |); M.read (| alloc |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |)); ("_marker", Value.StructTuple "core::marker::PhantomData" []) @@ -689,10 +725,7 @@ Module raw_vec. Global Instance AssociatedFunction_with_capacity_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "with_capacity_zeroed_in" - (with_capacity_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "with_capacity_zeroed_in" (with_capacity_zeroed_in T A). Admitted. Global Typeclasses Opaque with_capacity_zeroed_in. @@ -981,7 +1014,7 @@ Module raw_vec. Global Instance AssociatedFunction_into_box : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_box" (into_box T A). + M.IsAssociatedFunction.C (Self T A) "into_box" (into_box T A). Admitted. Global Typeclasses Opaque into_box. @@ -1057,7 +1090,7 @@ Module raw_vec. Global Instance AssociatedFunction_from_raw_parts_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_parts_in" (from_raw_parts_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_parts_in" (from_raw_parts_in T A). Admitted. Global Typeclasses Opaque from_raw_parts_in. @@ -1130,7 +1163,7 @@ Module raw_vec. Global Instance AssociatedFunction_from_nonnull_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_nonnull_in" (from_nonnull_in T A). + M.IsAssociatedFunction.C (Self T A) "from_nonnull_in" (from_nonnull_in T A). Admitted. Global Typeclasses Opaque from_nonnull_in. @@ -1169,7 +1202,7 @@ Module raw_vec. Global Instance AssociatedFunction_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "ptr" (ptr T A). + M.IsAssociatedFunction.C (Self T A) "ptr" (ptr T A). Admitted. Global Typeclasses Opaque ptr. @@ -1208,7 +1241,7 @@ Module raw_vec. Global Instance AssociatedFunction_non_null : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "non_null" (non_null T A). + M.IsAssociatedFunction.C (Self T A) "non_null" (non_null T A). Admitted. Global Typeclasses Opaque non_null. @@ -1252,7 +1285,7 @@ Module raw_vec. Global Instance AssociatedFunction_capacity : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "capacity" (capacity T A). + M.IsAssociatedFunction.C (Self T A) "capacity" (capacity T A). Admitted. Global Typeclasses Opaque capacity. @@ -1296,7 +1329,7 @@ Module raw_vec. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -1332,7 +1365,12 @@ Module raw_vec. |); M.read (| len |); M.read (| additional |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1340,7 +1378,7 @@ Module raw_vec. Global Instance AssociatedFunction_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve" (reserve T A). + M.IsAssociatedFunction.C (Self T A) "reserve" (reserve T A). Admitted. Global Typeclasses Opaque reserve. @@ -1372,7 +1410,12 @@ Module raw_vec. "inner" |) |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1380,7 +1423,7 @@ Module raw_vec. Global Instance AssociatedFunction_grow_one : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "grow_one" (grow_one T A). + M.IsAssociatedFunction.C (Self T A) "grow_one" (grow_one T A). Admitted. Global Typeclasses Opaque grow_one. @@ -1419,7 +1462,12 @@ Module raw_vec. |); M.read (| len |); M.read (| additional |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1427,7 +1475,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve" (try_reserve T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve" (try_reserve T A). Admitted. Global Typeclasses Opaque try_reserve. @@ -1468,7 +1516,12 @@ Module raw_vec. |); M.read (| len |); M.read (| additional |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1476,7 +1529,7 @@ Module raw_vec. Global Instance AssociatedFunction_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve_exact" (reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "reserve_exact" (reserve_exact T A). Admitted. Global Typeclasses Opaque reserve_exact. @@ -1524,7 +1577,12 @@ Module raw_vec. |); M.read (| len |); M.read (| additional |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1532,7 +1590,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve_exact" (try_reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve_exact" (try_reserve_exact T A). Admitted. Global Typeclasses Opaque try_reserve_exact. @@ -1571,7 +1629,12 @@ Module raw_vec. |) |); M.read (| cap |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1579,7 +1642,7 @@ Module raw_vec. Global Instance AssociatedFunction_shrink_to_fit : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to_fit" (shrink_to_fit T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to_fit" (shrink_to_fit T A). Admitted. Global Typeclasses Opaque shrink_to_fit. End Impl_alloc_raw_vec_RawVec_T_A. @@ -1616,7 +1679,12 @@ Module raw_vec. "inner" |) |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -1670,7 +1738,14 @@ Module raw_vec. "alloc::raw_vec::RawVecInner" [ ("ptr", M.read (| ptr |)); - ("cap", M.read (| M.get_constant "alloc::raw_vec::ZERO" |)); + ("cap", + M.read (| + get_associated_constant (| + Ty.path "alloc::raw_vec::Cap", + "ZERO", + Ty.path "alloc::raw_vec::Cap" + |) + |)); ("alloc", M.read (| alloc |)) ] |) @@ -1680,7 +1755,7 @@ Module raw_vec. Global Instance AssociatedFunction_new_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "new_in" (new_in A). + M.IsAssociatedFunction.C (Self A) "new_in" (new_in A). Admitted. Global Typeclasses Opaque new_in. @@ -1794,7 +1869,7 @@ Module raw_vec. Global Instance AssociatedFunction_with_capacity_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "with_capacity_in" (with_capacity_in A). + M.IsAssociatedFunction.C (Self A) "with_capacity_in" (with_capacity_in A). Admitted. Global Typeclasses Opaque with_capacity_in. @@ -1846,7 +1921,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_with_capacity_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "try_with_capacity_in" (try_with_capacity_in A). + M.IsAssociatedFunction.C (Self A) "try_with_capacity_in" (try_with_capacity_in A). Admitted. Global Typeclasses Opaque try_with_capacity_in. @@ -1926,7 +2001,7 @@ Module raw_vec. Global Instance AssociatedFunction_with_capacity_zeroed_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "with_capacity_zeroed_in" (with_capacity_zeroed_in A). + M.IsAssociatedFunction.C (Self A) "with_capacity_zeroed_in" (with_capacity_zeroed_in A). Admitted. Global Typeclasses Opaque with_capacity_zeroed_in. @@ -2376,7 +2451,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_allocate_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "try_allocate_in" (try_allocate_in A). + M.IsAssociatedFunction.C (Self A) "try_allocate_in" (try_allocate_in A). Admitted. Global Typeclasses Opaque try_allocate_in. @@ -2420,7 +2495,7 @@ Module raw_vec. Global Instance AssociatedFunction_from_raw_parts_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "from_raw_parts_in" (from_raw_parts_in A). + M.IsAssociatedFunction.C (Self A) "from_raw_parts_in" (from_raw_parts_in A). Admitted. Global Typeclasses Opaque from_raw_parts_in. @@ -2467,7 +2542,7 @@ Module raw_vec. Global Instance AssociatedFunction_from_nonnull_in : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "from_nonnull_in" (from_nonnull_in A). + M.IsAssociatedFunction.C (Self A) "from_nonnull_in" (from_nonnull_in A). Admitted. Global Typeclasses Opaque from_nonnull_in. @@ -2508,7 +2583,7 @@ Module raw_vec. Global Instance AssociatedFunction_ptr : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "ptr" (ptr A). + M.IsAssociatedFunction.C (Self A) "ptr" (ptr A). Admitted. Global Typeclasses Opaque ptr. @@ -2557,7 +2632,7 @@ Module raw_vec. Global Instance AssociatedFunction_non_null : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "non_null" (non_null A). + M.IsAssociatedFunction.C (Self A) "non_null" (non_null A). Admitted. Global Typeclasses Opaque non_null. @@ -2586,7 +2661,7 @@ Module raw_vec. BinOp.eq (| M.read (| elem_size |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))); fun γ => ltac:(M.monadic (M.SubPointer.get_struct_tuple_field (| @@ -2606,7 +2681,7 @@ Module raw_vec. Global Instance AssociatedFunction_capacity : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "capacity" (capacity A). + M.IsAssociatedFunction.C (Self A) "capacity" (capacity A). Admitted. Global Typeclasses Opaque capacity. @@ -2639,7 +2714,7 @@ Module raw_vec. Global Instance AssociatedFunction_allocator : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "allocator" (allocator A). + M.IsAssociatedFunction.C (Self A) "allocator" (allocator A). Admitted. Global Typeclasses Opaque allocator. @@ -2832,7 +2907,7 @@ Module raw_vec. Global Instance AssociatedFunction_current_memory : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "current_memory" (current_memory A). + M.IsAssociatedFunction.C (Self A) "current_memory" (current_memory A). Admitted. Global Typeclasses Opaque current_memory. @@ -2923,7 +2998,7 @@ Module raw_vec. Global Instance AssociatedFunction_reserve : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "reserve" (reserve A). + M.IsAssociatedFunction.C (Self A) "reserve" (reserve A). Admitted. Global Typeclasses Opaque reserve. @@ -3000,7 +3075,7 @@ Module raw_vec. Global Instance AssociatedFunction_grow_one : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "grow_one" (grow_one A). + M.IsAssociatedFunction.C (Self A) "grow_one" (grow_one A). Admitted. Global Typeclasses Opaque grow_one. @@ -3224,7 +3299,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_reserve : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "try_reserve" (try_reserve A). + M.IsAssociatedFunction.C (Self A) "try_reserve" (try_reserve A). Admitted. Global Typeclasses Opaque try_reserve. @@ -3293,7 +3368,7 @@ Module raw_vec. Global Instance AssociatedFunction_reserve_exact : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "reserve_exact" (reserve_exact A). + M.IsAssociatedFunction.C (Self A) "reserve_exact" (reserve_exact A). Admitted. Global Typeclasses Opaque reserve_exact. @@ -3522,7 +3597,7 @@ Module raw_vec. Global Instance AssociatedFunction_try_reserve_exact : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "try_reserve_exact" (try_reserve_exact A). + M.IsAssociatedFunction.C (Self A) "try_reserve_exact" (try_reserve_exact A). Admitted. Global Typeclasses Opaque try_reserve_exact. @@ -3589,7 +3664,7 @@ Module raw_vec. Global Instance AssociatedFunction_shrink_to_fit : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "shrink_to_fit" (shrink_to_fit A). + M.IsAssociatedFunction.C (Self A) "shrink_to_fit" (shrink_to_fit A). Admitted. Global Typeclasses Opaque shrink_to_fit. @@ -3644,7 +3719,7 @@ Module raw_vec. Global Instance AssociatedFunction_needs_to_grow : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "needs_to_grow" (needs_to_grow A). + M.IsAssociatedFunction.C (Self A) "needs_to_grow" (needs_to_grow A). Admitted. Global Typeclasses Opaque needs_to_grow. @@ -3726,7 +3801,7 @@ Module raw_vec. Global Instance AssociatedFunction_set_ptr_and_cap : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "set_ptr_and_cap" (set_ptr_and_cap A). + M.IsAssociatedFunction.C (Self A) "set_ptr_and_cap" (set_ptr_and_cap A). Admitted. Global Typeclasses Opaque set_ptr_and_cap. @@ -4369,7 +4444,7 @@ Module raw_vec. Global Instance AssociatedFunction_grow_amortized : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "grow_amortized" (grow_amortized A). + M.IsAssociatedFunction.C (Self A) "grow_amortized" (grow_amortized A). Admitted. Global Typeclasses Opaque grow_amortized. @@ -4902,7 +4977,7 @@ Module raw_vec. Global Instance AssociatedFunction_grow_exact : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "grow_exact" (grow_exact A). + M.IsAssociatedFunction.C (Self A) "grow_exact" (grow_exact A). Admitted. Global Typeclasses Opaque grow_exact. @@ -5025,7 +5100,7 @@ Module raw_vec. Global Instance AssociatedFunction_shrink : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "shrink" (shrink A). + M.IsAssociatedFunction.C (Self A) "shrink" (shrink A). Admitted. Global Typeclasses Opaque shrink. @@ -5251,7 +5326,13 @@ Module raw_vec. "alloc::raw_vec::RawVecInner", "cap" |), - M.read (| M.get_constant "alloc::raw_vec::ZERO" |) + M.read (| + get_associated_constant (| + Ty.path "alloc::raw_vec::Cap", + "ZERO", + Ty.path "alloc::raw_vec::Cap" + |) + |) |) |) in M.alloc (| Value.Tuple [] |))); @@ -5587,7 +5668,7 @@ Module raw_vec. Global Instance AssociatedFunction_shrink_unchecked : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "shrink_unchecked" (shrink_unchecked A). + M.IsAssociatedFunction.C (Self A) "shrink_unchecked" (shrink_unchecked A). Admitted. Global Typeclasses Opaque shrink_unchecked. @@ -5689,7 +5770,7 @@ Module raw_vec. Global Instance AssociatedFunction_deallocate : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "deallocate" (deallocate A). + M.IsAssociatedFunction.C (Self A) "deallocate" (deallocate A). Admitted. Global Typeclasses Opaque deallocate. End Impl_alloc_raw_vec_RawVecInner_A. @@ -6215,7 +6296,7 @@ Module raw_vec. end. Global Instance Instance_IsFunction_finish_grow : - M.IsFunction.Trait "alloc::raw_vec::finish_grow" finish_grow. + M.IsFunction.C "alloc::raw_vec::finish_grow" finish_grow. Admitted. Global Typeclasses Opaque finish_grow. @@ -6285,7 +6366,7 @@ Module raw_vec. end. Global Instance Instance_IsFunction_handle_error : - M.IsFunction.Trait "alloc::raw_vec::handle_error" handle_error. + M.IsFunction.C "alloc::raw_vec::handle_error" handle_error. Admitted. Global Typeclasses Opaque handle_error. @@ -6319,7 +6400,9 @@ Module raw_vec. (M.alloc (| LogicalOp.and (| BinOp.lt (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 64 |), ltac:(M.monadic @@ -6327,7 +6410,13 @@ Module raw_vec. M.read (| alloc_size |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |)) |))) |) |)) in @@ -6365,7 +6454,7 @@ Module raw_vec. end. Global Instance Instance_IsFunction_alloc_guard : - M.IsFunction.Trait "alloc::raw_vec::alloc_guard" alloc_guard. + M.IsFunction.C "alloc::raw_vec::alloc_guard" alloc_guard. Admitted. Global Typeclasses Opaque alloc_guard. @@ -6518,7 +6607,7 @@ Module raw_vec. end. Global Instance Instance_IsFunction_layout_array : - M.IsFunction.Trait "alloc::raw_vec::layout_array" layout_array. + M.IsFunction.C "alloc::raw_vec::layout_array" layout_array. Admitted. Global Typeclasses Opaque layout_array. End raw_vec. diff --git a/CoqOfRust/alloc/rc.v b/CoqOfRust/alloc/rc.v index fe5a1499a..6aa728f81 100644 --- a/CoqOfRust/alloc/rc.v +++ b/CoqOfRust/alloc/rc.v @@ -106,9 +106,7 @@ Module rc. end. Global Instance Instance_IsFunction_rc_inner_layout_for_value_layout : - M.IsFunction.Trait - "alloc::rc::rc_inner_layout_for_value_layout" - rc_inner_layout_for_value_layout. + M.IsFunction.C "alloc::rc::rc_inner_layout_for_value_layout" rc_inner_layout_for_value_layout. Admitted. Global Typeclasses Opaque rc_inner_layout_for_value_layout. @@ -243,7 +241,7 @@ Module rc. Global Instance AssociatedFunction_from_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_inner" (from_inner T). + M.IsAssociatedFunction.C (Self T) "from_inner" (from_inner T). Admitted. Global Typeclasses Opaque from_inner. @@ -290,7 +288,7 @@ Module rc. Global Instance AssociatedFunction_from_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_ptr" (from_ptr T). + M.IsAssociatedFunction.C (Self T) "from_ptr" (from_ptr T). Admitted. Global Typeclasses Opaque from_ptr. (* @@ -432,7 +430,7 @@ Module rc. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -465,7 +463,7 @@ Module rc. Global Instance AssociatedFunction_new_cyclic : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_cyclic" (new_cyclic T). + M.IsAssociatedFunction.C (Self T) "new_cyclic" (new_cyclic T). Admitted. Global Typeclasses Opaque new_cyclic. @@ -640,7 +638,7 @@ Module rc. Global Instance AssociatedFunction_new_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_uninit" (new_uninit T). + M.IsAssociatedFunction.C (Self T) "new_uninit" (new_uninit T). Admitted. Global Typeclasses Opaque new_uninit. @@ -815,7 +813,7 @@ Module rc. Global Instance AssociatedFunction_new_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_zeroed" (new_zeroed T). + M.IsAssociatedFunction.C (Self T) "new_zeroed" (new_zeroed T). Admitted. Global Typeclasses Opaque new_zeroed. @@ -1119,7 +1117,7 @@ Module rc. Global Instance AssociatedFunction_try_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new" (try_new T). + M.IsAssociatedFunction.C (Self T) "try_new" (try_new T). Admitted. Global Typeclasses Opaque try_new. @@ -1508,7 +1506,7 @@ Module rc. Global Instance AssociatedFunction_try_new_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_uninit" (try_new_uninit T). + M.IsAssociatedFunction.C (Self T) "try_new_uninit" (try_new_uninit T). Admitted. Global Typeclasses Opaque try_new_uninit. @@ -1897,7 +1895,7 @@ Module rc. Global Instance AssociatedFunction_try_new_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_zeroed" (try_new_zeroed T). + M.IsAssociatedFunction.C (Self T) "try_new_zeroed" (try_new_zeroed T). Admitted. Global Typeclasses Opaque try_new_zeroed. @@ -1944,7 +1942,7 @@ Module rc. Global Instance AssociatedFunction_pin : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pin" (pin T). + M.IsAssociatedFunction.C (Self T) "pin" (pin T). Admitted. Global Typeclasses Opaque pin. (* @@ -1973,7 +1971,7 @@ Module rc. Global Instance AssociatedFunction_from_raw : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw" (from_raw T). + M.IsAssociatedFunction.C (Self T) "from_raw" (from_raw T). Admitted. Global Typeclasses Opaque from_raw. @@ -2008,7 +2006,7 @@ Module rc. Global Instance AssociatedFunction_increment_strong_count : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "increment_strong_count" (increment_strong_count T). + M.IsAssociatedFunction.C (Self T) "increment_strong_count" (increment_strong_count T). Admitted. Global Typeclasses Opaque increment_strong_count. @@ -2043,7 +2041,7 @@ Module rc. Global Instance AssociatedFunction_decrement_strong_count : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "decrement_strong_count" (decrement_strong_count T). + M.IsAssociatedFunction.C (Self T) "decrement_strong_count" (decrement_strong_count T). Admitted. Global Typeclasses Opaque decrement_strong_count. (* @@ -2177,7 +2175,7 @@ Module rc. Global Instance AssociatedFunction_allocate_for_layout : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "allocate_for_layout" (allocate_for_layout T). + M.IsAssociatedFunction.C (Self T) "allocate_for_layout" (allocate_for_layout T). Admitted. Global Typeclasses Opaque allocate_for_layout. @@ -2657,7 +2655,7 @@ Module rc. Global Instance AssociatedFunction_try_allocate_for_layout : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_allocate_for_layout" (try_allocate_for_layout T). + M.IsAssociatedFunction.C (Self T) "try_allocate_for_layout" (try_allocate_for_layout T). Admitted. Global Typeclasses Opaque try_allocate_for_layout. End Impl_alloc_rc_Rc_T_alloc_alloc_Global. @@ -2710,7 +2708,7 @@ Module rc. Global Instance AssociatedFunction_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "inner" (inner T A). + M.IsAssociatedFunction.C (Self T A) "inner" (inner T A). Admitted. Global Typeclasses Opaque inner. @@ -2832,7 +2830,7 @@ Module rc. Global Instance AssociatedFunction_into_inner_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "into_inner_with_allocator" (into_inner_with_allocator T A). @@ -2868,7 +2866,7 @@ Module rc. Global Instance AssociatedFunction_from_inner_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_inner_in" (from_inner_in T A). + M.IsAssociatedFunction.C (Self T A) "from_inner_in" (from_inner_in T A). Admitted. Global Typeclasses Opaque from_inner_in. @@ -2917,7 +2915,7 @@ Module rc. Global Instance AssociatedFunction_from_ptr_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_ptr_in" (from_ptr_in T A). + M.IsAssociatedFunction.C (Self T A) "from_ptr_in" (from_ptr_in T A). Admitted. Global Typeclasses Opaque from_ptr_in. @@ -3021,7 +3019,7 @@ Module rc. Global Instance AssociatedFunction_drop_slow : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "drop_slow" (drop_slow T A). + M.IsAssociatedFunction.C (Self T A) "drop_slow" (drop_slow T A). Admitted. Global Typeclasses Opaque drop_slow. (* @@ -3101,7 +3099,7 @@ Module rc. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -3275,7 +3273,7 @@ Module rc. Global Instance AssociatedFunction_new_uninit_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_uninit_in" (new_uninit_in T A). + M.IsAssociatedFunction.C (Self T A) "new_uninit_in" (new_uninit_in T A). Admitted. Global Typeclasses Opaque new_uninit_in. @@ -3449,7 +3447,7 @@ Module rc. Global Instance AssociatedFunction_new_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_zeroed_in" (new_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "new_zeroed_in" (new_zeroed_in T A). Admitted. Global Typeclasses Opaque new_zeroed_in. @@ -4054,7 +4052,7 @@ Module rc. Global Instance AssociatedFunction_new_cyclic_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_cyclic_in" (new_cyclic_in T A). + M.IsAssociatedFunction.C (Self T A) "new_cyclic_in" (new_cyclic_in T A). Admitted. Global Typeclasses Opaque new_cyclic_in. @@ -4338,7 +4336,7 @@ Module rc. Global Instance AssociatedFunction_try_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_in" (try_new_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_in" (try_new_in T A). Admitted. Global Typeclasses Opaque try_new_in. @@ -4719,7 +4717,7 @@ Module rc. Global Instance AssociatedFunction_try_new_uninit_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_uninit_in" (try_new_uninit_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_uninit_in" (try_new_uninit_in T A). Admitted. Global Typeclasses Opaque try_new_uninit_in. @@ -5100,7 +5098,7 @@ Module rc. Global Instance AssociatedFunction_try_new_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_zeroed_in" (try_new_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_zeroed_in" (try_new_zeroed_in T A). Admitted. Global Typeclasses Opaque try_new_zeroed_in. @@ -5151,7 +5149,7 @@ Module rc. Global Instance AssociatedFunction_pin_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pin_in" (pin_in T A). + M.IsAssociatedFunction.C (Self T A) "pin_in" (pin_in T A). Admitted. Global Typeclasses Opaque pin_in. @@ -5450,7 +5448,7 @@ Module rc. Global Instance AssociatedFunction_try_unwrap : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_unwrap" (try_unwrap T A). + M.IsAssociatedFunction.C (Self T A) "try_unwrap" (try_unwrap T A). Admitted. Global Typeclasses Opaque try_unwrap. @@ -5497,7 +5495,7 @@ Module rc. Global Instance AssociatedFunction_into_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_inner" (into_inner T A). + M.IsAssociatedFunction.C (Self T A) "into_inner" (into_inner T A). Admitted. Global Typeclasses Opaque into_inner. (* @@ -5529,7 +5527,7 @@ Module rc. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -5617,7 +5615,7 @@ Module rc. Global Instance AssociatedFunction_into_raw : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_raw" (into_raw T A). + M.IsAssociatedFunction.C (Self T A) "into_raw" (into_raw T A). Admitted. Global Typeclasses Opaque into_raw. @@ -5757,10 +5755,7 @@ Module rc. Global Instance AssociatedFunction_into_raw_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "into_raw_with_allocator" - (into_raw_with_allocator T A). + M.IsAssociatedFunction.C (Self T A) "into_raw_with_allocator" (into_raw_with_allocator T A). Admitted. Global Typeclasses Opaque into_raw_with_allocator. @@ -5824,7 +5819,7 @@ Module rc. Global Instance AssociatedFunction_as_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_ptr" (as_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_ptr" (as_ptr T A). Admitted. Global Typeclasses Opaque as_ptr. @@ -5891,7 +5886,7 @@ Module rc. Global Instance AssociatedFunction_from_raw_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_in" (from_raw_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_in" (from_raw_in T A). Admitted. Global Typeclasses Opaque from_raw_in. @@ -6078,7 +6073,7 @@ Module rc. Global Instance AssociatedFunction_downgrade : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "downgrade" (downgrade T A). + M.IsAssociatedFunction.C (Self T A) "downgrade" (downgrade T A). Admitted. Global Typeclasses Opaque downgrade. @@ -6133,7 +6128,7 @@ Module rc. Global Instance AssociatedFunction_weak_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "weak_count" (weak_count T A). + M.IsAssociatedFunction.C (Self T A) "weak_count" (weak_count T A). Admitted. Global Typeclasses Opaque weak_count. @@ -6187,7 +6182,7 @@ Module rc. Global Instance AssociatedFunction_strong_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "strong_count" (strong_count T A). + M.IsAssociatedFunction.C (Self T A) "strong_count" (strong_count T A). Admitted. Global Typeclasses Opaque strong_count. @@ -6282,7 +6277,7 @@ Module rc. Global Instance AssociatedFunction_increment_strong_count_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "increment_strong_count_in" (increment_strong_count_in T A). @@ -6337,7 +6332,7 @@ Module rc. Global Instance AssociatedFunction_decrement_strong_count_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "decrement_strong_count_in" (decrement_strong_count_in T A). @@ -6389,7 +6384,7 @@ Module rc. Global Instance AssociatedFunction_is_unique : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_unique" (is_unique T A). + M.IsAssociatedFunction.C (Self T A) "is_unique" (is_unique T A). Admitted. Global Typeclasses Opaque is_unique. @@ -6466,7 +6461,7 @@ Module rc. Global Instance AssociatedFunction_get_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_mut" (get_mut T A). + M.IsAssociatedFunction.C (Self T A) "get_mut" (get_mut T A). Admitted. Global Typeclasses Opaque get_mut. @@ -6541,7 +6536,7 @@ Module rc. Global Instance AssociatedFunction_get_mut_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_mut_unchecked" (get_mut_unchecked T A). + M.IsAssociatedFunction.C (Self T A) "get_mut_unchecked" (get_mut_unchecked T A). Admitted. Global Typeclasses Opaque get_mut_unchecked. @@ -6621,7 +6616,7 @@ Module rc. Global Instance AssociatedFunction_ptr_eq : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "ptr_eq" (ptr_eq T A). + M.IsAssociatedFunction.C (Self T A) "ptr_eq" (ptr_eq T A). Admitted. Global Typeclasses Opaque ptr_eq. (* @@ -7261,7 +7256,7 @@ Module rc. Global Instance AssociatedFunction_make_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "make_mut" (make_mut T A). + M.IsAssociatedFunction.C (Self T A) "make_mut" (make_mut T A). Admitted. Global Typeclasses Opaque make_mut. (* @@ -7364,7 +7359,7 @@ Module rc. Global Instance AssociatedFunction_unwrap_or_clone : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "unwrap_or_clone" (unwrap_or_clone T A). + M.IsAssociatedFunction.C (Self T A) "unwrap_or_clone" (unwrap_or_clone T A). Admitted. Global Typeclasses Opaque unwrap_or_clone. (* @@ -7537,7 +7532,7 @@ Module rc. Global Instance AssociatedFunction_allocate_for_ptr_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocate_for_ptr_in" (allocate_for_ptr_in T A). + M.IsAssociatedFunction.C (Self T A) "allocate_for_ptr_in" (allocate_for_ptr_in T A). Admitted. Global Typeclasses Opaque allocate_for_ptr_in. @@ -7773,7 +7768,7 @@ Module rc. Global Instance AssociatedFunction_from_box_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_box_in" (from_box_in T A). + M.IsAssociatedFunction.C (Self T A) "from_box_in" (from_box_in T A). Admitted. Global Typeclasses Opaque from_box_in. End Impl_alloc_rc_Rc_T_A. @@ -7869,7 +7864,7 @@ Module rc. Global Instance AssociatedFunction_new_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_uninit_slice" (new_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "new_uninit_slice" (new_uninit_slice T). Admitted. Global Typeclasses Opaque new_uninit_slice. @@ -8167,7 +8162,7 @@ Module rc. Global Instance AssociatedFunction_new_zeroed_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_zeroed_slice" (new_zeroed_slice T). + M.IsAssociatedFunction.C (Self T) "new_zeroed_slice" (new_zeroed_slice T). Admitted. Global Typeclasses Opaque new_zeroed_slice. (* @@ -8391,7 +8386,7 @@ Module rc. Global Instance AssociatedFunction_allocate_for_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "allocate_for_slice" (allocate_for_slice T). + M.IsAssociatedFunction.C (Self T) "allocate_for_slice" (allocate_for_slice T). Admitted. Global Typeclasses Opaque allocate_for_slice. @@ -8523,7 +8518,7 @@ Module rc. Global Instance AssociatedFunction_copy_from_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_from_slice" (copy_from_slice T). + M.IsAssociatedFunction.C (Self T) "copy_from_slice" (copy_from_slice T). Admitted. Global Typeclasses Opaque copy_from_slice. @@ -8864,7 +8859,7 @@ Module rc. Global Instance AssociatedFunction_from_iter_exact : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_iter_exact" (from_iter_exact T). + M.IsAssociatedFunction.C (Self T) "from_iter_exact" (from_iter_exact T). Admitted. Global Typeclasses Opaque from_iter_exact. End Impl_alloc_rc_Rc_slice_T_alloc_alloc_Global. @@ -8963,7 +8958,7 @@ Module rc. Global Instance AssociatedFunction_new_uninit_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_uninit_slice_in" (new_uninit_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "new_uninit_slice_in" (new_uninit_slice_in T A). Admitted. Global Typeclasses Opaque new_uninit_slice_in. @@ -9261,7 +9256,7 @@ Module rc. Global Instance AssociatedFunction_new_zeroed_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_zeroed_slice_in" (new_zeroed_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "new_zeroed_slice_in" (new_zeroed_slice_in T A). Admitted. Global Typeclasses Opaque new_zeroed_slice_in. (* @@ -9486,7 +9481,7 @@ Module rc. Global Instance AssociatedFunction_allocate_for_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocate_for_slice_in" (allocate_for_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "allocate_for_slice_in" (allocate_for_slice_in T A). Admitted. Global Typeclasses Opaque allocate_for_slice_in. End Impl_alloc_rc_Rc_slice_T_A. @@ -9595,7 +9590,7 @@ Module rc. Global Instance AssociatedFunction_assume_init : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "assume_init" (assume_init T A). + M.IsAssociatedFunction.C (Self T A) "assume_init" (assume_init T A). Admitted. Global Typeclasses Opaque assume_init. End Impl_alloc_rc_Rc_core_mem_maybe_uninit_MaybeUninit_T_A. @@ -9758,7 +9753,7 @@ Module rc. Global Instance AssociatedFunction_assume_init : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "assume_init" (assume_init T A). + M.IsAssociatedFunction.C (Self T A) "assume_init" (assume_init T A). Admitted. Global Typeclasses Opaque assume_init. End Impl_alloc_rc_Rc_slice_core_mem_maybe_uninit_MaybeUninit_T_A. @@ -9936,7 +9931,7 @@ Module rc. Global Instance AssociatedFunction_downcast : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast" (downcast A). + M.IsAssociatedFunction.C (Self A) "downcast" (downcast A). Admitted. Global Typeclasses Opaque downcast. @@ -10039,7 +10034,7 @@ Module rc. Global Instance AssociatedFunction_downcast_unchecked : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast_unchecked" (downcast_unchecked A). + M.IsAssociatedFunction.C (Self A) "downcast_unchecked" (downcast_unchecked A). Admitted. Global Typeclasses Opaque downcast_unchecked. End Impl_alloc_rc_Rc_Dyn_core_any_Any_Trait_A. @@ -12719,7 +12714,7 @@ Module rc. |) ] |), - M.read (| M.get_constant "alloc::rc::N" |) + M.read (| get_constant (| "alloc::rc::N", Ty.path "usize" |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -13465,7 +13460,11 @@ Module rc. [], [ Ty.apply (Ty.path "alloc::rc::RcInner") [] [ T ] ] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] + [ + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) + ] |) ] |)); @@ -13476,7 +13475,7 @@ Module rc. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. (* @@ -13505,7 +13504,7 @@ Module rc. Global Instance AssociatedFunction_from_raw : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw" (from_raw T). + M.IsAssociatedFunction.C (Self T) "from_raw" (from_raw T). Admitted. Global Typeclasses Opaque from_raw. End Impl_alloc_rc_Weak_T_alloc_alloc_Global. @@ -13558,7 +13557,11 @@ Module rc. [], [ Ty.apply (Ty.path "alloc::rc::RcInner") [] [ T ] ] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] + [ + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) + ] |) ] |)); @@ -13569,7 +13572,7 @@ Module rc. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. (* @@ -13601,7 +13604,7 @@ Module rc. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -13698,7 +13701,7 @@ Module rc. Global Instance AssociatedFunction_as_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_ptr" (as_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_ptr" (as_ptr T A). Admitted. Global Typeclasses Opaque as_ptr. @@ -13772,7 +13775,7 @@ Module rc. Global Instance AssociatedFunction_into_raw : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_raw" (into_raw T A). + M.IsAssociatedFunction.C (Self T A) "into_raw" (into_raw T A). Admitted. Global Typeclasses Opaque into_raw. @@ -13907,10 +13910,7 @@ Module rc. Global Instance AssociatedFunction_into_raw_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "into_raw_with_allocator" - (into_raw_with_allocator T A). + M.IsAssociatedFunction.C (Self T A) "into_raw_with_allocator" (into_raw_with_allocator T A). Admitted. Global Typeclasses Opaque into_raw_with_allocator. @@ -14034,7 +14034,7 @@ Module rc. Global Instance AssociatedFunction_from_raw_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_in" (from_raw_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_in" (from_raw_in T A). Admitted. Global Typeclasses Opaque from_raw_in. @@ -14270,7 +14270,7 @@ Module rc. Global Instance AssociatedFunction_upgrade : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "upgrade" (upgrade T A). + M.IsAssociatedFunction.C (Self T A) "upgrade" (upgrade T A). Admitted. Global Typeclasses Opaque upgrade. @@ -14344,7 +14344,7 @@ Module rc. Global Instance AssociatedFunction_strong_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "strong_count" (strong_count T A). + M.IsAssociatedFunction.C (Self T A) "strong_count" (strong_count T A). Admitted. Global Typeclasses Opaque strong_count. @@ -14455,7 +14455,7 @@ Module rc. Global Instance AssociatedFunction_weak_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "weak_count" (weak_count T A). + M.IsAssociatedFunction.C (Self T A) "weak_count" (weak_count T A). Admitted. Global Typeclasses Opaque weak_count. @@ -14613,7 +14613,7 @@ Module rc. Global Instance AssociatedFunction_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "inner" (inner T A). + M.IsAssociatedFunction.C (Self T A) "inner" (inner T A). Admitted. Global Typeclasses Opaque inner. @@ -14693,7 +14693,7 @@ Module rc. Global Instance AssociatedFunction_ptr_eq : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "ptr_eq" (ptr_eq T A). + M.IsAssociatedFunction.C (Self T A) "ptr_eq" (ptr_eq T A). Admitted. Global Typeclasses Opaque ptr_eq. End Impl_alloc_rc_Weak_T_A. @@ -14730,13 +14730,13 @@ Module rc. |) ] |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_is_dangling : - M.IsFunction.Trait "alloc::rc::is_dangling" is_dangling. + M.IsFunction.C "alloc::rc::is_dangling" is_dangling. Admitted. Global Typeclasses Opaque is_dangling. @@ -15880,7 +15880,7 @@ Module rc. end. Global Instance Instance_IsFunction_data_offset : - M.IsFunction.Trait "alloc::rc::data_offset" data_offset. + M.IsFunction.C "alloc::rc::data_offset" data_offset. Admitted. Global Typeclasses Opaque data_offset. @@ -15938,7 +15938,7 @@ Module rc. end. Global Instance Instance_IsFunction_data_offset_align : - M.IsFunction.Trait "alloc::rc::data_offset_align" data_offset_align. + M.IsFunction.C "alloc::rc::data_offset_align" data_offset_align. Admitted. Global Typeclasses Opaque data_offset_align. @@ -16093,7 +16093,7 @@ Module rc. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_alloc_rc_UniqueRc_T_alloc_alloc_Global. @@ -16242,7 +16242,7 @@ Module rc. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. (* @@ -16450,7 +16450,7 @@ Module rc. Global Instance AssociatedFunction_into_rc : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_rc" (into_rc T A). + M.IsAssociatedFunction.C (Self T A) "into_rc" (into_rc T A). Admitted. Global Typeclasses Opaque into_rc. (* @@ -16554,7 +16554,7 @@ Module rc. Global Instance AssociatedFunction_downgrade : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "downgrade" (downgrade T A). + M.IsAssociatedFunction.C (Self T A) "downgrade" (downgrade T A). Admitted. Global Typeclasses Opaque downgrade. End Impl_alloc_rc_UniqueRc_T_A. @@ -17237,7 +17237,7 @@ Module rc. Global Instance AssociatedFunction_new : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new" (new T A). + M.IsAssociatedFunction.C (Self T A) "new" (new T A). Admitted. Global Typeclasses Opaque new. @@ -17331,7 +17331,7 @@ Module rc. Global Instance AssociatedFunction_data_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "data_ptr" (data_ptr T A). + M.IsAssociatedFunction.C (Self T A) "data_ptr" (data_ptr T A). Admitted. Global Typeclasses Opaque data_ptr. @@ -17497,7 +17497,7 @@ Module rc. Global Instance AssociatedFunction_into_rc : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_rc" (into_rc T A). + M.IsAssociatedFunction.C (Self T A) "into_rc" (into_rc T A). Admitted. Global Typeclasses Opaque into_rc. End Impl_alloc_rc_UniqueRcUninit_T_A. diff --git a/CoqOfRust/alloc/slice.v b/CoqOfRust/alloc/slice.v index 7f9ca64d7..1a6064363 100644 --- a/CoqOfRust/alloc/slice.v +++ b/CoqOfRust/alloc/slice.v @@ -80,7 +80,7 @@ Module slice. end. Global Instance Instance_IsFunction_into_vec : - M.IsFunction.Trait "alloc::slice::hack::into_vec" into_vec. + M.IsFunction.C "alloc::slice::hack::into_vec" into_vec. Admitted. Global Typeclasses Opaque into_vec. @@ -111,8 +111,7 @@ Module slice. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_to_vec : - M.IsFunction.Trait "alloc::slice::hack::to_vec" to_vec. + Global Instance Instance_IsFunction_to_vec : M.IsFunction.C "alloc::slice::hack::to_vec" to_vec. Admitted. Global Typeclasses Opaque to_vec. @@ -717,7 +716,7 @@ Module slice. Global Instance AssociatedFunction_sort : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort" (sort T). + M.IsAssociatedFunction.C (Self T) "sort" (sort T). Admitted. Global Typeclasses Opaque sort. @@ -872,7 +871,7 @@ Module slice. Global Instance AssociatedFunction_sort_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort_by" (sort_by T). + M.IsAssociatedFunction.C (Self T) "sort_by" (sort_by T). Admitted. Global Typeclasses Opaque sort_by. @@ -1046,7 +1045,7 @@ Module slice. Global Instance AssociatedFunction_sort_by_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort_by_key" (sort_by_key T). + M.IsAssociatedFunction.C (Self T) "sort_by_key" (sort_by_key T). Admitted. Global Typeclasses Opaque sort_by_key. @@ -1146,7 +1145,12 @@ Module slice. ] |) in let~ is_using_u32_as_idx_type_helpful : Ty.path "bool" := - M.copy (| M.get_constant "alloc::slice::sort_by_cached_key_discriminant" |) in + M.copy (| + get_constant (| + "alloc::slice::sort_by_cached_key_discriminant", + Ty.path "bool" + |) + |) in let~ _ : Ty.tuple [] := M.match_operator (| Some (Ty.tuple []), @@ -1164,7 +1168,13 @@ Module slice. M.read (| len |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "u32", + "MAX", + Ty.path "u32" + |) + |)) |))) |) |)) in @@ -2318,7 +2328,7 @@ Module slice. Global Instance AssociatedFunction_sort_by_cached_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort_by_cached_key" (sort_by_cached_key T). + M.IsAssociatedFunction.C (Self T) "sort_by_cached_key" (sort_by_cached_key T). Admitted. Global Typeclasses Opaque sort_by_cached_key. @@ -2354,7 +2364,7 @@ Module slice. Global Instance AssociatedFunction_to_vec : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "to_vec" (to_vec T). + M.IsAssociatedFunction.C (Self T) "to_vec" (to_vec T). Admitted. Global Typeclasses Opaque to_vec. @@ -2384,7 +2394,7 @@ Module slice. Global Instance AssociatedFunction_to_vec_in : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "to_vec_in" (to_vec_in T). + M.IsAssociatedFunction.C (Self T) "to_vec_in" (to_vec_in T). Admitted. Global Typeclasses Opaque to_vec_in. @@ -2410,7 +2420,7 @@ Module slice. Global Instance AssociatedFunction_into_vec : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_vec" (into_vec T). + M.IsAssociatedFunction.C (Self T) "into_vec" (into_vec T). Admitted. Global Typeclasses Opaque into_vec. @@ -2891,7 +2901,7 @@ Module slice. Global Instance AssociatedFunction_repeat : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "repeat" (repeat T). + M.IsAssociatedFunction.C (Self T) "repeat" (repeat T). Admitted. Global Typeclasses Opaque repeat. @@ -2932,7 +2942,7 @@ Module slice. Global Instance AssociatedFunction_concat : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "concat" (concat T). + M.IsAssociatedFunction.C (Self T) "concat" (concat T). Admitted. Global Typeclasses Opaque concat. @@ -2974,7 +2984,7 @@ Module slice. Global Instance AssociatedFunction_join : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "join" (join T). + M.IsAssociatedFunction.C (Self T) "join" (join T). Admitted. Global Typeclasses Opaque join. @@ -3016,7 +3026,7 @@ Module slice. Global Instance AssociatedFunction_connect : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "connect" (connect T). + M.IsAssociatedFunction.C (Self T) "connect" (connect T). Admitted. Global Typeclasses Opaque connect. End Impl_slice_T. @@ -3101,7 +3111,7 @@ Module slice. end. Global Instance AssociatedFunction_to_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "to_ascii_uppercase" to_ascii_uppercase. + M.IsAssociatedFunction.C Self "to_ascii_uppercase" to_ascii_uppercase. Admitted. Global Typeclasses Opaque to_ascii_uppercase. @@ -3182,7 +3192,7 @@ Module slice. end. Global Instance AssociatedFunction_to_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "to_ascii_lowercase" to_ascii_lowercase. + M.IsAssociatedFunction.C Self "to_ascii_lowercase" to_ascii_lowercase. Admitted. Global Typeclasses Opaque to_ascii_lowercase. End Impl_slice_u8. @@ -4894,7 +4904,7 @@ Module slice. end. Global Instance Instance_IsFunction_stable_sort : - M.IsFunction.Trait "alloc::slice::stable_sort" stable_sort. + M.IsFunction.C "alloc::slice::stable_sort" stable_sort. Admitted. Global Typeclasses Opaque stable_sort. diff --git a/CoqOfRust/alloc/str.v b/CoqOfRust/alloc/str.v index 4b9d6a4c0..ccfa7f559 100644 --- a/CoqOfRust/alloc/str.v +++ b/CoqOfRust/alloc/str.v @@ -5173,7 +5173,7 @@ Module str. end. Global Instance Instance_IsFunction_join_generic_copy : - M.IsFunction.Trait "alloc::str::join_generic_copy" join_generic_copy. + M.IsFunction.C "alloc::str::join_generic_copy" join_generic_copy. Admitted. Global Typeclasses Opaque join_generic_copy. @@ -5441,7 +5441,7 @@ Module str. end. Global Instance AssociatedFunction_into_boxed_bytes : - M.IsAssociatedFunction.Trait Self "into_boxed_bytes" into_boxed_bytes. + M.IsAssociatedFunction.C Self "into_boxed_bytes" into_boxed_bytes. Admitted. Global Typeclasses Opaque into_boxed_bytes. @@ -6116,8 +6116,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_replace : - M.IsAssociatedFunction.Trait Self "replace" replace. + Global Instance AssociatedFunction_replace : M.IsAssociatedFunction.C Self "replace" replace. Admitted. Global Typeclasses Opaque replace. @@ -6431,8 +6430,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_replacen : - M.IsAssociatedFunction.Trait Self "replacen" replacen. + Global Instance AssociatedFunction_replacen : M.IsAssociatedFunction.C Self "replacen" replacen. Admitted. Global Typeclasses Opaque replacen. @@ -6928,7 +6926,7 @@ Module str. end. Global Instance AssociatedFunction_to_lowercase : - M.IsAssociatedFunction.Trait Self "to_lowercase" to_lowercase. + M.IsAssociatedFunction.C Self "to_lowercase" to_lowercase. Admitted. Global Typeclasses Opaque to_lowercase. @@ -7233,7 +7231,7 @@ Module str. end. Global Instance AssociatedFunction_to_uppercase : - M.IsAssociatedFunction.Trait Self "to_uppercase" to_uppercase. + M.IsAssociatedFunction.C Self "to_uppercase" to_uppercase. Admitted. Global Typeclasses Opaque to_uppercase. @@ -7316,7 +7314,7 @@ Module str. end. Global Instance AssociatedFunction_into_string : - M.IsAssociatedFunction.Trait Self "into_string" into_string. + M.IsAssociatedFunction.C Self "into_string" into_string. Admitted. Global Typeclasses Opaque into_string. @@ -7373,7 +7371,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_repeat : M.IsAssociatedFunction.Trait Self "repeat" repeat. + Global Instance AssociatedFunction_repeat : M.IsAssociatedFunction.C Self "repeat" repeat. Admitted. Global Typeclasses Opaque repeat. @@ -7439,7 +7437,7 @@ Module str. end. Global Instance AssociatedFunction_to_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "to_ascii_uppercase" to_ascii_uppercase. + M.IsAssociatedFunction.C Self "to_ascii_uppercase" to_ascii_uppercase. Admitted. Global Typeclasses Opaque to_ascii_uppercase. @@ -7505,7 +7503,7 @@ Module str. end. Global Instance AssociatedFunction_to_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "to_ascii_lowercase" to_ascii_lowercase. + M.IsAssociatedFunction.C Self "to_ascii_lowercase" to_ascii_lowercase. Admitted. Global Typeclasses Opaque to_ascii_lowercase. End Impl_str. @@ -7557,7 +7555,7 @@ Module str. end. Global Instance Instance_IsFunction_from_boxed_utf8_unchecked : - M.IsFunction.Trait "alloc::str::from_boxed_utf8_unchecked" from_boxed_utf8_unchecked. + M.IsFunction.C "alloc::str::from_boxed_utf8_unchecked" from_boxed_utf8_unchecked. Admitted. Global Typeclasses Opaque from_boxed_utf8_unchecked. @@ -7759,7 +7757,12 @@ Module str. |) ] |), - M.read (| M.get_constant "alloc::str::convert_while_ascii::N" |) + M.read (| + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7793,7 +7796,10 @@ Module str. [ ("end_", M.read (| - M.get_constant "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |)) ] ] @@ -7862,7 +7868,10 @@ Module str. [ ("end_", M.read (| - M.get_constant "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |)) ] ] @@ -7899,7 +7908,10 @@ Module str. ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| - M.get_constant "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |)) ] ] @@ -8136,7 +8148,10 @@ Module str. ] |)), M.read (| - M.get_constant "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |) |) |)) in @@ -8178,7 +8193,10 @@ Module str. ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| - M.get_constant "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |)) ] ] @@ -8304,7 +8322,12 @@ Module str. β, BinOp.Wrap.add (| M.read (| β |), - M.read (| M.get_constant "alloc::str::convert_while_ascii::N" |) + M.read (| + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) + |) |) |) |) in @@ -8341,7 +8364,10 @@ Module str. [ ("start", M.read (| - M.get_constant "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |)) ] ] @@ -8404,8 +8430,10 @@ Module str. [ ("start", M.read (| - M.get_constant - "alloc::str::convert_while_ascii::N" + get_constant (| + "alloc::str::convert_while_ascii::N", + Ty.path "usize" + |) |)) ] ] @@ -8733,16 +8761,18 @@ Module str. end. Global Instance Instance_IsFunction_convert_while_ascii : - M.IsFunction.Trait "alloc::str::convert_while_ascii" convert_while_ascii. + M.IsFunction.C "alloc::str::convert_while_ascii" convert_while_ascii. Admitted. Global Typeclasses Opaque convert_while_ascii. Module convert_while_ascii. - Definition value_N : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_N (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_N : (M.get_constant "alloc::str::convert_while_ascii::N") = value_N. - Global Hint Rewrite Constant_value_N : constant_rewrites. + Global Instance Instance_IsConstant_value_N : + M.IsFunction.C "alloc::str::convert_while_ascii::N" value_N. + Admitted. + Global Typeclasses Opaque value_N. End convert_while_ascii. (* @@ -8897,7 +8927,7 @@ Module str. end. Global Instance Instance_IsFunction_replace_ascii : - M.IsFunction.Trait "alloc::str::replace_ascii" replace_ascii. + M.IsFunction.C "alloc::str::replace_ascii" replace_ascii. Admitted. Global Typeclasses Opaque replace_ascii. End str. diff --git a/CoqOfRust/alloc/string.v b/CoqOfRust/alloc/string.v index 26d34f4c9..0db7d090b 100644 --- a/CoqOfRust/alloc/string.v +++ b/CoqOfRust/alloc/string.v @@ -677,7 +677,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -716,7 +716,7 @@ Module string. end. Global Instance AssociatedFunction_with_capacity : - M.IsAssociatedFunction.Trait Self "with_capacity" with_capacity. + M.IsAssociatedFunction.C Self "with_capacity" with_capacity. Admitted. Global Typeclasses Opaque with_capacity. @@ -879,7 +879,7 @@ Module string. end. Global Instance AssociatedFunction_try_with_capacity : - M.IsAssociatedFunction.Trait Self "try_with_capacity" try_with_capacity. + M.IsAssociatedFunction.C Self "try_with_capacity" try_with_capacity. Admitted. Global Typeclasses Opaque try_with_capacity. @@ -976,7 +976,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf8 : - M.IsAssociatedFunction.Trait Self "from_utf8" from_utf8. + M.IsAssociatedFunction.C Self "from_utf8" from_utf8. Admitted. Global Typeclasses Opaque from_utf8. @@ -1421,7 +1421,10 @@ Module string. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "alloc::string::from_utf8_lossy::REPLACEMENT" + get_constant (| + "alloc::string::from_utf8_lossy::REPLACEMENT", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |) @@ -1606,8 +1609,13 @@ Module string. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "alloc::string::from_utf8_lossy::REPLACEMENT" + get_constant (| + "alloc::string::from_utf8_lossy::REPLACEMENT", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "str" ] + |) |) |) |) @@ -1632,7 +1640,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf8_lossy : - M.IsAssociatedFunction.Trait Self "from_utf8_lossy" from_utf8_lossy. + M.IsAssociatedFunction.C Self "from_utf8_lossy" from_utf8_lossy. Admitted. Global Typeclasses Opaque from_utf8_lossy. @@ -1730,7 +1738,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf8_lossy_owned : - M.IsAssociatedFunction.Trait Self "from_utf8_lossy_owned" from_utf8_lossy_owned. + M.IsAssociatedFunction.C Self "from_utf8_lossy_owned" from_utf8_lossy_owned. Admitted. Global Typeclasses Opaque from_utf8_lossy_owned. @@ -2037,7 +2045,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf16 : - M.IsAssociatedFunction.Trait Self "from_utf16" from_utf16. + M.IsAssociatedFunction.C Self "from_utf16" from_utf16. Admitted. Global Typeclasses Opaque from_utf16. @@ -2241,8 +2249,11 @@ Module string. [ M.read (| r |); M.read (| - M.get_constant - "core::char::methods::REPLACEMENT_CHARACTER" + get_associated_constant (| + Ty.path "char", + "REPLACEMENT_CHARACTER", + Ty.path "char" + |) |) ] |))) @@ -2258,7 +2269,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf16_lossy : - M.IsAssociatedFunction.Trait Self "from_utf16_lossy" from_utf16_lossy. + M.IsAssociatedFunction.C Self "from_utf16_lossy" from_utf16_lossy. Admitted. Global Typeclasses Opaque from_utf16_lossy. @@ -2464,8 +2475,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -2511,8 +2523,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -2543,8 +2556,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -2573,8 +2587,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -2603,8 +2618,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -2708,7 +2724,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf16le : - M.IsAssociatedFunction.Trait Self "from_utf16le" from_utf16le. + M.IsAssociatedFunction.C Self "from_utf16le" from_utf16le. Admitted. Global Typeclasses Opaque from_utf16le. @@ -2894,8 +2910,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -2957,8 +2974,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3010,8 +3028,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3070,8 +3089,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3107,8 +3127,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3142,8 +3163,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3177,8 +3199,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_le_bytes_discriminant") + (mk_str (| + "core_num_from_le_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3311,8 +3334,11 @@ Module string. [ M.read (| r |); M.read (| - M.get_constant - "core::char::methods::REPLACEMENT_CHARACTER" + get_associated_constant (| + Ty.path "char", + "REPLACEMENT_CHARACTER", + Ty.path "char" + |) |) ] |))) @@ -3402,7 +3428,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf16le_lossy : - M.IsAssociatedFunction.Trait Self "from_utf16le_lossy" from_utf16le_lossy. + M.IsAssociatedFunction.C Self "from_utf16le_lossy" from_utf16le_lossy. Admitted. Global Typeclasses Opaque from_utf16le_lossy. @@ -3608,8 +3634,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3655,8 +3682,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3687,8 +3715,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3717,8 +3746,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3747,8 +3777,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -3852,7 +3883,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf16be : - M.IsAssociatedFunction.Trait Self "from_utf16be" from_utf16be. + M.IsAssociatedFunction.C Self "from_utf16be" from_utf16be. Admitted. Global Typeclasses Opaque from_utf16be. @@ -4038,8 +4069,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4101,8 +4133,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4154,8 +4187,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4214,8 +4248,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4251,8 +4286,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4286,8 +4322,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4321,8 +4358,9 @@ Module string. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "core::num::from_be_bytes_discriminant") + (mk_str (| + "core_num_from_be_bytes_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -4455,8 +4493,11 @@ Module string. [ M.read (| r |); M.read (| - M.get_constant - "core::char::methods::REPLACEMENT_CHARACTER" + get_associated_constant (| + Ty.path "char", + "REPLACEMENT_CHARACTER", + Ty.path "char" + |) |) ] |))) @@ -4546,7 +4587,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf16be_lossy : - M.IsAssociatedFunction.Trait Self "from_utf16be_lossy" from_utf16be_lossy. + M.IsAssociatedFunction.C Self "from_utf16be_lossy" from_utf16be_lossy. Admitted. Global Typeclasses Opaque from_utf16be_lossy. @@ -4582,7 +4623,7 @@ Module string. end. Global Instance AssociatedFunction_into_raw_parts : - M.IsAssociatedFunction.Trait Self "into_raw_parts" into_raw_parts. + M.IsAssociatedFunction.C Self "into_raw_parts" into_raw_parts. Admitted. Global Typeclasses Opaque into_raw_parts. @@ -4623,7 +4664,7 @@ Module string. end. Global Instance AssociatedFunction_from_raw_parts : - M.IsAssociatedFunction.Trait Self "from_raw_parts" from_raw_parts. + M.IsAssociatedFunction.C Self "from_raw_parts" from_raw_parts. Admitted. Global Typeclasses Opaque from_raw_parts. @@ -4642,7 +4683,7 @@ Module string. end. Global Instance AssociatedFunction_from_utf8_unchecked : - M.IsAssociatedFunction.Trait Self "from_utf8_unchecked" from_utf8_unchecked. + M.IsAssociatedFunction.C Self "from_utf8_unchecked" from_utf8_unchecked. Admitted. Global Typeclasses Opaque from_utf8_unchecked. @@ -4663,7 +4704,7 @@ Module string. end. Global Instance AssociatedFunction_into_bytes : - M.IsAssociatedFunction.Trait Self "into_bytes" into_bytes. + M.IsAssociatedFunction.C Self "into_bytes" into_bytes. Admitted. Global Typeclasses Opaque into_bytes. @@ -4723,7 +4764,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -4794,7 +4835,7 @@ Module string. end. Global Instance AssociatedFunction_as_mut_str : - M.IsAssociatedFunction.Trait Self "as_mut_str" as_mut_str. + M.IsAssociatedFunction.C Self "as_mut_str" as_mut_str. Admitted. Global Typeclasses Opaque as_mut_str. @@ -4844,8 +4885,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push_str : - M.IsAssociatedFunction.Trait Self "push_str" push_str. + Global Instance AssociatedFunction_push_str : M.IsAssociatedFunction.C Self "push_str" push_str. Admitted. Global Typeclasses Opaque push_str. @@ -5078,7 +5118,7 @@ Module string. end. Global Instance AssociatedFunction_extend_from_within : - M.IsAssociatedFunction.Trait Self "extend_from_within" extend_from_within. + M.IsAssociatedFunction.C Self "extend_from_within" extend_from_within. Admitted. Global Typeclasses Opaque extend_from_within. @@ -5117,8 +5157,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_capacity : - M.IsAssociatedFunction.Trait Self "capacity" capacity. + Global Instance AssociatedFunction_capacity : M.IsAssociatedFunction.C Self "capacity" capacity. Admitted. Global Typeclasses Opaque capacity. @@ -5159,8 +5198,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_reserve : - M.IsAssociatedFunction.Trait Self "reserve" reserve. + Global Instance AssociatedFunction_reserve : M.IsAssociatedFunction.C Self "reserve" reserve. Admitted. Global Typeclasses Opaque reserve. @@ -5202,7 +5240,7 @@ Module string. end. Global Instance AssociatedFunction_reserve_exact : - M.IsAssociatedFunction.Trait Self "reserve_exact" reserve_exact. + M.IsAssociatedFunction.C Self "reserve_exact" reserve_exact. Admitted. Global Typeclasses Opaque reserve_exact. @@ -5247,7 +5285,7 @@ Module string. end. Global Instance AssociatedFunction_try_reserve : - M.IsAssociatedFunction.Trait Self "try_reserve" try_reserve. + M.IsAssociatedFunction.C Self "try_reserve" try_reserve. Admitted. Global Typeclasses Opaque try_reserve. @@ -5292,7 +5330,7 @@ Module string. end. Global Instance AssociatedFunction_try_reserve_exact : - M.IsAssociatedFunction.Trait Self "try_reserve_exact" try_reserve_exact. + M.IsAssociatedFunction.C Self "try_reserve_exact" try_reserve_exact. Admitted. Global Typeclasses Opaque try_reserve_exact. @@ -5332,7 +5370,7 @@ Module string. end. Global Instance AssociatedFunction_shrink_to_fit : - M.IsAssociatedFunction.Trait Self "shrink_to_fit" shrink_to_fit. + M.IsAssociatedFunction.C Self "shrink_to_fit" shrink_to_fit. Admitted. Global Typeclasses Opaque shrink_to_fit. @@ -5374,7 +5412,7 @@ Module string. end. Global Instance AssociatedFunction_shrink_to : - M.IsAssociatedFunction.Trait Self "shrink_to" shrink_to. + M.IsAssociatedFunction.C Self "shrink_to" shrink_to. Admitted. Global Typeclasses Opaque shrink_to. @@ -5512,7 +5550,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push : M.IsAssociatedFunction.Trait Self "push" push. + Global Instance AssociatedFunction_push : M.IsAssociatedFunction.C Self "push" push. Admitted. Global Typeclasses Opaque push. @@ -5556,8 +5594,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + Global Instance AssociatedFunction_as_bytes : M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -5701,8 +5738,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_truncate : - M.IsAssociatedFunction.Trait Self "truncate" truncate. + Global Instance AssociatedFunction_truncate : M.IsAssociatedFunction.C Self "truncate" truncate. Admitted. Global Typeclasses Opaque truncate. @@ -5935,7 +5971,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pop : M.IsAssociatedFunction.Trait Self "pop" pop. + Global Instance AssociatedFunction_pop : M.IsAssociatedFunction.C Self "pop" pop. Admitted. Global Typeclasses Opaque pop. @@ -6211,7 +6247,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_remove : M.IsAssociatedFunction.Trait Self "remove" remove. + Global Instance AssociatedFunction_remove : M.IsAssociatedFunction.C Self "remove" remove. Admitted. Global Typeclasses Opaque remove. @@ -6959,7 +6995,7 @@ Module string. end. Global Instance AssociatedFunction_remove_matches : - M.IsAssociatedFunction.Trait Self "remove_matches" remove_matches. + M.IsAssociatedFunction.C Self "remove_matches" remove_matches. Admitted. Global Typeclasses Opaque remove_matches. @@ -7450,7 +7486,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_retain : M.IsAssociatedFunction.Trait Self "retain" retain. + Global Instance AssociatedFunction_retain : M.IsAssociatedFunction.C Self "retain" retain. Admitted. Global Typeclasses Opaque retain. @@ -7587,7 +7623,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_insert : M.IsAssociatedFunction.Trait Self "insert" insert. + Global Instance AssociatedFunction_insert : M.IsAssociatedFunction.C Self "insert" insert. Admitted. Global Typeclasses Opaque insert. @@ -7827,7 +7863,7 @@ Module string. end. Global Instance AssociatedFunction_insert_bytes : - M.IsAssociatedFunction.Trait Self "insert_bytes" insert_bytes. + M.IsAssociatedFunction.C Self "insert_bytes" insert_bytes. Admitted. Global Typeclasses Opaque insert_bytes. @@ -7944,7 +7980,7 @@ Module string. end. Global Instance AssociatedFunction_insert_str : - M.IsAssociatedFunction.Trait Self "insert_str" insert_str. + M.IsAssociatedFunction.C Self "insert_str" insert_str. Admitted. Global Typeclasses Opaque insert_str. @@ -7980,7 +8016,7 @@ Module string. end. Global Instance AssociatedFunction_as_mut_vec : - M.IsAssociatedFunction.Trait Self "as_mut_vec" as_mut_vec. + M.IsAssociatedFunction.C Self "as_mut_vec" as_mut_vec. Admitted. Global Typeclasses Opaque as_mut_vec. @@ -8019,7 +8055,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -8044,8 +8080,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -8174,7 +8209,7 @@ Module string. end. Global Instance AssociatedFunction_split_off : - M.IsAssociatedFunction.Trait Self "split_off" split_off. + M.IsAssociatedFunction.C Self "split_off" split_off. Admitted. Global Typeclasses Opaque split_off. @@ -8213,7 +8248,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.Trait Self "clear" clear. + Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.C Self "clear" clear. Admitted. Global Typeclasses Opaque clear. @@ -8502,7 +8537,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_drain : M.IsAssociatedFunction.Trait Self "drain" drain. + Global Instance AssociatedFunction_drain : M.IsAssociatedFunction.C Self "drain" drain. Admitted. Global Typeclasses Opaque drain. @@ -8989,7 +9024,7 @@ Module string. end. Global Instance AssociatedFunction_replace_range : - M.IsAssociatedFunction.Trait Self "replace_range" replace_range. + M.IsAssociatedFunction.C Self "replace_range" replace_range. Admitted. Global Typeclasses Opaque replace_range. @@ -9053,7 +9088,7 @@ Module string. end. Global Instance AssociatedFunction_into_boxed_str : - M.IsAssociatedFunction.Trait Self "into_boxed_str" into_boxed_str. + M.IsAssociatedFunction.C Self "into_boxed_str" into_boxed_str. Admitted. Global Typeclasses Opaque into_boxed_str. @@ -9130,7 +9165,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_leak : M.IsAssociatedFunction.Trait Self "leak" leak. + Global Instance AssociatedFunction_leak : M.IsAssociatedFunction.C Self "leak" leak. Admitted. Global Typeclasses Opaque leak. End Impl_alloc_string_String. @@ -9187,8 +9222,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + Global Instance AssociatedFunction_as_bytes : M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -9624,8 +9658,13 @@ Module string. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "alloc::string::into_utf8_lossy::REPLACEMENT" + get_constant (| + "alloc::string::into_utf8_lossy::REPLACEMENT", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "str" ] + |) |) |) |) @@ -9648,7 +9687,7 @@ Module string. end. Global Instance AssociatedFunction_into_utf8_lossy : - M.IsAssociatedFunction.Trait Self "into_utf8_lossy" into_utf8_lossy. + M.IsAssociatedFunction.C Self "into_utf8_lossy" into_utf8_lossy. Admitted. Global Typeclasses Opaque into_utf8_lossy. @@ -9669,7 +9708,7 @@ Module string. end. Global Instance AssociatedFunction_into_bytes : - M.IsAssociatedFunction.Trait Self "into_bytes" into_bytes. + M.IsAssociatedFunction.C Self "into_bytes" into_bytes. Admitted. Global Typeclasses Opaque into_bytes. @@ -9694,7 +9733,7 @@ Module string. end. Global Instance AssociatedFunction_utf8_error : - M.IsAssociatedFunction.Trait Self "utf8_error" utf8_error. + M.IsAssociatedFunction.C Self "utf8_error" utf8_error. Admitted. Global Typeclasses Opaque utf8_error. End Impl_alloc_string_FromUtf8Error. @@ -17384,7 +17423,7 @@ Module string. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. End Impl_alloc_string_Drain. diff --git a/CoqOfRust/alloc/sync.v b/CoqOfRust/alloc/sync.v index 5a2ca72f0..ccd13b699 100644 --- a/CoqOfRust/alloc/sync.v +++ b/CoqOfRust/alloc/sync.v @@ -2,21 +2,30 @@ Require Import CoqOfRust.CoqOfRust. Module sync. - Definition value_MAX_REFCOUNT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::MAX" |)) |))). + Definition value_MAX_REFCOUNT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "usize") + (M.read (| get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) |)) + |))). - Axiom Constant_value_MAX_REFCOUNT : - (M.get_constant "alloc::sync::MAX_REFCOUNT") = value_MAX_REFCOUNT. - Global Hint Rewrite Constant_value_MAX_REFCOUNT : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_REFCOUNT : + M.IsFunction.C "alloc::sync::MAX_REFCOUNT" value_MAX_REFCOUNT. + Admitted. + Global Typeclasses Opaque value_MAX_REFCOUNT. - Definition value_INTERNAL_OVERFLOW_ERROR : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Arc counter overflow" |) |))). + Definition value_INTERNAL_OVERFLOW_ERROR + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Arc counter overflow" |) |))). - Axiom Constant_value_INTERNAL_OVERFLOW_ERROR : - (M.get_constant "alloc::sync::INTERNAL_OVERFLOW_ERROR") = value_INTERNAL_OVERFLOW_ERROR. - Global Hint Rewrite Constant_value_INTERNAL_OVERFLOW_ERROR : constant_rewrites. + Global Instance Instance_IsConstant_value_INTERNAL_OVERFLOW_ERROR : + M.IsFunction.C "alloc::sync::INTERNAL_OVERFLOW_ERROR" value_INTERNAL_OVERFLOW_ERROR. + Admitted. + Global Typeclasses Opaque value_INTERNAL_OVERFLOW_ERROR. (* StructRecord { @@ -136,7 +145,7 @@ Module sync. Global Instance AssociatedFunction_from_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_inner" (from_inner T). + M.IsAssociatedFunction.C (Self T) "from_inner" (from_inner T). Admitted. Global Typeclasses Opaque from_inner. @@ -166,7 +175,7 @@ Module sync. Global Instance AssociatedFunction_from_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_ptr" (from_ptr T). + M.IsAssociatedFunction.C (Self T) "from_ptr" (from_ptr T). Admitted. Global Typeclasses Opaque from_ptr. (* @@ -316,7 +325,7 @@ Module sync. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -349,7 +358,7 @@ Module sync. Global Instance AssociatedFunction_new_cyclic : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_cyclic" (new_cyclic T). + M.IsAssociatedFunction.C (Self T) "new_cyclic" (new_cyclic T). Admitted. Global Typeclasses Opaque new_cyclic. @@ -524,7 +533,7 @@ Module sync. Global Instance AssociatedFunction_new_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_uninit" (new_uninit T). + M.IsAssociatedFunction.C (Self T) "new_uninit" (new_uninit T). Admitted. Global Typeclasses Opaque new_uninit. @@ -699,7 +708,7 @@ Module sync. Global Instance AssociatedFunction_new_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_zeroed" (new_zeroed T). + M.IsAssociatedFunction.C (Self T) "new_zeroed" (new_zeroed T). Admitted. Global Typeclasses Opaque new_zeroed. @@ -746,7 +755,7 @@ Module sync. Global Instance AssociatedFunction_pin : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pin" (pin T). + M.IsAssociatedFunction.C (Self T) "pin" (pin T). Admitted. Global Typeclasses Opaque pin. @@ -949,7 +958,7 @@ Module sync. Global Instance AssociatedFunction_try_pin : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_pin" (try_pin T). + M.IsAssociatedFunction.C (Self T) "try_pin" (try_pin T). Admitted. Global Typeclasses Opaque try_pin. @@ -1243,7 +1252,7 @@ Module sync. Global Instance AssociatedFunction_try_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new" (try_new T). + M.IsAssociatedFunction.C (Self T) "try_new" (try_new T). Admitted. Global Typeclasses Opaque try_new. @@ -1632,7 +1641,7 @@ Module sync. Global Instance AssociatedFunction_try_new_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_uninit" (try_new_uninit T). + M.IsAssociatedFunction.C (Self T) "try_new_uninit" (try_new_uninit T). Admitted. Global Typeclasses Opaque try_new_uninit. @@ -2021,7 +2030,7 @@ Module sync. Global Instance AssociatedFunction_try_new_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_new_zeroed" (try_new_zeroed T). + M.IsAssociatedFunction.C (Self T) "try_new_zeroed" (try_new_zeroed T). Admitted. Global Typeclasses Opaque try_new_zeroed. (* @@ -2050,7 +2059,7 @@ Module sync. Global Instance AssociatedFunction_from_raw : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw" (from_raw T). + M.IsAssociatedFunction.C (Self T) "from_raw" (from_raw T). Admitted. Global Typeclasses Opaque from_raw. @@ -2085,7 +2094,7 @@ Module sync. Global Instance AssociatedFunction_increment_strong_count : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "increment_strong_count" (increment_strong_count T). + M.IsAssociatedFunction.C (Self T) "increment_strong_count" (increment_strong_count T). Admitted. Global Typeclasses Opaque increment_strong_count. @@ -2120,7 +2129,7 @@ Module sync. Global Instance AssociatedFunction_decrement_strong_count : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "decrement_strong_count" (decrement_strong_count T). + M.IsAssociatedFunction.C (Self T) "decrement_strong_count" (decrement_strong_count T). Admitted. Global Typeclasses Opaque decrement_strong_count. (* @@ -2276,7 +2285,7 @@ Module sync. Global Instance AssociatedFunction_allocate_for_layout : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "allocate_for_layout" (allocate_for_layout T). + M.IsAssociatedFunction.C (Self T) "allocate_for_layout" (allocate_for_layout T). Admitted. Global Typeclasses Opaque allocate_for_layout. @@ -2500,7 +2509,7 @@ Module sync. Global Instance AssociatedFunction_try_allocate_for_layout : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_allocate_for_layout" (try_allocate_for_layout T). + M.IsAssociatedFunction.C (Self T) "try_allocate_for_layout" (try_allocate_for_layout T). Admitted. Global Typeclasses Opaque try_allocate_for_layout. @@ -2800,7 +2809,7 @@ Module sync. Global Instance AssociatedFunction_initialize_arcinner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "initialize_arcinner" (initialize_arcinner T). + M.IsAssociatedFunction.C (Self T) "initialize_arcinner" (initialize_arcinner T). Admitted. Global Typeclasses Opaque initialize_arcinner. End Impl_alloc_sync_Arc_T_alloc_alloc_Global. @@ -2926,7 +2935,7 @@ Module sync. Global Instance AssociatedFunction_into_inner_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "into_inner_with_allocator" (into_inner_with_allocator T A). @@ -2962,7 +2971,7 @@ Module sync. Global Instance AssociatedFunction_from_inner_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_inner_in" (from_inner_in T A). + M.IsAssociatedFunction.C (Self T A) "from_inner_in" (from_inner_in T A). Admitted. Global Typeclasses Opaque from_inner_in. @@ -3011,7 +3020,7 @@ Module sync. Global Instance AssociatedFunction_from_ptr_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_ptr_in" (from_ptr_in T A). + M.IsAssociatedFunction.C (Self T A) "from_ptr_in" (from_ptr_in T A). Admitted. Global Typeclasses Opaque from_ptr_in. (* @@ -3167,7 +3176,7 @@ Module sync. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -3341,7 +3350,7 @@ Module sync. Global Instance AssociatedFunction_new_uninit_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_uninit_in" (new_uninit_in T A). + M.IsAssociatedFunction.C (Self T A) "new_uninit_in" (new_uninit_in T A). Admitted. Global Typeclasses Opaque new_uninit_in. @@ -3515,7 +3524,7 @@ Module sync. Global Instance AssociatedFunction_new_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_zeroed_in" (new_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "new_zeroed_in" (new_zeroed_in T A). Admitted. Global Typeclasses Opaque new_zeroed_in. @@ -4112,7 +4121,7 @@ Module sync. Global Instance AssociatedFunction_new_cyclic_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_cyclic_in" (new_cyclic_in T A). + M.IsAssociatedFunction.C (Self T A) "new_cyclic_in" (new_cyclic_in T A). Admitted. Global Typeclasses Opaque new_cyclic_in. @@ -4163,7 +4172,7 @@ Module sync. Global Instance AssociatedFunction_pin_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pin_in" (pin_in T A). + M.IsAssociatedFunction.C (Self T A) "pin_in" (pin_in T A). Admitted. Global Typeclasses Opaque pin_in. @@ -4340,7 +4349,7 @@ Module sync. Global Instance AssociatedFunction_try_pin_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_pin_in" (try_pin_in T A). + M.IsAssociatedFunction.C (Self T A) "try_pin_in" (try_pin_in T A). Admitted. Global Typeclasses Opaque try_pin_in. @@ -4619,7 +4628,7 @@ Module sync. Global Instance AssociatedFunction_try_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_in" (try_new_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_in" (try_new_in T A). Admitted. Global Typeclasses Opaque try_new_in. @@ -5000,7 +5009,7 @@ Module sync. Global Instance AssociatedFunction_try_new_uninit_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_uninit_in" (try_new_uninit_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_uninit_in" (try_new_uninit_in T A). Admitted. Global Typeclasses Opaque try_new_uninit_in. @@ -5381,7 +5390,7 @@ Module sync. Global Instance AssociatedFunction_try_new_zeroed_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_new_zeroed_in" (try_new_zeroed_in T A). + M.IsAssociatedFunction.C (Self T A) "try_new_zeroed_in" (try_new_zeroed_in T A). Admitted. Global Typeclasses Opaque try_new_zeroed_in. @@ -5701,7 +5710,7 @@ Module sync. Global Instance AssociatedFunction_try_unwrap : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_unwrap" (try_unwrap T A). + M.IsAssociatedFunction.C (Self T A) "try_unwrap" (try_unwrap T A). Admitted. Global Typeclasses Opaque try_unwrap. @@ -6025,7 +6034,7 @@ Module sync. Global Instance AssociatedFunction_into_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_inner" (into_inner T A). + M.IsAssociatedFunction.C (Self T A) "into_inner" (into_inner T A). Admitted. Global Typeclasses Opaque into_inner. (* @@ -6057,7 +6066,7 @@ Module sync. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -6145,7 +6154,7 @@ Module sync. Global Instance AssociatedFunction_into_raw : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_raw" (into_raw T A). + M.IsAssociatedFunction.C (Self T A) "into_raw" (into_raw T A). Admitted. Global Typeclasses Opaque into_raw. @@ -6285,10 +6294,7 @@ Module sync. Global Instance AssociatedFunction_into_raw_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "into_raw_with_allocator" - (into_raw_with_allocator T A). + M.IsAssociatedFunction.C (Self T A) "into_raw_with_allocator" (into_raw_with_allocator T A). Admitted. Global Typeclasses Opaque into_raw_with_allocator. @@ -6358,7 +6364,7 @@ Module sync. Global Instance AssociatedFunction_as_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_ptr" (as_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_ptr" (as_ptr T A). Admitted. Global Typeclasses Opaque as_ptr. @@ -6430,7 +6436,7 @@ Module sync. Global Instance AssociatedFunction_from_raw_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_in" (from_raw_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_in" (from_raw_in T A). Admitted. Global Typeclasses Opaque from_raw_in. @@ -6536,7 +6542,13 @@ Module sync. (M.alloc (| BinOp.eq (| M.read (| cur |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -6635,7 +6647,10 @@ Module sync. BinOp.le (| M.read (| cur |), M.read (| - M.get_constant "alloc::sync::MAX_REFCOUNT" + get_constant (| + "alloc::sync::MAX_REFCOUNT", + Ty.path "usize" + |) |) |) |) @@ -6661,8 +6676,10 @@ Module sync. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "alloc::sync::INTERNAL_OVERFLOW_ERROR" + get_constant (| + "alloc::sync::INTERNAL_OVERFLOW_ERROR", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |) @@ -6919,7 +6936,7 @@ Module sync. Global Instance AssociatedFunction_downgrade : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "downgrade" (downgrade T A). + M.IsAssociatedFunction.C (Self T A) "downgrade" (downgrade T A). Admitted. Global Typeclasses Opaque downgrade. @@ -6986,7 +7003,9 @@ Module sync. (M.alloc (| BinOp.eq (| M.read (| cnt |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7004,7 +7023,7 @@ Module sync. Global Instance AssociatedFunction_weak_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "weak_count" (weak_count T A). + M.IsAssociatedFunction.C (Self T A) "weak_count" (weak_count T A). Admitted. Global Typeclasses Opaque weak_count. @@ -7063,7 +7082,7 @@ Module sync. Global Instance AssociatedFunction_strong_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "strong_count" (strong_count T A). + M.IsAssociatedFunction.C (Self T A) "strong_count" (strong_count T A). Admitted. Global Typeclasses Opaque strong_count. @@ -7158,7 +7177,7 @@ Module sync. Global Instance AssociatedFunction_increment_strong_count_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "increment_strong_count_in" (increment_strong_count_in T A). @@ -7213,7 +7232,7 @@ Module sync. Global Instance AssociatedFunction_decrement_strong_count_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "decrement_strong_count_in" (decrement_strong_count_in T A). @@ -7268,7 +7287,7 @@ Module sync. Global Instance AssociatedFunction_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "inner" (inner T A). + M.IsAssociatedFunction.C (Self T A) "inner" (inner T A). Admitted. Global Typeclasses Opaque inner. @@ -7373,7 +7392,7 @@ Module sync. Global Instance AssociatedFunction_drop_slow : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "drop_slow" (drop_slow T A). + M.IsAssociatedFunction.C (Self T A) "drop_slow" (drop_slow T A). Admitted. Global Typeclasses Opaque drop_slow. @@ -7459,7 +7478,7 @@ Module sync. Global Instance AssociatedFunction_ptr_eq : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "ptr_eq" (ptr_eq T A). + M.IsAssociatedFunction.C (Self T A) "ptr_eq" (ptr_eq T A). Admitted. Global Typeclasses Opaque ptr_eq. (* @@ -7632,7 +7651,7 @@ Module sync. Global Instance AssociatedFunction_allocate_for_ptr_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocate_for_ptr_in" (allocate_for_ptr_in T A). + M.IsAssociatedFunction.C (Self T A) "allocate_for_ptr_in" (allocate_for_ptr_in T A). Admitted. Global Typeclasses Opaque allocate_for_ptr_in. @@ -7874,7 +7893,7 @@ Module sync. Global Instance AssociatedFunction_from_box_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_box_in" (from_box_in T A). + M.IsAssociatedFunction.C (Self T A) "from_box_in" (from_box_in T A). Admitted. Global Typeclasses Opaque from_box_in. (* @@ -8618,7 +8637,7 @@ Module sync. Global Instance AssociatedFunction_make_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "make_mut" (make_mut T A). + M.IsAssociatedFunction.C (Self T A) "make_mut" (make_mut T A). Admitted. Global Typeclasses Opaque make_mut. (* @@ -8721,7 +8740,7 @@ Module sync. Global Instance AssociatedFunction_unwrap_or_clone : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "unwrap_or_clone" (unwrap_or_clone T A). + M.IsAssociatedFunction.C (Self T A) "unwrap_or_clone" (unwrap_or_clone T A). Admitted. Global Typeclasses Opaque unwrap_or_clone. (* @@ -8806,7 +8825,7 @@ Module sync. Global Instance AssociatedFunction_get_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_mut" (get_mut T A). + M.IsAssociatedFunction.C (Self T A) "get_mut" (get_mut T A). Admitted. Global Typeclasses Opaque get_mut. @@ -8881,7 +8900,7 @@ Module sync. Global Instance AssociatedFunction_get_mut_unchecked : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "get_mut_unchecked" (get_mut_unchecked T A). + M.IsAssociatedFunction.C (Self T A) "get_mut_unchecked" (get_mut_unchecked T A). Admitted. Global Typeclasses Opaque get_mut_unchecked. @@ -8986,7 +9005,13 @@ Module sync. |) |); Value.Integer IntegerKind.Usize 1; - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |); Value.StructTuple "core::sync::atomic::Ordering::Acquire" []; Value.StructTuple "core::sync::atomic::Ordering::Relaxed" [] ] @@ -9095,7 +9120,7 @@ Module sync. Global Instance AssociatedFunction_is_unique : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_unique" (is_unique T A). + M.IsAssociatedFunction.C (Self T A) "is_unique" (is_unique T A). Admitted. Global Typeclasses Opaque is_unique. End Impl_alloc_sync_Arc_T_A. @@ -9332,9 +9357,7 @@ Module sync. end. Global Instance Instance_IsFunction_arcinner_layout_for_value_layout : - M.IsFunction.Trait - "alloc::sync::arcinner_layout_for_value_layout" - arcinner_layout_for_value_layout. + M.IsFunction.C "alloc::sync::arcinner_layout_for_value_layout" arcinner_layout_for_value_layout. Admitted. Global Typeclasses Opaque arcinner_layout_for_value_layout. @@ -9455,7 +9478,7 @@ Module sync. Global Instance AssociatedFunction_new_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_uninit_slice" (new_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "new_uninit_slice" (new_uninit_slice T). Admitted. Global Typeclasses Opaque new_uninit_slice. @@ -9746,7 +9769,7 @@ Module sync. Global Instance AssociatedFunction_new_zeroed_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_zeroed_slice" (new_zeroed_slice T). + M.IsAssociatedFunction.C (Self T) "new_zeroed_slice" (new_zeroed_slice T). Admitted. Global Typeclasses Opaque new_zeroed_slice. (* @@ -9974,7 +9997,7 @@ Module sync. Global Instance AssociatedFunction_allocate_for_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "allocate_for_slice" (allocate_for_slice T). + M.IsAssociatedFunction.C (Self T) "allocate_for_slice" (allocate_for_slice T). Admitted. Global Typeclasses Opaque allocate_for_slice. @@ -10108,7 +10131,7 @@ Module sync. Global Instance AssociatedFunction_copy_from_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_from_slice" (copy_from_slice T). + M.IsAssociatedFunction.C (Self T) "copy_from_slice" (copy_from_slice T). Admitted. Global Typeclasses Opaque copy_from_slice. @@ -10449,7 +10472,7 @@ Module sync. Global Instance AssociatedFunction_from_iter_exact : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_iter_exact" (from_iter_exact T). + M.IsAssociatedFunction.C (Self T) "from_iter_exact" (from_iter_exact T). Admitted. Global Typeclasses Opaque from_iter_exact. End Impl_alloc_sync_Arc_slice_T_alloc_alloc_Global. @@ -10548,7 +10571,7 @@ Module sync. Global Instance AssociatedFunction_new_uninit_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_uninit_slice_in" (new_uninit_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "new_uninit_slice_in" (new_uninit_slice_in T A). Admitted. Global Typeclasses Opaque new_uninit_slice_in. @@ -10846,7 +10869,7 @@ Module sync. Global Instance AssociatedFunction_new_zeroed_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_zeroed_slice_in" (new_zeroed_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "new_zeroed_slice_in" (new_zeroed_slice_in T A). Admitted. Global Typeclasses Opaque new_zeroed_slice_in. (* @@ -11075,7 +11098,7 @@ Module sync. Global Instance AssociatedFunction_allocate_for_slice_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocate_for_slice_in" (allocate_for_slice_in T A). + M.IsAssociatedFunction.C (Self T A) "allocate_for_slice_in" (allocate_for_slice_in T A). Admitted. Global Typeclasses Opaque allocate_for_slice_in. End Impl_alloc_sync_Arc_slice_T_A. @@ -11184,7 +11207,7 @@ Module sync. Global Instance AssociatedFunction_assume_init : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "assume_init" (assume_init T A). + M.IsAssociatedFunction.C (Self T A) "assume_init" (assume_init T A). Admitted. Global Typeclasses Opaque assume_init. End Impl_alloc_sync_Arc_core_mem_maybe_uninit_MaybeUninit_T_A. @@ -11347,7 +11370,7 @@ Module sync. Global Instance AssociatedFunction_assume_init : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "assume_init" (assume_init T A). + M.IsAssociatedFunction.C (Self T A) "assume_init" (assume_init T A). Admitted. Global Typeclasses Opaque assume_init. End Impl_alloc_sync_Arc_slice_core_mem_maybe_uninit_MaybeUninit_T_A. @@ -11590,7 +11613,9 @@ Module sync. (M.alloc (| BinOp.gt (| M.read (| old_size |), - M.read (| M.get_constant "alloc::sync::MAX_REFCOUNT" |) + M.read (| + get_constant (| "alloc::sync::MAX_REFCOUNT", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -11995,8 +12020,16 @@ Module sync. M.SubPointer.get_struct_record_field (| M.deref (| M.read (| - M.get_constant - "alloc::sync::STATIC_INNER_SLICE" + get_constant (| + "alloc::sync::STATIC_INNER_SLICE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.path + "alloc::sync::SliceArcInnerForStatic" + ] + |) |) |), "alloc::sync::SliceArcInnerForStatic", @@ -12321,7 +12354,7 @@ Module sync. Global Instance AssociatedFunction_downcast : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast" (downcast A). + M.IsAssociatedFunction.C (Self A) "downcast" (downcast A). Admitted. Global Typeclasses Opaque downcast. @@ -12449,7 +12482,7 @@ Module sync. Global Instance AssociatedFunction_downcast_unchecked : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "downcast_unchecked" (downcast_unchecked A). + M.IsAssociatedFunction.C (Self A) "downcast_unchecked" (downcast_unchecked A). Admitted. Global Typeclasses Opaque downcast_unchecked. End Impl_alloc_sync_Arc_Dyn_core_any_Any_Trait_core_marker_Sync_AutoTrait_core_marker_Send_AutoTrait_A. @@ -12502,7 +12535,11 @@ Module sync. [], [ Ty.apply (Ty.path "alloc::sync::ArcInner") [] [ T ] ] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] + [ + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) + ] |) ] |)); @@ -12513,7 +12550,7 @@ Module sync. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. (* @@ -12542,7 +12579,7 @@ Module sync. Global Instance AssociatedFunction_from_raw : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw" (from_raw T). + M.IsAssociatedFunction.C (Self T) "from_raw" (from_raw T). Admitted. Global Typeclasses Opaque from_raw. End Impl_alloc_sync_Weak_T_alloc_alloc_Global. @@ -12595,7 +12632,11 @@ Module sync. [], [ Ty.apply (Ty.path "alloc::sync::ArcInner") [] [ T ] ] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] + [ + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) + ] |) ] |)); @@ -12606,7 +12647,7 @@ Module sync. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. (* @@ -12638,7 +12679,7 @@ Module sync. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -12741,7 +12782,7 @@ Module sync. Global Instance AssociatedFunction_as_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_ptr" (as_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_ptr" (as_ptr T A). Admitted. Global Typeclasses Opaque as_ptr. @@ -12818,7 +12859,7 @@ Module sync. Global Instance AssociatedFunction_into_raw : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_raw" (into_raw T A). + M.IsAssociatedFunction.C (Self T A) "into_raw" (into_raw T A). Admitted. Global Typeclasses Opaque into_raw. @@ -12953,10 +12994,7 @@ Module sync. Global Instance AssociatedFunction_into_raw_with_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait - (Self T A) - "into_raw_with_allocator" - (into_raw_with_allocator T A). + M.IsAssociatedFunction.C (Self T A) "into_raw_with_allocator" (into_raw_with_allocator T A). Admitted. Global Typeclasses Opaque into_raw_with_allocator. @@ -13083,7 +13121,7 @@ Module sync. Global Instance AssociatedFunction_from_raw_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_in" (from_raw_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_in" (from_raw_in T A). Admitted. Global Typeclasses Opaque from_raw_in. (* @@ -13389,7 +13427,7 @@ Module sync. Global Instance AssociatedFunction_upgrade : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "upgrade" (upgrade T A). + M.IsAssociatedFunction.C (Self T A) "upgrade" (upgrade T A). Admitted. Global Typeclasses Opaque upgrade. @@ -13474,7 +13512,7 @@ Module sync. Global Instance AssociatedFunction_strong_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "strong_count" (strong_count T A). + M.IsAssociatedFunction.C (Self T A) "strong_count" (strong_count T A). Admitted. Global Typeclasses Opaque strong_count. @@ -13624,7 +13662,7 @@ Module sync. Global Instance AssociatedFunction_weak_count : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "weak_count" (weak_count T A). + M.IsAssociatedFunction.C (Self T A) "weak_count" (weak_count T A). Admitted. Global Typeclasses Opaque weak_count. @@ -13749,7 +13787,7 @@ Module sync. Global Instance AssociatedFunction_inner : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "inner" (inner T A). + M.IsAssociatedFunction.C (Self T A) "inner" (inner T A). Admitted. Global Typeclasses Opaque inner. @@ -13835,7 +13873,7 @@ Module sync. Global Instance AssociatedFunction_ptr_eq : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "ptr_eq" (ptr_eq T A). + M.IsAssociatedFunction.C (Self T A) "ptr_eq" (ptr_eq T A). Admitted. Global Typeclasses Opaque ptr_eq. End Impl_alloc_sync_Weak_T_A. @@ -13952,7 +13990,12 @@ Module sync. (M.alloc (| BinOp.gt (| M.read (| old_size |), - M.read (| M.get_constant "alloc::sync::MAX_REFCOUNT" |) + M.read (| + get_constant (| + "alloc::sync::MAX_REFCOUNT", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -14283,8 +14326,16 @@ Module sync. M.SubPointer.get_struct_record_field (| M.deref (| M.read (| - M.get_constant - "alloc::sync::STATIC_INNER_SLICE" + get_constant (| + "alloc::sync::STATIC_INNER_SLICE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.path + "alloc::sync::SliceArcInnerForStatic" + ] + |) |) |), "alloc::sync::SliceArcInnerForStatic", @@ -15620,57 +15671,63 @@ Module sync. ]; } *) - Definition value_MAX_STATIC_INNER_SLICE_ALIGNMENT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_MAX_STATIC_INNER_SLICE_ALIGNMENT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_MAX_STATIC_INNER_SLICE_ALIGNMENT : - (M.get_constant "alloc::sync::MAX_STATIC_INNER_SLICE_ALIGNMENT") = + Global Instance Instance_IsConstant_value_MAX_STATIC_INNER_SLICE_ALIGNMENT : + M.IsFunction.C + "alloc::sync::MAX_STATIC_INNER_SLICE_ALIGNMENT" value_MAX_STATIC_INNER_SLICE_ALIGNMENT. - Global Hint Rewrite Constant_value_MAX_STATIC_INNER_SLICE_ALIGNMENT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_STATIC_INNER_SLICE_ALIGNMENT. - Definition value_STATIC_INNER_SLICE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.StructRecord - "alloc::sync::SliceArcInnerForStatic" - [ - ("inner", - Value.StructRecord - "alloc::sync::ArcInner" - [ - ("strong", - M.call_closure (| + Definition value_STATIC_INNER_SLICE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.StructRecord + "alloc::sync::SliceArcInnerForStatic" + [ + ("inner", + Value.StructRecord + "alloc::sync::ArcInner" + [ + ("strong", + M.call_closure (| + Ty.path "core::sync::atomic::AtomicUsize", + M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", - M.get_associated_function (| - Ty.path "core::sync::atomic::AtomicUsize", - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |)); - ("weak", - M.call_closure (| + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |)); + ("weak", + M.call_closure (| + Ty.path "core::sync::atomic::AtomicUsize", + M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", - M.get_associated_function (| - Ty.path "core::sync::atomic::AtomicUsize", - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |)); - ("data", Value.Array [ Value.Integer IntegerKind.U8 0 ]) - ]) - ] - |) - |))). + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |)); + ("data", Value.Array [ Value.Integer IntegerKind.U8 0 ]) + ]) + ] + |) + |))). - Axiom Constant_value_STATIC_INNER_SLICE : - (M.get_constant "alloc::sync::STATIC_INNER_SLICE") = value_STATIC_INNER_SLICE. - Global Hint Rewrite Constant_value_STATIC_INNER_SLICE : constant_rewrites. + Global Instance Instance_IsConstant_value_STATIC_INNER_SLICE : + M.IsFunction.C "alloc::sync::STATIC_INNER_SLICE" value_STATIC_INNER_SLICE. + Admitted. + Global Typeclasses Opaque value_STATIC_INNER_SLICE. Module Impl_core_default_Default_for_alloc_sync_Arc_str_alloc_alloc_Global. Definition Self : Ty.t := @@ -16042,7 +16099,17 @@ Module sync. M.borrow (| Pointer.Kind.Ref, M.SubPointer.get_struct_record_field (| - M.deref (| M.read (| M.get_constant "alloc::sync::STATIC_INNER_SLICE" |) |), + M.deref (| + M.read (| + get_constant (| + "alloc::sync::STATIC_INNER_SLICE", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloc::sync::SliceArcInnerForStatic" ] + |) + |) + |), "alloc::sync::SliceArcInnerForStatic", "inner" |) @@ -16338,7 +16405,10 @@ Module sync. [] |), M.read (| - M.get_constant "alloc::sync::MAX_STATIC_INNER_SLICE_ALIGNMENT" + get_constant (| + "alloc::sync::MAX_STATIC_INNER_SLICE_ALIGNMENT", + Ty.path "usize" + |) |) |) |)) in @@ -16380,7 +16450,13 @@ Module sync. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "alloc::sync::STATIC_INNER_SLICE" + get_constant (| + "alloc::sync::STATIC_INNER_SLICE", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloc::sync::SliceArcInnerForStatic" ] + |) |) |) |) @@ -17579,7 +17655,7 @@ Module sync. |) ] |), - M.read (| M.get_constant "alloc::sync::N" |) + M.read (| get_constant (| "alloc::sync::N", Ty.path "usize" |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -18361,7 +18437,7 @@ Module sync. end. Global Instance Instance_IsFunction_data_offset : - M.IsFunction.Trait "alloc::sync::data_offset" data_offset. + M.IsFunction.C "alloc::sync::data_offset" data_offset. Admitted. Global Typeclasses Opaque data_offset. @@ -18419,7 +18495,7 @@ Module sync. end. Global Instance Instance_IsFunction_data_offset_align : - M.IsFunction.Trait "alloc::sync::data_offset_align" data_offset_align. + M.IsFunction.C "alloc::sync::data_offset_align" data_offset_align. Admitted. Global Typeclasses Opaque data_offset_align. @@ -18685,7 +18761,7 @@ Module sync. Global Instance AssociatedFunction_new : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new" (new T A). + M.IsAssociatedFunction.C (Self T A) "new" (new T A). Admitted. Global Typeclasses Opaque new. @@ -18782,7 +18858,7 @@ Module sync. Global Instance AssociatedFunction_data_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "data_ptr" (data_ptr T A). + M.IsAssociatedFunction.C (Self T A) "data_ptr" (data_ptr T A). Admitted. Global Typeclasses Opaque data_ptr. @@ -18950,7 +19026,7 @@ Module sync. Global Instance AssociatedFunction_into_arc : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_arc" (into_arc T A). + M.IsAssociatedFunction.C (Self T A) "into_arc" (into_arc T A). Admitted. Global Typeclasses Opaque into_arc. End Impl_alloc_sync_UniqueArcUninit_T_A. diff --git a/CoqOfRust/alloc/task.v b/CoqOfRust/alloc/task.v index e9e018def..5a987bec4 100644 --- a/CoqOfRust/alloc/task.v +++ b/CoqOfRust/alloc/task.v @@ -228,8 +228,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_raw_waker : - M.IsFunction.Trait "alloc::task::raw_waker" raw_waker. + Global Instance Instance_IsFunction_raw_waker : M.IsFunction.C "alloc::task::raw_waker" raw_waker. Admitted. Global Typeclasses Opaque raw_waker. @@ -309,7 +308,7 @@ Module task. end. Global Instance Instance_IsFunction_clone_waker : - M.IsFunction.Trait "alloc::task::raw_waker::clone_waker" clone_waker. + M.IsFunction.C "alloc::task::raw_waker::clone_waker" clone_waker. Admitted. Global Typeclasses Opaque clone_waker. @@ -352,8 +351,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_wake : - M.IsFunction.Trait "alloc::task::raw_waker::wake" wake. + Global Instance Instance_IsFunction_wake : M.IsFunction.C "alloc::task::raw_waker::wake" wake. Admitted. Global Typeclasses Opaque wake. @@ -470,7 +468,7 @@ Module task. end. Global Instance Instance_IsFunction_wake_by_ref : - M.IsFunction.Trait "alloc::task::raw_waker::wake_by_ref" wake_by_ref. + M.IsFunction.C "alloc::task::raw_waker::wake_by_ref" wake_by_ref. Admitted. Global Typeclasses Opaque wake_by_ref. @@ -504,7 +502,7 @@ Module task. end. Global Instance Instance_IsFunction_drop_waker : - M.IsFunction.Trait "alloc::task::raw_waker::drop_waker" drop_waker. + M.IsFunction.C "alloc::task::raw_waker::drop_waker" drop_waker. Admitted. Global Typeclasses Opaque drop_waker. End raw_waker. @@ -736,7 +734,7 @@ Module task. end. Global Instance Instance_IsFunction_local_raw_waker : - M.IsFunction.Trait "alloc::task::local_raw_waker" local_raw_waker. + M.IsFunction.C "alloc::task::local_raw_waker" local_raw_waker. Admitted. Global Typeclasses Opaque local_raw_waker. @@ -828,7 +826,7 @@ Module task. end. Global Instance Instance_IsFunction_clone_waker : - M.IsFunction.Trait "alloc::task::local_raw_waker::clone_waker" clone_waker. + M.IsFunction.C "alloc::task::local_raw_waker::clone_waker" clone_waker. Admitted. Global Typeclasses Opaque clone_waker. @@ -872,7 +870,7 @@ Module task. end. Global Instance Instance_IsFunction_wake : - M.IsFunction.Trait "alloc::task::local_raw_waker::wake" wake. + M.IsFunction.C "alloc::task::local_raw_waker::wake" wake. Admitted. Global Typeclasses Opaque wake. @@ -985,7 +983,7 @@ Module task. end. Global Instance Instance_IsFunction_wake_by_ref : - M.IsFunction.Trait "alloc::task::local_raw_waker::wake_by_ref" wake_by_ref. + M.IsFunction.C "alloc::task::local_raw_waker::wake_by_ref" wake_by_ref. Admitted. Global Typeclasses Opaque wake_by_ref. @@ -1019,7 +1017,7 @@ Module task. end. Global Instance Instance_IsFunction_drop_waker : - M.IsFunction.Trait "alloc::task::local_raw_waker::drop_waker" drop_waker. + M.IsFunction.C "alloc::task::local_raw_waker::drop_waker" drop_waker. Admitted. Global Typeclasses Opaque drop_waker. End local_raw_waker. diff --git a/CoqOfRust/alloc/vec/drain.v b/CoqOfRust/alloc/vec/drain.v index 087b8ff89..a3e204cb4 100644 --- a/CoqOfRust/alloc/vec/drain.v +++ b/CoqOfRust/alloc/vec/drain.v @@ -171,7 +171,7 @@ Module vec. Global Instance AssociatedFunction_as_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_slice" (as_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_slice" (as_slice T A). Admitted. Global Typeclasses Opaque as_slice. @@ -237,7 +237,7 @@ Module vec. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -534,7 +534,12 @@ Module vec. M.use (M.alloc (| UnOp.not (| - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) |) |)) in let _ := @@ -783,7 +788,7 @@ Module vec. Global Instance AssociatedFunction_keep_rest : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "keep_rest" (keep_rest T A). + M.IsAssociatedFunction.C (Self T A) "keep_rest" (keep_rest T A). Admitted. Global Typeclasses Opaque keep_rest. End Impl_alloc_vec_drain_Drain_T_A. @@ -1233,7 +1238,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| diff --git a/CoqOfRust/alloc/vec/extract_if.v b/CoqOfRust/alloc/vec/extract_if.v index c5b859f08..d006a674b 100644 --- a/CoqOfRust/alloc/vec/extract_if.v +++ b/CoqOfRust/alloc/vec/extract_if.v @@ -188,7 +188,7 @@ Module vec. Global Instance AssociatedFunction_allocator : forall (T F A : Ty.t), - M.IsAssociatedFunction.Trait (Self T F A) "allocator" (allocator T F A). + M.IsAssociatedFunction.C (Self T F A) "allocator" (allocator T F A). Admitted. Global Typeclasses Opaque allocator. End Impl_alloc_vec_extract_if_ExtractIf_T_F_A. diff --git a/CoqOfRust/alloc/vec/in_place_collect.v b/CoqOfRust/alloc/vec/in_place_collect.v index 18c915333..59195f5b5 100644 --- a/CoqOfRust/alloc/vec/in_place_collect.v +++ b/CoqOfRust/alloc/vec/in_place_collect.v @@ -46,8 +46,10 @@ Module vec. ltac:(M.monadic (let γ := M.use - (M.get_constant - "alloc::vec::in_place_collect::in_place_collectible_discriminant") in + (get_constant (| + "alloc::vec::in_place_collect::in_place_collectible_discriminant", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -131,7 +133,7 @@ Module vec. end. Global Instance Instance_IsFunction_in_place_collectible : - M.IsFunction.Trait "alloc::vec::in_place_collect::in_place_collectible" in_place_collectible. + M.IsFunction.C "alloc::vec::in_place_collect::in_place_collectible" in_place_collectible. Admitted. Global Typeclasses Opaque in_place_collectible. @@ -176,8 +178,10 @@ Module vec. ltac:(M.monadic (let γ := M.use - (M.get_constant - "alloc::vec::in_place_collect::needs_realloc_discriminant") in + (get_constant (| + "alloc::vec::in_place_collect::needs_realloc_discriminant", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -229,8 +233,10 @@ Module vec. ltac:(M.monadic (let γ := M.use - (M.get_constant - "alloc::vec::in_place_collect::needs_realloc_discriminant") in + (get_constant (| + "alloc::vec::in_place_collect::needs_realloc_discriminant", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -269,7 +275,7 @@ Module vec. end. Global Instance Instance_IsFunction_needs_realloc : - M.IsFunction.Trait "alloc::vec::in_place_collect::needs_realloc" needs_realloc. + M.IsFunction.C "alloc::vec::in_place_collect::needs_realloc" needs_realloc. Admitted. Global Typeclasses Opaque needs_realloc. @@ -334,7 +340,15 @@ Module vec. [] [ T; Ty.path "alloc::alloc::Global" ]) := M.copy (| - M.get_constant "alloc::vec::in_place_collect::from_iter_discriminant" + get_constant (| + "alloc::vec::in_place_collect::from_iter_discriminant", + Ty.function + [ I ] + (Ty.apply + (Ty.path "alloc::vec::Vec") + [] + [ T; Ty.path "alloc::alloc::Global" ]) + |) |) in M.alloc (| M.call_closure (| @@ -2045,7 +2059,7 @@ Module vec. end. Global Instance Instance_IsFunction_from_iter_in_place : - M.IsFunction.Trait "alloc::vec::in_place_collect::from_iter_in_place" from_iter_in_place. + M.IsFunction.C "alloc::vec::in_place_collect::from_iter_in_place" from_iter_in_place. Admitted. Global Typeclasses Opaque from_iter_in_place. @@ -2302,7 +2316,7 @@ Module vec. end. Global Instance Instance_IsFunction_write_in_place_with_drop : - M.IsFunction.Trait + M.IsFunction.C "alloc::vec::in_place_collect::write_in_place_with_drop" write_in_place_with_drop. Admitted. diff --git a/CoqOfRust/alloc/vec/in_place_drop.v b/CoqOfRust/alloc/vec/in_place_drop.v index d951d891e..a7661ed07 100644 --- a/CoqOfRust/alloc/vec/in_place_drop.v +++ b/CoqOfRust/alloc/vec/in_place_drop.v @@ -57,7 +57,7 @@ Module vec. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. End Impl_alloc_vec_in_place_drop_InPlaceDrop_T. diff --git a/CoqOfRust/alloc/vec/into_iter.v b/CoqOfRust/alloc/vec/into_iter.v index dd6ba7684..4b33cc7de 100644 --- a/CoqOfRust/alloc/vec/into_iter.v +++ b/CoqOfRust/alloc/vec/into_iter.v @@ -187,7 +187,7 @@ Module vec. Global Instance AssociatedFunction_as_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_slice" (as_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_slice" (as_slice T A). Admitted. Global Typeclasses Opaque as_slice. @@ -243,7 +243,7 @@ Module vec. Global Instance AssociatedFunction_as_mut_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_mut_slice" (as_mut_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_mut_slice" (as_mut_slice T A). Admitted. Global Typeclasses Opaque as_mut_slice. @@ -295,7 +295,7 @@ Module vec. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -360,7 +360,7 @@ Module vec. Global Instance AssociatedFunction_as_raw_mut_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_raw_mut_slice" (as_raw_mut_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_raw_mut_slice" (as_raw_mut_slice T A). Admitted. Global Typeclasses Opaque as_raw_mut_slice. @@ -531,7 +531,7 @@ Module vec. Global Instance AssociatedFunction_forget_allocation_drop_remaining : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "forget_allocation_drop_remaining" (forget_allocation_drop_remaining T A). @@ -594,7 +594,7 @@ Module vec. Global Instance AssociatedFunction_forget_remaining_elements : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "forget_remaining_elements" (forget_remaining_elements T A). @@ -715,7 +715,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1028,7 +1032,7 @@ Module vec. Global Instance AssociatedFunction_into_vecdeque : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_vecdeque" (into_vecdeque T A). + M.IsAssociatedFunction.C (Self T A) "into_vecdeque" (into_vecdeque T A). Admitted. Global Typeclasses Opaque into_vecdeque. End Impl_alloc_vec_into_iter_IntoIter_T_A. @@ -1150,7 +1154,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1414,7 +1422,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1631,7 +1643,12 @@ Module vec. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ : Ty.tuple [] := @@ -1856,7 +1873,10 @@ Module vec. M.alloc (| repeat (| M.read (| - M.get_constant "alloc::vec::into_iter::next_chunk_discriminant" + get_constant (| + "alloc::vec::into_iter::next_chunk_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) |), N |) @@ -1888,7 +1908,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1907,8 +1931,10 @@ Module vec. BinOp.lt (| M.read (| len |), M.read (| - M.get_constant - "alloc::vec::into_iter::next_chunk::N" + get_constant (| + "alloc::vec::into_iter::next_chunk::N", + Ty.path "usize" + |) |) |) |)) in @@ -2007,7 +2033,10 @@ Module vec. |) |); M.read (| - M.get_constant "alloc::vec::into_iter::next_chunk::N" + get_constant (| + "alloc::vec::into_iter::next_chunk::N", + Ty.path "usize" + |) |) ] |) @@ -2074,7 +2103,10 @@ Module vec. BinOp.lt (| M.read (| len |), M.read (| - M.get_constant "alloc::vec::into_iter::next_chunk::N" + get_constant (| + "alloc::vec::into_iter::next_chunk::N", + Ty.path "usize" + |) |) |) |)) in @@ -2256,7 +2288,12 @@ Module vec. |), [ M.borrow (| Pointer.Kind.MutRef, raw_ary |) ] |)); - M.read (| M.get_constant "alloc::vec::into_iter::next_chunk::N" |) + M.read (| + get_constant (| + "alloc::vec::into_iter::next_chunk::N", + Ty.path "usize" + |) + |) ] |) |) in @@ -2284,7 +2321,12 @@ Module vec. "ptr" |) |); - M.read (| M.get_constant "alloc::vec::into_iter::next_chunk::N" |) + M.read (| + get_constant (| + "alloc::vec::into_iter::next_chunk::N", + Ty.path "usize" + |) + |) ] |) |) @@ -2378,7 +2420,12 @@ Module vec. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.loop (| @@ -2758,7 +2805,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.loop (| @@ -3399,7 +3450,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ : Ty.tuple [] := @@ -3736,7 +3791,12 @@ Module vec. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ : Ty.tuple [] := @@ -3934,7 +3994,12 @@ Module vec. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| BinOp.eq (| @@ -4156,9 +4221,14 @@ Module vec. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T A : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T A : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T A in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T A : Ty.t), @@ -4168,8 +4238,7 @@ Module vec. (* Trait polymorphic types *) [] (Self T A) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T A)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T A)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_alloc_Allocator_A_where_alloc_vec_into_iter_NonDrop_T_for_alloc_vec_into_iter_IntoIter_T_A. Module Impl_core_clone_Clone_where_core_clone_Clone_T_where_core_alloc_Allocator_A_where_core_clone_Clone_A_for_alloc_vec_into_iter_IntoIter_T_A. @@ -4377,50 +4446,58 @@ Module vec. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (T A : Ty.t) : Value.t := + Definition value_EXPAND_BY + (T A : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T A in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |) + |))). (* const MERGE_BY: Option> = NonZero::new(1); *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (T A : Ty.t) : Value.t := + Definition value_MERGE_BY + (T A : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T A in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |) + |))). Axiom Implements : forall (T A : Ty.t), @@ -4431,8 +4508,8 @@ Module vec. (Self T A) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY T A)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY T A)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY T A)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY T A)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_alloc_Allocator_A_for_alloc_vec_into_iter_IntoIter_T_A. diff --git a/CoqOfRust/alloc/vec/is_zero.v b/CoqOfRust/alloc/vec/is_zero.v index 2cc58c060..fa619a1c6 100644 --- a/CoqOfRust/alloc/vec/is_zero.v +++ b/CoqOfRust/alloc/vec/is_zero.v @@ -1174,7 +1174,7 @@ Module vec. (let self := M.alloc (| self |) in LogicalOp.and (| BinOp.le (| - M.read (| M.get_constant "alloc::vec::is_zero::N" |), + M.read (| get_constant (| "alloc::vec::is_zero::N", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 16 |), ltac:(M.monadic @@ -2990,7 +2990,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3034,7 +3035,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3078,7 +3080,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3122,7 +3125,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3166,7 +3170,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3210,7 +3215,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3254,7 +3260,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3298,7 +3305,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3342,7 +3350,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3386,7 +3395,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3430,7 +3440,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", @@ -3474,7 +3485,8 @@ Module vec. ltac:(M.monadic (let self := M.alloc (| self |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "alloc::vec::is_zero::is_zero_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "alloc::vec::is_zero::is_zero_discriminant", Ty.tuple [] |) in M.alloc (| M.call_closure (| Ty.path "bool", diff --git a/CoqOfRust/alloc/vec/mod.v b/CoqOfRust/alloc/vec/mod.v index cf2dc14a7..f5aecf8b5 100644 --- a/CoqOfRust/alloc/vec/mod.v +++ b/CoqOfRust/alloc/vec/mod.v @@ -53,7 +53,7 @@ Module vec. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -83,7 +83,7 @@ Module vec. Global Instance AssociatedFunction_with_capacity : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_capacity" (with_capacity T). + M.IsAssociatedFunction.C (Self T) "with_capacity" (with_capacity T). Admitted. Global Typeclasses Opaque with_capacity. @@ -124,7 +124,7 @@ Module vec. Global Instance AssociatedFunction_try_with_capacity : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_with_capacity" (try_with_capacity T). + M.IsAssociatedFunction.C (Self T) "try_with_capacity" (try_with_capacity T). Admitted. Global Typeclasses Opaque try_with_capacity. @@ -166,7 +166,7 @@ Module vec. Global Instance AssociatedFunction_from_raw_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw_parts" (from_raw_parts T). + M.IsAssociatedFunction.C (Self T) "from_raw_parts" (from_raw_parts T). Admitted. Global Typeclasses Opaque from_raw_parts. @@ -203,7 +203,7 @@ Module vec. Global Instance AssociatedFunction_from_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_parts" (from_parts T). + M.IsAssociatedFunction.C (Self T) "from_parts" (from_parts T). Admitted. Global Typeclasses Opaque from_parts. End Impl_alloc_vec_Vec_T_alloc_alloc_Global. @@ -243,7 +243,7 @@ Module vec. Global Instance AssociatedFunction_new_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "new_in" (new_in T A). + M.IsAssociatedFunction.C (Self T A) "new_in" (new_in T A). Admitted. Global Typeclasses Opaque new_in. @@ -285,7 +285,7 @@ Module vec. Global Instance AssociatedFunction_with_capacity_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "with_capacity_in" (with_capacity_in T A). + M.IsAssociatedFunction.C (Self T A) "with_capacity_in" (with_capacity_in T A). Admitted. Global Typeclasses Opaque with_capacity_in. @@ -441,7 +441,7 @@ Module vec. Global Instance AssociatedFunction_try_with_capacity_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_with_capacity_in" (try_with_capacity_in T A). + M.IsAssociatedFunction.C (Self T A) "try_with_capacity_in" (try_with_capacity_in T A). Admitted. Global Typeclasses Opaque try_with_capacity_in. @@ -485,7 +485,7 @@ Module vec. Global Instance AssociatedFunction_from_raw_parts_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_raw_parts_in" (from_raw_parts_in T A). + M.IsAssociatedFunction.C (Self T A) "from_raw_parts_in" (from_raw_parts_in T A). Admitted. Global Typeclasses Opaque from_raw_parts_in. @@ -529,7 +529,7 @@ Module vec. Global Instance AssociatedFunction_from_parts_in : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "from_parts_in" (from_parts_in T A). + M.IsAssociatedFunction.C (Self T A) "from_parts_in" (from_parts_in T A). Admitted. Global Typeclasses Opaque from_parts_in. @@ -690,7 +690,7 @@ Module vec. Global Instance AssociatedFunction_into_raw_parts : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_raw_parts" (into_raw_parts T A). + M.IsAssociatedFunction.C (Self T A) "into_raw_parts" (into_raw_parts T A). Admitted. Global Typeclasses Opaque into_raw_parts. @@ -756,7 +756,7 @@ Module vec. Global Instance AssociatedFunction_into_parts : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_parts" (into_parts T A). + M.IsAssociatedFunction.C (Self T A) "into_parts" (into_parts T A). Admitted. Global Typeclasses Opaque into_parts. @@ -978,7 +978,7 @@ Module vec. Global Instance AssociatedFunction_into_raw_parts_with_alloc : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "into_raw_parts_with_alloc" (into_raw_parts_with_alloc T A). @@ -1056,7 +1056,7 @@ Module vec. Global Instance AssociatedFunction_into_parts_with_alloc : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_parts_with_alloc" (into_parts_with_alloc T A). + M.IsAssociatedFunction.C (Self T A) "into_parts_with_alloc" (into_parts_with_alloc T A). Admitted. Global Typeclasses Opaque into_parts_with_alloc. @@ -1095,7 +1095,7 @@ Module vec. Global Instance AssociatedFunction_capacity : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "capacity" (capacity T A). + M.IsAssociatedFunction.C (Self T A) "capacity" (capacity T A). Admitted. Global Typeclasses Opaque capacity. @@ -1149,7 +1149,7 @@ Module vec. Global Instance AssociatedFunction_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve" (reserve T A). + M.IsAssociatedFunction.C (Self T A) "reserve" (reserve T A). Admitted. Global Typeclasses Opaque reserve. @@ -1208,7 +1208,7 @@ Module vec. Global Instance AssociatedFunction_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "reserve_exact" (reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "reserve_exact" (reserve_exact T A). Admitted. Global Typeclasses Opaque reserve_exact. @@ -1259,7 +1259,7 @@ Module vec. Global Instance AssociatedFunction_try_reserve : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve" (try_reserve T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve" (try_reserve T A). Admitted. Global Typeclasses Opaque try_reserve. @@ -1315,7 +1315,7 @@ Module vec. Global Instance AssociatedFunction_try_reserve_exact : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "try_reserve_exact" (try_reserve_exact T A). + M.IsAssociatedFunction.C (Self T A) "try_reserve_exact" (try_reserve_exact T A). Admitted. Global Typeclasses Opaque try_reserve_exact. @@ -1410,7 +1410,7 @@ Module vec. Global Instance AssociatedFunction_shrink_to_fit : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to_fit" (shrink_to_fit T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to_fit" (shrink_to_fit T A). Admitted. Global Typeclasses Opaque shrink_to_fit. @@ -1499,7 +1499,7 @@ Module vec. Global Instance AssociatedFunction_shrink_to : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "shrink_to" (shrink_to T A). + M.IsAssociatedFunction.C (Self T A) "shrink_to" (shrink_to T A). Admitted. Global Typeclasses Opaque shrink_to. @@ -1696,7 +1696,7 @@ Module vec. Global Instance AssociatedFunction_into_boxed_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "into_boxed_slice" (into_boxed_slice T A). + M.IsAssociatedFunction.C (Self T A) "into_boxed_slice" (into_boxed_slice T A). Admitted. Global Typeclasses Opaque into_boxed_slice. @@ -1839,7 +1839,7 @@ Module vec. Global Instance AssociatedFunction_truncate : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "truncate" (truncate T A). + M.IsAssociatedFunction.C (Self T A) "truncate" (truncate T A). Admitted. Global Typeclasses Opaque truncate. @@ -1900,7 +1900,7 @@ Module vec. Global Instance AssociatedFunction_as_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_slice" (as_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_slice" (as_slice T A). Admitted. Global Typeclasses Opaque as_slice. @@ -1976,7 +1976,7 @@ Module vec. Global Instance AssociatedFunction_as_mut_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_mut_slice" (as_mut_slice T A). + M.IsAssociatedFunction.C (Self T A) "as_mut_slice" (as_mut_slice T A). Admitted. Global Typeclasses Opaque as_mut_slice. @@ -2019,7 +2019,7 @@ Module vec. Global Instance AssociatedFunction_as_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_ptr" (as_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_ptr" (as_ptr T A). Admitted. Global Typeclasses Opaque as_ptr. @@ -2060,7 +2060,7 @@ Module vec. Global Instance AssociatedFunction_as_mut_ptr : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_mut_ptr" (as_mut_ptr T A). + M.IsAssociatedFunction.C (Self T A) "as_mut_ptr" (as_mut_ptr T A). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -2102,7 +2102,7 @@ Module vec. Global Instance AssociatedFunction_as_non_null : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "as_non_null" (as_non_null T A). + M.IsAssociatedFunction.C (Self T A) "as_non_null" (as_non_null T A). Admitted. Global Typeclasses Opaque as_non_null. @@ -2146,7 +2146,7 @@ Module vec. Global Instance AssociatedFunction_allocator : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "allocator" (allocator T A). + M.IsAssociatedFunction.C (Self T A) "allocator" (allocator T A). Admitted. Global Typeclasses Opaque allocator. @@ -2245,7 +2245,7 @@ Module vec. Global Instance AssociatedFunction_set_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "set_len" (set_len T A). + M.IsAssociatedFunction.C (Self T A) "set_len" (set_len T A). Admitted. Global Typeclasses Opaque set_len. @@ -2425,7 +2425,7 @@ Module vec. Global Instance AssociatedFunction_swap_remove : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "swap_remove" (swap_remove T A). + M.IsAssociatedFunction.C (Self T A) "swap_remove" (swap_remove T A). Admitted. Global Typeclasses Opaque swap_remove. @@ -2666,7 +2666,7 @@ Module vec. Global Instance AssociatedFunction_insert : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "insert" (insert T A). + M.IsAssociatedFunction.C (Self T A) "insert" (insert T A). Admitted. Global Typeclasses Opaque insert. @@ -2833,7 +2833,7 @@ Module vec. Global Instance AssociatedFunction_remove : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "remove" (remove T A). + M.IsAssociatedFunction.C (Self T A) "remove" (remove T A). Admitted. Global Typeclasses Opaque remove. @@ -2921,7 +2921,7 @@ Module vec. Global Instance AssociatedFunction_retain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain" (retain T A). + M.IsAssociatedFunction.C (Self T A) "retain" (retain T A). Admitted. Global Typeclasses Opaque retain. @@ -3154,7 +3154,7 @@ Module vec. Global Instance AssociatedFunction_retain_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "retain_mut" (retain_mut T A). + M.IsAssociatedFunction.C (Self T A) "retain_mut" (retain_mut T A). Admitted. Global Typeclasses Opaque retain_mut. @@ -3321,7 +3321,7 @@ Module vec. Global Instance AssociatedFunction_dedup_by_key : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "dedup_by_key" (dedup_by_key T A). + M.IsAssociatedFunction.C (Self T A) "dedup_by_key" (dedup_by_key T A). Admitted. Global Typeclasses Opaque dedup_by_key. @@ -4041,7 +4041,7 @@ Module vec. Global Instance AssociatedFunction_dedup_by : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "dedup_by" (dedup_by T A). + M.IsAssociatedFunction.C (Self T A) "dedup_by" (dedup_by T A). Admitted. Global Typeclasses Opaque dedup_by. @@ -4183,7 +4183,7 @@ Module vec. Global Instance AssociatedFunction_push : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push" (push T A). + M.IsAssociatedFunction.C (Self T A) "push" (push T A). Admitted. Global Typeclasses Opaque push. @@ -4332,7 +4332,7 @@ Module vec. Global Instance AssociatedFunction_push_within_capacity : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "push_within_capacity" (push_within_capacity T A). + M.IsAssociatedFunction.C (Self T A) "push_within_capacity" (push_within_capacity T A). Admitted. Global Typeclasses Opaque push_within_capacity. @@ -4482,7 +4482,7 @@ Module vec. Global Instance AssociatedFunction_pop : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop" (pop T A). + M.IsAssociatedFunction.C (Self T A) "pop" (pop T A). Admitted. Global Typeclasses Opaque pop. @@ -4684,7 +4684,7 @@ Module vec. Global Instance AssociatedFunction_pop_if : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "pop_if" (pop_if T A). + M.IsAssociatedFunction.C (Self T A) "pop_if" (pop_if T A). Admitted. Global Typeclasses Opaque pop_if. @@ -4763,7 +4763,7 @@ Module vec. Global Instance AssociatedFunction_append : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "append" (append T A). + M.IsAssociatedFunction.C (Self T A) "append" (append T A). Admitted. Global Typeclasses Opaque append. @@ -4881,7 +4881,7 @@ Module vec. Global Instance AssociatedFunction_append_elements : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "append_elements" (append_elements T A). + M.IsAssociatedFunction.C (Self T A) "append_elements" (append_elements T A). Admitted. Global Typeclasses Opaque append_elements. @@ -5073,7 +5073,7 @@ Module vec. Global Instance AssociatedFunction_drain : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "drain" (drain T A). + M.IsAssociatedFunction.C (Self T A) "drain" (drain T A). Admitted. Global Typeclasses Opaque drain. @@ -5148,7 +5148,7 @@ Module vec. Global Instance AssociatedFunction_clear : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "clear" (clear T A). + M.IsAssociatedFunction.C (Self T A) "clear" (clear T A). Admitted. Global Typeclasses Opaque clear. @@ -5175,7 +5175,7 @@ Module vec. Global Instance AssociatedFunction_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "len" (len T A). + M.IsAssociatedFunction.C (Self T A) "len" (len T A). Admitted. Global Typeclasses Opaque len. @@ -5208,7 +5208,7 @@ Module vec. Global Instance AssociatedFunction_is_empty : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "is_empty" (is_empty T A). + M.IsAssociatedFunction.C (Self T A) "is_empty" (is_empty T A). Admitted. Global Typeclasses Opaque is_empty. @@ -5437,7 +5437,7 @@ Module vec. Global Instance AssociatedFunction_split_off : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_off" (split_off T A). + M.IsAssociatedFunction.C (Self T A) "split_off" (split_off T A). Admitted. Global Typeclasses Opaque split_off. @@ -5576,7 +5576,7 @@ Module vec. Global Instance AssociatedFunction_resize_with : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "resize_with" (resize_with T A). + M.IsAssociatedFunction.C (Self T A) "resize_with" (resize_with T A). Admitted. Global Typeclasses Opaque resize_with. @@ -5710,7 +5710,7 @@ Module vec. Global Instance AssociatedFunction_leak : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "leak" (leak T A). + M.IsAssociatedFunction.C (Self T A) "leak" (leak T A). Admitted. Global Typeclasses Opaque leak. @@ -5843,7 +5843,7 @@ Module vec. Global Instance AssociatedFunction_spare_capacity_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "spare_capacity_mut" (spare_capacity_mut T A). + M.IsAssociatedFunction.C (Self T A) "spare_capacity_mut" (spare_capacity_mut T A). Admitted. Global Typeclasses Opaque spare_capacity_mut. @@ -5917,7 +5917,7 @@ Module vec. Global Instance AssociatedFunction_split_at_spare_mut : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "split_at_spare_mut" (split_at_spare_mut T A). + M.IsAssociatedFunction.C (Self T A) "split_at_spare_mut" (split_at_spare_mut T A). Admitted. Global Typeclasses Opaque split_at_spare_mut. @@ -6111,7 +6111,7 @@ Module vec. Global Instance AssociatedFunction_split_at_spare_mut_with_len : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self T A) "split_at_spare_mut_with_len" (split_at_spare_mut_with_len T A). @@ -6202,7 +6202,7 @@ Module vec. Global Instance AssociatedFunction_resize : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "resize" (resize T A). + M.IsAssociatedFunction.C (Self T A) "resize" (resize T A). Admitted. Global Typeclasses Opaque resize. @@ -6251,7 +6251,7 @@ Module vec. Global Instance AssociatedFunction_extend_from_slice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extend_from_slice" (extend_from_slice T A). + M.IsAssociatedFunction.C (Self T A) "extend_from_slice" (extend_from_slice T A). Admitted. Global Typeclasses Opaque extend_from_slice. @@ -6362,7 +6362,7 @@ Module vec. Global Instance AssociatedFunction_extend_from_within : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extend_from_within" (extend_from_within T A). + M.IsAssociatedFunction.C (Self T A) "extend_from_within" (extend_from_within T A). Admitted. Global Typeclasses Opaque extend_from_within. (* @@ -6659,7 +6659,7 @@ Module vec. Global Instance AssociatedFunction_extend_with : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extend_with" (extend_with T A). + M.IsAssociatedFunction.C (Self T A) "extend_with" (extend_with T A). Admitted. Global Typeclasses Opaque extend_with. (* @@ -6757,7 +6757,7 @@ Module vec. Global Instance AssociatedFunction_dedup : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "dedup" (dedup T A). + M.IsAssociatedFunction.C (Self T A) "dedup" (dedup T A). Admitted. Global Typeclasses Opaque dedup. (* @@ -7021,7 +7021,7 @@ Module vec. Global Instance AssociatedFunction_extend_desugared : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extend_desugared" (extend_desugared T A). + M.IsAssociatedFunction.C (Self T A) "extend_desugared" (extend_desugared T A). Admitted. Global Typeclasses Opaque extend_desugared. @@ -7550,7 +7550,7 @@ Module vec. Global Instance AssociatedFunction_extend_trusted : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extend_trusted" (extend_trusted T A). + M.IsAssociatedFunction.C (Self T A) "extend_trusted" (extend_trusted T A). Admitted. Global Typeclasses Opaque extend_trusted. @@ -7613,7 +7613,7 @@ Module vec. Global Instance AssociatedFunction_splice : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "splice" (splice T A). + M.IsAssociatedFunction.C (Self T A) "splice" (splice T A). Admitted. Global Typeclasses Opaque splice. @@ -7688,7 +7688,7 @@ Module vec. Global Instance AssociatedFunction_extract_if : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "extract_if" (extract_if T A). + M.IsAssociatedFunction.C (Self T A) "extract_if" (extract_if T A). Admitted. Global Typeclasses Opaque extract_if. End Impl_alloc_vec_Vec_T_A. @@ -7776,7 +7776,11 @@ Module vec. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -7810,7 +7814,9 @@ Module vec. |), [ M.read (| len |); - M.read (| M.get_constant "alloc::vec::N" |) + M.read (| + get_constant (| "alloc::vec::N", Ty.path "usize" |) + |) ] |); M.borrow (| @@ -7819,7 +7825,13 @@ Module vec. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |))); fun γ => @@ -7837,7 +7849,9 @@ Module vec. |), [ M.read (| len |); - M.read (| M.get_constant "alloc::vec::N" |) + M.read (| + get_constant (| "alloc::vec::N", Ty.path "usize" |) + |) ] |); M.call_closure (| @@ -7850,7 +7864,9 @@ Module vec. |), [ M.read (| cap |); - M.read (| M.get_constant "alloc::vec::N" |) + M.read (| + get_constant (| "alloc::vec::N", Ty.path "usize" |) + |) ] |) ] @@ -7903,7 +7919,7 @@ Module vec. Global Instance AssociatedFunction_into_flattened : forall (N : Value.t) (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self N T A) "into_flattened" (into_flattened N T A). + M.IsAssociatedFunction.C (Self N T A) "into_flattened" (into_flattened N T A). Admitted. Global Typeclasses Opaque into_flattened. End Impl_alloc_vec_Vec_array_N_T_A. @@ -7937,8 +7953,7 @@ Module vec. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_elem : - M.IsFunction.Trait "alloc::vec::from_elem" from_elem. + Global Instance Instance_IsFunction_from_elem : M.IsFunction.C "alloc::vec::from_elem" from_elem. Admitted. Global Typeclasses Opaque from_elem. @@ -7971,7 +7986,7 @@ Module vec. end. Global Instance Instance_IsFunction_from_elem_in : - M.IsFunction.Trait "alloc::vec::from_elem_in" from_elem_in. + M.IsFunction.C "alloc::vec::from_elem_in" from_elem_in. Admitted. Global Typeclasses Opaque from_elem_in. @@ -9329,7 +9344,12 @@ Module vec. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -11137,7 +11157,7 @@ Module vec. |), [ M.borrow (| Pointer.Kind.Ref, vec |) ] |), - M.read (| M.get_constant "alloc::vec::N" |) + M.read (| get_constant (| "alloc::vec::N", Ty.path "usize" |) |) |) |)) in let _ := diff --git a/CoqOfRust/alloc/vec/set_len_on_drop.v b/CoqOfRust/alloc/vec/set_len_on_drop.v index 814b7e402..1def24a0b 100644 --- a/CoqOfRust/alloc/vec/set_len_on_drop.v +++ b/CoqOfRust/alloc/vec/set_len_on_drop.v @@ -37,7 +37,7 @@ Module vec. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -69,7 +69,7 @@ Module vec. end. Global Instance AssociatedFunction_increment_len : - M.IsAssociatedFunction.Trait Self "increment_len" increment_len. + M.IsAssociatedFunction.C Self "increment_len" increment_len. Admitted. Global Typeclasses Opaque increment_len. @@ -94,7 +94,7 @@ Module vec. end. Global Instance AssociatedFunction_current_len : - M.IsAssociatedFunction.Trait Self "current_len" current_len. + M.IsAssociatedFunction.C Self "current_len" current_len. Admitted. Global Typeclasses Opaque current_len. End Impl_alloc_vec_set_len_on_drop_SetLenOnDrop. diff --git a/CoqOfRust/alloc/vec/spec_from_iter_nested.v b/CoqOfRust/alloc/vec/spec_from_iter_nested.v index 97cf41d19..4b0179c7b 100644 --- a/CoqOfRust/alloc/vec/spec_from_iter_nested.v +++ b/CoqOfRust/alloc/vec/spec_from_iter_nested.v @@ -152,7 +152,14 @@ Module vec. |), [ M.read (| - M.get_constant "alloc::raw_vec::MIN_NON_ZERO_CAP" + get_associated_constant (| + Ty.apply + (Ty.path "alloc::raw_vec::RawVec") + [] + [ T; Ty.path "alloc::alloc::Global" ], + "MIN_NON_ZERO_CAP", + Ty.path "usize" + |) |); M.call_closure (| Ty.path "usize", diff --git a/CoqOfRust/alloc/vec/splice.v b/CoqOfRust/alloc/vec/splice.v index ae038582f..799e8c264 100644 --- a/CoqOfRust/alloc/vec/splice.v +++ b/CoqOfRust/alloc/vec/splice.v @@ -1695,7 +1695,7 @@ Module vec. Global Instance AssociatedFunction_fill : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "fill" (fill T A). + M.IsAssociatedFunction.C (Self T A) "fill" (fill T A). Admitted. Global Typeclasses Opaque fill. @@ -1909,7 +1909,7 @@ Module vec. Global Instance AssociatedFunction_move_tail : forall (T A : Ty.t), - M.IsAssociatedFunction.Trait (Self T A) "move_tail" (move_tail T A). + M.IsAssociatedFunction.C (Self T A) "move_tail" (move_tail T A). Admitted. Global Typeclasses Opaque move_tail. End Impl_alloc_vec_drain_Drain_T_A. diff --git a/CoqOfRust/alloy_primitives/bits/address.v b/CoqOfRust/alloy_primitives/bits/address.v index 71cc016f5..6f214e4f6 100644 --- a/CoqOfRust/alloy_primitives/bits/address.v +++ b/CoqOfRust/alloy_primitives/bits/address.v @@ -1011,7 +1011,7 @@ Module bits. end. Global Instance AssociatedFunction_from_word : - M.IsAssociatedFunction.Trait Self "from_word" from_word. + M.IsAssociatedFunction.C Self "from_word" from_word. Admitted. Global Typeclasses Opaque from_word. @@ -1145,7 +1145,7 @@ Module bits. end. Global Instance AssociatedFunction_into_word : - M.IsAssociatedFunction.Trait Self "into_word" into_word. + M.IsAssociatedFunction.C Self "into_word" into_word. Admitted. Global Typeclasses Opaque into_word. @@ -1212,7 +1212,7 @@ Module bits. end. Global Instance AssociatedFunction_parse_checksummed : - M.IsAssociatedFunction.Trait Self "parse_checksummed" parse_checksummed. + M.IsAssociatedFunction.C Self "parse_checksummed" parse_checksummed. Admitted. Global Typeclasses Opaque parse_checksummed. @@ -1279,7 +1279,7 @@ Module bits. end. Global Instance AssociatedFunction_to_checksum : - M.IsAssociatedFunction.Trait Self "to_checksum" to_checksum. + M.IsAssociatedFunction.C Self "to_checksum" to_checksum. Admitted. Global Typeclasses Opaque to_checksum. @@ -1436,7 +1436,7 @@ Module bits. end. Global Instance AssociatedFunction_to_checksum_raw : - M.IsAssociatedFunction.Trait Self "to_checksum_raw" to_checksum_raw. + M.IsAssociatedFunction.C Self "to_checksum_raw" to_checksum_raw. Admitted. Global Typeclasses Opaque to_checksum_raw. @@ -1491,7 +1491,7 @@ Module bits. end. Global Instance AssociatedFunction_to_checksum_buffer : - M.IsAssociatedFunction.Trait Self "to_checksum_buffer" to_checksum_buffer. + M.IsAssociatedFunction.C Self "to_checksum_buffer" to_checksum_buffer. Admitted. Global Typeclasses Opaque to_checksum_buffer. @@ -2062,7 +2062,7 @@ Module bits. end. Global Instance AssociatedFunction_to_checksum_inner : - M.IsAssociatedFunction.Trait Self "to_checksum_inner" to_checksum_inner. + M.IsAssociatedFunction.C Self "to_checksum_inner" to_checksum_inner. Admitted. Global Typeclasses Opaque to_checksum_inner. @@ -2178,7 +2178,7 @@ Module bits. end. Global Instance AssociatedFunction_create2_from_code : - M.IsAssociatedFunction.Trait Self "create2_from_code" create2_from_code. + M.IsAssociatedFunction.C Self "create2_from_code" create2_from_code. Admitted. Global Typeclasses Opaque create2_from_code. @@ -2276,8 +2276,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_create2 : - M.IsAssociatedFunction.Trait Self "create2" create2. + Global Instance AssociatedFunction_create2 : M.IsAssociatedFunction.C Self "create2" create2. Admitted. Global Typeclasses Opaque create2. @@ -2554,7 +2553,7 @@ Module bits. end. Global Instance AssociatedFunction__create2 : - M.IsAssociatedFunction.Trait Self "_create2" _create2. + M.IsAssociatedFunction.C Self "_create2" _create2. Admitted. Global Typeclasses Opaque _create2. @@ -2780,7 +2779,7 @@ Module bits. end. Global Instance AssociatedFunction_from_raw_public_key : - M.IsAssociatedFunction.Trait Self "from_raw_public_key" from_raw_public_key. + M.IsAssociatedFunction.C Self "from_raw_public_key" from_raw_public_key. Admitted. Global Typeclasses Opaque from_raw_public_key. End Impl_alloy_primitives_bits_address_Address. @@ -3014,7 +3013,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3119,7 +3118,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_format : M.IsAssociatedFunction.Trait Self "format" format. + Global Instance AssociatedFunction_format : M.IsAssociatedFunction.C Self "format" format. Admitted. Global Typeclasses Opaque format. @@ -3187,7 +3186,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -3270,7 +3269,7 @@ Module bits. end. Global Instance AssociatedFunction_as_mut_str : - M.IsAssociatedFunction.Trait Self "as_mut_str" as_mut_str. + M.IsAssociatedFunction.C Self "as_mut_str" as_mut_str. Admitted. Global Typeclasses Opaque as_mut_str. @@ -3317,7 +3316,7 @@ Module bits. end. Global Instance AssociatedFunction_to_string : - M.IsAssociatedFunction.Trait Self "to_string" to_string. + M.IsAssociatedFunction.C Self "to_string" to_string. Admitted. Global Typeclasses Opaque to_string. @@ -3361,7 +3360,7 @@ Module bits. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. End Impl_alloy_primitives_bits_address_AddressChecksumBuffer. diff --git a/CoqOfRust/alloy_primitives/bits/bloom.v b/CoqOfRust/alloy_primitives/bits/bloom.v index 97db12f87..3031f6014 100644 --- a/CoqOfRust/alloy_primitives/bits/bloom.v +++ b/CoqOfRust/alloy_primitives/bits/bloom.v @@ -3,70 +3,87 @@ Require Import CoqOfRust.CoqOfRust. Module bits. Module bloom. - Definition value_BLOOM_BITS_PER_ITEM : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 3 |))). + Definition value_BLOOM_BITS_PER_ITEM + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 3 |))). - Axiom Constant_value_BLOOM_BITS_PER_ITEM : - (M.get_constant "alloy_primitives::bits::bloom::BLOOM_BITS_PER_ITEM") = - value_BLOOM_BITS_PER_ITEM. - Global Hint Rewrite Constant_value_BLOOM_BITS_PER_ITEM : constant_rewrites. + Global Instance Instance_IsConstant_value_BLOOM_BITS_PER_ITEM : + M.IsFunction.C "alloy_primitives::bits::bloom::BLOOM_BITS_PER_ITEM" value_BLOOM_BITS_PER_ITEM. + Admitted. + Global Typeclasses Opaque value_BLOOM_BITS_PER_ITEM. - Definition value_BLOOM_SIZE_BYTES : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_BLOOM_SIZE_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_BLOOM_SIZE_BYTES : - (M.get_constant "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES") = value_BLOOM_SIZE_BYTES. - Global Hint Rewrite Constant_value_BLOOM_SIZE_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_BLOOM_SIZE_BYTES : + M.IsFunction.C "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES" value_BLOOM_SIZE_BYTES. + Admitted. + Global Typeclasses Opaque value_BLOOM_SIZE_BYTES. - Definition value_BLOOM_SIZE_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - M.read (| M.get_constant "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES" |), - Value.Integer IntegerKind.Usize 8 - |) - |))). + Definition value_BLOOM_SIZE_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + M.read (| + get_constant (| "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES", Ty.path "usize" |) + |), + Value.Integer IntegerKind.Usize 8 + |) + |))). - Axiom Constant_value_BLOOM_SIZE_BITS : - (M.get_constant "alloy_primitives::bits::bloom::BLOOM_SIZE_BITS") = value_BLOOM_SIZE_BITS. - Global Hint Rewrite Constant_value_BLOOM_SIZE_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_BLOOM_SIZE_BITS : + M.IsFunction.C "alloy_primitives::bits::bloom::BLOOM_SIZE_BITS" value_BLOOM_SIZE_BITS. + Admitted. + Global Typeclasses Opaque value_BLOOM_SIZE_BITS. - Definition value_MASK : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - M.read (| M.get_constant "alloy_primitives::bits::bloom::BLOOM_SIZE_BITS" |), - Value.Integer IntegerKind.Usize 1 - |) - |))). + Definition value_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + M.read (| + get_constant (| "alloy_primitives::bits::bloom::BLOOM_SIZE_BITS", Ty.path "usize" |) + |), + Value.Integer IntegerKind.Usize 1 + |) + |))). - Axiom Constant_value_MASK : (M.get_constant "alloy_primitives::bits::bloom::MASK") = value_MASK. - Global Hint Rewrite Constant_value_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_MASK : + M.IsFunction.C "alloy_primitives::bits::bloom::MASK" value_MASK. + Admitted. + Global Typeclasses Opaque value_MASK. - Definition value_ITEM_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| - BinOp.Wrap.add (| - M.cast - (Ty.path "usize") - (M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "usize", "ilog2", [], [] |), - [ M.read (| M.get_constant "alloy_primitives::bits::bloom::BLOOM_SIZE_BITS" |) ] - |)), - Value.Integer IntegerKind.Usize 7 - |), - Value.Integer IntegerKind.Usize 8 - |) - |))). + Definition value_ITEM_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.cast + (Ty.path "usize") + (M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "usize", "ilog2", [], [] |), + [ + M.read (| + get_constant (| + "alloy_primitives::bits::bloom::BLOOM_SIZE_BITS", + Ty.path "usize" + |) + |) + ] + |)), + Value.Integer IntegerKind.Usize 7 + |), + Value.Integer IntegerKind.Usize 8 + |) + |))). - Axiom Constant_value_ITEM_BYTES : - (M.get_constant "alloy_primitives::bits::bloom::ITEM_BYTES") = value_ITEM_BYTES. - Global Hint Rewrite Constant_value_ITEM_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_ITEM_BYTES : + M.IsFunction.C "alloy_primitives::bits::bloom::ITEM_BYTES" value_ITEM_BYTES. + Admitted. + Global Typeclasses Opaque value_ITEM_BYTES. (* Enum BloomInput @@ -317,7 +334,7 @@ Module bits. end. Global Instance AssociatedFunction_into_hash : - M.IsAssociatedFunction.Trait Self "into_hash" into_hash. + M.IsAssociatedFunction.C Self "into_hash" into_hash. Admitted. Global Typeclasses Opaque into_hash. End Impl_alloy_primitives_bits_bloom_BloomInput. @@ -339,7 +356,13 @@ Module bits. (let input := M.alloc (| input |) in M.read (| let~ bloom : Ty.path "alloy_primitives::bits::bloom::Bloom" := - M.copy (| M.get_constant "alloy_primitives::bits::bloom::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.path "alloy_primitives::bits::bloom::Bloom", + "ZERO", + Ty.path "alloy_primitives::bits::bloom::Bloom" + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -384,7 +407,13 @@ Module bits. (let iter := M.alloc (| iter |) in M.read (| let~ bloom : Ty.path "alloy_primitives::bits::bloom::Bloom" := - M.copy (| M.get_constant "alloy_primitives::bits::bloom::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.path "alloy_primitives::bits::bloom::Bloom", + "ZERO", + Ty.path "alloy_primitives::bits::bloom::Bloom" + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -648,7 +677,13 @@ Module bits. (let logs := M.alloc (| logs |) in M.read (| let~ bloom : Ty.path "alloy_primitives::bits::bloom::Bloom" := - M.copy (| M.get_constant "alloy_primitives::bits::bloom::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.path "alloy_primitives::bits::bloom::Bloom", + "ZERO", + Ty.path "alloy_primitives::bits::bloom::Bloom" + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -873,7 +908,13 @@ Module bits. (let inputs := M.alloc (| inputs |) in M.read (| let~ bloom : Ty.path "alloy_primitives::bits::bloom::Bloom" := - M.copy (| M.get_constant "alloy_primitives::bits::bloom::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.path "alloy_primitives::bits::bloom::Bloom", + "ZERO", + Ty.path "alloy_primitives::bits::bloom::Bloom" + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -1083,7 +1124,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_data : M.IsAssociatedFunction.Trait Self "data" data. + Global Instance AssociatedFunction_data : M.IsAssociatedFunction.C Self "data" data. Admitted. Global Typeclasses Opaque data. @@ -1123,7 +1164,7 @@ Module bits. end. Global Instance AssociatedFunction_data_mut : - M.IsAssociatedFunction.Trait Self "data_mut" data_mut. + M.IsAssociatedFunction.C Self "data_mut" data_mut. Admitted. Global Typeclasses Opaque data_mut. @@ -1177,7 +1218,7 @@ Module bits. end. Global Instance AssociatedFunction_contains_input : - M.IsAssociatedFunction.Trait Self "contains_input" contains_input. + M.IsAssociatedFunction.C Self "contains_input" contains_input. Admitted. Global Typeclasses Opaque contains_input. @@ -1224,7 +1265,7 @@ Module bits. end. Global Instance AssociatedFunction_const_contains : - M.IsAssociatedFunction.Trait Self "const_contains" const_contains. + M.IsAssociatedFunction.C Self "const_contains" const_contains. Admitted. Global Typeclasses Opaque const_contains. @@ -1278,7 +1319,7 @@ Module bits. end. Global Instance AssociatedFunction_contains : - M.IsAssociatedFunction.Trait Self "contains" contains. + M.IsAssociatedFunction.C Self "contains" contains. Admitted. Global Typeclasses Opaque contains. @@ -1432,8 +1473,10 @@ Module bits. ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| - M.get_constant - "alloy_primitives::bits::bloom::ITEM_BYTES" + get_constant (| + "alloy_primitives::bits::bloom::ITEM_BYTES", + Ty.path "usize" + |) |)) ] ] @@ -1580,7 +1623,10 @@ Module bits. BinOp.bit_and (M.read (| β |)) (M.read (| - M.get_constant "alloy_primitives::bits::bloom::MASK" + get_constant (| + "alloy_primitives::bits::bloom::MASK", + Ty.path "usize" + |) |)) |) |) in @@ -1615,8 +1661,10 @@ Module bits. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES" + get_constant (| + "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |), @@ -1652,7 +1700,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_accrue : M.IsAssociatedFunction.Trait Self "accrue" accrue. + Global Instance AssociatedFunction_accrue : M.IsAssociatedFunction.C Self "accrue" accrue. Admitted. Global Typeclasses Opaque accrue. @@ -1693,7 +1741,7 @@ Module bits. end. Global Instance AssociatedFunction_accrue_bloom : - M.IsAssociatedFunction.Trait Self "accrue_bloom" accrue_bloom. + M.IsAssociatedFunction.C Self "accrue_bloom" accrue_bloom. Admitted. Global Typeclasses Opaque accrue_bloom. @@ -1756,8 +1804,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_m3_2048 : - M.IsAssociatedFunction.Trait Self "m3_2048" m3_2048. + Global Instance AssociatedFunction_m3_2048 : M.IsAssociatedFunction.C Self "m3_2048" m3_2048. Admitted. Global Typeclasses Opaque m3_2048. @@ -1954,8 +2001,10 @@ Module bits. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES" + get_constant (| + "alloy_primitives::bits::bloom::BLOOM_SIZE_BYTES", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |), @@ -1992,7 +2041,7 @@ Module bits. end. Global Instance AssociatedFunction_m3_2048_hashed : - M.IsAssociatedFunction.Trait Self "m3_2048_hashed" m3_2048_hashed. + M.IsAssociatedFunction.C Self "m3_2048_hashed" m3_2048_hashed. Admitted. Global Typeclasses Opaque m3_2048_hashed. @@ -2266,7 +2315,7 @@ Module bits. end. Global Instance AssociatedFunction_accrue_raw_log : - M.IsAssociatedFunction.Trait Self "accrue_raw_log" accrue_raw_log. + M.IsAssociatedFunction.C Self "accrue_raw_log" accrue_raw_log. Admitted. Global Typeclasses Opaque accrue_raw_log. @@ -2357,7 +2406,7 @@ Module bits. end. Global Instance AssociatedFunction_accrue_log : - M.IsAssociatedFunction.Trait Self "accrue_log" accrue_log. + M.IsAssociatedFunction.C Self "accrue_log" accrue_log. Admitted. Global Typeclasses Opaque accrue_log. @@ -2432,7 +2481,7 @@ Module bits. end. Global Instance AssociatedFunction_contains_raw_log : - M.IsAssociatedFunction.Trait Self "contains_raw_log" contains_raw_log. + M.IsAssociatedFunction.C Self "contains_raw_log" contains_raw_log. Admitted. Global Typeclasses Opaque contains_raw_log. @@ -2523,7 +2572,7 @@ Module bits. end. Global Instance AssociatedFunction_contains_log : - M.IsAssociatedFunction.Trait Self "contains_log" contains_log. + M.IsAssociatedFunction.C Self "contains_log" contains_log. Admitted. Global Typeclasses Opaque contains_log. End Impl_alloy_primitives_bits_bloom_Bloom. diff --git a/CoqOfRust/alloy_primitives/bits/fixed.v b/CoqOfRust/alloy_primitives/bits/fixed.v index 8ecf39983..1b0e46f4a 100644 --- a/CoqOfRust/alloy_primitives/bits/fixed.v +++ b/CoqOfRust/alloy_primitives/bits/fixed.v @@ -896,7 +896,14 @@ Module bits. let Self : Ty.t := Self N in match ε, τ, α with | [], [], [] => - ltac:(M.monadic (M.read (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |))) + ltac:(M.monadic + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -932,7 +939,11 @@ Module bits. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::bits::fixed::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) |) |) |))) @@ -4436,7 +4447,10 @@ Module bits. LogicalOp.or (| BinOp.le (| M.read (| - M.get_constant "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 4 |), @@ -4758,13 +4772,19 @@ Module bits. ("start", BinOp.Wrap.sub (| M.read (| - M.get_constant "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 2 |)); ("end_", M.read (| - M.get_constant "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |)) ] ] @@ -4808,8 +4828,10 @@ Module bits. BinOp.Wrap.add (| Value.Integer IntegerKind.Usize 6, M.read (| - M.get_constant - "alloy_primitives::bits::fixed::fmt::SEP_LEN" + get_constant (| + "alloy_primitives::bits::fixed::fmt::SEP_LEN", + Ty.path "usize" + |) |) |)) ] @@ -5770,19 +5792,23 @@ Module bits. (* pub const ZERO: Self = Self([0u8; N]); *) (* Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] *) - Definition value_ZERO (N : Value.t) : Value.t := + Definition value_ZERO + (N : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N in - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "alloy_primitives::bits::fixed::FixedBytes" - [ repeat (| Value.Integer IntegerKind.U8 0, N |) ] - |))). + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloy_primitives::bits::fixed::FixedBytes" + [ repeat (| Value.Integer IntegerKind.U8 0, N |) ] + |))). Global Instance AssociatedConstant_value_ZERO : forall (N : Value.t), - M.IsAssociatedConstant.Trait (Self N) "value_ZERO" (value_ZERO N). + M.IsAssociatedFunction.C (Self N) "ZERO" (value_ZERO N). Admitted. Global Typeclasses Opaque value_ZERO. @@ -5803,7 +5829,7 @@ Module bits. Global Instance AssociatedFunction_new : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "new" (new N). + M.IsAssociatedFunction.C (Self N) "new" (new N). Admitted. Global Typeclasses Opaque new. @@ -5841,7 +5867,12 @@ Module bits. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |), + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -5853,7 +5884,12 @@ Module bits. M.SubPointer.get_array_field (| bytes, BinOp.Wrap.sub (| - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |), + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |), @@ -5873,7 +5909,7 @@ Module bits. Global Instance AssociatedFunction_with_last_byte : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "with_last_byte" (with_last_byte N). + M.IsAssociatedFunction.C (Self N) "with_last_byte" (with_last_byte N). Admitted. Global Typeclasses Opaque with_last_byte. @@ -5901,7 +5937,7 @@ Module bits. Global Instance AssociatedFunction_repeat_byte : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "repeat_byte" (repeat_byte N). + M.IsAssociatedFunction.C (Self N) "repeat_byte" (repeat_byte N). Admitted. Global Typeclasses Opaque repeat_byte. @@ -5919,13 +5955,14 @@ Module bits. let Self : Ty.t := Self N in match ε, τ, α with | [], [], [] => - ltac:(M.monadic (M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |))) + ltac:(M.monadic + (M.read (| get_constant (| "alloy_primitives::bits::fixed::N", Ty.path "usize" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_len_bytes : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "len_bytes" (len_bytes N). + M.IsAssociatedFunction.C (Self N) "len_bytes" (len_bytes N). Admitted. Global Typeclasses Opaque len_bytes. @@ -5971,14 +6008,24 @@ Module bits. UnOp.not (| BinOp.eq (| BinOp.Wrap.add (| - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |), M.read (| - M.get_constant - "alloy_primitives::bits::fixed::concat_const::M" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |), + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::concat_const::M", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant "alloy_primitives::bits::fixed::concat_const::Z" + get_constant (| + "alloy_primitives::bits::fixed::concat_const::Z", + Ty.path "usize" + |) |) |) |) @@ -6044,8 +6091,10 @@ Module bits. BinOp.lt (| M.read (| i |), M.read (| - M.get_constant - "alloy_primitives::bits::fixed::concat_const::Z" + get_constant (| + "alloy_primitives::bits::fixed::concat_const::Z", + Ty.path "usize" + |) |) |) |)) in @@ -6068,8 +6117,10 @@ Module bits. BinOp.ge (| M.read (| i |), M.read (| - M.get_constant - "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |) |) |)) in @@ -6087,7 +6138,10 @@ Module bits. BinOp.Wrap.sub (| M.read (| i |), M.read (| - M.get_constant "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |) |) |))); @@ -6143,7 +6197,7 @@ Module bits. Global Instance AssociatedFunction_concat_const : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "concat_const" (concat_const N). + M.IsAssociatedFunction.C (Self N) "concat_const" (concat_const N). Admitted. Global Typeclasses Opaque concat_const. @@ -6305,8 +6359,10 @@ Module bits. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |) |) |) @@ -6331,7 +6387,7 @@ Module bits. Global Instance AssociatedFunction_from_slice : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "from_slice" (from_slice N). + M.IsAssociatedFunction.C (Self N) "from_slice" (from_slice N). Admitted. Global Typeclasses Opaque from_slice. @@ -6382,7 +6438,12 @@ Module bits. UnOp.not (| BinOp.le (| M.read (| len |), - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |) + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |) |) |) |)) in @@ -6443,8 +6504,10 @@ Module bits. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |) |) |) @@ -6483,7 +6546,13 @@ Module bits. |) in let~ bytes : Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] := - M.copy (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -6528,7 +6597,10 @@ Module bits. ("start", BinOp.Wrap.sub (| M.read (| - M.get_constant "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |), M.read (| len |) |)) @@ -6548,7 +6620,7 @@ Module bits. Global Instance AssociatedFunction_left_padding_from : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "left_padding_from" (left_padding_from N). + M.IsAssociatedFunction.C (Self N) "left_padding_from" (left_padding_from N). Admitted. Global Typeclasses Opaque left_padding_from. @@ -6599,7 +6671,12 @@ Module bits. UnOp.not (| BinOp.le (| M.read (| len |), - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |) + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |) |) |) |)) in @@ -6660,8 +6737,10 @@ Module bits. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |) |) |) @@ -6700,7 +6779,13 @@ Module bits. |) in let~ bytes : Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] := - M.copy (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -6757,7 +6842,7 @@ Module bits. Global Instance AssociatedFunction_right_padding_from : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "right_padding_from" (right_padding_from N). + M.IsAssociatedFunction.C (Self N) "right_padding_from" (right_padding_from N). Admitted. Global Typeclasses Opaque right_padding_from. @@ -6790,7 +6875,7 @@ Module bits. Global Instance AssociatedFunction_as_slice : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "as_slice" (as_slice N). + M.IsAssociatedFunction.C (Self N) "as_slice" (as_slice N). Admitted. Global Typeclasses Opaque as_slice. @@ -6833,7 +6918,7 @@ Module bits. Global Instance AssociatedFunction_as_mut_slice : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "as_mut_slice" (as_mut_slice N). + M.IsAssociatedFunction.C (Self N) "as_mut_slice" (as_mut_slice N). Admitted. Global Typeclasses Opaque as_mut_slice. @@ -6890,7 +6975,7 @@ Module bits. Global Instance AssociatedFunction_covers : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "covers" (covers N). + M.IsAssociatedFunction.C (Self N) "covers" (covers N). Admitted. Global Typeclasses Opaque covers. @@ -6949,7 +7034,7 @@ Module bits. Global Instance AssociatedFunction_const_covers : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "const_covers" (const_covers N). + M.IsAssociatedFunction.C (Self N) "const_covers" (const_covers N). Admitted. Global Typeclasses Opaque const_covers. @@ -6992,7 +7077,10 @@ Module bits. BinOp.lt (| M.read (| i |), M.read (| - M.get_constant "alloy_primitives::bits::fixed::N" + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) |) |) |)) in @@ -7083,7 +7171,7 @@ Module bits. Global Instance AssociatedFunction_const_eq : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "const_eq" (const_eq N). + M.IsAssociatedFunction.C (Self N) "const_eq" (const_eq N). Admitted. Global Typeclasses Opaque const_eq. @@ -7113,7 +7201,11 @@ Module bits. M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::bits::fixed::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) |) ] |))) @@ -7122,7 +7214,7 @@ Module bits. Global Instance AssociatedFunction_is_zero : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "is_zero" (is_zero N). + M.IsAssociatedFunction.C (Self N) "is_zero" (is_zero N). Admitted. Global Typeclasses Opaque is_zero. @@ -7157,7 +7249,11 @@ Module bits. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::bits::fixed::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) |) |) |) @@ -7168,7 +7264,7 @@ Module bits. Global Instance AssociatedFunction_const_is_zero : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "const_is_zero" (const_is_zero N). + M.IsAssociatedFunction.C (Self N) "const_is_zero" (const_is_zero N). Admitted. Global Typeclasses Opaque const_is_zero. @@ -7192,7 +7288,13 @@ Module bits. let rhs := M.alloc (| rhs |) in M.read (| let~ ret : Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] := - M.copy (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) + |) in let~ i : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ : Ty.tuple [] := M.loop (| @@ -7209,7 +7311,12 @@ Module bits. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |) + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7281,7 +7388,7 @@ Module bits. Global Instance AssociatedFunction_bit_and : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "bit_and" (bit_and N). + M.IsAssociatedFunction.C (Self N) "bit_and" (bit_and N). Admitted. Global Typeclasses Opaque bit_and. @@ -7305,7 +7412,13 @@ Module bits. let rhs := M.alloc (| rhs |) in M.read (| let~ ret : Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] := - M.copy (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) + |) in let~ i : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ : Ty.tuple [] := M.loop (| @@ -7322,7 +7435,12 @@ Module bits. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |) + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7394,7 +7512,7 @@ Module bits. Global Instance AssociatedFunction_bit_or : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "bit_or" (bit_or N). + M.IsAssociatedFunction.C (Self N) "bit_or" (bit_or N). Admitted. Global Typeclasses Opaque bit_or. @@ -7418,7 +7536,13 @@ Module bits. let rhs := M.alloc (| rhs |) in M.read (| let~ ret : Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] := - M.copy (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N ] [] + |) + |) in let~ i : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in let~ _ : Ty.tuple [] := M.loop (| @@ -7435,7 +7559,12 @@ Module bits. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "alloy_primitives::bits::fixed::N" |) + M.read (| + get_constant (| + "alloy_primitives::bits::fixed::N", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7507,7 +7636,7 @@ Module bits. Global Instance AssociatedFunction_bit_xor : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "bit_xor" (bit_xor N). + M.IsAssociatedFunction.C (Self N) "bit_xor" (bit_xor N). Admitted. Global Typeclasses Opaque bit_xor. @@ -7551,7 +7680,10 @@ Module bits. ltac:(M.monadic (let γ := M.use - (M.get_constant "alloy_primitives::bits::fixed::fmt_hex::UPPER") in + (get_constant (| + "alloy_primitives::bits::fixed::fmt_hex::UPPER", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -7710,7 +7842,7 @@ Module bits. Global Instance AssociatedFunction_fmt_hex : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "fmt_hex" (fmt_hex N). + M.IsAssociatedFunction.C (Self N) "fmt_hex" (fmt_hex N). Admitted. Global Typeclasses Opaque fmt_hex. End Impl_alloy_primitives_bits_fixed_FixedBytes_N. diff --git a/CoqOfRust/alloy_primitives/bits/function.v b/CoqOfRust/alloy_primitives/bits/function.v index 855804810..8c6c692a7 100644 --- a/CoqOfRust/alloy_primitives/bits/function.v +++ b/CoqOfRust/alloy_primitives/bits/function.v @@ -165,7 +165,7 @@ Module bits. end. Global Instance AssociatedFunction_from_word : - M.IsAssociatedFunction.Trait Self "from_word" from_word. + M.IsAssociatedFunction.C Self "from_word" from_word. Admitted. Global Typeclasses Opaque from_word. @@ -299,7 +299,7 @@ Module bits. end. Global Instance AssociatedFunction_into_word : - M.IsAssociatedFunction.Trait Self "into_word" into_word. + M.IsAssociatedFunction.C Self "into_word" into_word. Admitted. Global Typeclasses Opaque into_word. @@ -506,7 +506,7 @@ Module bits. end. Global Instance AssociatedFunction_from_address_and_selector : - M.IsAssociatedFunction.Trait Self "from_address_and_selector" from_address_and_selector. + M.IsAssociatedFunction.C Self "from_address_and_selector" from_address_and_selector. Admitted. Global Typeclasses Opaque from_address_and_selector. @@ -750,7 +750,7 @@ Module bits. end. Global Instance AssociatedFunction_as_address_and_selector : - M.IsAssociatedFunction.Trait Self "as_address_and_selector" as_address_and_selector. + M.IsAssociatedFunction.C Self "as_address_and_selector" as_address_and_selector. Admitted. Global Typeclasses Opaque as_address_and_selector. @@ -820,7 +820,7 @@ Module bits. end. Global Instance AssociatedFunction_to_address_and_selector : - M.IsAssociatedFunction.Trait Self "to_address_and_selector" to_address_and_selector. + M.IsAssociatedFunction.C Self "to_address_and_selector" to_address_and_selector. Admitted. Global Typeclasses Opaque to_address_and_selector. End Impl_alloy_primitives_bits_function_Function. diff --git a/CoqOfRust/alloy_primitives/bits/links/fixed.v b/CoqOfRust/alloy_primitives/bits/links/fixed.v index 6d55af5a5..b13b807e3 100644 --- a/CoqOfRust/alloy_primitives/bits/links/fixed.v +++ b/CoqOfRust/alloy_primitives/bits/links/fixed.v @@ -1,5 +1,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. +Require Import core.links.array. +Require Import alloy_primitives.bits.fixed. (* pub struct FixedBytes(pub [u8; N]); *) Module FixedBytes. @@ -16,8 +18,25 @@ Module FixedBytes. N' = φ N -> OfTy.t (Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ N' ] []). Proof. - intros; subst. - eapply OfTy.Make with (A := t N); reflexivity. + intros. + eapply OfTy.Make with (A := t N). + subst. + reflexivity. Defined. Smpl Add eapply of_ty : of_ty. End FixedBytes. + +Module Impl_FixedBytes. + Definition Self (N: Usize.t) : Set := + FixedBytes.t N. + + (* pub fn new(bytes: [u8; N]) -> Self *) + Instance run_new (N: Usize.t) (bytes: array.t U8.t N) : + Run.Trait + (bits.fixed.Impl_alloy_primitives_bits_fixed_FixedBytes_N.new (φ N)) [] [] [φ bytes] + (Self N). + Proof. + constructor. + run_symbolic. + Admitted. +End Impl_FixedBytes. diff --git a/CoqOfRust/alloy_primitives/bits/macros.v b/CoqOfRust/alloy_primitives/bits/macros.v index f9c17d7ed..49d4e0c16 100644 --- a/CoqOfRust/alloy_primitives/bits/macros.v +++ b/CoqOfRust/alloy_primitives/bits/macros.v @@ -5176,17 +5176,30 @@ Module bits. (* pub const ZERO: Self = Self($crate::FixedBytes::ZERO); *) (* Ty.path "alloy_primitives::bits::address::Address" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "alloy_primitives::bits::address::Address" - [ M.read (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloy_primitives::bits::address::Address" + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 20 ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 20 ] + [] + |) + |) + ] + |))). Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. @@ -5207,7 +5220,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5245,7 +5258,7 @@ Module bits. end. Global Instance AssociatedFunction_with_last_byte : - M.IsAssociatedFunction.Trait Self "with_last_byte" with_last_byte. + M.IsAssociatedFunction.C Self "with_last_byte" with_last_byte. Admitted. Global Typeclasses Opaque with_last_byte. @@ -5283,7 +5296,7 @@ Module bits. end. Global Instance AssociatedFunction_repeat_byte : - M.IsAssociatedFunction.Trait Self "repeat_byte" repeat_byte. + M.IsAssociatedFunction.C Self "repeat_byte" repeat_byte. Admitted. Global Typeclasses Opaque repeat_byte. @@ -5299,7 +5312,7 @@ Module bits. end. Global Instance AssociatedFunction_len_bytes : - M.IsAssociatedFunction.Trait Self "len_bytes" len_bytes. + M.IsAssociatedFunction.C Self "len_bytes" len_bytes. Admitted. Global Typeclasses Opaque len_bytes. @@ -5458,7 +5471,7 @@ Module bits. end. Global Instance AssociatedFunction_from_slice : - M.IsAssociatedFunction.Trait Self "from_slice" from_slice. + M.IsAssociatedFunction.C Self "from_slice" from_slice. Admitted. Global Typeclasses Opaque from_slice. @@ -5496,7 +5509,7 @@ Module bits. end. Global Instance AssociatedFunction_left_padding_from : - M.IsAssociatedFunction.Trait Self "left_padding_from" left_padding_from. + M.IsAssociatedFunction.C Self "left_padding_from" left_padding_from. Admitted. Global Typeclasses Opaque left_padding_from. @@ -5534,7 +5547,7 @@ Module bits. end. Global Instance AssociatedFunction_right_padding_from : - M.IsAssociatedFunction.Trait Self "right_padding_from" right_padding_from. + M.IsAssociatedFunction.C Self "right_padding_from" right_padding_from. Admitted. Global Typeclasses Opaque right_padding_from. @@ -5563,7 +5576,7 @@ Module bits. end. Global Instance AssociatedFunction_into_array : - M.IsAssociatedFunction.Trait Self "into_array" into_array. + M.IsAssociatedFunction.C Self "into_array" into_array. Admitted. Global Typeclasses Opaque into_array. @@ -5623,7 +5636,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_covers : M.IsAssociatedFunction.Trait Self "covers" covers. + Global Instance AssociatedFunction_covers : M.IsAssociatedFunction.C Self "covers" covers. Admitted. Global Typeclasses Opaque covers. @@ -5677,7 +5690,7 @@ Module bits. end. Global Instance AssociatedFunction_const_eq : - M.IsAssociatedFunction.Trait Self "const_eq" const_eq. + M.IsAssociatedFunction.C Self "const_eq" const_eq. Admitted. Global Typeclasses Opaque const_eq. @@ -5730,8 +5743,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_and : - M.IsAssociatedFunction.Trait Self "bit_and" bit_and. + Global Instance AssociatedFunction_bit_and : M.IsAssociatedFunction.C Self "bit_and" bit_and. Admitted. Global Typeclasses Opaque bit_and. @@ -5784,7 +5796,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_or : M.IsAssociatedFunction.Trait Self "bit_or" bit_or. + Global Instance AssociatedFunction_bit_or : M.IsAssociatedFunction.C Self "bit_or" bit_or. Admitted. Global Typeclasses Opaque bit_or. @@ -5837,8 +5849,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_xor : - M.IsAssociatedFunction.Trait Self "bit_xor" bit_xor. + Global Instance AssociatedFunction_bit_xor : M.IsAssociatedFunction.C Self "bit_xor" bit_xor. Admitted. Global Typeclasses Opaque bit_xor. End Impl_alloy_primitives_bits_address_Address. @@ -11090,17 +11101,30 @@ Module bits. (* pub const ZERO: Self = Self($crate::FixedBytes::ZERO); *) (* Ty.path "alloy_primitives::bits::bloom::Bloom" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "alloy_primitives::bits::bloom::Bloom" - [ M.read (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloy_primitives::bits::bloom::Bloom" + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 256 ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 256 ] + [] + |) + |) + ] + |))). Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. @@ -11121,7 +11145,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -11159,7 +11183,7 @@ Module bits. end. Global Instance AssociatedFunction_with_last_byte : - M.IsAssociatedFunction.Trait Self "with_last_byte" with_last_byte. + M.IsAssociatedFunction.C Self "with_last_byte" with_last_byte. Admitted. Global Typeclasses Opaque with_last_byte. @@ -11197,7 +11221,7 @@ Module bits. end. Global Instance AssociatedFunction_repeat_byte : - M.IsAssociatedFunction.Trait Self "repeat_byte" repeat_byte. + M.IsAssociatedFunction.C Self "repeat_byte" repeat_byte. Admitted. Global Typeclasses Opaque repeat_byte. @@ -11213,7 +11237,7 @@ Module bits. end. Global Instance AssociatedFunction_len_bytes : - M.IsAssociatedFunction.Trait Self "len_bytes" len_bytes. + M.IsAssociatedFunction.C Self "len_bytes" len_bytes. Admitted. Global Typeclasses Opaque len_bytes. @@ -11372,7 +11396,7 @@ Module bits. end. Global Instance AssociatedFunction_from_slice : - M.IsAssociatedFunction.Trait Self "from_slice" from_slice. + M.IsAssociatedFunction.C Self "from_slice" from_slice. Admitted. Global Typeclasses Opaque from_slice. @@ -11410,7 +11434,7 @@ Module bits. end. Global Instance AssociatedFunction_left_padding_from : - M.IsAssociatedFunction.Trait Self "left_padding_from" left_padding_from. + M.IsAssociatedFunction.C Self "left_padding_from" left_padding_from. Admitted. Global Typeclasses Opaque left_padding_from. @@ -11448,7 +11472,7 @@ Module bits. end. Global Instance AssociatedFunction_right_padding_from : - M.IsAssociatedFunction.Trait Self "right_padding_from" right_padding_from. + M.IsAssociatedFunction.C Self "right_padding_from" right_padding_from. Admitted. Global Typeclasses Opaque right_padding_from. @@ -11477,7 +11501,7 @@ Module bits. end. Global Instance AssociatedFunction_into_array : - M.IsAssociatedFunction.Trait Self "into_array" into_array. + M.IsAssociatedFunction.C Self "into_array" into_array. Admitted. Global Typeclasses Opaque into_array. @@ -11536,7 +11560,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_covers : M.IsAssociatedFunction.Trait Self "covers" covers. + Global Instance AssociatedFunction_covers : M.IsAssociatedFunction.C Self "covers" covers. Admitted. Global Typeclasses Opaque covers. @@ -11590,7 +11614,7 @@ Module bits. end. Global Instance AssociatedFunction_const_eq : - M.IsAssociatedFunction.Trait Self "const_eq" const_eq. + M.IsAssociatedFunction.C Self "const_eq" const_eq. Admitted. Global Typeclasses Opaque const_eq. @@ -11643,8 +11667,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_and : - M.IsAssociatedFunction.Trait Self "bit_and" bit_and. + Global Instance AssociatedFunction_bit_and : M.IsAssociatedFunction.C Self "bit_and" bit_and. Admitted. Global Typeclasses Opaque bit_and. @@ -11697,7 +11720,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_or : M.IsAssociatedFunction.Trait Self "bit_or" bit_or. + Global Instance AssociatedFunction_bit_or : M.IsAssociatedFunction.C Self "bit_or" bit_or. Admitted. Global Typeclasses Opaque bit_or. @@ -11750,8 +11773,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_xor : - M.IsAssociatedFunction.Trait Self "bit_xor" bit_xor. + Global Instance AssociatedFunction_bit_xor : M.IsAssociatedFunction.C Self "bit_xor" bit_xor. Admitted. Global Typeclasses Opaque bit_xor. End Impl_alloy_primitives_bits_bloom_Bloom. @@ -19363,17 +19385,30 @@ Module bits. (* pub const ZERO: Self = Self($crate::FixedBytes::ZERO); *) (* Ty.path "alloy_primitives::bits::function::Function" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "alloy_primitives::bits::function::Function" - [ M.read (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloy_primitives::bits::function::Function" + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 24 ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 24 ] + [] + |) + |) + ] + |))). Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. @@ -19394,7 +19429,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -19432,7 +19467,7 @@ Module bits. end. Global Instance AssociatedFunction_with_last_byte : - M.IsAssociatedFunction.Trait Self "with_last_byte" with_last_byte. + M.IsAssociatedFunction.C Self "with_last_byte" with_last_byte. Admitted. Global Typeclasses Opaque with_last_byte. @@ -19470,7 +19505,7 @@ Module bits. end. Global Instance AssociatedFunction_repeat_byte : - M.IsAssociatedFunction.Trait Self "repeat_byte" repeat_byte. + M.IsAssociatedFunction.C Self "repeat_byte" repeat_byte. Admitted. Global Typeclasses Opaque repeat_byte. @@ -19486,7 +19521,7 @@ Module bits. end. Global Instance AssociatedFunction_len_bytes : - M.IsAssociatedFunction.Trait Self "len_bytes" len_bytes. + M.IsAssociatedFunction.C Self "len_bytes" len_bytes. Admitted. Global Typeclasses Opaque len_bytes. @@ -19645,7 +19680,7 @@ Module bits. end. Global Instance AssociatedFunction_from_slice : - M.IsAssociatedFunction.Trait Self "from_slice" from_slice. + M.IsAssociatedFunction.C Self "from_slice" from_slice. Admitted. Global Typeclasses Opaque from_slice. @@ -19683,7 +19718,7 @@ Module bits. end. Global Instance AssociatedFunction_left_padding_from : - M.IsAssociatedFunction.Trait Self "left_padding_from" left_padding_from. + M.IsAssociatedFunction.C Self "left_padding_from" left_padding_from. Admitted. Global Typeclasses Opaque left_padding_from. @@ -19721,7 +19756,7 @@ Module bits. end. Global Instance AssociatedFunction_right_padding_from : - M.IsAssociatedFunction.Trait Self "right_padding_from" right_padding_from. + M.IsAssociatedFunction.C Self "right_padding_from" right_padding_from. Admitted. Global Typeclasses Opaque right_padding_from. @@ -19750,7 +19785,7 @@ Module bits. end. Global Instance AssociatedFunction_into_array : - M.IsAssociatedFunction.Trait Self "into_array" into_array. + M.IsAssociatedFunction.C Self "into_array" into_array. Admitted. Global Typeclasses Opaque into_array. @@ -19810,7 +19845,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_covers : M.IsAssociatedFunction.Trait Self "covers" covers. + Global Instance AssociatedFunction_covers : M.IsAssociatedFunction.C Self "covers" covers. Admitted. Global Typeclasses Opaque covers. @@ -19864,7 +19899,7 @@ Module bits. end. Global Instance AssociatedFunction_const_eq : - M.IsAssociatedFunction.Trait Self "const_eq" const_eq. + M.IsAssociatedFunction.C Self "const_eq" const_eq. Admitted. Global Typeclasses Opaque const_eq. @@ -19917,8 +19952,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_and : - M.IsAssociatedFunction.Trait Self "bit_and" bit_and. + Global Instance AssociatedFunction_bit_and : M.IsAssociatedFunction.C Self "bit_and" bit_and. Admitted. Global Typeclasses Opaque bit_and. @@ -19971,7 +20005,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_or : M.IsAssociatedFunction.Trait Self "bit_or" bit_or. + Global Instance AssociatedFunction_bit_or : M.IsAssociatedFunction.C Self "bit_or" bit_or. Admitted. Global Typeclasses Opaque bit_or. @@ -20024,8 +20058,7 @@ Module bits. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bit_xor : - M.IsAssociatedFunction.Trait Self "bit_xor" bit_xor. + Global Instance AssociatedFunction_bit_xor : M.IsAssociatedFunction.C Self "bit_xor" bit_xor. Admitted. Global Typeclasses Opaque bit_xor. End Impl_alloy_primitives_bits_function_Function. diff --git a/CoqOfRust/alloy_primitives/bytes/mod.v b/CoqOfRust/alloy_primitives/bytes/mod.v index bf16babcf..22e3f5353 100644 --- a/CoqOfRust/alloy_primitives/bytes/mod.v +++ b/CoqOfRust/alloy_primitives/bytes/mod.v @@ -389,7 +389,14 @@ Module bytes_. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "alloy_primitives::bytes_::default::EMPTY" |) |) + M.deref (| + M.read (| + get_constant (| + "alloy_primitives::bytes_::default::EMPTY", + Ty.apply (Ty.path "&") [] [ Ty.path "alloy_primitives::bytes_::Bytes" ] + |) + |) + |) |) |) |))) @@ -2539,7 +2546,7 @@ Module bytes_. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2571,7 +2578,7 @@ Module bytes_. end. Global Instance AssociatedFunction_from_static : - M.IsAssociatedFunction.Trait Self "from_static" from_static. + M.IsAssociatedFunction.C Self "from_static" from_static. Admitted. Global Typeclasses Opaque from_static. @@ -2603,7 +2610,7 @@ Module bytes_. end. Global Instance AssociatedFunction_copy_from_slice : - M.IsAssociatedFunction.Trait Self "copy_from_slice" copy_from_slice. + M.IsAssociatedFunction.C Self "copy_from_slice" copy_from_slice. Admitted. Global Typeclasses Opaque copy_from_slice. @@ -2645,7 +2652,7 @@ Module bytes_. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_slice : M.IsAssociatedFunction.Trait Self "slice" slice. + Global Instance AssociatedFunction_slice : M.IsAssociatedFunction.C Self "slice" slice. Admitted. Global Typeclasses Opaque slice. @@ -2683,7 +2690,7 @@ Module bytes_. end. Global Instance AssociatedFunction_slice_ref : - M.IsAssociatedFunction.Trait Self "slice_ref" slice_ref. + M.IsAssociatedFunction.C Self "slice_ref" slice_ref. Admitted. Global Typeclasses Opaque slice_ref. @@ -2721,7 +2728,7 @@ Module bytes_. end. Global Instance AssociatedFunction_split_off : - M.IsAssociatedFunction.Trait Self "split_off" split_off. + M.IsAssociatedFunction.C Self "split_off" split_off. Admitted. Global Typeclasses Opaque split_off. @@ -2758,8 +2765,7 @@ Module bytes_. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_split_to : - M.IsAssociatedFunction.Trait Self "split_to" split_to. + Global Instance AssociatedFunction_split_to : M.IsAssociatedFunction.C Self "split_to" split_to. Admitted. Global Typeclasses Opaque split_to. End Impl_alloy_primitives_bytes__Bytes. diff --git a/CoqOfRust/alloy_primitives/common.v b/CoqOfRust/alloy_primitives/common.v index 0d7638cbd..ac255f911 100644 --- a/CoqOfRust/alloy_primitives/common.v +++ b/CoqOfRust/alloy_primitives/common.v @@ -621,7 +621,7 @@ Module common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to : M.IsAssociatedFunction.Trait Self "to" to. + Global Instance AssociatedFunction_to : M.IsAssociatedFunction.C Self "to" to. Admitted. Global Typeclasses Opaque to. @@ -654,7 +654,7 @@ Module common. end. Global Instance AssociatedFunction_is_create : - M.IsAssociatedFunction.Trait Self "is_create" is_create. + M.IsAssociatedFunction.C Self "is_create" is_create. Admitted. Global Typeclasses Opaque is_create. @@ -690,8 +690,7 @@ Module common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_call : - M.IsAssociatedFunction.Trait Self "is_call" is_call. + Global Instance AssociatedFunction_is_call : M.IsAssociatedFunction.C Self "is_call" is_call. Admitted. Global Typeclasses Opaque is_call. @@ -717,7 +716,7 @@ Module common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_size : M.IsAssociatedFunction.Trait Self "size" size. + Global Instance AssociatedFunction_size : M.IsAssociatedFunction.C Self "size" size. Admitted. Global Typeclasses Opaque size. End Impl_alloy_primitives_common_TxKind. diff --git a/CoqOfRust/alloy_primitives/log/mod.v b/CoqOfRust/alloy_primitives/log/mod.v index c2073a65d..d05cf1b18 100644 --- a/CoqOfRust/alloy_primitives/log/mod.v +++ b/CoqOfRust/alloy_primitives/log/mod.v @@ -18,7 +18,13 @@ Module log. (let logs := M.alloc (| logs |) in M.read (| let~ bloom : Ty.path "alloy_primitives::bits::bloom::Bloom" := - M.copy (| M.get_constant "alloy_primitives::bits::bloom::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.path "alloy_primitives::bits::bloom::Bloom", + "ZERO", + Ty.path "alloy_primitives::bits::bloom::Bloom" + |) + |) in let~ _ : Ty.tuple [] := M.use (M.match_operator (| @@ -138,7 +144,7 @@ Module log. end. Global Instance Instance_IsFunction_logs_bloom : - M.IsFunction.Trait "alloy_primitives::log::logs_bloom" logs_bloom. + M.IsFunction.C "alloy_primitives::log::logs_bloom" logs_bloom. Admitted. Global Typeclasses Opaque logs_bloom. @@ -677,7 +683,7 @@ Module log. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -738,7 +744,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -798,7 +804,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.Trait Self "empty" empty. + Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.C Self "empty" empty. Admitted. Global Typeclasses Opaque empty. @@ -846,8 +852,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_valid : - M.IsAssociatedFunction.Trait Self "is_valid" is_valid. + Global Instance AssociatedFunction_is_valid : M.IsAssociatedFunction.C Self "is_valid" is_valid. Admitted. Global Typeclasses Opaque is_valid. @@ -918,7 +923,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_topics : M.IsAssociatedFunction.Trait Self "topics" topics. + Global Instance AssociatedFunction_topics : M.IsAssociatedFunction.C Self "topics" topics. Admitted. Global Typeclasses Opaque topics. @@ -995,7 +1000,7 @@ Module log. end. Global Instance AssociatedFunction_topics_mut : - M.IsAssociatedFunction.Trait Self "topics_mut" topics_mut. + M.IsAssociatedFunction.C Self "topics_mut" topics_mut. Admitted. Global Typeclasses Opaque topics_mut. @@ -1031,7 +1036,7 @@ Module log. end. Global Instance AssociatedFunction_topics_mut_unchecked : - M.IsAssociatedFunction.Trait Self "topics_mut_unchecked" topics_mut_unchecked. + M.IsAssociatedFunction.C Self "topics_mut_unchecked" topics_mut_unchecked. Admitted. Global Typeclasses Opaque topics_mut_unchecked. @@ -1064,7 +1069,7 @@ Module log. end. Global Instance AssociatedFunction_set_topics_unchecked : - M.IsAssociatedFunction.Trait Self "set_topics_unchecked" set_topics_unchecked. + M.IsAssociatedFunction.C Self "set_topics_unchecked" set_topics_unchecked. Admitted. Global Typeclasses Opaque set_topics_unchecked. @@ -1125,7 +1130,7 @@ Module log. end. Global Instance AssociatedFunction_set_topics_truncating : - M.IsAssociatedFunction.Trait Self "set_topics_truncating" set_topics_truncating. + M.IsAssociatedFunction.C Self "set_topics_truncating" set_topics_truncating. Admitted. Global Typeclasses Opaque set_topics_truncating. @@ -1159,7 +1164,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_split : M.IsAssociatedFunction.Trait Self "split" split. + Global Instance AssociatedFunction_split : M.IsAssociatedFunction.C Self "split" split. Admitted. Global Typeclasses Opaque split. End Impl_alloy_primitives_log_LogData. @@ -1824,7 +1829,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1860,7 +1865,7 @@ Module log. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -1876,7 +1881,14 @@ Module log. (Value.StructRecord "alloy_primitives::log::Log" [ - ("address", M.read (| M.get_constant "alloy_primitives::bits::address::ZERO" |)); + ("address", + M.read (| + get_associated_constant (| + Ty.path "alloy_primitives::bits::address::Address", + "ZERO", + Ty.path "alloy_primitives::bits::address::Address" + |) + |)); ("data", M.call_closure (| Ty.path "alloy_primitives::log::LogData", @@ -1892,7 +1904,7 @@ Module log. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.Trait Self "empty" empty. + Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.C Self "empty" empty. Admitted. Global Typeclasses Opaque empty. End Impl_alloy_primitives_log_Log_alloy_primitives_log_LogData. @@ -1925,7 +1937,7 @@ Module log. Global Instance AssociatedFunction_new_from_event_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_from_event_unchecked" (new_from_event_unchecked T). + M.IsAssociatedFunction.C (Self T) "new_from_event_unchecked" (new_from_event_unchecked T). Admitted. Global Typeclasses Opaque new_from_event_unchecked. @@ -2027,7 +2039,7 @@ Module log. Global Instance AssociatedFunction_new_from_event : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_from_event" (new_from_event T). + M.IsAssociatedFunction.C (Self T) "new_from_event" (new_from_event T). Admitted. Global Typeclasses Opaque new_from_event. @@ -2087,7 +2099,7 @@ Module log. Global Instance AssociatedFunction_reserialize : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "reserialize" (reserialize T). + M.IsAssociatedFunction.C (Self T) "reserialize" (reserialize T). Admitted. Global Typeclasses Opaque reserialize. End Impl_alloy_primitives_log_Log_T. diff --git a/CoqOfRust/alloy_primitives/map/fixed.v b/CoqOfRust/alloy_primitives/map/fixed.v index c31b86113..fdcd046fd 100644 --- a/CoqOfRust/alloy_primitives/map/fixed.v +++ b/CoqOfRust/alloy_primitives/map/fixed.v @@ -757,7 +757,10 @@ Module map. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::map::fixed::N" + get_constant (| + "alloy_primitives::map::fixed::N", + Ty.path "usize" + |) |) ] |), @@ -873,7 +876,10 @@ Module map. ] |), M.read (| - M.get_constant "alloy_primitives::map::fixed::N" + get_constant (| + "alloy_primitives::map::fixed::N", + Ty.path "usize" + |) |) |) |)) in @@ -910,7 +916,12 @@ Module map. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "alloy_primitives::map::fixed::N" |), + M.read (| + get_constant (| + "alloy_primitives::map::fixed::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 32 |) |)) in @@ -1015,7 +1026,10 @@ Module map. M.borrow (| Pointer.Kind.Ref, i |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::map::fixed::N" + get_constant (| + "alloy_primitives::map::fixed::N", + Ty.path "usize" + |) |) ] |), @@ -1285,7 +1299,9 @@ Module map. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 64 |) |)) in @@ -1400,7 +1416,9 @@ Module map. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 32 |) |)) in @@ -1515,7 +1533,9 @@ Module map. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 16 |) |)) in @@ -1630,7 +1650,9 @@ Module map. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 8 |) |)) in @@ -1798,7 +1820,7 @@ Module map. end. Global Instance Instance_IsFunction_write_bytes_unrolled : - M.IsFunction.Trait "alloy_primitives::map::fixed::write_bytes_unrolled" write_bytes_unrolled. + M.IsFunction.C "alloy_primitives::map::fixed::write_bytes_unrolled" write_bytes_unrolled. Admitted. Global Typeclasses Opaque write_bytes_unrolled. End fixed. diff --git a/CoqOfRust/alloy_primitives/sealed.v b/CoqOfRust/alloy_primitives/sealed.v index 630aa60e2..6e930a30d 100644 --- a/CoqOfRust/alloy_primitives/sealed.v +++ b/CoqOfRust/alloy_primitives/sealed.v @@ -551,7 +551,7 @@ Module sealed. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -608,7 +608,7 @@ Module sealed. Global Instance AssociatedFunction_new_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_ref" (new_ref T). + M.IsAssociatedFunction.C (Self T) "new_ref" (new_ref T). Admitted. Global Typeclasses Opaque new_ref. @@ -680,7 +680,7 @@ Module sealed. Global Instance AssociatedFunction_new_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_with" (new_with T). + M.IsAssociatedFunction.C (Self T) "new_with" (new_with T). Admitted. Global Typeclasses Opaque new_with. @@ -756,7 +756,7 @@ Module sealed. Global Instance AssociatedFunction_new_ref_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_ref_with" (new_ref_with T). + M.IsAssociatedFunction.C (Self T) "new_ref_with" (new_ref_with T). Admitted. Global Typeclasses Opaque new_ref_with. @@ -780,7 +780,7 @@ Module sealed. Global Instance AssociatedFunction_new_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_unchecked" (new_unchecked T). + M.IsAssociatedFunction.C (Self T) "new_unchecked" (new_unchecked T). Admitted. Global Typeclasses Opaque new_unchecked. @@ -817,7 +817,7 @@ Module sealed. Global Instance AssociatedFunction_into_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_parts" (into_parts T). + M.IsAssociatedFunction.C (Self T) "into_parts" (into_parts T). Admitted. Global Typeclasses Opaque into_parts. @@ -854,7 +854,7 @@ Module sealed. Global Instance AssociatedFunction_split : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split" (split T). + M.IsAssociatedFunction.C (Self T) "split" (split T). Admitted. Global Typeclasses Opaque split. @@ -887,7 +887,7 @@ Module sealed. Global Instance AssociatedFunction_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "inner" (inner T). + M.IsAssociatedFunction.C (Self T) "inner" (inner T). Admitted. Global Typeclasses Opaque inner. @@ -914,7 +914,7 @@ Module sealed. Global Instance AssociatedFunction_seal : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "seal" (seal T). + M.IsAssociatedFunction.C (Self T) "seal" (seal T). Admitted. Global Typeclasses Opaque seal. @@ -941,7 +941,7 @@ Module sealed. Global Instance AssociatedFunction_hash : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "hash" (hash T). + M.IsAssociatedFunction.C (Self T) "hash" (hash T). Admitted. Global Typeclasses Opaque hash. @@ -968,7 +968,7 @@ Module sealed. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. @@ -998,7 +998,7 @@ Module sealed. Global Instance AssociatedFunction_unseal : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unseal" (unseal T). + M.IsAssociatedFunction.C (Self T) "unseal" (unseal T). Admitted. Global Typeclasses Opaque unseal. End Impl_alloy_primitives_sealed_Sealed_T. diff --git a/CoqOfRust/alloy_primitives/signature/parity.v b/CoqOfRust/alloy_primitives/signature/parity.v index e715243b7..d51cc6312 100644 --- a/CoqOfRust/alloy_primitives/signature/parity.v +++ b/CoqOfRust/alloy_primitives/signature/parity.v @@ -1054,7 +1054,7 @@ Module signature. end. Global Instance AssociatedFunction_chain_id : - M.IsAssociatedFunction.Trait Self "chain_id" chain_id. + M.IsAssociatedFunction.C Self "chain_id" chain_id. Admitted. Global Typeclasses Opaque chain_id. @@ -1098,7 +1098,7 @@ Module signature. end. Global Instance AssociatedFunction_has_eip155_value : - M.IsAssociatedFunction.Trait Self "has_eip155_value" has_eip155_value. + M.IsAssociatedFunction.C Self "has_eip155_value" has_eip155_value. Admitted. Global Typeclasses Opaque has_eip155_value. @@ -1203,7 +1203,7 @@ Module signature. end. Global Instance AssociatedFunction_y_parity : - M.IsAssociatedFunction.Trait Self "y_parity" y_parity. + M.IsAssociatedFunction.C Self "y_parity" y_parity. Admitted. Global Typeclasses Opaque y_parity. @@ -1233,7 +1233,7 @@ Module signature. end. Global Instance AssociatedFunction_y_parity_byte : - M.IsAssociatedFunction.Trait Self "y_parity_byte" y_parity_byte. + M.IsAssociatedFunction.C Self "y_parity_byte" y_parity_byte. Admitted. Global Typeclasses Opaque y_parity_byte. @@ -1317,7 +1317,7 @@ Module signature. end. Global Instance AssociatedFunction_y_parity_byte_non_eip155 : - M.IsAssociatedFunction.Trait Self "y_parity_byte_non_eip155" y_parity_byte_non_eip155. + M.IsAssociatedFunction.C Self "y_parity_byte_non_eip155" y_parity_byte_non_eip155. Admitted. Global Typeclasses Opaque y_parity_byte_non_eip155. @@ -1386,7 +1386,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_u64 : M.IsAssociatedFunction.Trait Self "to_u64" to_u64. + Global Instance AssociatedFunction_to_u64 : M.IsAssociatedFunction.C Self "to_u64" to_u64. Admitted. Global Typeclasses Opaque to_u64. @@ -1533,7 +1533,7 @@ Module signature. end. Global Instance AssociatedFunction_inverted : - M.IsAssociatedFunction.Trait Self "inverted" inverted. + M.IsAssociatedFunction.C Self "inverted" inverted. Admitted. Global Typeclasses Opaque inverted. @@ -1585,7 +1585,7 @@ Module signature. end. Global Instance AssociatedFunction_strip_chain_id : - M.IsAssociatedFunction.Trait Self "strip_chain_id" strip_chain_id. + M.IsAssociatedFunction.C Self "strip_chain_id" strip_chain_id. Admitted. Global Typeclasses Opaque strip_chain_id. @@ -1691,7 +1691,7 @@ Module signature. end. Global Instance AssociatedFunction_with_chain_id : - M.IsAssociatedFunction.Trait Self "with_chain_id" with_chain_id. + M.IsAssociatedFunction.C Self "with_chain_id" with_chain_id. Admitted. Global Typeclasses Opaque with_chain_id. @@ -1723,7 +1723,7 @@ Module signature. end. Global Instance AssociatedFunction_to_parity_bool : - M.IsAssociatedFunction.Trait Self "to_parity_bool" to_parity_bool. + M.IsAssociatedFunction.C Self "to_parity_bool" to_parity_bool. Admitted. Global Typeclasses Opaque to_parity_bool. End Impl_alloy_primitives_signature_parity_Parity. diff --git a/CoqOfRust/alloy_primitives/signature/primitive_sig.v b/CoqOfRust/alloy_primitives/signature/primitive_sig.v index 932e90ad0..1044210fc 100644 --- a/CoqOfRust/alloy_primitives/signature/primitive_sig.v +++ b/CoqOfRust/alloy_primitives/signature/primitive_sig.v @@ -3,40 +3,41 @@ Require Import CoqOfRust.CoqOfRust. Module signature. Module primitive_sig. - Definition value_SECP256K1N_ORDER : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_SECP256K1N_ORDER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "ruint::Uint") - [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] - [], - "from_limbs", - [], - [] - |), - [ - Value.Array - [ - Value.Integer IntegerKind.U64 13822214165235122497; - Value.Integer IntegerKind.U64 13451932020343611451; - Value.Integer IntegerKind.U64 18446744073709551614; - Value.Integer IntegerKind.U64 18446744073709551615 - ] - ] - |) - |))). + "from_limbs", + [], + [] + |), + [ + Value.Array + [ + Value.Integer IntegerKind.U64 13822214165235122497; + Value.Integer IntegerKind.U64 13451932020343611451; + Value.Integer IntegerKind.U64 18446744073709551614; + Value.Integer IntegerKind.U64 18446744073709551615 + ] + ] + |) + |))). - Axiom Constant_value_SECP256K1N_ORDER : - (M.get_constant "alloy_primitives::signature::primitive_sig::SECP256K1N_ORDER") = + Global Instance Instance_IsConstant_value_SECP256K1N_ORDER : + M.IsFunction.C + "alloy_primitives::signature::primitive_sig::SECP256K1N_ORDER" value_SECP256K1N_ORDER. - Global Hint Rewrite Constant_value_SECP256K1N_ORDER : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SECP256K1N_ORDER. (* StructRecord { @@ -1269,8 +1270,13 @@ Module signature. |), [ M.read (| - M.get_constant - "alloy_primitives::signature::primitive_sig::test_signature::RES" + get_constant (| + "alloy_primitives::signature::primitive_sig::test_signature::RES", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "u8" ] + |) |) ] |); @@ -1290,8 +1296,13 @@ Module signature. |), [ M.read (| - M.get_constant - "alloy_primitives::signature::primitive_sig::test_signature::RES'1" + get_constant (| + "alloy_primitives::signature::primitive_sig::test_signature::RES'1", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "u8" ] + |) |) ] |); @@ -1302,7 +1313,7 @@ Module signature. end. Global Instance AssociatedFunction_test_signature : - M.IsAssociatedFunction.Trait Self "test_signature" test_signature. + M.IsAssociatedFunction.C Self "test_signature" test_signature. Admitted. Global Typeclasses Opaque test_signature. @@ -1324,7 +1335,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1442,7 +1453,7 @@ Module signature. end. Global Instance AssociatedFunction_from_scalars_and_parity : - M.IsAssociatedFunction.Trait Self "from_scalars_and_parity" from_scalars_and_parity. + M.IsAssociatedFunction.C Self "from_scalars_and_parity" from_scalars_and_parity. Admitted. Global Typeclasses Opaque from_scalars_and_parity. @@ -1551,8 +1562,16 @@ Module signature. |), [ M.read (| - M.get_constant - "alloy_primitives::signature::primitive_sig::SECP256K1N_ORDER" + get_constant (| + "alloy_primitives::signature::primitive_sig::SECP256K1N_ORDER", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |); Value.Integer IntegerKind.I32 1 ] @@ -1622,8 +1641,16 @@ Module signature. |), [ M.read (| - M.get_constant - "alloy_primitives::signature::primitive_sig::SECP256K1N_ORDER" + get_constant (| + "alloy_primitives::signature::primitive_sig::SECP256K1N_ORDER", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |); M.read (| s |) ] @@ -1641,7 +1668,7 @@ Module signature. end. Global Instance AssociatedFunction_normalize_s : - M.IsAssociatedFunction.Trait Self "normalize_s" normalize_s. + M.IsAssociatedFunction.C Self "normalize_s" normalize_s. Admitted. Global Typeclasses Opaque normalize_s. @@ -1799,7 +1826,7 @@ Module signature. end. Global Instance AssociatedFunction_from_bytes_and_parity : - M.IsAssociatedFunction.Trait Self "from_bytes_and_parity" from_bytes_and_parity. + M.IsAssociatedFunction.C Self "from_bytes_and_parity" from_bytes_and_parity. Admitted. Global Typeclasses Opaque from_bytes_and_parity. @@ -1823,7 +1850,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_r : M.IsAssociatedFunction.Trait Self "r" r. + Global Instance AssociatedFunction_r : M.IsAssociatedFunction.C Self "r" r. Admitted. Global Typeclasses Opaque r. @@ -1847,7 +1874,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_s : M.IsAssociatedFunction.Trait Self "s" s. + Global Instance AssociatedFunction_s : M.IsAssociatedFunction.C Self "s" s. Admitted. Global Typeclasses Opaque s. @@ -1871,7 +1898,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_v : M.IsAssociatedFunction.Trait Self "v" v. + Global Instance AssociatedFunction_v : M.IsAssociatedFunction.C Self "v" v. Admitted. Global Typeclasses Opaque v. @@ -2093,7 +2120,7 @@ Module signature. end. Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -2133,7 +2160,7 @@ Module signature. end. Global Instance AssociatedFunction_with_parity : - M.IsAssociatedFunction.Trait Self "with_parity" with_parity. + M.IsAssociatedFunction.C Self "with_parity" with_parity. Admitted. Global Typeclasses Opaque with_parity. End Impl_alloy_primitives_signature_primitive_sig_PrimitiveSignature. diff --git a/CoqOfRust/alloy_primitives/signature/sig.v b/CoqOfRust/alloy_primitives/signature/sig.v index aa20d9a2b..571053aa9 100644 --- a/CoqOfRust/alloy_primitives/signature/sig.v +++ b/CoqOfRust/alloy_primitives/signature/sig.v @@ -3,40 +3,39 @@ Require Import CoqOfRust.CoqOfRust. Module signature. Module sig. - Definition value_SECP256K1N_ORDER : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_SECP256K1N_ORDER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "ruint::Uint") - [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] - [], - "from_limbs", - [], - [] - |), - [ - Value.Array - [ - Value.Integer IntegerKind.U64 13822214165235122497; - Value.Integer IntegerKind.U64 13451932020343611451; - Value.Integer IntegerKind.U64 18446744073709551614; - Value.Integer IntegerKind.U64 18446744073709551615 - ] - ] - |) - |))). + "from_limbs", + [], + [] + |), + [ + Value.Array + [ + Value.Integer IntegerKind.U64 13822214165235122497; + Value.Integer IntegerKind.U64 13451932020343611451; + Value.Integer IntegerKind.U64 18446744073709551614; + Value.Integer IntegerKind.U64 18446744073709551615 + ] + ] + |) + |))). - Axiom Constant_value_SECP256K1N_ORDER : - (M.get_constant "alloy_primitives::signature::sig::SECP256K1N_ORDER") = - value_SECP256K1N_ORDER. - Global Hint Rewrite Constant_value_SECP256K1N_ORDER : constant_rewrites. + Global Instance Instance_IsConstant_value_SECP256K1N_ORDER : + M.IsFunction.C "alloy_primitives::signature::sig::SECP256K1N_ORDER" value_SECP256K1N_ORDER. + Admitted. + Global Typeclasses Opaque value_SECP256K1N_ORDER. (* StructRecord { @@ -1135,7 +1134,13 @@ Module signature. |), [ M.read (| - M.get_constant "alloy_primitives::signature::sig::test_signature::RES" + get_constant (| + "alloy_primitives::signature::sig::test_signature::RES", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "u8" ] + |) |) ] |); @@ -1155,7 +1160,13 @@ Module signature. |), [ M.read (| - M.get_constant "alloy_primitives::signature::sig::test_signature::RES'1" + get_constant (| + "alloy_primitives::signature::sig::test_signature::RES'1", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "u8" ] + |) |) ] |); @@ -1168,7 +1179,7 @@ Module signature. end. Global Instance AssociatedFunction_test_signature : - M.IsAssociatedFunction.Trait Self "test_signature" test_signature. + M.IsAssociatedFunction.C Self "test_signature" test_signature. Admitted. Global Typeclasses Opaque test_signature. @@ -1190,7 +1201,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1322,7 +1333,7 @@ Module signature. end. Global Instance AssociatedFunction_from_scalars_and_parity : - M.IsAssociatedFunction.Trait Self "from_scalars_and_parity" from_scalars_and_parity. + M.IsAssociatedFunction.C Self "from_scalars_and_parity" from_scalars_and_parity. Admitted. Global Typeclasses Opaque from_scalars_and_parity. @@ -1431,8 +1442,16 @@ Module signature. |), [ M.read (| - M.get_constant - "alloy_primitives::signature::sig::SECP256K1N_ORDER" + get_constant (| + "alloy_primitives::signature::sig::SECP256K1N_ORDER", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |); Value.Integer IntegerKind.I32 1 ] @@ -1512,8 +1531,16 @@ Module signature. |), [ M.read (| - M.get_constant - "alloy_primitives::signature::sig::SECP256K1N_ORDER" + get_constant (| + "alloy_primitives::signature::sig::SECP256K1N_ORDER", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |); M.read (| s |) ] @@ -1531,7 +1558,7 @@ Module signature. end. Global Instance AssociatedFunction_normalize_s : - M.IsAssociatedFunction.Trait Self "normalize_s" normalize_s. + M.IsAssociatedFunction.C Self "normalize_s" normalize_s. Admitted. Global Typeclasses Opaque normalize_s. @@ -1698,7 +1725,7 @@ Module signature. end. Global Instance AssociatedFunction_from_bytes_and_parity : - M.IsAssociatedFunction.Trait Self "from_bytes_and_parity" from_bytes_and_parity. + M.IsAssociatedFunction.C Self "from_bytes_and_parity" from_bytes_and_parity. Admitted. Global Typeclasses Opaque from_bytes_and_parity. @@ -1904,7 +1931,7 @@ Module signature. end. Global Instance AssociatedFunction_from_rs_and_parity : - M.IsAssociatedFunction.Trait Self "from_rs_and_parity" from_rs_and_parity. + M.IsAssociatedFunction.C Self "from_rs_and_parity" from_rs_and_parity. Admitted. Global Typeclasses Opaque from_rs_and_parity. @@ -1954,7 +1981,7 @@ Module signature. end. Global Instance AssociatedFunction_with_chain_id : - M.IsAssociatedFunction.Trait Self "with_chain_id" with_chain_id. + M.IsAssociatedFunction.C Self "with_chain_id" with_chain_id. Admitted. Global Typeclasses Opaque with_chain_id. @@ -2002,7 +2029,7 @@ Module signature. end. Global Instance AssociatedFunction_with_parity_bool : - M.IsAssociatedFunction.Trait Self "with_parity_bool" with_parity_bool. + M.IsAssociatedFunction.C Self "with_parity_bool" with_parity_bool. Admitted. Global Typeclasses Opaque with_parity_bool. @@ -2026,7 +2053,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_r : M.IsAssociatedFunction.Trait Self "r" r. + Global Instance AssociatedFunction_r : M.IsAssociatedFunction.C Self "r" r. Admitted. Global Typeclasses Opaque r. @@ -2050,7 +2077,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_s : M.IsAssociatedFunction.Trait Self "s" s. + Global Instance AssociatedFunction_s : M.IsAssociatedFunction.C Self "s" s. Admitted. Global Typeclasses Opaque s. @@ -2074,7 +2101,7 @@ Module signature. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_v : M.IsAssociatedFunction.Trait Self "v" v. + Global Instance AssociatedFunction_v : M.IsAssociatedFunction.C Self "v" v. Admitted. Global Typeclasses Opaque v. @@ -2111,7 +2138,7 @@ Module signature. end. Global Instance AssociatedFunction_chain_id : - M.IsAssociatedFunction.Trait Self "chain_id" chain_id. + M.IsAssociatedFunction.C Self "chain_id" chain_id. Admitted. Global Typeclasses Opaque chain_id. @@ -2155,7 +2182,7 @@ Module signature. end. Global Instance AssociatedFunction_has_eip155_value : - M.IsAssociatedFunction.Trait Self "has_eip155_value" has_eip155_value. + M.IsAssociatedFunction.C Self "has_eip155_value" has_eip155_value. Admitted. Global Typeclasses Opaque has_eip155_value. @@ -2414,7 +2441,7 @@ Module signature. end. Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -2467,7 +2494,7 @@ Module signature. end. Global Instance AssociatedFunction_with_parity : - M.IsAssociatedFunction.Trait Self "with_parity" with_parity. + M.IsAssociatedFunction.C Self "with_parity" with_parity. Admitted. Global Typeclasses Opaque with_parity. End Impl_alloy_primitives_signature_sig_Signature. diff --git a/CoqOfRust/alloy_primitives/signature/utils.v b/CoqOfRust/alloy_primitives/signature/utils.v index d386e6446..0c8f46ed9 100644 --- a/CoqOfRust/alloy_primitives/signature/utils.v +++ b/CoqOfRust/alloy_primitives/signature/utils.v @@ -25,7 +25,7 @@ Module signature. end. Global Instance Instance_IsFunction_to_eip155_v : - M.IsFunction.Trait "alloy_primitives::signature::utils::to_eip155_v" to_eip155_v. + M.IsFunction.C "alloy_primitives::signature::utils::to_eip155_v" to_eip155_v. Admitted. Global Typeclasses Opaque to_eip155_v. @@ -114,7 +114,7 @@ Module signature. end. Global Instance Instance_IsFunction_normalize_v : - M.IsFunction.Trait "alloy_primitives::signature::utils::normalize_v" normalize_v. + M.IsFunction.C "alloy_primitives::signature::utils::normalize_v" normalize_v. Admitted. Global Typeclasses Opaque normalize_v. @@ -195,7 +195,7 @@ Module signature. end. Global Instance Instance_IsFunction_is_valid_v : - M.IsFunction.Trait "alloy_primitives::signature::utils::is_valid_v" is_valid_v. + M.IsFunction.C "alloy_primitives::signature::utils::is_valid_v" is_valid_v. Admitted. Global Typeclasses Opaque is_valid_v. @@ -255,9 +255,7 @@ Module signature. end. Global Instance Instance_IsFunction_normalize_v_to_byte : - M.IsFunction.Trait - "alloy_primitives::signature::utils::normalize_v_to_byte" - normalize_v_to_byte. + M.IsFunction.C "alloy_primitives::signature::utils::normalize_v_to_byte" normalize_v_to_byte. Admitted. Global Typeclasses Opaque normalize_v_to_byte. End utils. diff --git a/CoqOfRust/alloy_primitives/signed/conversions.v b/CoqOfRust/alloy_primitives/signed/conversions.v index 20223c593..717855d76 100644 --- a/CoqOfRust/alloy_primitives/signed/conversions.v +++ b/CoqOfRust/alloy_primitives/signed/conversions.v @@ -1456,7 +1456,11 @@ Module signed. [], [ Ty.path "u128" ] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] + [ + M.read (| + get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) + |) + ] |) |) in let~ _ : Ty.tuple [] := @@ -1818,7 +1822,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -1873,7 +1880,7 @@ Module signed. Global Instance AssociatedFunction_low_u8 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_u8" (low_u8 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_u8" (low_u8 BITS LIMBS). Admitted. Global Typeclasses Opaque low_u8. @@ -1933,7 +1940,7 @@ Module signed. Global Instance AssociatedFunction_as_u8 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_u8" (as_u8 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_u8" (as_u8 BITS LIMBS). Admitted. Global Typeclasses Opaque as_u8. @@ -1972,7 +1979,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2027,7 +2037,7 @@ Module signed. Global Instance AssociatedFunction_low_i8 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_i8" (low_i8 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_i8" (low_i8 BITS LIMBS). Admitted. Global Typeclasses Opaque low_i8. @@ -2087,7 +2097,7 @@ Module signed. Global Instance AssociatedFunction_as_i8 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_i8" (as_i8 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_i8" (as_i8 BITS LIMBS). Admitted. Global Typeclasses Opaque as_i8. @@ -2126,7 +2136,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2181,7 +2194,7 @@ Module signed. Global Instance AssociatedFunction_low_u16 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_u16" (low_u16 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_u16" (low_u16 BITS LIMBS). Admitted. Global Typeclasses Opaque low_u16. @@ -2241,7 +2254,7 @@ Module signed. Global Instance AssociatedFunction_as_u16 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_u16" (as_u16 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_u16" (as_u16 BITS LIMBS). Admitted. Global Typeclasses Opaque as_u16. @@ -2280,7 +2293,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2335,7 +2351,7 @@ Module signed. Global Instance AssociatedFunction_low_i16 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_i16" (low_i16 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_i16" (low_i16 BITS LIMBS). Admitted. Global Typeclasses Opaque low_i16. @@ -2395,7 +2411,7 @@ Module signed. Global Instance AssociatedFunction_as_i16 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_i16" (as_i16 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_i16" (as_i16 BITS LIMBS). Admitted. Global Typeclasses Opaque as_i16. @@ -2434,7 +2450,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2489,7 +2508,7 @@ Module signed. Global Instance AssociatedFunction_low_u32 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_u32" (low_u32 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_u32" (low_u32 BITS LIMBS). Admitted. Global Typeclasses Opaque low_u32. @@ -2549,7 +2568,7 @@ Module signed. Global Instance AssociatedFunction_as_u32 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_u32" (as_u32 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_u32" (as_u32 BITS LIMBS). Admitted. Global Typeclasses Opaque as_u32. @@ -2588,7 +2607,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2643,7 +2665,7 @@ Module signed. Global Instance AssociatedFunction_low_i32 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_i32" (low_i32 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_i32" (low_i32 BITS LIMBS). Admitted. Global Typeclasses Opaque low_i32. @@ -2703,7 +2725,7 @@ Module signed. Global Instance AssociatedFunction_as_i32 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_i32" (as_i32 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_i32" (as_i32 BITS LIMBS). Admitted. Global Typeclasses Opaque as_i32. @@ -2742,7 +2764,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2792,7 +2817,7 @@ Module signed. Global Instance AssociatedFunction_low_u64 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_u64" (low_u64 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_u64" (low_u64 BITS LIMBS). Admitted. Global Typeclasses Opaque low_u64. @@ -2852,7 +2877,7 @@ Module signed. Global Instance AssociatedFunction_as_u64 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_u64" (as_u64 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_u64" (as_u64 BITS LIMBS). Admitted. Global Typeclasses Opaque as_u64. @@ -2891,7 +2916,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2946,7 +2974,7 @@ Module signed. Global Instance AssociatedFunction_low_i64 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_i64" (low_i64 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_i64" (low_i64 BITS LIMBS). Admitted. Global Typeclasses Opaque low_i64. @@ -3006,7 +3034,7 @@ Module signed. Global Instance AssociatedFunction_as_i64 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_i64" (as_i64 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_i64" (as_i64 BITS LIMBS). Admitted. Global Typeclasses Opaque as_i64. @@ -3045,7 +3073,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -3100,7 +3131,7 @@ Module signed. Global Instance AssociatedFunction_low_usize : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_usize" (low_usize BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_usize" (low_usize BITS LIMBS). Admitted. Global Typeclasses Opaque low_usize. @@ -3162,7 +3193,7 @@ Module signed. Global Instance AssociatedFunction_as_usize : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_usize" (as_usize BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_usize" (as_usize BITS LIMBS). Admitted. Global Typeclasses Opaque as_usize. @@ -3201,7 +3232,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::conversions::BITS" + get_constant (| + "alloy_primitives::signed::conversions::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -3256,7 +3290,7 @@ Module signed. Global Instance AssociatedFunction_low_isize : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "low_isize" (low_isize BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "low_isize" (low_isize BITS LIMBS). Admitted. Global Typeclasses Opaque low_isize. @@ -3318,7 +3352,7 @@ Module signed. Global Instance AssociatedFunction_as_isize : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_isize" (as_isize BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_isize" (as_isize BITS LIMBS). Admitted. Global Typeclasses Opaque as_isize. End Impl_alloy_primitives_signed_int_Signed_BITS_LIMBS. diff --git a/CoqOfRust/alloy_primitives/signed/int.v b/CoqOfRust/alloy_primitives/signed/int.v index 06c411ca9..9432b9d28 100644 --- a/CoqOfRust/alloy_primitives/signed/int.v +++ b/CoqOfRust/alloy_primitives/signed/int.v @@ -906,166 +906,223 @@ Module signed. (* pub(crate) const MASK: u64 = ruint::mask(BITS); *) (* Ty.path "u64" *) - Definition value_MASK (BITS LIMBS : Value.t) : Value.t := + Definition value_MASK + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u64", - M.get_function (| "ruint::mask", [], [] |), - [ M.read (| M.get_constant "alloy_primitives::signed::int::BITS" |) ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u64", + M.get_function (| "ruint::mask", [], [] |), + [ + M.read (| + get_constant (| "alloy_primitives::signed::int::BITS", Ty.path "usize" |) + |) + ] + |) + |))). Global Instance AssociatedConstant_value_MASK : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_MASK" (value_MASK BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MASK" (value_MASK BITS LIMBS). Admitted. Global Typeclasses Opaque value_MASK. (* pub(crate) const SIGN_BIT: u64 = sign_bit(BITS); *) (* Ty.path "u64" *) - Definition value_SIGN_BIT (BITS LIMBS : Value.t) : Value.t := + Definition value_SIGN_BIT + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u64", - M.get_function (| "alloy_primitives::signed::utils::sign_bit", [], [] |), - [ M.read (| M.get_constant "alloy_primitives::signed::int::BITS" |) ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u64", + M.get_function (| "alloy_primitives::signed::utils::sign_bit", [], [] |), + [ + M.read (| + get_constant (| "alloy_primitives::signed::int::BITS", Ty.path "usize" |) + |) + ] + |) + |))). Global Instance AssociatedConstant_value_SIGN_BIT : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_SIGN_BIT" (value_SIGN_BIT BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "SIGN_BIT" (value_SIGN_BIT BITS LIMBS). Admitted. Global Typeclasses Opaque value_SIGN_BIT. (* pub const BITS: usize = BITS; *) (* Ty.path "usize" *) - Definition value_BITS (BITS LIMBS : Value.t) : Value.t := + Definition value_BITS + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::signed::int::BITS")). + ltac:(M.monadic + (get_constant (| "alloy_primitives::signed::int::BITS", Ty.path "usize" |))). Global Instance AssociatedConstant_value_BITS : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_BITS" (value_BITS BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "BITS" (value_BITS BITS LIMBS). Admitted. Global Typeclasses Opaque value_BITS. (* pub const BYTES: usize = Uint::::BYTES; *) (* Ty.path "usize" *) - Definition value_BYTES (BITS LIMBS : Value.t) : Value.t := + Definition value_BYTES + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "ruint::bytes::BYTES")). + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |))). Global Instance AssociatedConstant_value_BYTES : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_BYTES" (value_BYTES BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "BYTES" (value_BYTES BITS LIMBS). Admitted. Global Typeclasses Opaque value_BYTES. (* pub const MIN: Self = min(); *) (* Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] *) - Definition value_MIN (BITS LIMBS : Value.t) : Value.t := + Definition value_MIN + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], - M.get_function (| "alloy_primitives::signed::utils::min", [ BITS; LIMBS ], [] |), - [] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], + M.get_function (| "alloy_primitives::signed::utils::min", [ BITS; LIMBS ], [] |), + [] + |) + |))). Global Instance AssociatedConstant_value_MIN : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_MIN" (value_MIN BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MIN" (value_MIN BITS LIMBS). Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = max(); *) (* Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] *) - Definition value_MAX (BITS LIMBS : Value.t) : Value.t := + Definition value_MAX + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], - M.get_function (| "alloy_primitives::signed::utils::max", [ BITS; LIMBS ], [] |), - [] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], + M.get_function (| "alloy_primitives::signed::utils::max", [ BITS; LIMBS ], [] |), + [] + |) + |))). Global Instance AssociatedConstant_value_MAX : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_MAX" (value_MAX BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MAX" (value_MAX BITS LIMBS). Admitted. Global Typeclasses Opaque value_MAX. (* pub const ZERO: Self = zero(); *) (* Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] *) - Definition value_ZERO (BITS LIMBS : Value.t) : Value.t := + Definition value_ZERO + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], - M.get_function (| "alloy_primitives::signed::utils::zero", [ BITS; LIMBS ], [] |), - [] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], + M.get_function (| "alloy_primitives::signed::utils::zero", [ BITS; LIMBS ], [] |), + [] + |) + |))). Global Instance AssociatedConstant_value_ZERO : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_ZERO" (value_ZERO BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "ZERO" (value_ZERO BITS LIMBS). Admitted. Global Typeclasses Opaque value_ZERO. (* pub const ONE: Self = one(); *) (* Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] *) - Definition value_ONE (BITS LIMBS : Value.t) : Value.t := + Definition value_ONE + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], - M.get_function (| "alloy_primitives::signed::utils::one", [ BITS; LIMBS ], [] |), - [] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], + M.get_function (| "alloy_primitives::signed::utils::one", [ BITS; LIMBS ], [] |), + [] + |) + |))). Global Instance AssociatedConstant_value_ONE : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_ONE" (value_ONE BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "ONE" (value_ONE BITS LIMBS). Admitted. Global Typeclasses Opaque value_ONE. (* pub const MINUS_ONE: Self = Self(Uint::::MAX); *) (* Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] *) - Definition value_MINUS_ONE (BITS LIMBS : Value.t) : Value.t := + Definition value_MINUS_ONE + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "alloy_primitives::signed::int::Signed" - [ M.read (| M.get_constant "ruint::MAX" |) ] - |))). + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "alloy_primitives::signed::int::Signed" + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + ] + |))). Global Instance AssociatedConstant_value_MINUS_ONE : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait - (Self BITS LIMBS) - "value_MINUS_ONE" - (value_MINUS_ONE BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MINUS_ONE" (value_MINUS_ONE BITS LIMBS). Admitted. Global Typeclasses Opaque value_MINUS_ONE. @@ -1091,7 +1148,7 @@ Module signed. Global Instance AssociatedFunction_from_raw : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_raw" (from_raw BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_raw" (from_raw BITS LIMBS). Admitted. Global Typeclasses Opaque from_raw. @@ -1177,7 +1234,7 @@ Module signed. Global Instance AssociatedFunction_unchecked_from : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "unchecked_from" (unchecked_from BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "unchecked_from" (unchecked_from BITS LIMBS). Admitted. Global Typeclasses Opaque unchecked_from. @@ -1258,7 +1315,7 @@ Module signed. Global Instance AssociatedFunction_unchecked_into : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "unchecked_into" (unchecked_into BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "unchecked_into" (unchecked_into BITS LIMBS). Admitted. Global Typeclasses Opaque unchecked_into. @@ -1290,7 +1347,7 @@ Module signed. Global Instance AssociatedFunction_into_raw : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "into_raw" (into_raw BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "into_raw" (into_raw BITS LIMBS). Admitted. Global Typeclasses Opaque into_raw. @@ -1392,8 +1449,14 @@ Module signed. BinOp.ge (| M.read (| M.deref (| M.read (| limb |) |) |), M.read (| - M.get_constant - "alloy_primitives::signed::int::SIGN_BIT" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "SIGN_BIT", + Ty.path "u64" + |) |) |) |)) in @@ -1429,7 +1492,7 @@ Module signed. Global Instance AssociatedFunction_sign : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "sign" (sign BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "sign" (sign BITS LIMBS). Admitted. Global Typeclasses Opaque sign. @@ -1464,7 +1527,12 @@ Module signed. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "alloy_primitives::signed::int::BITS" |), + M.read (| + get_constant (| + "alloy_primitives::signed::int::BITS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1516,7 +1584,7 @@ Module signed. Global Instance AssociatedFunction_is_odd : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "is_odd" (is_odd BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "is_odd" (is_odd BITS LIMBS). Admitted. Global Typeclasses Opaque is_odd. @@ -1550,7 +1618,7 @@ Module signed. Global Instance AssociatedFunction_const_eq : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "const_eq" (const_eq BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "const_eq" (const_eq BITS LIMBS). Admitted. Global Typeclasses Opaque const_eq. @@ -1585,7 +1653,17 @@ Module signed. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) |) |) @@ -1596,7 +1674,7 @@ Module signed. Global Instance AssociatedFunction_is_zero : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "is_zero" (is_zero BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "is_zero" (is_zero BITS LIMBS). Admitted. Global Typeclasses Opaque is_zero. @@ -1667,7 +1745,7 @@ Module signed. Global Instance AssociatedFunction_is_positive : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "is_positive" (is_positive BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "is_positive" (is_positive BITS LIMBS). Admitted. Global Typeclasses Opaque is_positive. @@ -1720,7 +1798,7 @@ Module signed. Global Instance AssociatedFunction_is_negative : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "is_negative" (is_negative BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "is_negative" (is_negative BITS LIMBS). Admitted. Global Typeclasses Opaque is_negative. @@ -1764,7 +1842,7 @@ Module signed. Global Instance AssociatedFunction_count_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "count_ones" (count_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "count_ones" (count_ones BITS LIMBS). Admitted. Global Typeclasses Opaque count_ones. @@ -1808,7 +1886,7 @@ Module signed. Global Instance AssociatedFunction_count_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "count_zeros" (count_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "count_zeros" (count_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque count_zeros. @@ -1852,7 +1930,7 @@ Module signed. Global Instance AssociatedFunction_leading_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "leading_zeros" (leading_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "leading_zeros" (leading_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque leading_zeros. @@ -1896,7 +1974,7 @@ Module signed. Global Instance AssociatedFunction_trailing_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "trailing_zeros" (trailing_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "trailing_zeros" (trailing_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque trailing_zeros. @@ -1940,7 +2018,7 @@ Module signed. Global Instance AssociatedFunction_trailing_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "trailing_ones" (trailing_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "trailing_ones" (trailing_ones BITS LIMBS). Admitted. Global Typeclasses Opaque trailing_ones. @@ -1986,7 +2064,7 @@ Module signed. Global Instance AssociatedFunction_bit : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "bit" (bit BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "bit" (bit BITS LIMBS). Admitted. Global Typeclasses Opaque bit. @@ -2032,7 +2110,7 @@ Module signed. Global Instance AssociatedFunction_byte : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "byte" (byte BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "byte" (byte BITS LIMBS). Admitted. Global Typeclasses Opaque byte. @@ -2174,7 +2252,7 @@ Module signed. Global Instance AssociatedFunction_bits : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "bits" (bits BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "bits" (bits BITS LIMBS). Admitted. Global Typeclasses Opaque bits. @@ -2305,7 +2383,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, value |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -2318,7 +2406,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_from_sign_and_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_from_sign_and_abs" (overflowing_from_sign_and_abs BITS LIMBS). @@ -2415,7 +2503,7 @@ Module signed. Global Instance AssociatedFunction_checked_from_sign_and_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_from_sign_and_abs" (checked_from_sign_and_abs BITS LIMBS). @@ -2814,7 +2902,7 @@ Module signed. Global Instance AssociatedFunction_from_dec_str : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_dec_str" (from_dec_str BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_dec_str" (from_dec_str BITS LIMBS). Admitted. Global Typeclasses Opaque from_dec_str. @@ -2971,7 +3059,7 @@ Module signed. Global Instance AssociatedFunction_to_dec_string : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_dec_string" (to_dec_string BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_dec_string" (to_dec_string BITS LIMBS). Admitted. Global Typeclasses Opaque to_dec_string. @@ -3463,7 +3551,7 @@ Module signed. Global Instance AssociatedFunction_from_hex_str : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_hex_str" (from_hex_str BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_hex_str" (from_hex_str BITS LIMBS). Admitted. Global Typeclasses Opaque from_hex_str. @@ -3620,7 +3708,7 @@ Module signed. Global Instance AssociatedFunction_to_hex_string : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_hex_string" (to_hex_string BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_hex_string" (to_hex_string BITS LIMBS). Admitted. Global Typeclasses Opaque to_hex_string. @@ -3713,7 +3801,7 @@ Module signed. Global Instance AssociatedFunction_into_sign_and_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "into_sign_and_abs" (into_sign_and_abs BITS LIMBS). @@ -3760,7 +3848,7 @@ Module signed. Global Instance AssociatedFunction_to_be_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_be_bytes" (to_be_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_be_bytes" (to_be_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque to_be_bytes. @@ -3804,7 +3892,7 @@ Module signed. Global Instance AssociatedFunction_to_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_le_bytes" (to_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_le_bytes" (to_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque to_le_bytes. @@ -3843,7 +3931,7 @@ Module signed. Global Instance AssociatedFunction_from_be_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_be_bytes" (from_be_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_be_bytes" (from_be_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque from_be_bytes. @@ -3882,7 +3970,7 @@ Module signed. Global Instance AssociatedFunction_from_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_le_bytes" (from_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_le_bytes" (from_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque from_le_bytes. @@ -3943,7 +4031,7 @@ Module signed. Global Instance AssociatedFunction_try_from_be_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "try_from_be_slice" (try_from_be_slice BITS LIMBS). @@ -4007,7 +4095,7 @@ Module signed. Global Instance AssociatedFunction_try_from_le_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "try_from_le_slice" (try_from_le_slice BITS LIMBS). @@ -4062,7 +4150,7 @@ Module signed. Global Instance AssociatedFunction_as_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_limbs" (as_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_limbs" (as_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque as_limbs. @@ -4105,7 +4193,7 @@ Module signed. Global Instance AssociatedFunction_into_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "into_limbs" (into_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "into_limbs" (into_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque into_limbs. @@ -4144,7 +4232,7 @@ Module signed. Global Instance AssociatedFunction_from_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_limbs" (from_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_limbs" (from_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque from_limbs. @@ -4308,7 +4396,7 @@ Module signed. Global Instance AssociatedFunction_from_base_be : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_base_be" (from_base_be BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_base_be" (from_base_be BITS LIMBS). Admitted. Global Typeclasses Opaque from_base_be. End Impl_alloy_primitives_signed_int_Signed_BITS_LIMBS. diff --git a/CoqOfRust/alloy_primitives/signed/ops.v b/CoqOfRust/alloy_primitives/signed/ops.v index a9a1d3550..5d4d60a34 100644 --- a/CoqOfRust/alloy_primitives/signed/ops.v +++ b/CoqOfRust/alloy_primitives/signed/ops.v @@ -52,7 +52,7 @@ Module signed. Global Instance AssociatedFunction_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "abs" (abs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "abs" (abs BITS LIMBS). Admitted. Global Typeclasses Opaque abs. @@ -94,7 +94,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::ops::BITS" + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -153,7 +156,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -195,10 +208,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_abs" - (overflowing_abs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_abs" (overflowing_abs BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_abs. @@ -270,7 +280,7 @@ Module signed. Global Instance AssociatedFunction_checked_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_abs" (checked_abs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_abs" (checked_abs BITS LIMBS). Admitted. Global Typeclasses Opaque checked_abs. @@ -325,7 +335,19 @@ Module signed. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "alloy_primitives::signed::int::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |) |))) @@ -334,7 +356,7 @@ Module signed. Global Instance AssociatedFunction_saturating_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_abs" (saturating_abs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_abs" (saturating_abs BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_abs. @@ -383,7 +405,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_abs" (wrapping_abs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_abs" (wrapping_abs BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_abs. @@ -429,7 +451,7 @@ Module signed. Global Instance AssociatedFunction_unsigned_abs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "unsigned_abs" (unsigned_abs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "unsigned_abs" (unsigned_abs BITS LIMBS). Admitted. Global Typeclasses Opaque unsigned_abs. @@ -471,7 +493,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::ops::BITS" + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -530,7 +555,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -576,10 +611,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_neg" - (overflowing_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_neg" (overflowing_neg BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_neg. @@ -651,7 +683,7 @@ Module signed. Global Instance AssociatedFunction_checked_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_neg" (checked_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_neg" (checked_neg BITS LIMBS). Admitted. Global Typeclasses Opaque checked_neg. @@ -706,7 +738,19 @@ Module signed. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "alloy_primitives::signed::int::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |) |))) @@ -715,7 +759,7 @@ Module signed. Global Instance AssociatedFunction_saturating_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_neg" (saturating_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_neg" (saturating_neg BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_neg. @@ -764,7 +808,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_neg" (wrapping_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_neg" (wrapping_neg BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_neg. @@ -960,10 +1004,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_add" - (overflowing_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_add" (overflowing_add BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_add. @@ -1036,7 +1077,7 @@ Module signed. Global Instance AssociatedFunction_checked_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_add" (checked_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_add" (checked_add BITS LIMBS). Admitted. Global Typeclasses Opaque checked_add. @@ -1139,7 +1180,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Positive" |) in - M.get_constant "alloy_primitives::signed::int::MIN")); + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1147,7 +1198,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Negative" |) in - M.get_constant "alloy_primitives::signed::int::MAX")) + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |))); fun γ => ltac:(M.monadic result) @@ -1161,7 +1222,7 @@ Module signed. Global Instance AssociatedFunction_saturating_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_add" (saturating_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_add" (saturating_add BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_add. @@ -1211,7 +1272,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_add" (wrapping_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_add" (wrapping_add BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_add. @@ -1411,10 +1472,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_sub" - (overflowing_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_sub" (overflowing_sub BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_sub. @@ -1487,7 +1545,7 @@ Module signed. Global Instance AssociatedFunction_checked_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_sub" (checked_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_sub" (checked_sub BITS LIMBS). Admitted. Global Typeclasses Opaque checked_sub. @@ -1590,7 +1648,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Positive" |) in - M.get_constant "alloy_primitives::signed::int::MIN")); + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1598,7 +1666,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Negative" |) in - M.get_constant "alloy_primitives::signed::int::MAX")) + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |))); fun γ => ltac:(M.monadic result) @@ -1612,7 +1690,7 @@ Module signed. Global Instance AssociatedFunction_saturating_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_sub" (saturating_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_sub" (saturating_sub BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_sub. @@ -1662,7 +1740,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_sub" (wrapping_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_sub" (wrapping_sub BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_sub. @@ -1742,7 +1820,17 @@ Module signed. Value.Tuple [ M.read (| - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |); Value.Bool false ] @@ -1897,10 +1985,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_mul" - (overflowing_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_mul" (overflowing_mul BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_mul. @@ -1973,7 +2058,7 @@ Module signed. Global Instance AssociatedFunction_checked_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_mul" (checked_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_mul" (checked_mul BITS LIMBS). Admitted. Global Typeclasses Opaque checked_mul. @@ -2103,7 +2188,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Positive" |) in - M.get_constant "alloy_primitives::signed::int::MAX")); + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))); fun γ => ltac:(M.monadic (let _ := @@ -2111,7 +2206,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Negative" |) in - M.get_constant "alloy_primitives::signed::int::MIN")) + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |))); fun γ => ltac:(M.monadic result) @@ -2125,7 +2230,7 @@ Module signed. Global Instance AssociatedFunction_saturating_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_mul" (saturating_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_mul" (saturating_mul BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_mul. @@ -2175,7 +2280,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_mul" (wrapping_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_mul" (wrapping_mul BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_mul. @@ -2415,10 +2520,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_div : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_div" - (overflowing_div BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_div" (overflowing_div BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_div. @@ -2497,7 +2599,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -2525,7 +2637,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -2577,7 +2699,7 @@ Module signed. Global Instance AssociatedFunction_checked_div : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_div" (checked_div BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_div" (checked_div BITS LIMBS). Admitted. Global Typeclasses Opaque checked_div. @@ -2634,7 +2756,19 @@ Module signed. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "alloy_primitives::signed::int::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |) |))) @@ -2643,7 +2777,7 @@ Module signed. Global Instance AssociatedFunction_saturating_div : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_div" (saturating_div BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_div" (saturating_div BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_div. @@ -2693,7 +2827,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_div : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_div" (wrapping_div BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_div" (wrapping_div BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_div. @@ -2758,7 +2892,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -2786,7 +2930,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -2796,7 +2950,19 @@ Module signed. M.alloc (| Value.Tuple [ - M.read (| M.get_constant "alloy_primitives::signed::int::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) + |); Value.Bool true ] |))); @@ -2897,10 +3063,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_rem : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_rem" - (overflowing_rem BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_rem" (overflowing_rem BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_rem. @@ -2979,7 +3142,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -3007,7 +3180,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -3059,7 +3242,7 @@ Module signed. Global Instance AssociatedFunction_checked_rem : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_rem" (checked_rem BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_rem" (checked_rem BITS LIMBS). Admitted. Global Typeclasses Opaque checked_rem. @@ -3109,7 +3292,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_rem : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_rem" (wrapping_rem BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_rem" (wrapping_rem BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_rem. @@ -3274,7 +3457,19 @@ Module signed. |), [ M.read (| q |); - M.read (| M.get_constant "alloy_primitives::signed::int::ONE" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) + |) ] |) |))); @@ -3305,7 +3500,19 @@ Module signed. |), [ M.read (| q |); - M.read (| M.get_constant "alloy_primitives::signed::int::ONE" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) + |) ] |) |))) @@ -3320,7 +3527,7 @@ Module signed. Global Instance AssociatedFunction_div_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "div_euclid" (div_euclid BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "div_euclid" (div_euclid BITS LIMBS). Admitted. Global Typeclasses Opaque div_euclid. @@ -3384,7 +3591,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -3412,7 +3629,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -3452,7 +3679,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_div_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_div_euclid" (overflowing_div_euclid BITS LIMBS). @@ -3534,7 +3761,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -3562,7 +3799,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -3603,7 +3850,7 @@ Module signed. Global Instance AssociatedFunction_checked_div_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_div_euclid" (checked_div_euclid BITS LIMBS). @@ -3656,7 +3903,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_div_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_div_euclid" (wrapping_div_euclid BITS LIMBS). @@ -3745,7 +3992,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, r |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -3787,7 +4044,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -3862,7 +4129,7 @@ Module signed. Global Instance AssociatedFunction_rem_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "rem_euclid" (rem_euclid BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "rem_euclid" (rem_euclid BITS LIMBS). Admitted. Global Typeclasses Opaque rem_euclid. @@ -3926,7 +4193,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -3954,7 +4231,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -3964,7 +4251,19 @@ Module signed. M.alloc (| Value.Tuple [ - M.read (| M.get_constant "alloy_primitives::signed::int::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) + |); Value.Bool true ] |))); @@ -4000,7 +4299,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_rem_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_rem_euclid" (overflowing_rem_euclid BITS LIMBS). @@ -4053,7 +4352,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_rem_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_rem_euclid" (wrapping_rem_euclid BITS LIMBS). @@ -4135,7 +4434,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MIN" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |), @@ -4163,7 +4472,17 @@ Module signed. M.borrow (| Pointer.Kind.Ref, rhs |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) ] |))) @@ -4204,7 +4523,7 @@ Module signed. Global Instance AssociatedFunction_checked_rem_euclid : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_rem_euclid" (checked_rem_euclid BITS LIMBS). @@ -4238,7 +4557,9 @@ Module signed. M.alloc (| LogicalOp.and (| BinOp.ne (| - M.read (| M.get_constant "alloy_primitives::signed::ops::BITS" |), + M.read (| + get_constant (| "alloy_primitives::signed::ops::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -4314,7 +4635,7 @@ Module signed. Global Instance AssociatedFunction_pow_sign : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "pow_sign" (pow_sign BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "pow_sign" (pow_sign BITS LIMBS). Admitted. Global Typeclasses Opaque pow_sign. @@ -4409,7 +4730,7 @@ Module signed. Global Instance AssociatedFunction_exp10 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "exp10" (exp10 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "exp10" (exp10 BITS LIMBS). Admitted. Global Typeclasses Opaque exp10. @@ -4459,7 +4780,7 @@ Module signed. Global Instance AssociatedFunction_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "pow" (pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "pow" (pow BITS LIMBS). Admitted. Global Typeclasses Opaque pow. @@ -4504,7 +4825,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::ops::BITS" + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -4518,7 +4842,17 @@ Module signed. Value.Tuple [ M.read (| - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |); Value.Bool false ] @@ -4634,10 +4968,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_pow" - (overflowing_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_pow" (overflowing_pow BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_pow. @@ -4731,7 +5062,7 @@ Module signed. Global Instance AssociatedFunction_checked_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_pow" (checked_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_pow" (checked_pow BITS LIMBS). Admitted. Global Typeclasses Opaque checked_pow. @@ -4834,7 +5165,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Positive" |) in - M.get_constant "alloy_primitives::signed::int::MAX")); + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MAX", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))); fun γ => ltac:(M.monadic (let _ := @@ -4842,7 +5183,17 @@ Module signed. γ, "alloy_primitives::signed::sign::Sign::Negative" |) in - M.get_constant "alloy_primitives::signed::int::MIN")) + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MIN", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |))) ] |))); fun γ => ltac:(M.monadic result) @@ -4856,7 +5207,7 @@ Module signed. Global Instance AssociatedFunction_saturating_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_pow" (saturating_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_pow" (saturating_pow BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_pow. @@ -4906,7 +5257,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_pow" (wrapping_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_pow" (wrapping_pow BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_pow. @@ -4952,7 +5303,19 @@ Module signed. M.alloc (| Value.Tuple [ - M.read (| M.get_constant "alloy_primitives::signed::int::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) + |); Value.Bool true ] |))); @@ -4998,10 +5361,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_shl" - (overflowing_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_shl" (overflowing_shl BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_shl. @@ -5074,7 +5434,7 @@ Module signed. Global Instance AssociatedFunction_checked_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_shl" (checked_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_shl" (checked_shl BITS LIMBS). Admitted. Global Typeclasses Opaque checked_shl. @@ -5124,7 +5484,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_shl" (wrapping_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_shl" (wrapping_shl BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_shl. @@ -5170,7 +5530,19 @@ Module signed. M.alloc (| Value.Tuple [ - M.read (| M.get_constant "alloy_primitives::signed::int::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) + |); Value.Bool true ] |))); @@ -5216,10 +5588,7 @@ Module signed. Global Instance AssociatedFunction_overflowing_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "overflowing_shr" - (overflowing_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_shr" (overflowing_shr BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_shr. @@ -5292,7 +5661,7 @@ Module signed. Global Instance AssociatedFunction_checked_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_shr" (checked_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_shr" (checked_shr BITS LIMBS). Admitted. Global Typeclasses Opaque checked_shr. @@ -5342,7 +5711,7 @@ Module signed. Global Instance AssociatedFunction_wrapping_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_shr" (wrapping_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_shr" (wrapping_shr BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_shr. @@ -5410,7 +5779,10 @@ Module signed. ltac:(M.monadic (BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::ops::BITS" + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |))) @@ -5438,7 +5810,10 @@ Module signed. M.read (| rhs |), BinOp.Wrap.sub (| M.read (| - M.get_constant "alloy_primitives::signed::ops::BITS" + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -5476,7 +5851,17 @@ Module signed. M.read (| M.return_ (| M.read (| - M.get_constant "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) |) |) @@ -5494,8 +5879,17 @@ Module signed. M.read (| M.return_ (| M.read (| - M.get_constant - "alloy_primitives::signed::int::MINUS_ONE" + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MINUS_ONE", + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [] + |) |) |) |) @@ -5642,8 +6036,10 @@ Module signed. [ BinOp.Wrap.sub (| M.read (| - M.get_constant - "alloy_primitives::signed::ops::BITS" + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) |), M.read (| rhs |) |) @@ -5721,7 +6117,7 @@ Module signed. Global Instance AssociatedFunction_asr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "asr" (asr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "asr" (asr BITS LIMBS). Admitted. Global Typeclasses Opaque asr. @@ -5771,7 +6167,12 @@ Module signed. BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic (BinOp.eq (| - M.read (| M.get_constant "alloy_primitives::signed::ops::BITS" |), + M.read (| + get_constant (| + "alloy_primitives::signed::ops::BITS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |))) |) @@ -5897,7 +6298,7 @@ Module signed. Global Instance AssociatedFunction_asl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "asl" (asl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "asl" (asl BITS LIMBS). Admitted. Global Typeclasses Opaque asl. @@ -5984,10 +6385,7 @@ Module signed. Global Instance AssociatedFunction_twos_complement : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "twos_complement" - (twos_complement BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "twos_complement" (twos_complement BITS LIMBS). Admitted. Global Typeclasses Opaque twos_complement. End Impl_alloy_primitives_signed_int_Signed_BITS_LIMBS. @@ -9261,7 +9659,13 @@ Module signed. |), [ M.read (| iter |); - M.read (| M.get_constant "alloy_primitives::signed::int::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] + |) + |); M.closure (fun γ => ltac:(M.monadic @@ -9400,7 +9804,13 @@ Module signed. |), [ M.read (| iter |); - M.read (| M.get_constant "alloy_primitives::signed::int::ONE" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [], + "ONE", + Ty.apply (Ty.path "alloy_primitives::signed::int::Signed") [ BITS; LIMBS ] [] + |) + |); M.closure (fun γ => ltac:(M.monadic diff --git a/CoqOfRust/alloy_primitives/signed/sign.v b/CoqOfRust/alloy_primitives/signed/sign.v index 70be79f65..a4181317b 100644 --- a/CoqOfRust/alloy_primitives/signed/sign.v +++ b/CoqOfRust/alloy_primitives/signed/sign.v @@ -567,7 +567,7 @@ Module signed. end. Global Instance AssociatedFunction_const_eq : - M.IsAssociatedFunction.Trait Self "const_eq" const_eq. + M.IsAssociatedFunction.C Self "const_eq" const_eq. Admitted. Global Typeclasses Opaque const_eq. @@ -603,7 +603,7 @@ Module signed. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -639,7 +639,7 @@ Module signed. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -685,8 +685,7 @@ Module signed. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_char : - M.IsAssociatedFunction.Trait Self "as_char" as_char. + Global Instance AssociatedFunction_as_char : M.IsAssociatedFunction.C Self "as_char" as_char. Admitted. Global Typeclasses Opaque as_char. End Impl_alloy_primitives_signed_sign_Sign. diff --git a/CoqOfRust/alloy_primitives/signed/utils.v b/CoqOfRust/alloy_primitives/signed/utils.v index 7136ce181..6c3cb5bb8 100644 --- a/CoqOfRust/alloy_primitives/signed/utils.v +++ b/CoqOfRust/alloy_primitives/signed/utils.v @@ -108,7 +108,7 @@ Module signed. end. Global Instance Instance_IsFunction_handle_overflow : - M.IsFunction.Trait "alloy_primitives::signed::utils::handle_overflow" handle_overflow. + M.IsFunction.C "alloy_primitives::signed::utils::handle_overflow" handle_overflow. Admitted. Global Typeclasses Opaque handle_overflow. @@ -142,8 +142,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant - "alloy_primitives::signed::utils::twos_complement::BITS" + get_constant (| + "alloy_primitives::signed::utils::twos_complement::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -202,7 +204,7 @@ Module signed. end. Global Instance Instance_IsFunction_twos_complement : - M.IsFunction.Trait "alloy_primitives::signed::utils::twos_complement" twos_complement. + M.IsFunction.C "alloy_primitives::signed::utils::twos_complement" twos_complement. Admitted. Global Typeclasses Opaque twos_complement. @@ -248,7 +250,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::utils::const_eq::BITS" + get_constant (| + "alloy_primitives::signed::utils::const_eq::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -336,8 +341,10 @@ Module signed. BinOp.lt (| M.read (| i |), M.read (| - M.get_constant - "alloy_primitives::signed::utils::const_eq::LIMBS" + get_constant (| + "alloy_primitives::signed::utils::const_eq::LIMBS", + Ty.path "usize" + |) |) |) |)) in @@ -419,7 +426,7 @@ Module signed. end. Global Instance Instance_IsFunction_const_eq : - M.IsFunction.Trait "alloy_primitives::signed::utils::const_eq" const_eq. + M.IsFunction.C "alloy_primitives::signed::utils::const_eq" const_eq. Admitted. Global Typeclasses Opaque const_eq. @@ -454,7 +461,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::utils::max::LIMBS" + get_constant (| + "alloy_primitives::signed::utils::max::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -485,14 +495,26 @@ Module signed. ] |) in let~ limbs : Ty.apply (Ty.path "array") [ LIMBS ] [ Ty.path "u64" ] := - M.alloc (| repeat (| M.read (| M.get_constant "core::num::MAX" |), LIMBS |) |) in + M.alloc (| + repeat (| + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |), + LIMBS + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| let β := M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "alloy_primitives::signed::utils::max::LIMBS" |), + M.read (| + get_constant (| + "alloy_primitives::signed::utils::max::LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -500,7 +522,16 @@ Module signed. β, BinOp.bit_and (M.read (| β |)) - (M.read (| M.get_constant "alloy_primitives::signed::int::MASK" |)) + (M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -509,7 +540,12 @@ Module signed. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "alloy_primitives::signed::utils::max::LIMBS" |), + M.read (| + get_constant (| + "alloy_primitives::signed::utils::max::LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -518,7 +554,16 @@ Module signed. BinOp.bit_and (M.read (| β |)) (UnOp.not (| - M.read (| M.get_constant "alloy_primitives::signed::int::SIGN_BIT" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "SIGN_BIT", + Ty.path "u64" + |) + |) |)) |) |) in @@ -544,7 +589,7 @@ Module signed. end. Global Instance Instance_IsFunction_max : - M.IsFunction.Trait "alloy_primitives::signed::utils::max" max. + M.IsFunction.C "alloy_primitives::signed::utils::max" max. Admitted. Global Typeclasses Opaque max. @@ -578,7 +623,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::utils::min::LIMBS" + get_constant (| + "alloy_primitives::signed::utils::min::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -616,11 +664,25 @@ Module signed. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "alloy_primitives::signed::utils::min::LIMBS" |), + M.read (| + get_constant (| + "alloy_primitives::signed::utils::min::LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |), - M.read (| M.get_constant "alloy_primitives::signed::int::SIGN_BIT" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::signed::int::Signed") + [ BITS; LIMBS ] + [], + "SIGN_BIT", + Ty.path "u64" + |) + |) |) |) in M.alloc (| @@ -645,7 +707,7 @@ Module signed. end. Global Instance Instance_IsFunction_min : - M.IsFunction.Trait "alloy_primitives::signed::utils::min" min. + M.IsFunction.C "alloy_primitives::signed::utils::min" min. Admitted. Global Typeclasses Opaque min. @@ -683,7 +745,7 @@ Module signed. end. Global Instance Instance_IsFunction_zero : - M.IsFunction.Trait "alloy_primitives::signed::utils::zero" zero. + M.IsFunction.C "alloy_primitives::signed::utils::zero" zero. Admitted. Global Typeclasses Opaque zero. @@ -717,7 +779,10 @@ Module signed. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "alloy_primitives::signed::utils::one::LIMBS" + get_constant (| + "alloy_primitives::signed::utils::one::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -778,7 +843,7 @@ Module signed. end. Global Instance Instance_IsFunction_one : - M.IsFunction.Trait "alloy_primitives::signed::utils::one" one. + M.IsFunction.C "alloy_primitives::signed::utils::one" one. Admitted. Global Typeclasses Opaque one. @@ -867,7 +932,7 @@ Module signed. end. Global Instance Instance_IsFunction_sign_bit : - M.IsFunction.Trait "alloy_primitives::signed::utils::sign_bit" sign_bit. + M.IsFunction.C "alloy_primitives::signed::utils::sign_bit" sign_bit. Admitted. Global Typeclasses Opaque sign_bit. End utils. diff --git a/CoqOfRust/alloy_primitives/utils/mod.v b/CoqOfRust/alloy_primitives/utils/mod.v index be999ea4d..a092a7f13 100644 --- a/CoqOfRust/alloy_primitives/utils/mod.v +++ b/CoqOfRust/alloy_primitives/utils/mod.v @@ -2,39 +2,48 @@ Require Import CoqOfRust.CoqOfRust. Module utils. - Definition value_WEI_IN_ETHER : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "ruint::Uint") - [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] - [], - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "wei_const", - [], - [] - |), - [ M.read (| M.get_constant "alloy_primitives::utils::units::ETHER" |) ] - |) - |))). + Definition value_WEI_IN_ETHER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + M.get_associated_function (| + Ty.path "alloy_primitives::utils::units::Unit", + "wei_const", + [], + [] + |), + [ + M.read (| + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "ETHER", + Ty.path "alloy_primitives::utils::units::Unit" + |) + |) + ] + |) + |))). - Axiom Constant_value_WEI_IN_ETHER : - (M.get_constant "alloy_primitives::utils::WEI_IN_ETHER") = value_WEI_IN_ETHER. - Global Hint Rewrite Constant_value_WEI_IN_ETHER : constant_rewrites. + Global Instance Instance_IsConstant_value_WEI_IN_ETHER : + M.IsFunction.C "alloy_primitives::utils::WEI_IN_ETHER" value_WEI_IN_ETHER. + Admitted. + Global Typeclasses Opaque value_WEI_IN_ETHER. Axiom Units : (Ty.path "alloy_primitives::utils::Units") = (Ty.path "alloy_primitives::utils::units::Unit"). - Definition value_EIP191_PREFIX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Ethereum Signed Message: + Definition value_EIP191_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Ethereum Signed Message: " |) |))). - Axiom Constant_value_EIP191_PREFIX : - (M.get_constant "alloy_primitives::utils::EIP191_PREFIX") = value_EIP191_PREFIX. - Global Hint Rewrite Constant_value_EIP191_PREFIX : constant_rewrites. + Global Instance Instance_IsConstant_value_EIP191_PREFIX : + M.IsFunction.C "alloy_primitives::utils::EIP191_PREFIX" value_EIP191_PREFIX. + Admitted. + Global Typeclasses Opaque value_EIP191_PREFIX. (* pub fn box_try_new(value: T) -> Result, TryReserveError> { @@ -309,7 +318,7 @@ Module utils. end. Global Instance Instance_IsFunction_box_try_new : - M.IsFunction.Trait "alloy_primitives::utils::box_try_new" box_try_new. + M.IsFunction.C "alloy_primitives::utils::box_try_new" box_try_new. Admitted. Global Typeclasses Opaque box_try_new. @@ -673,7 +682,7 @@ Module utils. end. Global Instance Instance_IsFunction_box_try_new_uninit : - M.IsFunction.Trait "alloy_primitives::utils::box_try_new_uninit" box_try_new_uninit. + M.IsFunction.C "alloy_primitives::utils::box_try_new_uninit" box_try_new_uninit. Admitted. Global Typeclasses Opaque box_try_new_uninit. @@ -909,7 +918,7 @@ Module utils. end. Global Instance Instance_IsFunction_try_collect_vec : - M.IsFunction.Trait "alloy_primitives::utils::try_collect_vec" try_collect_vec. + M.IsFunction.C "alloy_primitives::utils::try_collect_vec" try_collect_vec. Admitted. Global Typeclasses Opaque try_collect_vec. @@ -1003,7 +1012,7 @@ Module utils. end. Global Instance Instance_IsFunction_vec_try_with_capacity : - M.IsFunction.Trait "alloy_primitives::utils::vec_try_with_capacity" vec_try_with_capacity. + M.IsFunction.C "alloy_primitives::utils::vec_try_with_capacity" vec_try_with_capacity. Admitted. Global Typeclasses Opaque vec_try_with_capacity. @@ -1177,7 +1186,7 @@ Module utils. end. Global Instance Instance_IsFunction_vec_try_from_elem : - M.IsFunction.Trait "alloy_primitives::utils::vec_try_from_elem" vec_try_from_elem. + M.IsFunction.C "alloy_primitives::utils::vec_try_from_elem" vec_try_from_elem. Admitted. Global Typeclasses Opaque vec_try_from_elem. @@ -1221,7 +1230,7 @@ Module utils. end. Global Instance Instance_IsFunction_eip191_hash_message : - M.IsFunction.Trait "alloy_primitives::utils::eip191_hash_message" eip191_hash_message. + M.IsFunction.C "alloy_primitives::utils::eip191_hash_message" eip191_hash_message. Admitted. Global Typeclasses Opaque eip191_hash_message. @@ -1275,7 +1284,7 @@ Module utils. end. Global Instance Instance_IsFunction_eip191_message : - M.IsFunction.Trait "alloy_primitives::utils::eip191_message" eip191_message. + M.IsFunction.C "alloy_primitives::utils::eip191_message" eip191_message. Admitted. Global Typeclasses Opaque eip191_message. @@ -1363,7 +1372,12 @@ Module utils. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "alloy_primitives::utils::EIP191_PREFIX" |) + M.read (| + get_constant (| + "alloy_primitives::utils::EIP191_PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) |) |) ] @@ -1407,7 +1421,12 @@ Module utils. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "alloy_primitives::utils::EIP191_PREFIX" |) + M.read (| + get_constant (| + "alloy_primitives::utils::EIP191_PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) |) |) ] @@ -1473,7 +1492,7 @@ Module utils. end. Global Instance Instance_IsFunction_eip191_message : - M.IsFunction.Trait "alloy_primitives::utils::eip191_message::eip191_message" eip191_message. + M.IsFunction.C "alloy_primitives::utils::eip191_message::eip191_message" eip191_message. Admitted. Global Typeclasses Opaque eip191_message. End eip191_message. @@ -1558,7 +1577,7 @@ Module utils. end. Global Instance Instance_IsFunction_keccak256 : - M.IsFunction.Trait "alloy_primitives::utils::keccak256" keccak256. + M.IsFunction.C "alloy_primitives::utils::keccak256" keccak256. Admitted. Global Typeclasses Opaque keccak256. @@ -1761,7 +1780,7 @@ Module utils. end. Global Instance Instance_IsFunction_keccak256 : - M.IsFunction.Trait "alloy_primitives::utils::keccak256::keccak256" keccak256. + M.IsFunction.C "alloy_primitives::utils::keccak256::keccak256" keccak256. Admitted. Global Typeclasses Opaque keccak256. End keccak256. @@ -1856,7 +1875,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1903,7 +1922,7 @@ Module utils. end. Global Instance AssociatedFunction_finalize_into : - M.IsAssociatedFunction.Trait Self "finalize_into" finalize_into. + M.IsAssociatedFunction.C Self "finalize_into" finalize_into. Admitted. Global Typeclasses Opaque finalize_into. @@ -1950,7 +1969,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_update : M.IsAssociatedFunction.Trait Self "update" update. + Global Instance AssociatedFunction_update : M.IsAssociatedFunction.C Self "update" update. Admitted. Global Typeclasses Opaque update. End Impl_alloy_primitives_utils_keccak256_state_State. @@ -2139,7 +2158,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2203,7 +2222,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_update : M.IsAssociatedFunction.Trait Self "update" update. + Global Instance AssociatedFunction_update : M.IsAssociatedFunction.C Self "update" update. Admitted. Global Typeclasses Opaque update. @@ -2347,8 +2366,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finalize : - M.IsAssociatedFunction.Trait Self "finalize" finalize. + Global Instance AssociatedFunction_finalize : M.IsAssociatedFunction.C Self "finalize" finalize. Admitted. Global Typeclasses Opaque finalize. @@ -2452,7 +2470,7 @@ Module utils. end. Global Instance AssociatedFunction_finalize_into : - M.IsAssociatedFunction.Trait Self "finalize_into" finalize_into. + M.IsAssociatedFunction.C Self "finalize_into" finalize_into. Admitted. Global Typeclasses Opaque finalize_into. @@ -2534,7 +2552,7 @@ Module utils. end. Global Instance AssociatedFunction_finalize_into_array : - M.IsAssociatedFunction.Trait Self "finalize_into_array" finalize_into_array. + M.IsAssociatedFunction.C Self "finalize_into_array" finalize_into_array. Admitted. Global Typeclasses Opaque finalize_into_array. @@ -2598,7 +2616,7 @@ Module utils. end. Global Instance AssociatedFunction_finalize_into_raw : - M.IsAssociatedFunction.Trait Self "finalize_into_raw" finalize_into_raw. + M.IsAssociatedFunction.C Self "finalize_into_raw" finalize_into_raw. Admitted. Global Typeclasses Opaque finalize_into_raw. End Impl_alloy_primitives_utils_Keccak256. diff --git a/CoqOfRust/alloy_primitives/utils/units.v b/CoqOfRust/alloy_primitives/utils/units.v index 244cdf146..0ee269a03 100644 --- a/CoqOfRust/alloy_primitives/utils/units.v +++ b/CoqOfRust/alloy_primitives/utils/units.v @@ -3,12 +3,13 @@ Require Import CoqOfRust.CoqOfRust. Module utils. Module units. - Definition value_MAX_U64_EXPONENT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 19 |))). + Definition value_MAX_U64_EXPONENT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 19 |))). - Axiom Constant_value_MAX_U64_EXPONENT : - (M.get_constant "alloy_primitives::utils::units::MAX_U64_EXPONENT") = value_MAX_U64_EXPONENT. - Global Hint Rewrite Constant_value_MAX_U64_EXPONENT : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_U64_EXPONENT : + M.IsFunction.C "alloy_primitives::utils::units::MAX_U64_EXPONENT" value_MAX_U64_EXPONENT. + Admitted. + Global Typeclasses Opaque value_MAX_U64_EXPONENT. (* pub fn parse_ether(eth: &str) -> Result { @@ -71,7 +72,13 @@ Module utils. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| eth |) |) |); - M.read (| M.get_constant "alloy_primitives::utils::units::ETHER" |) + M.read (| + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "ETHER", + Ty.path "alloy_primitives::utils::units::Unit" + |) + |) ] |); M.get_trait_method (| @@ -94,7 +101,7 @@ Module utils. end. Global Instance Instance_IsFunction_parse_ether : - M.IsFunction.Trait "alloy_primitives::utils::units::parse_ether" parse_ether. + M.IsFunction.C "alloy_primitives::utils::units::parse_ether" parse_ether. Admitted. Global Typeclasses Opaque parse_ether. @@ -246,7 +253,7 @@ Module utils. end. Global Instance Instance_IsFunction_parse_units : - M.IsFunction.Trait "alloy_primitives::utils::units::parse_units" parse_units. + M.IsFunction.C "alloy_primitives::utils::units::parse_units" parse_units. Admitted. Global Typeclasses Opaque parse_units. @@ -287,14 +294,20 @@ Module utils. |) |) |); - M.read (| M.get_constant "alloy_primitives::utils::units::ETHER" |) + M.read (| + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "ETHER", + Ty.path "alloy_primitives::utils::units::Unit" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_format_ether : - M.IsFunction.Trait "alloy_primitives::utils::units::format_ether" format_ether. + M.IsFunction.C "alloy_primitives::utils::units::format_ether" format_ether. Admitted. Global Typeclasses Opaque format_ether. @@ -435,7 +448,7 @@ Module utils. end. Global Instance Instance_IsFunction_format_units : - M.IsFunction.Trait "alloy_primitives::utils::units::format_units" format_units. + M.IsFunction.C "alloy_primitives::utils::units::format_units" format_units. Admitted. Global Typeclasses Opaque format_units. @@ -3682,8 +3695,25 @@ Module utils. "alloy_primitives::utils::units::ParseUnits::I256" [ M.read (| - M.get_constant - "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path + "alloy_primitives::signed::int::Signed") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path + "alloy_primitives::signed::int::Signed") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |) ] ] @@ -4138,8 +4168,25 @@ Module utils. "alloy_primitives::utils::units::ParseUnits::I256" [ M.read (| - M.get_constant - "alloy_primitives::signed::int::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path + "alloy_primitives::signed::int::Signed") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path + "alloy_primitives::signed::int::Signed") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |) ] ] @@ -5209,7 +5256,7 @@ Module utils. end. Global Instance AssociatedFunction_parse_units : - M.IsAssociatedFunction.Trait Self "parse_units" parse_units. + M.IsAssociatedFunction.C Self "parse_units" parse_units. Admitted. Global Typeclasses Opaque parse_units. @@ -5286,7 +5333,11 @@ Module utils. M.borrow (| Pointer.Kind.Ref, unit_ |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "alloy_primitives::utils::units::MAX" + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "MAX", + Ty.path "alloy_primitives::utils::units::Unit" + |) |) ] |))) @@ -5333,7 +5384,11 @@ Module utils. |), [ M.read (| - M.get_constant "alloy_primitives::utils::units::MAX" + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "MAX", + Ty.path "alloy_primitives::utils::units::Unit" + |) |) ] |), @@ -6171,7 +6226,7 @@ Module utils. end. Global Instance AssociatedFunction_format_units : - M.IsAssociatedFunction.Trait Self "format_units" format_units. + M.IsAssociatedFunction.C Self "format_units" format_units. Admitted. Global Typeclasses Opaque format_units. @@ -6208,7 +6263,7 @@ Module utils. end. Global Instance AssociatedFunction_is_signed : - M.IsAssociatedFunction.Trait Self "is_signed" is_signed. + M.IsAssociatedFunction.C Self "is_signed" is_signed. Admitted. Global Typeclasses Opaque is_signed. @@ -6245,7 +6300,7 @@ Module utils. end. Global Instance AssociatedFunction_is_unsigned : - M.IsAssociatedFunction.Trait Self "is_unsigned" is_unsigned. + M.IsAssociatedFunction.C Self "is_unsigned" is_unsigned. Admitted. Global Typeclasses Opaque is_unsigned. @@ -6312,7 +6367,7 @@ Module utils. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -6379,7 +6434,7 @@ Module utils. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -6463,8 +6518,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_zero : - M.IsAssociatedFunction.Trait Self "is_zero" is_zero. + Global Instance AssociatedFunction_is_zero : M.IsAssociatedFunction.C Self "is_zero" is_zero. Admitted. Global Typeclasses Opaque is_zero. @@ -6538,7 +6592,7 @@ Module utils. end. Global Instance AssociatedFunction_get_absolute : - M.IsAssociatedFunction.Trait Self "get_absolute" get_absolute. + M.IsAssociatedFunction.C Self "get_absolute" get_absolute. Admitted. Global Typeclasses Opaque get_absolute. @@ -6612,7 +6666,7 @@ Module utils. end. Global Instance AssociatedFunction_get_signed : - M.IsAssociatedFunction.Trait Self "get_signed" get_signed. + M.IsAssociatedFunction.C Self "get_signed" get_signed. Admitted. Global Typeclasses Opaque get_signed. End Impl_alloy_primitives_utils_units_ParseUnits. @@ -7502,8 +7556,11 @@ Module utils. match γ with | [] => ltac:(M.monadic - (M.get_constant - "alloy_primitives::utils::units::ETHER")) + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "ETHER", + Ty.path "alloy_primitives::utils::units::Unit" + |))) | _ => M.impossible "wrong number of arguments" end) |))); @@ -7550,7 +7607,11 @@ Module utils. match γ with | [] => ltac:(M.monadic - (M.get_constant "alloy_primitives::utils::units::PWEI")) + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "PWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))) | _ => M.impossible "wrong number of arguments" end) |))); @@ -7597,7 +7658,11 @@ Module utils. match γ with | [] => ltac:(M.monadic - (M.get_constant "alloy_primitives::utils::units::TWEI")) + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "TWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))) | _ => M.impossible "wrong number of arguments" end) |))); @@ -7644,7 +7709,11 @@ Module utils. match γ with | [] => ltac:(M.monadic - (M.get_constant "alloy_primitives::utils::units::GWEI")) + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "GWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))) | _ => M.impossible "wrong number of arguments" end) |))); @@ -7691,7 +7760,11 @@ Module utils. match γ with | [] => ltac:(M.monadic - (M.get_constant "alloy_primitives::utils::units::MWEI")) + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "MWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))) | _ => M.impossible "wrong number of arguments" end) |))); @@ -7738,7 +7811,11 @@ Module utils. match γ with | [] => ltac:(M.monadic - (M.get_constant "alloy_primitives::utils::units::KWEI")) + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "KWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))) | _ => M.impossible "wrong number of arguments" end) |))); @@ -7749,7 +7826,11 @@ Module utils. M.read (| γ |), mk_str (| "wei" |) |) in - M.get_constant "alloy_primitives::utils::units::WEI")); + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "WEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -7811,265 +7892,293 @@ Module utils. (* pub const WEI: Self = unsafe { Self::new_unchecked(0) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_WEI : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_WEI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 0 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 0 ] + |) + |))). - Global Instance AssociatedConstant_value_WEI : - M.IsAssociatedConstant.Trait Self "value_WEI" value_WEI. + Global Instance AssociatedConstant_value_WEI : M.IsAssociatedFunction.C Self "WEI" value_WEI. Admitted. Global Typeclasses Opaque value_WEI. (* pub const Wei: Self = Self::WEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Wei : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::WEI")). + Definition value_Wei (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "WEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). - Global Instance AssociatedConstant_value_Wei : - M.IsAssociatedConstant.Trait Self "value_Wei" value_Wei. + Global Instance AssociatedConstant_value_Wei : M.IsAssociatedFunction.C Self "Wei" value_Wei. Admitted. Global Typeclasses Opaque value_Wei. (* pub const KWEI: Self = unsafe { Self::new_unchecked(3) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_KWEI : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_KWEI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 3 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 3 ] + |) + |))). Global Instance AssociatedConstant_value_KWEI : - M.IsAssociatedConstant.Trait Self "value_KWEI" value_KWEI. + M.IsAssociatedFunction.C Self "KWEI" value_KWEI. Admitted. Global Typeclasses Opaque value_KWEI. (* pub const Kwei: Self = Self::KWEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Kwei : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::KWEI")). + Definition value_Kwei (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "KWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). Global Instance AssociatedConstant_value_Kwei : - M.IsAssociatedConstant.Trait Self "value_Kwei" value_Kwei. + M.IsAssociatedFunction.C Self "Kwei" value_Kwei. Admitted. Global Typeclasses Opaque value_Kwei. (* pub const MWEI: Self = unsafe { Self::new_unchecked(6) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_MWEI : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_MWEI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 6 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 6 ] + |) + |))). Global Instance AssociatedConstant_value_MWEI : - M.IsAssociatedConstant.Trait Self "value_MWEI" value_MWEI. + M.IsAssociatedFunction.C Self "MWEI" value_MWEI. Admitted. Global Typeclasses Opaque value_MWEI. (* pub const Mwei: Self = Self::MWEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Mwei : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::MWEI")). + Definition value_Mwei (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "MWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). Global Instance AssociatedConstant_value_Mwei : - M.IsAssociatedConstant.Trait Self "value_Mwei" value_Mwei. + M.IsAssociatedFunction.C Self "Mwei" value_Mwei. Admitted. Global Typeclasses Opaque value_Mwei. (* pub const GWEI: Self = unsafe { Self::new_unchecked(9) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_GWEI : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_GWEI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 9 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 9 ] + |) + |))). Global Instance AssociatedConstant_value_GWEI : - M.IsAssociatedConstant.Trait Self "value_GWEI" value_GWEI. + M.IsAssociatedFunction.C Self "GWEI" value_GWEI. Admitted. Global Typeclasses Opaque value_GWEI. (* pub const Gwei: Self = Self::GWEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Gwei : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::GWEI")). + Definition value_Gwei (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "GWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). Global Instance AssociatedConstant_value_Gwei : - M.IsAssociatedConstant.Trait Self "value_Gwei" value_Gwei. + M.IsAssociatedFunction.C Self "Gwei" value_Gwei. Admitted. Global Typeclasses Opaque value_Gwei. (* pub const TWEI: Self = unsafe { Self::new_unchecked(12) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_TWEI : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_TWEI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 12 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 12 ] + |) + |))). Global Instance AssociatedConstant_value_TWEI : - M.IsAssociatedConstant.Trait Self "value_TWEI" value_TWEI. + M.IsAssociatedFunction.C Self "TWEI" value_TWEI. Admitted. Global Typeclasses Opaque value_TWEI. (* pub const Twei: Self = Self::TWEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Twei : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::TWEI")). + Definition value_Twei (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "TWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). Global Instance AssociatedConstant_value_Twei : - M.IsAssociatedConstant.Trait Self "value_Twei" value_Twei. + M.IsAssociatedFunction.C Self "Twei" value_Twei. Admitted. Global Typeclasses Opaque value_Twei. (* pub const PWEI: Self = unsafe { Self::new_unchecked(15) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_PWEI : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_PWEI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 15 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 15 ] + |) + |))). Global Instance AssociatedConstant_value_PWEI : - M.IsAssociatedConstant.Trait Self "value_PWEI" value_PWEI. + M.IsAssociatedFunction.C Self "PWEI" value_PWEI. Admitted. Global Typeclasses Opaque value_PWEI. (* pub const Pwei: Self = Self::PWEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Pwei : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::PWEI")). + Definition value_Pwei (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "PWEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). Global Instance AssociatedConstant_value_Pwei : - M.IsAssociatedConstant.Trait Self "value_Pwei" value_Pwei. + M.IsAssociatedFunction.C Self "Pwei" value_Pwei. Admitted. Global Typeclasses Opaque value_Pwei. (* pub const ETHER: Self = unsafe { Self::new_unchecked(18) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_ETHER : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_ETHER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 18 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 18 ] + |) + |))). Global Instance AssociatedConstant_value_ETHER : - M.IsAssociatedConstant.Trait Self "value_ETHER" value_ETHER. + M.IsAssociatedFunction.C Self "ETHER" value_ETHER. Admitted. Global Typeclasses Opaque value_ETHER. (* pub const Ether: Self = Self::ETHER; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_Ether : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::ETHER")). + Definition value_Ether (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "ETHER", + Ty.path "alloy_primitives::utils::units::Unit" + |))). Global Instance AssociatedConstant_value_Ether : - M.IsAssociatedConstant.Trait Self "value_Ether" value_Ether. + M.IsAssociatedFunction.C Self "Ether" value_Ether. Admitted. Global Typeclasses Opaque value_Ether. (* pub const MIN: Self = Self::WEI; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_MIN : Value.t := - M.run ltac:(M.monadic (M.get_constant "alloy_primitives::utils::units::WEI")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "WEI", + Ty.path "alloy_primitives::utils::units::Unit" + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = unsafe { Self::new_unchecked(77) }; *) (* Ty.path "alloy_primitives::utils::units::Unit" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::utils::units::Unit", + M.get_associated_function (| Ty.path "alloy_primitives::utils::units::Unit", - M.get_associated_function (| - Ty.path "alloy_primitives::utils::units::Unit", - "new_unchecked", - [], - [] - |), - [ Value.Integer IntegerKind.U8 77 ] - |) - |))). + "new_unchecked", + [], + [] + |), + [ Value.Integer IntegerKind.U8 77 ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -8112,7 +8221,14 @@ Module utils. [], [] |), - [ M.read (| M.get_constant "alloy_primitives::utils::units::MAX" |) + [ + M.read (| + get_associated_constant (| + Ty.path "alloy_primitives::utils::units::Unit", + "MAX", + Ty.path "alloy_primitives::utils::units::Unit" + |) + |) ] |) |) @@ -8143,7 +8259,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -8162,7 +8278,7 @@ Module utils. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -8206,7 +8322,10 @@ Module utils. [ M.read (| self |) ] |), M.read (| - M.get_constant "alloy_primitives::utils::units::MAX_U64_EXPONENT" + get_constant (| + "alloy_primitives::utils::units::MAX_U64_EXPONENT", + Ty.path "u8" + |) |) |) |)) in @@ -8313,7 +8432,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wei : M.IsAssociatedFunction.Trait Self "wei" wei. + Global Instance AssociatedFunction_wei : M.IsAssociatedFunction.C Self "wei" wei. Admitted. Global Typeclasses Opaque wei. @@ -8353,7 +8472,10 @@ Module utils. [ M.read (| self |) ] |), M.read (| - M.get_constant "alloy_primitives::utils::units::MAX_U64_EXPONENT" + get_constant (| + "alloy_primitives::utils::units::MAX_U64_EXPONENT", + Ty.path "u8" + |) |) |) |)) in @@ -8441,7 +8563,7 @@ Module utils. end. Global Instance AssociatedFunction_wei_const : - M.IsAssociatedFunction.Trait Self "wei_const" wei_const. + M.IsAssociatedFunction.C Self "wei_const" wei_const. Admitted. Global Typeclasses Opaque wei_const. @@ -8465,7 +8587,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -8492,7 +8614,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_num : M.IsAssociatedFunction.Trait Self "as_num" as_num. + Global Instance AssociatedFunction_as_num : M.IsAssociatedFunction.C Self "as_num" as_num. Admitted. Global Typeclasses Opaque as_num. End Impl_alloy_primitives_utils_units_Unit. diff --git a/CoqOfRust/core/alloc/layout.v b/CoqOfRust/core/alloc/layout.v index b6b2fdbd0..4788598db 100644 --- a/CoqOfRust/core/alloc/layout.v +++ b/CoqOfRust/core/alloc/layout.v @@ -29,7 +29,7 @@ Module alloc. end. Global Instance Instance_IsFunction_size_align : - M.IsFunction.Trait "core::alloc::layout::size_align" size_align. + M.IsFunction.C "core::alloc::layout::size_align" size_align. Admitted. Global Typeclasses Opaque size_align. @@ -453,7 +453,7 @@ Module alloc. end. Global Instance AssociatedFunction_from_size_align : - M.IsAssociatedFunction.Trait Self "from_size_align" from_size_align. + M.IsAssociatedFunction.C Self "from_size_align" from_size_align. Admitted. Global Typeclasses Opaque from_size_align. @@ -548,7 +548,7 @@ Module alloc. end. Global Instance AssociatedFunction_is_size_align_valid : - M.IsAssociatedFunction.Trait Self "is_size_align_valid" is_size_align_valid. + M.IsAssociatedFunction.C Self "is_size_align_valid" is_size_align_valid. Admitted. Global Typeclasses Opaque is_size_align_valid. @@ -584,7 +584,11 @@ Module alloc. M.get_function (| "core::intrinsics::unchecked_sub", [], [ Ty.path "usize" ] |), [ BinOp.Wrap.add (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::MAX" |)), + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) + |)), Value.Integer IntegerKind.Usize 1 |); M.call_closure (| @@ -603,7 +607,7 @@ Module alloc. end. Global Instance AssociatedFunction_max_size_for_align : - M.IsAssociatedFunction.Trait Self "max_size_for_align" max_size_for_align. + M.IsAssociatedFunction.C Self "max_size_for_align" max_size_for_align. Admitted. Global Typeclasses Opaque max_size_for_align. @@ -681,7 +685,7 @@ Module alloc. end. Global Instance AssociatedFunction_from_size_alignment : - M.IsAssociatedFunction.Trait Self "from_size_alignment" from_size_alignment. + M.IsAssociatedFunction.C Self "from_size_alignment" from_size_alignment. Admitted. Global Typeclasses Opaque from_size_alignment. @@ -768,7 +772,7 @@ Module alloc. end. Global Instance AssociatedFunction_from_size_align_unchecked : - M.IsAssociatedFunction.Trait Self "from_size_align_unchecked" from_size_align_unchecked. + M.IsAssociatedFunction.C Self "from_size_align_unchecked" from_size_align_unchecked. Admitted. Global Typeclasses Opaque from_size_align_unchecked. @@ -792,7 +796,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_size : M.IsAssociatedFunction.Trait Self "size" size. + Global Instance AssociatedFunction_size : M.IsAssociatedFunction.C Self "size" size. Admitted. Global Typeclasses Opaque size. @@ -827,7 +831,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_align : M.IsAssociatedFunction.Trait Self "align" align. + Global Instance AssociatedFunction_align : M.IsAssociatedFunction.C Self "align" align. Admitted. Global Typeclasses Opaque align. @@ -879,7 +883,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -939,7 +943,7 @@ Module alloc. end. Global Instance AssociatedFunction_for_value : - M.IsAssociatedFunction.Trait Self "for_value" for_value. + M.IsAssociatedFunction.C Self "for_value" for_value. Admitted. Global Typeclasses Opaque for_value. @@ -1000,7 +1004,7 @@ Module alloc. end. Global Instance AssociatedFunction_for_value_raw : - M.IsAssociatedFunction.Trait Self "for_value_raw" for_value_raw. + M.IsAssociatedFunction.C Self "for_value_raw" for_value_raw. Admitted. Global Typeclasses Opaque for_value_raw. @@ -1046,7 +1050,7 @@ Module alloc. end. Global Instance AssociatedFunction_dangling : - M.IsAssociatedFunction.Trait Self "dangling" dangling. + M.IsAssociatedFunction.C Self "dangling" dangling. Admitted. Global Typeclasses Opaque dangling. @@ -1161,7 +1165,7 @@ Module alloc. end. Global Instance AssociatedFunction_align_to : - M.IsAssociatedFunction.Trait Self "align_to" align_to. + M.IsAssociatedFunction.C Self "align_to" align_to. Admitted. Global Typeclasses Opaque align_to. @@ -1251,7 +1255,7 @@ Module alloc. end. Global Instance AssociatedFunction_padding_needed_for : - M.IsAssociatedFunction.Trait Self "padding_needed_for" padding_needed_for. + M.IsAssociatedFunction.C Self "padding_needed_for" padding_needed_for. Admitted. Global Typeclasses Opaque padding_needed_for. @@ -1342,7 +1346,7 @@ Module alloc. end. Global Instance AssociatedFunction_size_rounded_up_to_custom_align : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "size_rounded_up_to_custom_align" size_rounded_up_to_custom_align. @@ -1418,7 +1422,7 @@ Module alloc. end. Global Instance AssociatedFunction_pad_to_align : - M.IsAssociatedFunction.Trait Self "pad_to_align" pad_to_align. + M.IsAssociatedFunction.C Self "pad_to_align" pad_to_align. Admitted. Global Typeclasses Opaque pad_to_align. @@ -1524,7 +1528,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_repeat : M.IsAssociatedFunction.Trait Self "repeat" repeat. + Global Instance AssociatedFunction_repeat : M.IsAssociatedFunction.C Self "repeat" repeat. Admitted. Global Typeclasses Opaque repeat. @@ -1677,7 +1681,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_extend : M.IsAssociatedFunction.Trait Self "extend" extend. + Global Instance AssociatedFunction_extend : M.IsAssociatedFunction.C Self "extend" extend. Admitted. Global Typeclasses Opaque extend. @@ -1776,7 +1780,7 @@ Module alloc. end. Global Instance AssociatedFunction_repeat_packed : - M.IsAssociatedFunction.Trait Self "repeat_packed" repeat_packed. + M.IsAssociatedFunction.C Self "repeat_packed" repeat_packed. Admitted. Global Typeclasses Opaque repeat_packed. @@ -1851,7 +1855,7 @@ Module alloc. end. Global Instance AssociatedFunction_extend_packed : - M.IsAssociatedFunction.Trait Self "extend_packed" extend_packed. + M.IsAssociatedFunction.C Self "extend_packed" extend_packed. Admitted. Global Typeclasses Opaque extend_packed. @@ -1907,7 +1911,12 @@ Module alloc. ], M.get_associated_function (| Self, "inner.array", [], [] |), [ - M.read (| M.get_constant "core::mem::SizedTypeProperties::LAYOUT" |); + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::LAYOUT", + Ty.path "core::alloc::layout::Layout" + |) + |); M.read (| n |) ] |) @@ -1918,7 +1927,7 @@ Module alloc. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_array : M.IsAssociatedFunction.Trait Self "array" array. + Global Instance AssociatedFunction_array : M.IsAssociatedFunction.C Self "array" array. Admitted. Global Typeclasses Opaque array. End Impl_core_alloc_layout_Layout. diff --git a/CoqOfRust/core/any.v b/CoqOfRust/core/any.v index 119b0f465..f5a3ed72f 100644 --- a/CoqOfRust/core/any.v +++ b/CoqOfRust/core/any.v @@ -282,7 +282,7 @@ Module any. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is : M.IsAssociatedFunction.Trait Self "is" is. + Global Instance AssociatedFunction_is : M.IsAssociatedFunction.C Self "is" is. Admitted. Global Typeclasses Opaque is. @@ -356,7 +356,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_ref : - M.IsAssociatedFunction.Trait Self "downcast_ref" downcast_ref. + M.IsAssociatedFunction.C Self "downcast_ref" downcast_ref. Admitted. Global Typeclasses Opaque downcast_ref. @@ -438,7 +438,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. @@ -541,7 +541,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_ref_unchecked : - M.IsAssociatedFunction.Trait Self "downcast_ref_unchecked" downcast_ref_unchecked. + M.IsAssociatedFunction.C Self "downcast_ref_unchecked" downcast_ref_unchecked. Admitted. Global Typeclasses Opaque downcast_ref_unchecked. @@ -655,7 +655,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_mut_unchecked : - M.IsAssociatedFunction.Trait Self "downcast_mut_unchecked" downcast_mut_unchecked. + M.IsAssociatedFunction.C Self "downcast_mut_unchecked" downcast_mut_unchecked. Admitted. Global Typeclasses Opaque downcast_mut_unchecked. End Impl_Dyn_core_any_Any_Trait. @@ -687,7 +687,7 @@ Module any. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is : M.IsAssociatedFunction.Trait Self "is" is. + Global Instance AssociatedFunction_is : M.IsAssociatedFunction.C Self "is" is. Admitted. Global Typeclasses Opaque is. @@ -715,7 +715,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_ref : - M.IsAssociatedFunction.Trait Self "downcast_ref" downcast_ref. + M.IsAssociatedFunction.C Self "downcast_ref" downcast_ref. Admitted. Global Typeclasses Opaque downcast_ref. @@ -743,7 +743,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. @@ -777,7 +777,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_ref_unchecked : - M.IsAssociatedFunction.Trait Self "downcast_ref_unchecked" downcast_ref_unchecked. + M.IsAssociatedFunction.C Self "downcast_ref_unchecked" downcast_ref_unchecked. Admitted. Global Typeclasses Opaque downcast_ref_unchecked. @@ -821,7 +821,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_mut_unchecked : - M.IsAssociatedFunction.Trait Self "downcast_mut_unchecked" downcast_mut_unchecked. + M.IsAssociatedFunction.C Self "downcast_mut_unchecked" downcast_mut_unchecked. Admitted. Global Typeclasses Opaque downcast_mut_unchecked. End Impl_Dyn_core_any_Any_Trait_core_marker_Send_AutoTrait. @@ -858,7 +858,7 @@ Module any. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is : M.IsAssociatedFunction.Trait Self "is" is. + Global Instance AssociatedFunction_is : M.IsAssociatedFunction.C Self "is" is. Admitted. Global Typeclasses Opaque is. @@ -886,7 +886,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_ref : - M.IsAssociatedFunction.Trait Self "downcast_ref" downcast_ref. + M.IsAssociatedFunction.C Self "downcast_ref" downcast_ref. Admitted. Global Typeclasses Opaque downcast_ref. @@ -914,7 +914,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. @@ -948,7 +948,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_ref_unchecked : - M.IsAssociatedFunction.Trait Self "downcast_ref_unchecked" downcast_ref_unchecked. + M.IsAssociatedFunction.C Self "downcast_ref_unchecked" downcast_ref_unchecked. Admitted. Global Typeclasses Opaque downcast_ref_unchecked. @@ -992,7 +992,7 @@ Module any. end. Global Instance AssociatedFunction_downcast_mut_unchecked : - M.IsAssociatedFunction.Trait Self "downcast_mut_unchecked" downcast_mut_unchecked. + M.IsAssociatedFunction.C Self "downcast_mut_unchecked" downcast_mut_unchecked. Admitted. Global Typeclasses Opaque downcast_mut_unchecked. End Impl_Dyn_core_any_Any_Trait_core_marker_Sync_AutoTrait_core_marker_Send_AutoTrait. @@ -1299,7 +1299,7 @@ Module any. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_of : M.IsAssociatedFunction.Trait Self "of" of. + Global Instance AssociatedFunction_of : M.IsAssociatedFunction.C Self "of" of. Admitted. Global Typeclasses Opaque of. @@ -1360,8 +1360,7 @@ Module any. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_u128 : - M.IsAssociatedFunction.Trait Self "as_u128" as_u128. + Global Instance AssociatedFunction_as_u128 : M.IsAssociatedFunction.C Self "as_u128" as_u128. Admitted. Global Typeclasses Opaque as_u128. End Impl_core_any_TypeId. @@ -1595,8 +1594,7 @@ Module any. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_type_name : - M.IsFunction.Trait "core::any::type_name" type_name. + Global Instance Instance_IsFunction_type_name : M.IsFunction.C "core::any::type_name" type_name. Admitted. Global Typeclasses Opaque type_name. @@ -1619,7 +1617,7 @@ Module any. end. Global Instance Instance_IsFunction_type_name_of_val : - M.IsFunction.Trait "core::any::type_name_of_val" type_name_of_val. + M.IsFunction.C "core::any::type_name_of_val" type_name_of_val. Admitted. Global Typeclasses Opaque type_name_of_val. End any. diff --git a/CoqOfRust/core/arch.v b/CoqOfRust/core/arch.v index e7c26f937..76f088a42 100644 --- a/CoqOfRust/core/arch.v +++ b/CoqOfRust/core/arch.v @@ -26,7 +26,7 @@ Module arch. end. Global Instance Instance_IsFunction_breakpoint : - M.IsFunction.Trait "core::arch::breakpoint" breakpoint. + M.IsFunction.C "core::arch::breakpoint" breakpoint. Admitted. Global Typeclasses Opaque breakpoint. End arch. diff --git a/CoqOfRust/core/array/ascii.v b/CoqOfRust/core/array/ascii.v index 4ab3c39c7..154d34f5b 100644 --- a/CoqOfRust/core/array/ascii.v +++ b/CoqOfRust/core/array/ascii.v @@ -99,7 +99,7 @@ Module array. Global Instance AssociatedFunction_as_ascii : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "as_ascii" (as_ascii N). + M.IsAssociatedFunction.C (Self N) "as_ascii" (as_ascii N). Admitted. Global Typeclasses Opaque as_ascii. @@ -168,7 +168,7 @@ Module array. Global Instance AssociatedFunction_as_ascii_unchecked : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "as_ascii_unchecked" (as_ascii_unchecked N). + M.IsAssociatedFunction.C (Self N) "as_ascii_unchecked" (as_ascii_unchecked N). Admitted. Global Typeclasses Opaque as_ascii_unchecked. End Impl_array_N_u8. diff --git a/CoqOfRust/core/array/drain.v b/CoqOfRust/core/array/drain.v index e03ec5fab..affea7c1e 100644 --- a/CoqOfRust/core/array/drain.v +++ b/CoqOfRust/core/array/drain.v @@ -106,7 +106,7 @@ Module array. end. Global Instance Instance_IsFunction_drain_array_with : - M.IsFunction.Trait "core::array::drain::drain_array_with" drain_array_with. + M.IsFunction.C "core::array::drain::drain_array_with" drain_array_with. Admitted. Global Typeclasses Opaque drain_array_with. diff --git a/CoqOfRust/core/array/iter.v b/CoqOfRust/core/array/iter.v index 196ce7630..a5b259e3a 100644 --- a/CoqOfRust/core/array/iter.v +++ b/CoqOfRust/core/array/iter.v @@ -100,7 +100,7 @@ Module array. [], [] |), - [ M.read (| M.get_constant "core::array::iter::N" |) ] + [ M.read (| get_constant (| "core::array::iter::N", Ty.path "usize" |) |) ] |)) ] |) @@ -162,7 +162,7 @@ Module array. Global Instance AssociatedFunction_new : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "new" (new N T). + M.IsAssociatedFunction.C (Self N T) "new" (new N T). Admitted. Global Typeclasses Opaque new. @@ -229,7 +229,7 @@ Module array. Global Instance AssociatedFunction_new_unchecked : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "new_unchecked" (new_unchecked N T). + M.IsAssociatedFunction.C (Self N T) "new_unchecked" (new_unchecked N T). Admitted. Global Typeclasses Opaque new_unchecked. @@ -262,7 +262,12 @@ Module array. [ Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] ] := M.alloc (| repeat (| - M.read (| M.get_constant "core::array::iter::empty_discriminant" |), + M.read (| + get_constant (| + "core::array::iter::empty_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) + |), N |) |) in @@ -294,7 +299,7 @@ Module array. Global Instance AssociatedFunction_empty : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "empty" (empty N T). + M.IsAssociatedFunction.C (Self N T) "empty" (empty N T). Admitted. Global Typeclasses Opaque empty. @@ -407,7 +412,7 @@ Module array. Global Instance AssociatedFunction_as_slice : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_slice" (as_slice N T). + M.IsAssociatedFunction.C (Self N T) "as_slice" (as_slice N T). Admitted. Global Typeclasses Opaque as_slice. @@ -538,7 +543,7 @@ Module array. Global Instance AssociatedFunction_as_mut_slice : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_mut_slice" (as_mut_slice N T). + M.IsAssociatedFunction.C (Self N T) "as_mut_slice" (as_mut_slice N T). Admitted. Global Typeclasses Opaque as_mut_slice. End Impl_core_array_iter_IntoIter_N_T. @@ -2098,9 +2103,15 @@ Module array. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (N : Value.t) (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (N : Value.t) + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (N : Value.t) (T : Ty.t), @@ -2110,8 +2121,7 @@ Module array. (* Trait polymorphic types *) [] (Self N T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT N T)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT N T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_array_iter_NonDrop_T_for_core_array_iter_IntoIter_N_T. Module Impl_core_clone_Clone_where_core_clone_Clone_T_for_core_array_iter_IntoIter_N_T. @@ -2157,7 +2167,12 @@ Module array. [ ("data", repeat (| - M.read (| M.get_constant "core::array::iter::clone_discriminant" |), + M.read (| + get_constant (| + "core::array::iter::clone_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) + |), N |)); ("alive", diff --git a/CoqOfRust/core/array/mod.v b/CoqOfRust/core/array/mod.v index ce10d0858..910198c37 100644 --- a/CoqOfRust/core/array/mod.v +++ b/CoqOfRust/core/array/mod.v @@ -23,14 +23,17 @@ Module array. M.call_closure (| Ty.apply (Ty.path "core::iter::sources::repeat_n::RepeatN") [] [ T ], M.get_function (| "core::iter::sources::repeat_n::repeat_n", [], [ T ] |), - [ M.read (| val |); M.read (| M.get_constant "core::array::repeat::N" |) ] + [ + M.read (| val |); + M.read (| get_constant (| "core::array::repeat::N", Ty.path "usize" |) |) + ] |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_repeat : M.IsFunction.Trait "core::array::repeat" repeat. + Global Instance Instance_IsFunction_repeat : M.IsFunction.C "core::array::repeat" repeat. Admitted. Global Typeclasses Opaque repeat. @@ -84,7 +87,7 @@ Module array. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_fn : M.IsFunction.Trait "core::array::from_fn" from_fn. + Global Instance Instance_IsFunction_from_fn : M.IsFunction.C "core::array::from_fn" from_fn. Admitted. Global Typeclasses Opaque from_fn. @@ -122,7 +125,18 @@ Module array. [ Ty.associated_in_trait "core::ops::try_trait::Try" [] [] R "Output" ] ] := M.alloc (| - repeat (| M.read (| M.get_constant "core::array::try_from_fn_discriminant" |), N |) + repeat (| + M.read (| + get_constant (| + "core::array::try_from_fn_discriminant", + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [] + [ Ty.associated_in_trait "core::ops::try_trait::Try" [] [] R "Output" ] + |) + |), + N + |) |) in M.match_operator (| Some @@ -275,7 +289,7 @@ Module array. end. Global Instance Instance_IsFunction_try_from_fn : - M.IsFunction.Trait "core::array::try_from_fn" try_from_fn. + M.IsFunction.C "core::array::try_from_fn" try_from_fn. Admitted. Global Typeclasses Opaque try_from_fn. @@ -323,8 +337,7 @@ Module array. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_ref : - M.IsFunction.Trait "core::array::from_ref" from_ref. + Global Instance Instance_IsFunction_from_ref : M.IsFunction.C "core::array::from_ref" from_ref. Admitted. Global Typeclasses Opaque from_ref. @@ -387,8 +400,7 @@ Module array. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_mut : - M.IsFunction.Trait "core::array::from_mut" from_mut. + Global Instance Instance_IsFunction_from_mut : M.IsFunction.C "core::array::from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -2522,7 +2534,7 @@ Module array. Definition Self (T : Ty.t) : Ty.t := Ty.apply (Ty.path "array") - [ M.unevaluated_const (M.get_constant "core::array_discriminant") ] + [ M.unevaluated_const (mk_str (| "core_array_discriminant" |)) ] [ T ]. (* @@ -5785,7 +5797,7 @@ Module array. Definition Self (T : Ty.t) : Ty.t := Ty.apply (Ty.path "array") - [ M.unevaluated_const (M.get_constant "core::array_discriminant") ] + [ M.unevaluated_const (mk_str (| "core_array_discriminant" |)) ] [ T ]. (* fn default() -> [T; $n] { [] } *) @@ -5871,7 +5883,7 @@ Module array. Global Instance AssociatedFunction_map : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "map" (map N T). + M.IsAssociatedFunction.C (Self N T) "map" (map N T). Admitted. Global Typeclasses Opaque map. @@ -6057,7 +6069,7 @@ Module array. Global Instance AssociatedFunction_try_map : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "try_map" (try_map N T). + M.IsAssociatedFunction.C (Self N T) "try_map" (try_map N T). Admitted. Global Typeclasses Opaque try_map. @@ -6084,7 +6096,7 @@ Module array. Global Instance AssociatedFunction_as_slice : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_slice" (as_slice N T). + M.IsAssociatedFunction.C (Self N T) "as_slice" (as_slice N T). Admitted. Global Typeclasses Opaque as_slice. @@ -6114,7 +6126,7 @@ Module array. Global Instance AssociatedFunction_as_mut_slice : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_mut_slice" (as_mut_slice N T). + M.IsAssociatedFunction.C (Self N T) "as_mut_slice" (as_mut_slice N T). Admitted. Global Typeclasses Opaque as_mut_slice. @@ -6174,7 +6186,7 @@ Module array. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "core::array::N" |) + M.read (| get_constant (| "core::array::N", Ty.path "usize" |) |) |) |)) in let _ := @@ -6238,7 +6250,7 @@ Module array. Global Instance AssociatedFunction_each_ref : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "each_ref" (each_ref N T). + M.IsAssociatedFunction.C (Self N T) "each_ref" (each_ref N T). Admitted. Global Typeclasses Opaque each_ref. @@ -6298,7 +6310,7 @@ Module array. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "core::array::N" |) + M.read (| get_constant (| "core::array::N", Ty.path "usize" |) |) |) |)) in let _ := @@ -6362,7 +6374,7 @@ Module array. Global Instance AssociatedFunction_each_mut : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "each_mut" (each_mut N T). + M.IsAssociatedFunction.C (Self N T) "each_mut" (each_mut N T). Admitted. Global Typeclasses Opaque each_mut. @@ -6458,7 +6470,7 @@ Module array. Global Instance AssociatedFunction_split_array_ref : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "split_array_ref" (split_array_ref N T). + M.IsAssociatedFunction.C (Self N T) "split_array_ref" (split_array_ref N T). Admitted. Global Typeclasses Opaque split_array_ref. @@ -6554,7 +6566,7 @@ Module array. Global Instance AssociatedFunction_split_array_mut : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "split_array_mut" (split_array_mut N T). + M.IsAssociatedFunction.C (Self N T) "split_array_mut" (split_array_mut N T). Admitted. Global Typeclasses Opaque split_array_mut. @@ -6650,7 +6662,7 @@ Module array. Global Instance AssociatedFunction_rsplit_array_ref : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "rsplit_array_ref" (rsplit_array_ref N T). + M.IsAssociatedFunction.C (Self N T) "rsplit_array_ref" (rsplit_array_ref N T). Admitted. Global Typeclasses Opaque rsplit_array_ref. @@ -6746,7 +6758,7 @@ Module array. Global Instance AssociatedFunction_rsplit_array_mut : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "rsplit_array_mut" (rsplit_array_mut N T). + M.IsAssociatedFunction.C (Self N T) "rsplit_array_mut" (rsplit_array_mut N T). Admitted. Global Typeclasses Opaque rsplit_array_mut. End Impl_array_N_T. @@ -6827,7 +6839,7 @@ Module array. end. Global Instance Instance_IsFunction_from_trusted_iterator : - M.IsFunction.Trait "core::array::from_trusted_iterator" from_trusted_iterator. + M.IsFunction.C "core::array::from_trusted_iterator" from_trusted_iterator. Admitted. Global Typeclasses Opaque from_trusted_iterator. @@ -6897,7 +6909,10 @@ Module array. |) |), M.read (| - M.get_constant "core::array::try_from_trusted_iterator::N" + get_constant (| + "core::array::try_from_trusted_iterator::N", + Ty.path "usize" + |) |) |) |) @@ -6938,7 +6953,7 @@ Module array. end. Global Instance Instance_IsFunction_try_from_trusted_iterator : - M.IsFunction.Trait "core::array::try_from_trusted_iterator" try_from_trusted_iterator. + M.IsFunction.C "core::array::try_from_trusted_iterator" try_from_trusted_iterator. Admitted. Global Typeclasses Opaque try_from_trusted_iterator. @@ -6990,7 +7005,7 @@ Module array. end. Global Instance Instance_IsFunction_next : - M.IsFunction.Trait "core::array::try_from_trusted_iterator::next" next. + M.IsFunction.C "core::array::try_from_trusted_iterator::next" next. Admitted. Global Typeclasses Opaque next. End try_from_trusted_iterator. @@ -7321,7 +7336,7 @@ Module array. end. Global Instance Instance_IsFunction_try_from_fn_erased : - M.IsFunction.Trait "core::array::try_from_fn_erased" try_from_fn_erased. + M.IsFunction.C "core::array::try_from_fn_erased" try_from_fn_erased. Admitted. Global Typeclasses Opaque try_from_fn_erased. @@ -7461,7 +7476,7 @@ Module array. Global Instance AssociatedFunction_push_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "push_unchecked" (push_unchecked T). + M.IsAssociatedFunction.C (Self T) "push_unchecked" (push_unchecked T). Admitted. Global Typeclasses Opaque push_unchecked. End Impl_core_array_Guard_T. @@ -7716,7 +7731,12 @@ Module array. [ Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] ] := M.alloc (| repeat (| - M.read (| M.get_constant "core::array::iter_next_chunk_discriminant" |), + M.read (| + get_constant (| + "core::array::iter_next_chunk_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) + |), N |) |) in @@ -7805,7 +7825,7 @@ Module array. end. Global Instance Instance_IsFunction_iter_next_chunk : - M.IsFunction.Trait "core::array::iter_next_chunk" iter_next_chunk. + M.IsFunction.C "core::array::iter_next_chunk" iter_next_chunk. Admitted. Global Typeclasses Opaque iter_next_chunk. @@ -7982,7 +8002,7 @@ Module array. end. Global Instance Instance_IsFunction_iter_next_chunk_erased : - M.IsFunction.Trait "core::array::iter_next_chunk_erased" iter_next_chunk_erased. + M.IsFunction.C "core::array::iter_next_chunk_erased" iter_next_chunk_erased. Admitted. Global Typeclasses Opaque iter_next_chunk_erased. End array. diff --git a/CoqOfRust/core/ascii.v b/CoqOfRust/core/ascii.v index ce8b17546..86aabc3e2 100644 --- a/CoqOfRust/core/ascii.v +++ b/CoqOfRust/core/ascii.v @@ -93,7 +93,7 @@ Module ascii. end. Global Instance Instance_IsFunction_escape_default : - M.IsFunction.Trait "core::ascii::escape_default" escape_default. + M.IsFunction.C "core::ascii::escape_default" escape_default. Admitted. Global Typeclasses Opaque escape_default. @@ -133,7 +133,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -169,7 +169,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.Trait Self "empty" empty. + Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.C Self "empty" empty. Admitted. Global Typeclasses Opaque empty. @@ -213,7 +213,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. End Impl_core_ascii_EscapeDefault. diff --git a/CoqOfRust/core/ascii/ascii_char.v b/CoqOfRust/core/ascii/ascii_char.v index c0fdecc54..df4968716 100644 --- a/CoqOfRust/core/ascii/ascii_char.v +++ b/CoqOfRust/core/ascii/ascii_char.v @@ -1158,8 +1158,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. @@ -1187,7 +1186,7 @@ Module ascii. end. Global Instance AssociatedFunction_from_u8_unchecked : - M.IsAssociatedFunction.Trait Self "from_u8_unchecked" from_u8_unchecked. + M.IsAssociatedFunction.C Self "from_u8_unchecked" from_u8_unchecked. Admitted. Global Typeclasses Opaque from_u8_unchecked. @@ -1248,7 +1247,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_digit : M.IsAssociatedFunction.Trait Self "digit" digit. + Global Instance AssociatedFunction_digit : M.IsAssociatedFunction.C Self "digit" digit. Admitted. Global Typeclasses Opaque digit. @@ -1335,7 +1334,7 @@ Module ascii. end. Global Instance AssociatedFunction_digit_unchecked : - M.IsAssociatedFunction.Trait Self "digit_unchecked" digit_unchecked. + M.IsAssociatedFunction.C Self "digit_unchecked" digit_unchecked. Admitted. Global Typeclasses Opaque digit_unchecked. @@ -1353,7 +1352,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_u8 : M.IsAssociatedFunction.Trait Self "to_u8" to_u8. + Global Instance AssociatedFunction_to_u8 : M.IsAssociatedFunction.C Self "to_u8" to_u8. Admitted. Global Typeclasses Opaque to_u8. @@ -1371,8 +1370,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_char : - M.IsAssociatedFunction.Trait Self "to_char" to_char. + Global Instance AssociatedFunction_to_char : M.IsAssociatedFunction.C Self "to_char" to_char. Admitted. Global Typeclasses Opaque to_char. @@ -1427,7 +1425,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. End Impl_core_ascii_ascii_char_AsciiChar. @@ -1630,7 +1628,7 @@ Module ascii. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -1677,7 +1675,7 @@ Module ascii. end. Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. End Impl_slice_core_ascii_ascii_char_AsciiChar. @@ -1969,7 +1967,13 @@ Module ascii. let~ hi : Ty.path "core::ascii::ascii_char::AsciiChar" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant "core::ascii::ascii_char::fmt::HEX_DIGITS", + get_constant (| + "core::ascii::ascii_char::fmt::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.call_closure (| Ty.path "usize", M.get_trait_method (| @@ -1993,7 +1997,13 @@ Module ascii. let~ lo : Ty.path "core::ascii::ascii_char::AsciiChar" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant "core::ascii::ascii_char::fmt::HEX_DIGITS", + get_constant (| + "core::ascii::ascii_char::fmt::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.call_closure (| Ty.path "usize", M.get_trait_method (| diff --git a/CoqOfRust/core/asserting.v b/CoqOfRust/core/asserting.v index 35b4788e5..fd1dedd84 100644 --- a/CoqOfRust/core/asserting.v +++ b/CoqOfRust/core/asserting.v @@ -284,7 +284,7 @@ Module asserting. Global Instance AssociatedFunction_new : forall (M_ T : Ty.t), - M.IsAssociatedFunction.Trait (Self M_ T) "new" (new M_ T). + M.IsAssociatedFunction.C (Self M_ T) "new" (new M_ T). Admitted. Global Typeclasses Opaque new. End Impl_core_asserting_Capture_M__T. diff --git a/CoqOfRust/core/async_iter/async_iter.v b/CoqOfRust/core/async_iter/async_iter.v index a48515303..7529a1b49 100644 --- a/CoqOfRust/core/async_iter/async_iter.v +++ b/CoqOfRust/core/async_iter/async_iter.v @@ -347,7 +347,7 @@ Module async_iter. Global Instance AssociatedFunction_async_gen_ready : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "async_gen_ready" (async_gen_ready T). + M.IsAssociatedFunction.C (Self T) "async_gen_ready" (async_gen_ready T). Admitted. Global Typeclasses Opaque async_gen_ready. @@ -356,14 +356,18 @@ Module async_iter. (Ty.path "core::task::poll::Poll") [] [ Ty.apply (Ty.path "core::option::Option") [] [ T ] ] *) - Definition value_PENDING (T : Ty.t) : Value.t := + Definition value_PENDING + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run - ltac:(M.monadic (M.alloc (| Value.StructTuple "core::task::poll::Poll::Pending" [] |))). + ltac:(M.monadic (M.alloc (| Value.StructTuple "core::task::poll::Poll::Pending" [] |))). Global Instance AssociatedConstant_value_PENDING : forall (T : Ty.t), - M.IsAssociatedConstant.Trait (Self T) "value_PENDING" (value_PENDING T). + M.IsAssociatedFunction.C (Self T) "PENDING" (value_PENDING T). Admitted. Global Typeclasses Opaque value_PENDING. @@ -372,19 +376,23 @@ Module async_iter. (Ty.path "core::task::poll::Poll") [] [ Ty.apply (Ty.path "core::option::Option") [] [ T ] ] *) - Definition value_FINISHED (T : Ty.t) : Value.t := + Definition value_FINISHED + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::task::poll::Poll::Ready" - [ Value.StructTuple "core::option::Option::None" [] ] - |))). + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::task::poll::Poll::Ready" + [ Value.StructTuple "core::option::Option::None" [] ] + |))). Global Instance AssociatedConstant_value_FINISHED : forall (T : Ty.t), - M.IsAssociatedConstant.Trait (Self T) "value_FINISHED" (value_FINISHED T). + M.IsAssociatedFunction.C (Self T) "FINISHED" (value_FINISHED T). Admitted. Global Typeclasses Opaque value_FINISHED. End Impl_core_task_poll_Poll_core_option_Option_T. diff --git a/CoqOfRust/core/async_iter/from_iter.v b/CoqOfRust/core/async_iter/from_iter.v index 74b215e3b..65e08f8f1 100644 --- a/CoqOfRust/core/async_iter/from_iter.v +++ b/CoqOfRust/core/async_iter/from_iter.v @@ -170,7 +170,7 @@ Module async_iter. end. Global Instance Instance_IsFunction_from_iter : - M.IsFunction.Trait "core::async_iter::from_iter::from_iter" from_iter. + M.IsFunction.C "core::async_iter::from_iter::from_iter" from_iter. Admitted. Global Typeclasses Opaque from_iter. diff --git a/CoqOfRust/core/bool.v b/CoqOfRust/core/bool.v index cc20e4ccd..d4e7677f0 100644 --- a/CoqOfRust/core/bool.v +++ b/CoqOfRust/core/bool.v @@ -37,7 +37,7 @@ Module bool. end. Global Instance AssociatedFunction_then_some : - M.IsAssociatedFunction.Trait Self "then_some" then_some. + M.IsAssociatedFunction.C Self "then_some" then_some. Admitted. Global Typeclasses Opaque then_some. @@ -88,7 +88,7 @@ Module bool. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_then_ : M.IsAssociatedFunction.Trait Self "then_" then_. + Global Instance AssociatedFunction_then_ : M.IsAssociatedFunction.C Self "then" then_. Admitted. Global Typeclasses Opaque then_. End Impl_bool. diff --git a/CoqOfRust/core/cell.v b/CoqOfRust/core/cell.v index c7735670c..c61d6ce61 100644 --- a/CoqOfRust/core/cell.v +++ b/CoqOfRust/core/cell.v @@ -623,7 +623,7 @@ Module cell. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -663,7 +663,7 @@ Module cell. Global Instance AssociatedFunction_set : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "set" (set T). + M.IsAssociatedFunction.C (Self T) "set" (set T). Admitted. Global Typeclasses Opaque set. @@ -892,7 +892,7 @@ Module cell. Global Instance AssociatedFunction_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap" (swap T). + M.IsAssociatedFunction.C (Self T) "swap" (swap T). Admitted. Global Typeclasses Opaque swap. @@ -956,7 +956,7 @@ Module cell. Global Instance AssociatedFunction_replace : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "replace" (replace T). + M.IsAssociatedFunction.C (Self T) "replace" (replace T). Admitted. Global Typeclasses Opaque replace. @@ -990,7 +990,7 @@ Module cell. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. (* @@ -1034,7 +1034,7 @@ Module cell. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. @@ -1109,7 +1109,7 @@ Module cell. Global Instance AssociatedFunction_update : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "update" (update T). + M.IsAssociatedFunction.C (Self T) "update" (update T). Admitted. Global Typeclasses Opaque update. (* @@ -1147,7 +1147,7 @@ Module cell. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -1196,7 +1196,7 @@ Module cell. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -1238,7 +1238,7 @@ Module cell. Global Instance AssociatedFunction_from_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut" (from_mut T). + M.IsAssociatedFunction.C (Self T) "from_mut" (from_mut T). Admitted. Global Typeclasses Opaque from_mut. (* @@ -1274,7 +1274,7 @@ Module cell. Global Instance AssociatedFunction_take : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take" (take T). + M.IsAssociatedFunction.C (Self T) "take" (take T). Admitted. Global Typeclasses Opaque take. End Impl_core_cell_Cell_T. @@ -1360,7 +1360,7 @@ Module cell. Global Instance AssociatedFunction_as_slice_of_cells : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_slice_of_cells" (as_slice_of_cells T). + M.IsAssociatedFunction.C (Self T) "as_slice_of_cells" (as_slice_of_cells T). Admitted. Global Typeclasses Opaque as_slice_of_cells. End Impl_core_cell_Cell_slice_T. @@ -1418,7 +1418,7 @@ Module cell. Global Instance AssociatedFunction_as_array_of_cells : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_array_of_cells" (as_array_of_cells N T). + M.IsAssociatedFunction.C (Self N T) "as_array_of_cells" (as_array_of_cells N T). Admitted. Global Typeclasses Opaque as_array_of_cells. End Impl_core_cell_Cell_array_N_T. @@ -1724,7 +1724,7 @@ Module cell. end. Global Instance Instance_IsFunction_panic_already_borrowed : - M.IsFunction.Trait "core::cell::panic_already_borrowed" panic_already_borrowed. + M.IsFunction.C "core::cell::panic_already_borrowed" panic_already_borrowed. Admitted. Global Typeclasses Opaque panic_already_borrowed. @@ -1800,17 +1800,19 @@ Module cell. end. Global Instance Instance_IsFunction_panic_already_mutably_borrowed : - M.IsFunction.Trait "core::cell::panic_already_mutably_borrowed" panic_already_mutably_borrowed. + M.IsFunction.C "core::cell::panic_already_mutably_borrowed" panic_already_mutably_borrowed. Admitted. Global Typeclasses Opaque panic_already_mutably_borrowed. Axiom BorrowFlag : (Ty.path "core::cell::BorrowFlag") = (Ty.path "isize"). - Definition value_UNUSED : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Isize 0 |))). + Definition value_UNUSED (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Isize 0 |))). - Axiom Constant_value_UNUSED : (M.get_constant "core::cell::UNUSED") = value_UNUSED. - Global Hint Rewrite Constant_value_UNUSED : constant_rewrites. + Global Instance Instance_IsConstant_value_UNUSED : + M.IsFunction.C "core::cell::UNUSED" value_UNUSED. + Admitted. + Global Typeclasses Opaque value_UNUSED. (* fn is_writing(x: BorrowFlag) -> bool { @@ -1822,12 +1824,15 @@ Module cell. | [], [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.lt (| M.read (| x |), M.read (| M.get_constant "core::cell::UNUSED" |) |))) + BinOp.lt (| + M.read (| x |), + M.read (| get_constant (| "core::cell::UNUSED", Ty.path "isize" |) |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_is_writing : - M.IsFunction.Trait "core::cell::is_writing" is_writing. + M.IsFunction.C "core::cell::is_writing" is_writing. Admitted. Global Typeclasses Opaque is_writing. @@ -1841,12 +1846,15 @@ Module cell. | [], [], [ x ] => ltac:(M.monadic (let x := M.alloc (| x |) in - BinOp.gt (| M.read (| x |), M.read (| M.get_constant "core::cell::UNUSED" |) |))) + BinOp.gt (| + M.read (| x |), + M.read (| get_constant (| "core::cell::UNUSED", Ty.path "isize" |) |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_is_reading : - M.IsFunction.Trait "core::cell::is_reading" is_reading. + M.IsFunction.C "core::cell::is_reading" is_reading. Admitted. Global Typeclasses Opaque is_reading. @@ -1892,7 +1900,7 @@ Module cell. [], [] |), - [ M.read (| M.get_constant "core::cell::UNUSED" |) ] + [ M.read (| get_constant (| "core::cell::UNUSED", Ty.path "isize" |) |) ] |)) ])) | _, _, _ => M.impossible "wrong number of arguments" @@ -1900,7 +1908,7 @@ Module cell. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -1936,7 +1944,7 @@ Module cell. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. @@ -2003,7 +2011,7 @@ Module cell. Global Instance AssociatedFunction_replace : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "replace" (replace T). + M.IsAssociatedFunction.C (Self T) "replace" (replace T). Admitted. Global Typeclasses Opaque replace. @@ -2095,7 +2103,7 @@ Module cell. Global Instance AssociatedFunction_replace_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "replace_with" (replace_with T). + M.IsAssociatedFunction.C (Self T) "replace_with" (replace_with T). Admitted. Global Typeclasses Opaque replace_with. @@ -2201,7 +2209,7 @@ Module cell. Global Instance AssociatedFunction_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap" (swap T). + M.IsAssociatedFunction.C (Self T) "swap" (swap T). Admitted. Global Typeclasses Opaque swap. (* @@ -2268,7 +2276,7 @@ Module cell. Global Instance AssociatedFunction_borrow : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "borrow" (borrow T). + M.IsAssociatedFunction.C (Self T) "borrow" (borrow T). Admitted. Global Typeclasses Opaque borrow. @@ -2401,7 +2409,7 @@ Module cell. Global Instance AssociatedFunction_try_borrow : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_borrow" (try_borrow T). + M.IsAssociatedFunction.C (Self T) "try_borrow" (try_borrow T). Admitted. Global Typeclasses Opaque try_borrow. @@ -2469,7 +2477,7 @@ Module cell. Global Instance AssociatedFunction_borrow_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "borrow_mut" (borrow_mut T). + M.IsAssociatedFunction.C (Self T) "borrow_mut" (borrow_mut T). Admitted. Global Typeclasses Opaque borrow_mut. @@ -2612,7 +2620,7 @@ Module cell. Global Instance AssociatedFunction_try_borrow_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_borrow_mut" (try_borrow_mut T). + M.IsAssociatedFunction.C (Self T) "try_borrow_mut" (try_borrow_mut T). Admitted. Global Typeclasses Opaque try_borrow_mut. @@ -2651,7 +2659,7 @@ Module cell. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -2700,7 +2708,7 @@ Module cell. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -2744,7 +2752,7 @@ Module cell. ] |) |), - M.read (| M.get_constant "core::cell::UNUSED" |) + M.read (| get_constant (| "core::cell::UNUSED", Ty.path "isize" |) |) |) |) in M.alloc (| @@ -2772,7 +2780,7 @@ Module cell. Global Instance AssociatedFunction_undo_leak : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "undo_leak" (undo_leak T). + M.IsAssociatedFunction.C (Self T) "undo_leak" (undo_leak T). Admitted. Global Typeclasses Opaque undo_leak. @@ -2899,7 +2907,7 @@ Module cell. Global Instance AssociatedFunction_try_borrow_unguarded : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_borrow_unguarded" (try_borrow_unguarded T). + M.IsAssociatedFunction.C (Self T) "try_borrow_unguarded" (try_borrow_unguarded T). Admitted. Global Typeclasses Opaque try_borrow_unguarded. (* @@ -2935,7 +2943,7 @@ Module cell. Global Instance AssociatedFunction_take : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take" (take T). + M.IsAssociatedFunction.C (Self T) "take" (take T). Admitted. Global Typeclasses Opaque take. End Impl_core_cell_RefCell_T. @@ -4035,7 +4043,7 @@ Module cell. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_cell_BorrowRef. @@ -4280,7 +4288,13 @@ Module cell. UnOp.not (| BinOp.ne (| M.read (| borrow |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |) |) |) |)) in @@ -4491,7 +4505,7 @@ Module cell. Global Instance AssociatedFunction_clone : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "clone" (clone T). + M.IsAssociatedFunction.C (Self T) "clone" (clone T). Admitted. Global Typeclasses Opaque clone. @@ -4579,7 +4593,7 @@ Module cell. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. @@ -4710,7 +4724,7 @@ Module cell. Global Instance AssociatedFunction_filter_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "filter_map" (filter_map T). + M.IsAssociatedFunction.C (Self T) "filter_map" (filter_map T). Admitted. Global Typeclasses Opaque filter_map. @@ -4870,7 +4884,7 @@ Module cell. Global Instance AssociatedFunction_map_split : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_split" (map_split T). + M.IsAssociatedFunction.C (Self T) "map_split" (map_split T). Admitted. Global Typeclasses Opaque map_split. @@ -4932,7 +4946,7 @@ Module cell. Global Instance AssociatedFunction_leak : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "leak" (leak T). + M.IsAssociatedFunction.C (Self T) "leak" (leak T). Admitted. Global Typeclasses Opaque leak. End Impl_core_cell_Ref_T. @@ -5106,7 +5120,7 @@ Module cell. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. @@ -5247,7 +5261,7 @@ Module cell. Global Instance AssociatedFunction_filter_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "filter_map" (filter_map T). + M.IsAssociatedFunction.C (Self T) "filter_map" (filter_map T). Admitted. Global Typeclasses Opaque filter_map. @@ -5411,7 +5425,7 @@ Module cell. Global Instance AssociatedFunction_map_split : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_split" (map_split T). + M.IsAssociatedFunction.C (Self T) "map_split" (map_split T). Admitted. Global Typeclasses Opaque map_split. @@ -5496,7 +5510,7 @@ Module cell. Global Instance AssociatedFunction_leak : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "leak" (leak T). + M.IsAssociatedFunction.C (Self T) "leak" (leak T). Admitted. Global Typeclasses Opaque leak. End Impl_core_cell_RefMut_T. @@ -5710,7 +5724,7 @@ Module cell. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| borrow |) |) |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::cell::UNUSED" |), + M.read (| get_constant (| "core::cell::UNUSED", Ty.path "isize" |) |), Value.Integer IntegerKind.Isize 1 |) ] @@ -5736,7 +5750,7 @@ Module cell. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5843,7 +5857,13 @@ Module cell. UnOp.not (| BinOp.ne (| M.read (| borrow |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |) |) |)) in @@ -5910,7 +5930,7 @@ Module cell. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clone : M.IsAssociatedFunction.Trait Self "clone" clone. + Global Instance AssociatedFunction_clone : M.IsAssociatedFunction.C Self "clone" clone. Admitted. Global Typeclasses Opaque clone. End Impl_core_cell_BorrowRefMut. @@ -6173,7 +6193,7 @@ Module cell. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -6196,7 +6216,7 @@ Module cell. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. (* @@ -6250,7 +6270,7 @@ Module cell. Global Instance AssociatedFunction_from_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut" (from_mut T). + M.IsAssociatedFunction.C (Self T) "from_mut" (from_mut T). Admitted. Global Typeclasses Opaque from_mut. @@ -6283,7 +6303,7 @@ Module cell. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. @@ -6321,7 +6341,7 @@ Module cell. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -6347,7 +6367,7 @@ Module cell. Global Instance AssociatedFunction_raw_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "raw_get" (raw_get T). + M.IsAssociatedFunction.C (Self T) "raw_get" (raw_get T). Admitted. Global Typeclasses Opaque raw_get. End Impl_core_cell_UnsafeCell_T. @@ -6504,7 +6524,7 @@ Module cell. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -6542,7 +6562,7 @@ Module cell. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. (* @@ -6580,7 +6600,7 @@ Module cell. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. @@ -6629,7 +6649,7 @@ Module cell. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -6655,7 +6675,7 @@ Module cell. Global Instance AssociatedFunction_raw_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "raw_get" (raw_get T). + M.IsAssociatedFunction.C (Self T) "raw_get" (raw_get T). Admitted. Global Typeclasses Opaque raw_get. End Impl_core_cell_SyncUnsafeCell_T. @@ -6822,7 +6842,7 @@ Module cell. end. Global Instance Instance_IsFunction_assert_coerce_unsized : - M.IsFunction.Trait "core::cell::assert_coerce_unsized" assert_coerce_unsized. + M.IsFunction.C "core::cell::assert_coerce_unsized" assert_coerce_unsized. Admitted. Global Typeclasses Opaque assert_coerce_unsized. diff --git a/CoqOfRust/core/cell/lazy.v b/CoqOfRust/core/cell/lazy.v index b7fac6aee..512eb3c09 100644 --- a/CoqOfRust/core/cell/lazy.v +++ b/CoqOfRust/core/cell/lazy.v @@ -86,7 +86,7 @@ Module cell. Global Instance AssociatedFunction_new : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "new" (new T F). + M.IsAssociatedFunction.C (Self T F) "new" (new T F). Admitted. Global Typeclasses Opaque new. @@ -181,7 +181,7 @@ Module cell. Global Instance AssociatedFunction_into_inner : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "into_inner" (into_inner T F). + M.IsAssociatedFunction.C (Self T F) "into_inner" (into_inner T F). Admitted. Global Typeclasses Opaque into_inner. @@ -309,7 +309,7 @@ Module cell. Global Instance AssociatedFunction_force : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "force" (force T F). + M.IsAssociatedFunction.C (Self T F) "force" (force T F). Admitted. Global Typeclasses Opaque force. @@ -494,7 +494,7 @@ Module cell. Global Instance AssociatedFunction_force_mut : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "force_mut" (force_mut T F). + M.IsAssociatedFunction.C (Self T F) "force_mut" (force_mut T F). Admitted. Global Typeclasses Opaque force_mut. @@ -733,7 +733,7 @@ Module cell. Global Instance AssociatedFunction_really_init : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "really_init" (really_init T F). + M.IsAssociatedFunction.C (Self T F) "really_init" (really_init T F). Admitted. Global Typeclasses Opaque really_init. (* @@ -818,7 +818,7 @@ Module cell. Global Instance AssociatedFunction_get_mut : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "get_mut" (get_mut T F). + M.IsAssociatedFunction.C (Self T F) "get_mut" (get_mut T F). Admitted. Global Typeclasses Opaque get_mut. @@ -913,7 +913,7 @@ Module cell. Global Instance AssociatedFunction_get : forall (T F : Ty.t), - M.IsAssociatedFunction.Trait (Self T F) "get" (get T F). + M.IsAssociatedFunction.C (Self T F) "get" (get T F). Admitted. Global Typeclasses Opaque get. End Impl_core_cell_lazy_LazyCell_T_F. @@ -1222,7 +1222,7 @@ Module cell. end. Global Instance Instance_IsFunction_panic_poisoned : - M.IsFunction.Trait "core::cell::lazy::panic_poisoned" panic_poisoned. + M.IsFunction.C "core::cell::lazy::panic_poisoned" panic_poisoned. Admitted. Global Typeclasses Opaque panic_poisoned. End lazy. diff --git a/CoqOfRust/core/cell/once.v b/CoqOfRust/core/cell/once.v index 9cc52be41..245cb373a 100644 --- a/CoqOfRust/core/cell/once.v +++ b/CoqOfRust/core/cell/once.v @@ -57,7 +57,7 @@ Module cell. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -124,7 +124,7 @@ Module cell. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. @@ -185,7 +185,7 @@ Module cell. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -262,7 +262,7 @@ Module cell. Global Instance AssociatedFunction_set : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "set" (set T). + M.IsAssociatedFunction.C (Self T) "set" (set T). Admitted. Global Typeclasses Opaque set. @@ -417,7 +417,7 @@ Module cell. Global Instance AssociatedFunction_try_insert : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_insert" (try_insert T). + M.IsAssociatedFunction.C (Self T) "try_insert" (try_insert T). Admitted. Global Typeclasses Opaque try_insert. @@ -523,7 +523,7 @@ Module cell. Global Instance AssociatedFunction_get_or_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_or_init" (get_or_init T). + M.IsAssociatedFunction.C (Self T) "get_or_init" (get_or_init T). Admitted. Global Typeclasses Opaque get_or_init. @@ -647,7 +647,7 @@ Module cell. Global Instance AssociatedFunction_get_mut_or_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut_or_init" (get_mut_or_init T). + M.IsAssociatedFunction.C (Self T) "get_mut_or_init" (get_mut_or_init T). Admitted. Global Typeclasses Opaque get_mut_or_init. @@ -752,7 +752,7 @@ Module cell. Global Instance AssociatedFunction_get_or_try_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_or_try_init" (get_or_try_init T). + M.IsAssociatedFunction.C (Self T) "get_or_try_init" (get_or_try_init T). Admitted. Global Typeclasses Opaque get_or_try_init. @@ -993,7 +993,7 @@ Module cell. Global Instance AssociatedFunction_get_mut_or_try_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut_or_try_init" (get_mut_or_try_init T). + M.IsAssociatedFunction.C (Self T) "get_mut_or_try_init" (get_mut_or_try_init T). Admitted. Global Typeclasses Opaque get_mut_or_try_init. @@ -1204,7 +1204,7 @@ Module cell. Global Instance AssociatedFunction_try_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "try_init" (try_init T). + M.IsAssociatedFunction.C (Self T) "try_init" (try_init T). Admitted. Global Typeclasses Opaque try_init. @@ -1247,7 +1247,7 @@ Module cell. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. @@ -1287,7 +1287,7 @@ Module cell. Global Instance AssociatedFunction_take : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take" (take T). + M.IsAssociatedFunction.C (Self T) "take" (take T). Admitted. Global Typeclasses Opaque take. End Impl_core_cell_once_OnceCell_T. diff --git a/CoqOfRust/core/char/convert.v b/CoqOfRust/core/char/convert.v index af949c58d..2401e75ea 100644 --- a/CoqOfRust/core/char/convert.v +++ b/CoqOfRust/core/char/convert.v @@ -51,7 +51,7 @@ Module char. end. Global Instance Instance_IsFunction_from_u32 : - M.IsFunction.Trait "core::char::convert::from_u32" from_u32. + M.IsFunction.C "core::char::convert::from_u32" from_u32. Admitted. Global Typeclasses Opaque from_u32. @@ -123,7 +123,7 @@ Module char. end. Global Instance Instance_IsFunction_from_u32_unchecked : - M.IsFunction.Trait "core::char::convert::from_u32_unchecked" from_u32_unchecked. + M.IsFunction.C "core::char::convert::from_u32_unchecked" from_u32_unchecked. Admitted. Global Typeclasses Opaque from_u32_unchecked. @@ -1218,7 +1218,7 @@ Module char. end. Global Instance Instance_IsFunction_char_try_from_u32 : - M.IsFunction.Trait "core::char::convert::char_try_from_u32" char_try_from_u32. + M.IsFunction.C "core::char::convert::char_try_from_u32" char_try_from_u32. Admitted. Global Typeclasses Opaque char_try_from_u32. @@ -1637,7 +1637,7 @@ Module char. end. Global Instance Instance_IsFunction_from_digit : - M.IsFunction.Trait "core::char::convert::from_digit" from_digit. + M.IsFunction.C "core::char::convert::from_digit" from_digit. Admitted. Global Typeclasses Opaque from_digit. End convert. diff --git a/CoqOfRust/core/char/decode.v b/CoqOfRust/core/char/decode.v index 16dc29d0d..0e30c654e 100644 --- a/CoqOfRust/core/char/decode.v +++ b/CoqOfRust/core/char/decode.v @@ -401,7 +401,7 @@ Module char. end. Global Instance Instance_IsFunction_decode_utf16 : - M.IsFunction.Trait "core::char::decode::decode_utf16" decode_utf16. + M.IsFunction.C "core::char::decode::decode_utf16" decode_utf16. Admitted. Global Typeclasses Opaque decode_utf16. @@ -1268,7 +1268,7 @@ Module char. end. Global Instance AssociatedFunction_unpaired_surrogate : - M.IsAssociatedFunction.Trait Self "unpaired_surrogate" unpaired_surrogate. + M.IsAssociatedFunction.C Self "unpaired_surrogate" unpaired_surrogate. Admitted. Global Typeclasses Opaque unpaired_surrogate. End Impl_core_char_decode_DecodeUtf16Error. diff --git a/CoqOfRust/core/char/methods.v b/CoqOfRust/core/char/methods.v index 4c0c44375..8d54c246f 100644 --- a/CoqOfRust/core/char/methods.v +++ b/CoqOfRust/core/char/methods.v @@ -8,40 +8,47 @@ Module char. (* pub const MIN: char = '\0'; *) (* Ty.path "char" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic (M.alloc (| Value.UnicodeChar 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.UnicodeChar 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: char = '\u{10FFFF}'; *) (* Ty.path "char" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.UnicodeChar 1114111 |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.UnicodeChar 1114111 |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const REPLACEMENT_CHARACTER: char = '\u{FFFD}'; *) (* Ty.path "char" *) - Definition value_REPLACEMENT_CHARACTER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.UnicodeChar 65533 |))). + Definition value_REPLACEMENT_CHARACTER + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.UnicodeChar 65533 |))). Global Instance AssociatedConstant_value_REPLACEMENT_CHARACTER : - M.IsAssociatedConstant.Trait Self "value_REPLACEMENT_CHARACTER" value_REPLACEMENT_CHARACTER. + M.IsAssociatedFunction.C Self "REPLACEMENT_CHARACTER" value_REPLACEMENT_CHARACTER. Admitted. Global Typeclasses Opaque value_REPLACEMENT_CHARACTER. (* pub const UNICODE_VERSION: (u8, u8, u8) = crate::unicode::UNICODE_VERSION; *) (* Ty.tuple [ Ty.path "u8"; Ty.path "u8"; Ty.path "u8" ] *) - Definition value_UNICODE_VERSION : Value.t := - M.run ltac:(M.monadic (M.get_constant "core::unicode::UNICODE_VERSION")). + Definition value_UNICODE_VERSION (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "core::unicode::UNICODE_VERSION", + Ty.tuple [ Ty.path "u8"; Ty.path "u8"; Ty.path "u8" ] + |))). Global Instance AssociatedConstant_value_UNICODE_VERSION : - M.IsAssociatedConstant.Trait Self "value_UNICODE_VERSION" value_UNICODE_VERSION. + M.IsAssociatedFunction.C Self "UNICODE_VERSION" value_UNICODE_VERSION. Admitted. Global Typeclasses Opaque value_UNICODE_VERSION. @@ -74,7 +81,7 @@ Module char. end. Global Instance AssociatedFunction_decode_utf16 : - M.IsAssociatedFunction.Trait Self "decode_utf16" decode_utf16. + M.IsAssociatedFunction.C Self "decode_utf16" decode_utf16. Admitted. Global Typeclasses Opaque decode_utf16. @@ -97,7 +104,7 @@ Module char. end. Global Instance AssociatedFunction_from_u32 : - M.IsAssociatedFunction.Trait Self "from_u32" from_u32. + M.IsAssociatedFunction.C Self "from_u32" from_u32. Admitted. Global Typeclasses Opaque from_u32. @@ -121,7 +128,7 @@ Module char. end. Global Instance AssociatedFunction_from_u32_unchecked : - M.IsAssociatedFunction.Trait Self "from_u32_unchecked" from_u32_unchecked. + M.IsAssociatedFunction.C Self "from_u32_unchecked" from_u32_unchecked. Admitted. Global Typeclasses Opaque from_u32_unchecked. @@ -145,7 +152,7 @@ Module char. end. Global Instance AssociatedFunction_from_digit : - M.IsAssociatedFunction.Trait Self "from_digit" from_digit. + M.IsAssociatedFunction.C Self "from_digit" from_digit. Admitted. Global Typeclasses Opaque from_digit. @@ -185,7 +192,7 @@ Module char. end. Global Instance AssociatedFunction_is_digit : - M.IsAssociatedFunction.Trait Self "is_digit" is_digit. + M.IsAssociatedFunction.C Self "is_digit" is_digit. Admitted. Global Typeclasses Opaque is_digit. @@ -383,7 +390,7 @@ Module char. end. Global Instance AssociatedFunction_to_digit : - M.IsAssociatedFunction.Trait Self "to_digit" to_digit. + M.IsAssociatedFunction.C Self "to_digit" to_digit. Admitted. Global Typeclasses Opaque to_digit. @@ -406,7 +413,7 @@ Module char. end. Global Instance AssociatedFunction_escape_unicode : - M.IsAssociatedFunction.Trait Self "escape_unicode" escape_unicode. + M.IsAssociatedFunction.C Self "escape_unicode" escape_unicode. Admitted. Global Typeclasses Opaque escape_unicode. @@ -650,7 +657,7 @@ Module char. end. Global Instance AssociatedFunction_escape_debug_ext : - M.IsAssociatedFunction.Trait Self "escape_debug_ext" escape_debug_ext. + M.IsAssociatedFunction.C Self "escape_debug_ext" escape_debug_ext. Admitted. Global Typeclasses Opaque escape_debug_ext. @@ -667,13 +674,22 @@ Module char. M.call_closure (| Ty.path "core::char::EscapeDebug", M.get_associated_function (| Ty.path "char", "escape_debug_ext", [], [] |), - [ M.read (| self |); M.read (| M.get_constant "core::char::methods::ESCAPE_ALL" |) ] + [ + M.read (| self |); + M.read (| + get_associated_constant (| + Ty.path "core::char::methods::EscapeDebugExtArgs", + "ESCAPE_ALL", + Ty.path "core::char::methods::EscapeDebugExtArgs" + |) + |) + ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_escape_debug : - M.IsAssociatedFunction.Trait Self "escape_debug" escape_debug. + M.IsAssociatedFunction.C Self "escape_debug" escape_debug. Admitted. Global Typeclasses Opaque escape_debug. @@ -889,7 +905,7 @@ Module char. end. Global Instance AssociatedFunction_escape_default : - M.IsAssociatedFunction.Trait Self "escape_default" escape_default. + M.IsAssociatedFunction.C Self "escape_default" escape_default. Admitted. Global Typeclasses Opaque escape_default. @@ -912,7 +928,7 @@ Module char. end. Global Instance AssociatedFunction_len_utf8 : - M.IsAssociatedFunction.Trait Self "len_utf8" len_utf8. + M.IsAssociatedFunction.C Self "len_utf8" len_utf8. Admitted. Global Typeclasses Opaque len_utf8. @@ -935,7 +951,7 @@ Module char. end. Global Instance AssociatedFunction_len_utf16 : - M.IsAssociatedFunction.Trait Self "len_utf16" len_utf16. + M.IsAssociatedFunction.C Self "len_utf16" len_utf16. Admitted. Global Typeclasses Opaque len_utf16. @@ -1003,7 +1019,7 @@ Module char. end. Global Instance AssociatedFunction_encode_utf8 : - M.IsAssociatedFunction.Trait Self "encode_utf8" encode_utf8. + M.IsAssociatedFunction.C Self "encode_utf8" encode_utf8. Admitted. Global Typeclasses Opaque encode_utf8. @@ -1043,7 +1059,7 @@ Module char. end. Global Instance AssociatedFunction_encode_utf16 : - M.IsAssociatedFunction.Trait Self "encode_utf16" encode_utf16. + M.IsAssociatedFunction.C Self "encode_utf16" encode_utf16. Admitted. Global Typeclasses Opaque encode_utf16. @@ -1105,7 +1121,7 @@ Module char. end. Global Instance AssociatedFunction_is_alphabetic : - M.IsAssociatedFunction.Trait Self "is_alphabetic" is_alphabetic. + M.IsAssociatedFunction.C Self "is_alphabetic" is_alphabetic. Admitted. Global Typeclasses Opaque is_alphabetic. @@ -1153,7 +1169,7 @@ Module char. end. Global Instance AssociatedFunction_is_lowercase : - M.IsAssociatedFunction.Trait Self "is_lowercase" is_lowercase. + M.IsAssociatedFunction.C Self "is_lowercase" is_lowercase. Admitted. Global Typeclasses Opaque is_lowercase. @@ -1201,7 +1217,7 @@ Module char. end. Global Instance AssociatedFunction_is_uppercase : - M.IsAssociatedFunction.Trait Self "is_uppercase" is_uppercase. + M.IsAssociatedFunction.C Self "is_uppercase" is_uppercase. Admitted. Global Typeclasses Opaque is_uppercase. @@ -1270,7 +1286,7 @@ Module char. end. Global Instance AssociatedFunction_is_whitespace : - M.IsAssociatedFunction.Trait Self "is_whitespace" is_whitespace. + M.IsAssociatedFunction.C Self "is_whitespace" is_whitespace. Admitted. Global Typeclasses Opaque is_whitespace. @@ -1301,7 +1317,7 @@ Module char. end. Global Instance AssociatedFunction_is_alphanumeric : - M.IsAssociatedFunction.Trait Self "is_alphanumeric" is_alphanumeric. + M.IsAssociatedFunction.C Self "is_alphanumeric" is_alphanumeric. Admitted. Global Typeclasses Opaque is_alphanumeric. @@ -1324,7 +1340,7 @@ Module char. end. Global Instance AssociatedFunction_is_control : - M.IsAssociatedFunction.Trait Self "is_control" is_control. + M.IsAssociatedFunction.C Self "is_control" is_control. Admitted. Global Typeclasses Opaque is_control. @@ -1347,7 +1363,7 @@ Module char. end. Global Instance AssociatedFunction_is_grapheme_extended : - M.IsAssociatedFunction.Trait Self "is_grapheme_extended" is_grapheme_extended. + M.IsAssociatedFunction.C Self "is_grapheme_extended" is_grapheme_extended. Admitted. Global Typeclasses Opaque is_grapheme_extended. @@ -1391,7 +1407,7 @@ Module char. end. Global Instance AssociatedFunction_is_numeric : - M.IsAssociatedFunction.Trait Self "is_numeric" is_numeric. + M.IsAssociatedFunction.C Self "is_numeric" is_numeric. Admitted. Global Typeclasses Opaque is_numeric. @@ -1436,7 +1452,7 @@ Module char. end. Global Instance AssociatedFunction_to_lowercase : - M.IsAssociatedFunction.Trait Self "to_lowercase" to_lowercase. + M.IsAssociatedFunction.C Self "to_lowercase" to_lowercase. Admitted. Global Typeclasses Opaque to_lowercase. @@ -1481,7 +1497,7 @@ Module char. end. Global Instance AssociatedFunction_to_uppercase : - M.IsAssociatedFunction.Trait Self "to_uppercase" to_uppercase. + M.IsAssociatedFunction.C Self "to_uppercase" to_uppercase. Admitted. Global Typeclasses Opaque to_uppercase. @@ -1503,7 +1519,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii : - M.IsAssociatedFunction.Trait Self "is_ascii" is_ascii. + M.IsAssociatedFunction.C Self "is_ascii" is_ascii. Admitted. Global Typeclasses Opaque is_ascii. @@ -1570,7 +1586,7 @@ Module char. end. Global Instance AssociatedFunction_as_ascii : - M.IsAssociatedFunction.Trait Self "as_ascii" as_ascii. + M.IsAssociatedFunction.C Self "as_ascii" as_ascii. Admitted. Global Typeclasses Opaque as_ascii. @@ -1641,7 +1657,7 @@ Module char. end. Global Instance AssociatedFunction_to_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "to_ascii_uppercase" to_ascii_uppercase. + M.IsAssociatedFunction.C Self "to_ascii_uppercase" to_ascii_uppercase. Admitted. Global Typeclasses Opaque to_ascii_uppercase. @@ -1712,7 +1728,7 @@ Module char. end. Global Instance AssociatedFunction_to_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "to_ascii_lowercase" to_ascii_lowercase. + M.IsAssociatedFunction.C Self "to_ascii_lowercase" to_ascii_lowercase. Admitted. Global Typeclasses Opaque to_ascii_lowercase. @@ -1743,7 +1759,7 @@ Module char. end. Global Instance AssociatedFunction_eq_ignore_ascii_case : - M.IsAssociatedFunction.Trait Self "eq_ignore_ascii_case" eq_ignore_ascii_case. + M.IsAssociatedFunction.C Self "eq_ignore_ascii_case" eq_ignore_ascii_case. Admitted. Global Typeclasses Opaque eq_ignore_ascii_case. @@ -1775,7 +1791,7 @@ Module char. end. Global Instance AssociatedFunction_make_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "make_ascii_uppercase" make_ascii_uppercase. + M.IsAssociatedFunction.C Self "make_ascii_uppercase" make_ascii_uppercase. Admitted. Global Typeclasses Opaque make_ascii_uppercase. @@ -1807,7 +1823,7 @@ Module char. end. Global Instance AssociatedFunction_make_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "make_ascii_lowercase" make_ascii_lowercase. + M.IsAssociatedFunction.C Self "make_ascii_lowercase" make_ascii_lowercase. Admitted. Global Typeclasses Opaque make_ascii_lowercase. @@ -1849,7 +1865,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_alphabetic : - M.IsAssociatedFunction.Trait Self "is_ascii_alphabetic" is_ascii_alphabetic. + M.IsAssociatedFunction.C Self "is_ascii_alphabetic" is_ascii_alphabetic. Admitted. Global Typeclasses Opaque is_ascii_alphabetic. @@ -1877,7 +1893,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "is_ascii_uppercase" is_ascii_uppercase. + M.IsAssociatedFunction.C Self "is_ascii_uppercase" is_ascii_uppercase. Admitted. Global Typeclasses Opaque is_ascii_uppercase. @@ -1905,7 +1921,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "is_ascii_lowercase" is_ascii_lowercase. + M.IsAssociatedFunction.C Self "is_ascii_lowercase" is_ascii_lowercase. Admitted. Global Typeclasses Opaque is_ascii_lowercase. @@ -1955,7 +1971,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_alphanumeric : - M.IsAssociatedFunction.Trait Self "is_ascii_alphanumeric" is_ascii_alphanumeric. + M.IsAssociatedFunction.C Self "is_ascii_alphanumeric" is_ascii_alphanumeric. Admitted. Global Typeclasses Opaque is_ascii_alphanumeric. @@ -1983,7 +1999,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_digit : - M.IsAssociatedFunction.Trait Self "is_ascii_digit" is_ascii_digit. + M.IsAssociatedFunction.C Self "is_ascii_digit" is_ascii_digit. Admitted. Global Typeclasses Opaque is_ascii_digit. @@ -2011,7 +2027,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_octdigit : - M.IsAssociatedFunction.Trait Self "is_ascii_octdigit" is_ascii_octdigit. + M.IsAssociatedFunction.C Self "is_ascii_octdigit" is_ascii_octdigit. Admitted. Global Typeclasses Opaque is_ascii_octdigit. @@ -2061,7 +2077,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_hexdigit : - M.IsAssociatedFunction.Trait Self "is_ascii_hexdigit" is_ascii_hexdigit. + M.IsAssociatedFunction.C Self "is_ascii_hexdigit" is_ascii_hexdigit. Admitted. Global Typeclasses Opaque is_ascii_hexdigit. @@ -2125,7 +2141,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_punctuation : - M.IsAssociatedFunction.Trait Self "is_ascii_punctuation" is_ascii_punctuation. + M.IsAssociatedFunction.C Self "is_ascii_punctuation" is_ascii_punctuation. Admitted. Global Typeclasses Opaque is_ascii_punctuation. @@ -2153,7 +2169,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_graphic : - M.IsAssociatedFunction.Trait Self "is_ascii_graphic" is_ascii_graphic. + M.IsAssociatedFunction.C Self "is_ascii_graphic" is_ascii_graphic. Admitted. Global Typeclasses Opaque is_ascii_graphic. @@ -2233,7 +2249,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_whitespace : - M.IsAssociatedFunction.Trait Self "is_ascii_whitespace" is_ascii_whitespace. + M.IsAssociatedFunction.C Self "is_ascii_whitespace" is_ascii_whitespace. Admitted. Global Typeclasses Opaque is_ascii_whitespace. @@ -2282,7 +2298,7 @@ Module char. end. Global Instance AssociatedFunction_is_ascii_control : - M.IsAssociatedFunction.Trait Self "is_ascii_control" is_ascii_control. + M.IsAssociatedFunction.C Self "is_ascii_control" is_ascii_control. Admitted. Global Typeclasses Opaque is_ascii_control. End Impl_char. @@ -2311,21 +2327,20 @@ Module char. }; *) (* Ty.path "core::char::methods::EscapeDebugExtArgs" *) - Definition value_ESCAPE_ALL : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructRecord - "core::char::methods::EscapeDebugExtArgs" - [ - ("escape_grapheme_extended", Value.Bool true); - ("escape_single_quote", Value.Bool true); - ("escape_double_quote", Value.Bool true) - ] - |))). + Definition value_ESCAPE_ALL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructRecord + "core::char::methods::EscapeDebugExtArgs" + [ + ("escape_grapheme_extended", Value.Bool true); + ("escape_single_quote", Value.Bool true); + ("escape_double_quote", Value.Bool true) + ] + |))). Global Instance AssociatedConstant_value_ESCAPE_ALL : - M.IsAssociatedConstant.Trait Self "value_ESCAPE_ALL" value_ESCAPE_ALL. + M.IsAssociatedFunction.C Self "ESCAPE_ALL" value_ESCAPE_ALL. Admitted. Global Typeclasses Opaque value_ESCAPE_ALL. End Impl_core_char_methods_EscapeDebugExtArgs. @@ -2361,7 +2376,7 @@ Module char. end. Global Instance Instance_IsFunction_len_utf8 : - M.IsFunction.Trait "core::char::methods::len_utf8" len_utf8. + M.IsFunction.C "core::char::methods::len_utf8" len_utf8. Admitted. Global Typeclasses Opaque len_utf8. @@ -2400,7 +2415,7 @@ Module char. end. Global Instance Instance_IsFunction_len_utf16 : - M.IsFunction.Trait "core::char::methods::len_utf16" len_utf16. + M.IsFunction.C "core::char::methods::len_utf16" len_utf16. Admitted. Global Typeclasses Opaque len_utf16. @@ -2518,7 +2533,9 @@ Module char. Value.Integer IntegerKind.I32 6 |)) (Value.Integer IntegerKind.U32 31))) - (M.read (| M.get_constant "core::char::TAG_TWO_B" |)) + (M.read (| + get_constant (| "core::char::TAG_TWO_B", Ty.path "u8" |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -2531,7 +2548,9 @@ Module char. (BinOp.bit_and (M.read (| code |)) (Value.Integer IntegerKind.U32 63))) - (M.read (| M.get_constant "core::char::TAG_CONT" |)) + (M.read (| + get_constant (| "core::char::TAG_CONT", Ty.path "u8" |) + |)) |) |) in M.alloc (| Value.Tuple [] |))); @@ -2565,7 +2584,9 @@ Module char. Value.Integer IntegerKind.I32 12 |)) (Value.Integer IntegerKind.U32 15))) - (M.read (| M.get_constant "core::char::TAG_THREE_B" |)) + (M.read (| + get_constant (| "core::char::TAG_THREE_B", Ty.path "u8" |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -2581,7 +2602,9 @@ Module char. Value.Integer IntegerKind.I32 6 |)) (Value.Integer IntegerKind.U32 63))) - (M.read (| M.get_constant "core::char::TAG_CONT" |)) + (M.read (| + get_constant (| "core::char::TAG_CONT", Ty.path "u8" |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -2594,7 +2617,9 @@ Module char. (BinOp.bit_and (M.read (| code |)) (Value.Integer IntegerKind.U32 63))) - (M.read (| M.get_constant "core::char::TAG_CONT" |)) + (M.read (| + get_constant (| "core::char::TAG_CONT", Ty.path "u8" |) + |)) |) |) in M.alloc (| Value.Tuple [] |))); @@ -2630,7 +2655,9 @@ Module char. Value.Integer IntegerKind.I32 18 |)) (Value.Integer IntegerKind.U32 7))) - (M.read (| M.get_constant "core::char::TAG_FOUR_B" |)) + (M.read (| + get_constant (| "core::char::TAG_FOUR_B", Ty.path "u8" |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -2646,7 +2673,9 @@ Module char. Value.Integer IntegerKind.I32 12 |)) (Value.Integer IntegerKind.U32 63))) - (M.read (| M.get_constant "core::char::TAG_CONT" |)) + (M.read (| + get_constant (| "core::char::TAG_CONT", Ty.path "u8" |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -2662,7 +2691,9 @@ Module char. Value.Integer IntegerKind.I32 6 |)) (Value.Integer IntegerKind.U32 63))) - (M.read (| M.get_constant "core::char::TAG_CONT" |)) + (M.read (| + get_constant (| "core::char::TAG_CONT", Ty.path "u8" |) + |)) |) |) in let~ _ : Ty.tuple [] := @@ -2675,7 +2706,9 @@ Module char. (BinOp.bit_and (M.read (| code |)) (Value.Integer IntegerKind.U32 63))) - (M.read (| M.get_constant "core::char::TAG_CONT" |)) + (M.read (| + get_constant (| "core::char::TAG_CONT", Ty.path "u8" |) + |)) |) |) in M.alloc (| Value.Tuple [] |))); @@ -2758,7 +2791,7 @@ Module char. end. Global Instance Instance_IsFunction_encode_utf8_raw : - M.IsFunction.Trait "core::char::methods::encode_utf8_raw" encode_utf8_raw. + M.IsFunction.C "core::char::methods::encode_utf8_raw" encode_utf8_raw. Admitted. Global Typeclasses Opaque encode_utf8_raw. @@ -2971,7 +3004,7 @@ Module char. end. Global Instance Instance_IsFunction_encode_utf16_raw : - M.IsFunction.Trait "core::char::methods::encode_utf16_raw" encode_utf16_raw. + M.IsFunction.C "core::char::methods::encode_utf16_raw" encode_utf16_raw. Admitted. Global Typeclasses Opaque encode_utf16_raw. End methods. diff --git a/CoqOfRust/core/char/mod.v b/CoqOfRust/core/char/mod.v index 8192d0e38..e0841c861 100644 --- a/CoqOfRust/core/char/mod.v +++ b/CoqOfRust/core/char/mod.v @@ -2,67 +2,94 @@ Require Import CoqOfRust.CoqOfRust. Module char. - Definition value_TAG_CONT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). + Definition value_TAG_CONT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). - Axiom Constant_value_TAG_CONT : (M.get_constant "core::char::TAG_CONT") = value_TAG_CONT. - Global Hint Rewrite Constant_value_TAG_CONT : constant_rewrites. + Global Instance Instance_IsConstant_value_TAG_CONT : + M.IsFunction.C "core::char::TAG_CONT" value_TAG_CONT. + Admitted. + Global Typeclasses Opaque value_TAG_CONT. - Definition value_TAG_TWO_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 192 |))). + Definition value_TAG_TWO_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 192 |))). - Axiom Constant_value_TAG_TWO_B : (M.get_constant "core::char::TAG_TWO_B") = value_TAG_TWO_B. - Global Hint Rewrite Constant_value_TAG_TWO_B : constant_rewrites. + Global Instance Instance_IsConstant_value_TAG_TWO_B : + M.IsFunction.C "core::char::TAG_TWO_B" value_TAG_TWO_B. + Admitted. + Global Typeclasses Opaque value_TAG_TWO_B. - Definition value_TAG_THREE_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 224 |))). + Definition value_TAG_THREE_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 224 |))). - Axiom Constant_value_TAG_THREE_B : (M.get_constant "core::char::TAG_THREE_B") = value_TAG_THREE_B. - Global Hint Rewrite Constant_value_TAG_THREE_B : constant_rewrites. + Global Instance Instance_IsConstant_value_TAG_THREE_B : + M.IsFunction.C "core::char::TAG_THREE_B" value_TAG_THREE_B. + Admitted. + Global Typeclasses Opaque value_TAG_THREE_B. - Definition value_TAG_FOUR_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 240 |))). + Definition value_TAG_FOUR_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 240 |))). - Axiom Constant_value_TAG_FOUR_B : (M.get_constant "core::char::TAG_FOUR_B") = value_TAG_FOUR_B. - Global Hint Rewrite Constant_value_TAG_FOUR_B : constant_rewrites. + Global Instance Instance_IsConstant_value_TAG_FOUR_B : + M.IsFunction.C "core::char::TAG_FOUR_B" value_TAG_FOUR_B. + Admitted. + Global Typeclasses Opaque value_TAG_FOUR_B. - Definition value_MAX_ONE_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 128 |))). + Definition value_MAX_ONE_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 128 |))). - Axiom Constant_value_MAX_ONE_B : (M.get_constant "core::char::MAX_ONE_B") = value_MAX_ONE_B. - Global Hint Rewrite Constant_value_MAX_ONE_B : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_ONE_B : + M.IsFunction.C "core::char::MAX_ONE_B" value_MAX_ONE_B. + Admitted. + Global Typeclasses Opaque value_MAX_ONE_B. - Definition value_MAX_TWO_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2048 |))). + Definition value_MAX_TWO_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2048 |))). - Axiom Constant_value_MAX_TWO_B : (M.get_constant "core::char::MAX_TWO_B") = value_MAX_TWO_B. - Global Hint Rewrite Constant_value_MAX_TWO_B : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_TWO_B : + M.IsFunction.C "core::char::MAX_TWO_B" value_MAX_TWO_B. + Admitted. + Global Typeclasses Opaque value_MAX_TWO_B. - Definition value_MAX_THREE_B : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 65536 |))). + Definition value_MAX_THREE_B (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 65536 |))). - Axiom Constant_value_MAX_THREE_B : (M.get_constant "core::char::MAX_THREE_B") = value_MAX_THREE_B. - Global Hint Rewrite Constant_value_MAX_THREE_B : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_THREE_B : + M.IsFunction.C "core::char::MAX_THREE_B" value_MAX_THREE_B. + Admitted. + Global Typeclasses Opaque value_MAX_THREE_B. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::char::methods::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "char", "MAX", Ty.path "char" |))). - Axiom Constant_value_MAX : (M.get_constant "core::char::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::char::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. - Definition value_REPLACEMENT_CHARACTER : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::char::methods::REPLACEMENT_CHARACTER")). + Definition value_REPLACEMENT_CHARACTER + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_associated_constant (| Ty.path "char", "REPLACEMENT_CHARACTER", Ty.path "char" |))). - Axiom Constant_value_REPLACEMENT_CHARACTER : - (M.get_constant "core::char::REPLACEMENT_CHARACTER") = value_REPLACEMENT_CHARACTER. - Global Hint Rewrite Constant_value_REPLACEMENT_CHARACTER : constant_rewrites. + Global Instance Instance_IsConstant_value_REPLACEMENT_CHARACTER : + M.IsFunction.C "core::char::REPLACEMENT_CHARACTER" value_REPLACEMENT_CHARACTER. + Admitted. + Global Typeclasses Opaque value_REPLACEMENT_CHARACTER. - Definition value_UNICODE_VERSION : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::char::methods::UNICODE_VERSION")). + Definition value_UNICODE_VERSION (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "char", + "UNICODE_VERSION", + Ty.tuple [ Ty.path "u8"; Ty.path "u8"; Ty.path "u8" ] + |))). - Axiom Constant_value_UNICODE_VERSION : - (M.get_constant "core::char::UNICODE_VERSION") = value_UNICODE_VERSION. - Global Hint Rewrite Constant_value_UNICODE_VERSION : constant_rewrites. + Global Instance Instance_IsConstant_value_UNICODE_VERSION : + M.IsFunction.C "core::char::UNICODE_VERSION" value_UNICODE_VERSION. + Admitted. + Global Typeclasses Opaque value_UNICODE_VERSION. (* pub fn decode_utf16>(iter: I) -> DecodeUtf16 { @@ -87,7 +114,7 @@ Module char. end. Global Instance Instance_IsFunction_decode_utf16 : - M.IsFunction.Trait "core::char::decode_utf16" decode_utf16. + M.IsFunction.C "core::char::decode_utf16" decode_utf16. Admitted. Global Typeclasses Opaque decode_utf16. @@ -109,7 +136,7 @@ Module char. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_u32 : M.IsFunction.Trait "core::char::from_u32" from_u32. + Global Instance Instance_IsFunction_from_u32 : M.IsFunction.C "core::char::from_u32" from_u32. Admitted. Global Typeclasses Opaque from_u32. @@ -133,7 +160,7 @@ Module char. end. Global Instance Instance_IsFunction_from_u32_unchecked : - M.IsFunction.Trait "core::char::from_u32_unchecked" from_u32_unchecked. + M.IsFunction.C "core::char::from_u32_unchecked" from_u32_unchecked. Admitted. Global Typeclasses Opaque from_u32_unchecked. @@ -157,7 +184,7 @@ Module char. end. Global Instance Instance_IsFunction_from_digit : - M.IsFunction.Trait "core::char::from_digit" from_digit. + M.IsFunction.C "core::char::from_digit" from_digit. Admitted. Global Typeclasses Opaque from_digit. @@ -325,7 +352,7 @@ Module char. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_char_EscapeUnicode. @@ -875,7 +902,7 @@ Module char. end. Global Instance AssociatedFunction_printable : - M.IsAssociatedFunction.Trait Self "printable" printable. + M.IsAssociatedFunction.C Self "printable" printable. Admitted. Global Typeclasses Opaque printable. @@ -913,7 +940,7 @@ Module char. end. Global Instance AssociatedFunction_backslash : - M.IsAssociatedFunction.Trait Self "backslash" backslash. + M.IsAssociatedFunction.C Self "backslash" backslash. Admitted. Global Typeclasses Opaque backslash. @@ -950,8 +977,7 @@ Module char. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_unicode : - M.IsAssociatedFunction.Trait Self "unicode" unicode. + Global Instance AssociatedFunction_unicode : M.IsAssociatedFunction.C Self "unicode" unicode. Admitted. Global Typeclasses Opaque unicode. End Impl_core_char_EscapeDefault. @@ -1683,7 +1709,7 @@ Module char. end. Global Instance AssociatedFunction_printable : - M.IsAssociatedFunction.Trait Self "printable" printable. + M.IsAssociatedFunction.C Self "printable" printable. Admitted. Global Typeclasses Opaque printable. @@ -1725,7 +1751,7 @@ Module char. end. Global Instance AssociatedFunction_backslash : - M.IsAssociatedFunction.Trait Self "backslash" backslash. + M.IsAssociatedFunction.C Self "backslash" backslash. Admitted. Global Typeclasses Opaque backslash. @@ -1766,8 +1792,7 @@ Module char. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_unicode : - M.IsAssociatedFunction.Trait Self "unicode" unicode. + Global Instance AssociatedFunction_unicode : M.IsAssociatedFunction.C Self "unicode" unicode. Admitted. Global Typeclasses Opaque unicode. @@ -1817,7 +1842,7 @@ Module char. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.Trait Self "clear" clear. + Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.C Self "clear" clear. Admitted. Global Typeclasses Opaque clear. End Impl_core_char_EscapeDebug. @@ -2855,8 +2880,12 @@ Module char. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -2865,7 +2894,7 @@ Module char. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_char_ToLowercase. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_char_ToLowercase. @@ -3567,8 +3596,12 @@ Module char. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -3577,7 +3610,7 @@ Module char. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_char_ToUppercase. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_char_ToUppercase. @@ -3923,7 +3956,7 @@ Module char. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_char_CaseMappingIter. @@ -4478,8 +4511,12 @@ Module char. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -4488,7 +4525,7 @@ Module char. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_char_CaseMappingIter. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_char_CaseMappingIter. diff --git a/CoqOfRust/core/clone/uninit.v b/CoqOfRust/core/clone/uninit.v index 4de64c1f5..d54b5e499 100644 --- a/CoqOfRust/core/clone/uninit.v +++ b/CoqOfRust/core/clone/uninit.v @@ -771,7 +771,7 @@ Module clone. Global Instance AssociatedFunction_from_fully_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_fully_uninit" (from_fully_uninit T). + M.IsAssociatedFunction.C (Self T) "from_fully_uninit" (from_fully_uninit T). Admitted. Global Typeclasses Opaque from_fully_uninit. @@ -850,7 +850,7 @@ Module clone. Global Instance AssociatedFunction_push : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "push" (push T). + M.IsAssociatedFunction.C (Self T) "push" (push T). Admitted. Global Typeclasses Opaque push. End Impl_core_clone_uninit_InitializingSlice_T. diff --git a/CoqOfRust/core/cmp.v b/CoqOfRust/core/cmp.v index 0aa1987e3..0bcfc869a 100644 --- a/CoqOfRust/core/cmp.v +++ b/CoqOfRust/core/cmp.v @@ -488,7 +488,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_eq : M.IsAssociatedFunction.Trait Self "is_eq" is_eq. + Global Instance AssociatedFunction_is_eq : M.IsAssociatedFunction.C Self "is_eq" is_eq. Admitted. Global Typeclasses Opaque is_eq. @@ -520,7 +520,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ne : M.IsAssociatedFunction.Trait Self "is_ne" is_ne. + Global Instance AssociatedFunction_is_ne : M.IsAssociatedFunction.C Self "is_ne" is_ne. Admitted. Global Typeclasses Opaque is_ne. @@ -550,7 +550,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_lt : M.IsAssociatedFunction.Trait Self "is_lt" is_lt. + Global Instance AssociatedFunction_is_lt : M.IsAssociatedFunction.C Self "is_lt" is_lt. Admitted. Global Typeclasses Opaque is_lt. @@ -580,7 +580,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_gt : M.IsAssociatedFunction.Trait Self "is_gt" is_gt. + Global Instance AssociatedFunction_is_gt : M.IsAssociatedFunction.C Self "is_gt" is_gt. Admitted. Global Typeclasses Opaque is_gt. @@ -612,7 +612,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_le : M.IsAssociatedFunction.Trait Self "is_le" is_le. + Global Instance AssociatedFunction_is_le : M.IsAssociatedFunction.C Self "is_le" is_le. Admitted. Global Typeclasses Opaque is_le. @@ -644,7 +644,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ge : M.IsAssociatedFunction.Trait Self "is_ge" is_ge. + Global Instance AssociatedFunction_is_ge : M.IsAssociatedFunction.C Self "is_ge" is_ge. Admitted. Global Typeclasses Opaque is_ge. @@ -685,8 +685,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_reverse : - M.IsAssociatedFunction.Trait Self "reverse" reverse. + Global Instance AssociatedFunction_reverse : M.IsAssociatedFunction.C Self "reverse" reverse. Admitted. Global Typeclasses Opaque reverse. @@ -720,7 +719,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_then_ : M.IsAssociatedFunction.Trait Self "then_" then_. + Global Instance AssociatedFunction_then_ : M.IsAssociatedFunction.C Self "then" then_. Admitted. Global Typeclasses Opaque then_. @@ -769,7 +768,7 @@ Module cmp. end. Global Instance AssociatedFunction_then_with : - M.IsAssociatedFunction.Trait Self "then_with" then_with. + M.IsAssociatedFunction.C Self "then_with" then_with. Admitted. Global Typeclasses Opaque then_with. End Impl_core_cmp_Ordering. @@ -1807,7 +1806,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_min : M.IsFunction.Trait "core::cmp::min" min. + Global Instance Instance_IsFunction_min : M.IsFunction.C "core::cmp::min" min. Admitted. Global Typeclasses Opaque min. @@ -1889,7 +1888,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_min_by : M.IsFunction.Trait "core::cmp::min_by" min_by. + Global Instance Instance_IsFunction_min_by : M.IsFunction.C "core::cmp::min_by" min_by. Admitted. Global Typeclasses Opaque min_by. @@ -2041,7 +2040,7 @@ Module cmp. end. Global Instance Instance_IsFunction_min_by_key : - M.IsFunction.Trait "core::cmp::min_by_key" min_by_key. + M.IsFunction.C "core::cmp::min_by_key" min_by_key. Admitted. Global Typeclasses Opaque min_by_key. @@ -2064,7 +2063,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_max : M.IsFunction.Trait "core::cmp::max" max. + Global Instance Instance_IsFunction_max : M.IsFunction.C "core::cmp::max" max. Admitted. Global Typeclasses Opaque max. @@ -2146,7 +2145,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_max_by : M.IsFunction.Trait "core::cmp::max_by" max_by. + Global Instance Instance_IsFunction_max_by : M.IsFunction.C "core::cmp::max_by" max_by. Admitted. Global Typeclasses Opaque max_by. @@ -2298,7 +2297,7 @@ Module cmp. end. Global Instance Instance_IsFunction_max_by_key : - M.IsFunction.Trait "core::cmp::max_by_key" max_by_key. + M.IsFunction.C "core::cmp::max_by_key" max_by_key. Admitted. Global Typeclasses Opaque max_by_key. @@ -2351,7 +2350,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_minmax : M.IsFunction.Trait "core::cmp::minmax" minmax. + Global Instance Instance_IsFunction_minmax : M.IsFunction.C "core::cmp::minmax" minmax. Admitted. Global Typeclasses Opaque minmax. @@ -2434,8 +2433,7 @@ Module cmp. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_minmax_by : - M.IsFunction.Trait "core::cmp::minmax_by" minmax_by. + Global Instance Instance_IsFunction_minmax_by : M.IsFunction.C "core::cmp::minmax_by" minmax_by. Admitted. Global Typeclasses Opaque minmax_by. @@ -2591,7 +2589,7 @@ Module cmp. end. Global Instance Instance_IsFunction_minmax_by_key : - M.IsFunction.Trait "core::cmp::minmax_by_key" minmax_by_key. + M.IsFunction.C "core::cmp::minmax_by_key" minmax_by_key. Admitted. Global Typeclasses Opaque minmax_by_key. diff --git a/CoqOfRust/core/convert/mod.v b/CoqOfRust/core/convert/mod.v index 2d51405cb..a4e8c3f57 100644 --- a/CoqOfRust/core/convert/mod.v +++ b/CoqOfRust/core/convert/mod.v @@ -16,8 +16,7 @@ Module convert. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_identity : - M.IsFunction.Trait "core::convert::identity" identity. + Global Instance Instance_IsFunction_identity : M.IsFunction.C "core::convert::identity" identity. Admitted. Global Typeclasses Opaque identity. diff --git a/CoqOfRust/core/convert/num.v b/CoqOfRust/core/convert/num.v index b0b38fcaa..65f648b9b 100644 --- a/CoqOfRust/core/convert/num.v +++ b/CoqOfRust/core/convert/num.v @@ -3439,7 +3439,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u16") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u16") + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3508,7 +3512,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u32") + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3577,7 +3585,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u32") + (M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3646,7 +3658,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3715,7 +3731,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3784,7 +3804,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3853,7 +3877,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3922,7 +3950,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -3991,7 +4023,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4060,7 +4096,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4118,11 +4158,15 @@ Module convert. M.read (| let~ min : Ty.path "i16" := M.alloc (| - M.cast (Ty.path "i16") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i16") + (M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |)) |) in let~ max : Ty.path "i16" := M.alloc (| - M.cast (Ty.path "i16") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i16") + (M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |)) |) in M.match_operator (| Some @@ -4197,11 +4241,15 @@ Module convert. M.read (| let~ min : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |)) |) in let~ max : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |)) |) in M.match_operator (| Some @@ -4276,11 +4324,15 @@ Module convert. M.read (| let~ min : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |)) |) in let~ max : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |)) |) in M.match_operator (| Some @@ -4355,11 +4407,15 @@ Module convert. M.read (| let~ min : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |)) |) in let~ max : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |)) |) in M.match_operator (| Some @@ -4434,11 +4490,15 @@ Module convert. M.read (| let~ min : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |)) |) in let~ max : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |)) |) in M.match_operator (| Some @@ -4513,11 +4573,15 @@ Module convert. M.read (| let~ min : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |)) |) in let~ max : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |)) |) in M.match_operator (| Some @@ -4592,11 +4656,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |)) |) in M.match_operator (| Some @@ -4671,11 +4739,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |)) |) in M.match_operator (| Some @@ -4750,11 +4822,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |)) |) in M.match_operator (| Some @@ -4829,11 +4905,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) |)) |) in M.match_operator (| Some @@ -4919,7 +4999,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u8") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u8") + (M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4988,7 +5072,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u16") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u16") + (M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5057,7 +5145,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u16") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u16") + (M.read (| + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5126,7 +5218,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u32") + (M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5195,7 +5291,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u32") + (M.read (| + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5264,7 +5364,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u32") + (M.read (| + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5333,7 +5437,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5402,7 +5510,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5471,7 +5583,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5540,7 +5656,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5609,7 +5729,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5678,7 +5802,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5747,7 +5875,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5816,7 +5948,11 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5885,7 +6021,15 @@ Module convert. (M.alloc (| BinOp.gt (| M.read (| u |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| + Ty.path "i128", + "MAX", + Ty.path "i128" + |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -6273,11 +6417,15 @@ Module convert. M.read (| let~ min : Ty.path "i16" := M.alloc (| - M.cast (Ty.path "i16") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i16") + (M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |)) |) in let~ max : Ty.path "i16" := M.alloc (| - M.cast (Ty.path "i16") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i16") + (M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |)) |) in M.match_operator (| Some @@ -6616,11 +6764,15 @@ Module convert. M.read (| let~ min : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |)) |) in let~ max : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |)) |) in M.match_operator (| Some @@ -6695,11 +6847,15 @@ Module convert. M.read (| let~ min : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |)) |) in let~ max : Ty.path "i32" := M.alloc (| - M.cast (Ty.path "i32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i32") + (M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)) |) in M.match_operator (| Some @@ -6972,11 +7128,15 @@ Module convert. M.read (| let~ min : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |)) |) in let~ max : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |)) |) in M.match_operator (| Some @@ -7051,11 +7211,15 @@ Module convert. M.read (| let~ min : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |)) |) in let~ max : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)) |) in M.match_operator (| Some @@ -7130,11 +7294,15 @@ Module convert. M.read (| let~ min : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) |)) |) in let~ max : Ty.path "i64" := M.alloc (| - M.cast (Ty.path "i64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i64") + (M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |)) |) in M.match_operator (| Some @@ -7341,11 +7509,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |)) |) in M.match_operator (| Some @@ -7420,11 +7592,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)) |) in M.match_operator (| Some @@ -7499,11 +7675,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |)) |) in M.match_operator (| Some @@ -7578,11 +7758,15 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |) |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |)) |) in M.match_operator (| Some @@ -7736,7 +7920,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -7874,7 +8064,9 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := @@ -7949,7 +8141,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "u16", + "MAX", + Ty.path "u16" + |) + |)) |) |)) in let _ := @@ -8024,7 +8222,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "u32", + "MAX", + Ty.path "u32" + |) + |)) |) |)) in let _ := @@ -8163,7 +8367,9 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |)) |) |)) in let _ := @@ -8238,7 +8444,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "i16", + "MAX", + Ty.path "i16" + |) + |)) |) |)) in let _ := @@ -8313,7 +8525,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "i32", + "MAX", + Ty.path "i32" + |) + |)) |) |)) in let _ := @@ -8388,7 +8606,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "i64", + "MAX", + Ty.path "i64" + |) + |)) |) |)) in let _ := @@ -8482,11 +8706,15 @@ Module convert. M.read (| let~ min : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "isize") + (M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |)) |) in let~ max : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "isize") + (M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |)) |) in M.match_operator (| Some @@ -8565,11 +8793,19 @@ Module convert. M.read (| let~ min : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) + |)) |) in let~ max : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |)) |) in M.match_operator (| Some @@ -8648,11 +8884,19 @@ Module convert. M.read (| let~ min : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) + |)) |) in let~ max : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |)) |) in M.match_operator (| Some @@ -8871,11 +9115,15 @@ Module convert. M.read (| let~ min : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "isize") + (M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |)) |) in let~ max : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "isize") + (M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |)) |) in M.match_operator (| Some @@ -8954,11 +9202,19 @@ Module convert. M.read (| let~ min : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) + |)) |) in let~ max : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) + |)) |) in M.match_operator (| Some @@ -9037,11 +9293,19 @@ Module convert. M.read (| let~ min : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) + |)) |) in let~ max : Ty.path "isize" := M.alloc (| - M.cast (Ty.path "isize") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "isize") + (M.read (| + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) + |)) |) in M.match_operator (| Some @@ -9261,7 +9525,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "u128") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |)) |) |)) in let _ := @@ -9603,11 +9873,19 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| + get_associated_constant (| Ty.path "usize", "MIN", Ty.path "usize" |) + |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |)) |) in M.match_operator (| Some @@ -9763,7 +10041,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |)) |) |)) in let _ := @@ -9838,7 +10122,13 @@ Module convert. M.read (| u |), M.cast (Ty.path "u128") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |)) |) |)) in let _ := @@ -9964,11 +10254,19 @@ Module convert. M.read (| let~ min : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MIN" |)) + M.cast + (Ty.path "i128") + (M.read (| + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) + |)) |) in let~ max : Ty.path "i128" := M.alloc (| - M.cast (Ty.path "i128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "i128") + (M.read (| + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) + |)) |) in M.match_operator (| Some diff --git a/CoqOfRust/core/error.v b/CoqOfRust/core/error.v index ffcd378f1..4507a5aea 100644 --- a/CoqOfRust/core/error.v +++ b/CoqOfRust/core/error.v @@ -208,7 +208,7 @@ Module error. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is : M.IsAssociatedFunction.Trait Self "is" is. + Global Instance AssociatedFunction_is : M.IsAssociatedFunction.C Self "is" is. Admitted. Global Typeclasses Opaque is. @@ -286,7 +286,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_ref : - M.IsAssociatedFunction.Trait Self "downcast_ref" downcast_ref. + M.IsAssociatedFunction.C Self "downcast_ref" downcast_ref. Admitted. Global Typeclasses Opaque downcast_ref. @@ -367,7 +367,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. (* @@ -403,8 +403,7 @@ Module error. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_sources : - M.IsAssociatedFunction.Trait Self "sources" sources. + Global Instance AssociatedFunction_sources : M.IsAssociatedFunction.C Self "sources" sources. Admitted. Global Typeclasses Opaque sources. End Impl_Dyn_core_error_Error_Trait. @@ -436,7 +435,7 @@ Module error. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is : M.IsAssociatedFunction.Trait Self "is" is. + Global Instance AssociatedFunction_is : M.IsAssociatedFunction.C Self "is" is. Admitted. Global Typeclasses Opaque is. @@ -464,7 +463,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_ref : - M.IsAssociatedFunction.Trait Self "downcast_ref" downcast_ref. + M.IsAssociatedFunction.C Self "downcast_ref" downcast_ref. Admitted. Global Typeclasses Opaque downcast_ref. @@ -492,7 +491,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. End Impl_Dyn_core_error_Error_Trait_core_marker_Send_AutoTrait. @@ -529,7 +528,7 @@ Module error. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is : M.IsAssociatedFunction.Trait Self "is" is. + Global Instance AssociatedFunction_is : M.IsAssociatedFunction.C Self "is" is. Admitted. Global Typeclasses Opaque is. @@ -557,7 +556,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_ref : - M.IsAssociatedFunction.Trait Self "downcast_ref" downcast_ref. + M.IsAssociatedFunction.C Self "downcast_ref" downcast_ref. Admitted. Global Typeclasses Opaque downcast_ref. @@ -585,7 +584,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. End Impl_Dyn_core_error_Error_Trait_core_marker_Sync_AutoTrait_core_marker_Send_AutoTrait. @@ -617,7 +616,7 @@ Module error. end. Global Instance Instance_IsFunction_request_value : - M.IsFunction.Trait "core::error::request_value" request_value. + M.IsFunction.C "core::error::request_value" request_value. Admitted. Global Typeclasses Opaque request_value. @@ -653,7 +652,7 @@ Module error. end. Global Instance Instance_IsFunction_request_ref : - M.IsFunction.Trait "core::error::request_ref" request_ref. + M.IsFunction.C "core::error::request_ref" request_ref. Admitted. Global Typeclasses Opaque request_ref. @@ -740,7 +739,7 @@ Module error. end. Global Instance Instance_IsFunction_request_by_type_tag : - M.IsFunction.Trait "core::error::request_by_type_tag" request_by_type_tag. + M.IsFunction.C "core::error::request_by_type_tag" request_by_type_tag. Admitted. Global Typeclasses Opaque request_by_type_tag. @@ -802,7 +801,7 @@ Module error. end. Global Instance AssociatedFunction_provide_value : - M.IsAssociatedFunction.Trait Self "provide_value" provide_value. + M.IsAssociatedFunction.C Self "provide_value" provide_value. Admitted. Global Typeclasses Opaque provide_value. @@ -850,7 +849,7 @@ Module error. end. Global Instance AssociatedFunction_provide_value_with : - M.IsAssociatedFunction.Trait Self "provide_value_with" provide_value_with. + M.IsAssociatedFunction.C Self "provide_value_with" provide_value_with. Admitted. Global Typeclasses Opaque provide_value_with. @@ -897,7 +896,7 @@ Module error. end. Global Instance AssociatedFunction_provide_ref : - M.IsAssociatedFunction.Trait Self "provide_ref" provide_ref. + M.IsAssociatedFunction.C Self "provide_ref" provide_ref. Admitted. Global Typeclasses Opaque provide_ref. @@ -948,7 +947,7 @@ Module error. end. Global Instance AssociatedFunction_provide_ref_with : - M.IsAssociatedFunction.Trait Self "provide_ref_with" provide_ref_with. + M.IsAssociatedFunction.C Self "provide_ref_with" provide_ref_with. Admitted. Global Typeclasses Opaque provide_ref_with. @@ -1052,8 +1051,7 @@ Module error. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_provide : - M.IsAssociatedFunction.Trait Self "provide" provide. + Global Instance AssociatedFunction_provide : M.IsAssociatedFunction.C Self "provide" provide. Admitted. Global Typeclasses Opaque provide. @@ -1177,7 +1175,7 @@ Module error. end. Global Instance AssociatedFunction_provide_with : - M.IsAssociatedFunction.Trait Self "provide_with" provide_with. + M.IsAssociatedFunction.C Self "provide_with" provide_with. Admitted. Global Typeclasses Opaque provide_with. @@ -1212,10 +1210,7 @@ Module error. end. Global Instance AssociatedFunction_would_be_satisfied_by_value_of : - M.IsAssociatedFunction.Trait - Self - "would_be_satisfied_by_value_of" - would_be_satisfied_by_value_of. + M.IsAssociatedFunction.C Self "would_be_satisfied_by_value_of" would_be_satisfied_by_value_of. Admitted. Global Typeclasses Opaque would_be_satisfied_by_value_of. @@ -1255,7 +1250,7 @@ Module error. end. Global Instance AssociatedFunction_would_be_satisfied_by_ref_of : - M.IsAssociatedFunction.Trait Self "would_be_satisfied_by_ref_of" would_be_satisfied_by_ref_of. + M.IsAssociatedFunction.C Self "would_be_satisfied_by_ref_of" would_be_satisfied_by_ref_of. Admitted. Global Typeclasses Opaque would_be_satisfied_by_ref_of. @@ -1333,7 +1328,7 @@ Module error. end. Global Instance AssociatedFunction_would_be_satisfied_by : - M.IsAssociatedFunction.Trait Self "would_be_satisfied_by" would_be_satisfied_by. + M.IsAssociatedFunction.C Self "would_be_satisfied_by" would_be_satisfied_by. Admitted. Global Typeclasses Opaque would_be_satisfied_by. End Impl_core_error_Request. @@ -1764,7 +1759,7 @@ Module error. Global Instance AssociatedFunction_as_request : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "as_request" (as_request I). + M.IsAssociatedFunction.C (Self I) "as_request" (as_request I). Admitted. Global Typeclasses Opaque as_request. End Impl_core_error_Tagged_core_error_TaggedOption_I. @@ -1957,8 +1952,7 @@ Module error. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_downcast : - M.IsAssociatedFunction.Trait Self "downcast" downcast. + Global Instance AssociatedFunction_downcast : M.IsAssociatedFunction.C Self "downcast" downcast. Admitted. Global Typeclasses Opaque downcast. @@ -2126,7 +2120,7 @@ Module error. end. Global Instance AssociatedFunction_downcast_mut : - M.IsAssociatedFunction.Trait Self "downcast_mut" downcast_mut. + M.IsAssociatedFunction.C Self "downcast_mut" downcast_mut. Admitted. Global Typeclasses Opaque downcast_mut. End Impl_core_error_Tagged_Dyn_core_error_Erased_Trait. diff --git a/CoqOfRust/core/escape.v b/CoqOfRust/core/escape.v index 268b961cc..b7c95f7e6 100644 --- a/CoqOfRust/core/escape.v +++ b/CoqOfRust/core/escape.v @@ -2,21 +2,40 @@ Require Import CoqOfRust.CoqOfRust. Module escape. - Definition value_HEX_DIGITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.deref (| - M.call_closure (| + Definition value_HEX_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + ], + M.get_associated_function (| Ty.apply - (Ty.path "&") + (Ty.path "core::option::Option") [] [ Ty.apply - (Ty.path "array") - [ Value.Integer IntegerKind.Usize 16 ] - [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + ] ], - M.get_associated_function (| + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] @@ -31,43 +50,22 @@ Module escape. [ Ty.path "core::ascii::ascii_char::AsciiChar" ] ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "array") - [ Value.Integer IntegerKind.Usize 16 ] - [ Ty.path "core::ascii::ascii_char::AsciiChar" ] - ] - ], - M.get_associated_function (| - Ty.apply - (Ty.path "array") - [ Value.Integer IntegerKind.Usize 16 ] - [ Ty.path "u8" ], - "as_ascii", - [], - [] - |), - [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| UnsupportedLiteral |) |) |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 16 ] [ Ty.path "u8" ], + "as_ascii", + [], + [] + |), + [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| UnsupportedLiteral |) |) |) ] + |) + ] + |) + |))). - Axiom Constant_value_HEX_DIGITS : (M.get_constant "core::escape::HEX_DIGITS") = value_HEX_DIGITS. - Global Hint Rewrite Constant_value_HEX_DIGITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HEX_DIGITS : + M.IsFunction.C "core::escape::HEX_DIGITS" value_HEX_DIGITS. + Admitted. + Global Typeclasses Opaque value_HEX_DIGITS. (* const fn backslash(a: ascii::Char) -> ([ascii::Char; N], Range) { @@ -87,7 +85,8 @@ Module escape. ltac:(M.monadic (let a := M.alloc (| a |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::escape::backslash_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::escape::backslash_discriminant", Ty.tuple [] |) in let~ output : Ty.apply (Ty.path "array") [ N ] [ Ty.path "core::ascii::ascii_char::AsciiChar" ] := M.alloc (| @@ -124,7 +123,7 @@ Module escape. end. Global Instance Instance_IsFunction_backslash : - M.IsFunction.Trait "core::escape::backslash" backslash. + M.IsFunction.C "core::escape::backslash" backslash. Admitted. Global Typeclasses Opaque backslash. @@ -151,7 +150,8 @@ Module escape. ltac:(M.monadic (let byte := M.alloc (| byte |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::escape::hex_escape_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::escape::hex_escape_discriminant", Ty.tuple [] |) in let~ output : Ty.apply (Ty.path "array") [ N ] [ Ty.path "core::ascii::ascii_char::AsciiChar" ] := M.alloc (| @@ -160,7 +160,13 @@ Module escape. let~ hi : Ty.path "core::ascii::ascii_char::AsciiChar" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.Wrap.shr (| M.read (| byte |), Value.Integer IntegerKind.I32 4 |)) @@ -169,7 +175,13 @@ Module escape. let~ lo : Ty.path "core::ascii::ascii_char::AsciiChar" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and (M.read (| byte |)) (Value.Integer IntegerKind.U8 15)) @@ -220,7 +232,7 @@ Module escape. end. Global Instance Instance_IsFunction_hex_escape : - M.IsFunction.Trait "core::escape::hex_escape" hex_escape. + M.IsFunction.C "core::escape::hex_escape" hex_escape. Admitted. Global Typeclasses Opaque hex_escape. @@ -241,7 +253,8 @@ Module escape. ltac:(M.monadic (let a := M.alloc (| a |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::escape::verbatim_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::escape::verbatim_discriminant", Ty.tuple [] |) in let~ output : Ty.apply (Ty.path "array") [ N ] [ Ty.path "core::ascii::ascii_char::AsciiChar" ] := M.alloc (| @@ -270,8 +283,7 @@ Module escape. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_verbatim : - M.IsFunction.Trait "core::escape::verbatim" verbatim. + Global Instance Instance_IsFunction_verbatim : M.IsFunction.C "core::escape::verbatim" verbatim. Admitted. Global Typeclasses Opaque verbatim. @@ -356,11 +368,18 @@ Module escape. ltac:(M.monadic (let byte := M.alloc (| byte |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::escape::escape_ascii_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::escape::escape_ascii_discriminant", Ty.tuple [] |) in let~ lookup : Ty.path "u8" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::escape_ascii::LOOKUP", + get_constant (| + "core::escape::escape_ascii::LOOKUP", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.path "u8" ] + |), M.cast (Ty.path "usize") (M.read (| byte |)) |) |) in @@ -485,176 +504,175 @@ Module escape. end. Global Instance Instance_IsFunction_escape_ascii : - M.IsFunction.Trait "core::escape::escape_ascii" escape_ascii. + M.IsFunction.C "core::escape::escape_ascii" escape_ascii. Admitted. Global Typeclasses Opaque escape_ascii. Module escape_ascii. - Definition value_LOOKUP : Value.t := - M.run_constant - ltac:(M.monadic - (let~ arr : - Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 256 ] [ Ty.path "u8" ] := - M.alloc (| - repeat (| Value.Integer IntegerKind.U8 0, Value.Integer IntegerKind.Usize 256 |) - |) in - let~ idx : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in - let~ _ : Ty.tuple [] := - M.loop (| - Ty.tuple [], - ltac:(M.monadic - (M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.le (| M.read (| idx |), Value.Integer IntegerKind.Usize 255 |) - |)) in - let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ : Ty.tuple [] := - M.alloc (| - M.write (| - M.SubPointer.get_array_field (| arr, M.read (| idx |) |), - M.read (| - M.match_operator (| - Some (Ty.path "u8"), - M.alloc (| M.cast (Ty.path "u8") (M.read (| idx |)) |), - [ - fun γ => - ltac:(M.monadic - (let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Integer IntegerKind.U8 9 - |) in - M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Integer IntegerKind.U8 13 - |) in - M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Integer IntegerKind.U8 10 - |) in - M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Integer IntegerKind.U8 92 - |) in - M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Integer IntegerKind.U8 39 - |) in - M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))); - fun γ => - ltac:(M.monadic - (let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Integer IntegerKind.U8 34 - |) in - M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))); - fun γ => - ltac:(M.monadic - (M.find_or_pattern (| - γ, - [ - fun γ => ltac:(M.monadic (Value.Tuple [])); - fun γ => ltac:(M.monadic (Value.Tuple [])) - ], - fun γ => - ltac:(M.monadic - match γ with - | [] => - ltac:(M.monadic - (M.alloc (| - BinOp.bit_or - (Value.Integer IntegerKind.U8 128) - (M.read (| UnsupportedLiteral |)) - |))) - | _ => M.impossible "wrong number of arguments" - end) - |))); - fun γ => - ltac:(M.monadic - (let idx := M.copy (| γ |) in - idx)) - ] - |) - |) - |) - |) in - let~ _ : Ty.tuple [] := - M.alloc (| - let β := idx in - M.write (| - β, - BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.never_to_any (| + Definition value_LOOKUP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (let~ arr : + Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 256 ] [ Ty.path "u8" ] := + M.alloc (| + repeat (| Value.Integer IntegerKind.U8 0, Value.Integer IntegerKind.Usize 256 |) + |) in + let~ idx : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ _ : Ty.tuple [] := + M.loop (| + Ty.tuple [], + ltac:(M.monadic + (M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.le (| M.read (| idx |), Value.Integer IntegerKind.Usize 255 |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + let~ _ : Ty.tuple [] := + M.alloc (| + M.write (| + M.SubPointer.get_array_field (| arr, M.read (| idx |) |), M.read (| - let~ _ : Ty.tuple [] := - M.alloc (| M.never_to_any (| M.read (| M.break (||) |) |) |) in - M.alloc (| Value.Tuple [] |) + M.match_operator (| + Some (Ty.path "u8"), + M.alloc (| M.cast (Ty.path "u8") (M.read (| idx |)) |), + [ + fun γ => + ltac:(M.monadic + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 9 + |) in + M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 13 + |) in + M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 10 + |) in + M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 92 + |) in + M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 39 + |) in + M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))); + fun γ => + ltac:(M.monadic + (let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Integer IntegerKind.U8 34 + |) in + M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))); + fun γ => + ltac:(M.monadic + (M.find_or_pattern (| + γ, + [ + fun γ => ltac:(M.monadic (Value.Tuple [])); + fun γ => ltac:(M.monadic (Value.Tuple [])) + ], + fun γ => + ltac:(M.monadic + match γ with + | [] => + ltac:(M.monadic + (M.alloc (| + BinOp.bit_or + (Value.Integer IntegerKind.U8 128) + (M.read (| UnsupportedLiteral |)) + |))) + | _ => M.impossible "wrong number of arguments" + end) + |))); + fun γ => + ltac:(M.monadic + (let idx := M.copy (| γ |) in + idx)) + ] + |) |) |) - |))) - ] - |))) - |) in - arr)). + |) in + let~ _ : Ty.tuple [] := + M.alloc (| + let β := idx in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| + M.read (| + let~ _ : Ty.tuple [] := + M.alloc (| M.never_to_any (| M.read (| M.break (||) |) |) |) in + M.alloc (| Value.Tuple [] |) + |) + |) + |))) + ] + |))) + |) in + arr)). - Axiom Constant_value_LOOKUP : - (M.get_constant "core::escape::escape_ascii::LOOKUP") = value_LOOKUP. - Global Hint Rewrite Constant_value_LOOKUP : constant_rewrites. + Global Instance Instance_IsConstant_value_LOOKUP : + M.IsFunction.C "core::escape::escape_ascii::LOOKUP" value_LOOKUP. + Admitted. + Global Typeclasses Opaque value_LOOKUP. End escape_ascii. (* @@ -688,7 +706,8 @@ Module escape. ltac:(M.monadic (let c := M.alloc (| c |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::escape::escape_unicode_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::escape::escape_unicode_discriminant", Ty.tuple [] |) in let~ c : Ty.path "u32" := M.alloc (| M.cast (Ty.path "u32") (M.read (| c |)) |) in let~ start : Ty.path "usize" := M.alloc (| @@ -717,7 +736,13 @@ Module escape. M.SubPointer.get_array_field (| output, Value.Integer IntegerKind.Usize 3 |), M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and @@ -733,7 +758,13 @@ Module escape. M.SubPointer.get_array_field (| output, Value.Integer IntegerKind.Usize 4 |), M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and @@ -749,7 +780,13 @@ Module escape. M.SubPointer.get_array_field (| output, Value.Integer IntegerKind.Usize 5 |), M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and @@ -765,7 +802,13 @@ Module escape. M.SubPointer.get_array_field (| output, Value.Integer IntegerKind.Usize 6 |), M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and @@ -781,7 +824,13 @@ Module escape. M.SubPointer.get_array_field (| output, Value.Integer IntegerKind.Usize 7 |), M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and @@ -797,7 +846,13 @@ Module escape. M.SubPointer.get_array_field (| output, Value.Integer IntegerKind.Usize 8 |), M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::escape::HEX_DIGITS", + get_constant (| + "core::escape::HEX_DIGITS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "core::ascii::ascii_char::AsciiChar" ] + |), M.cast (Ty.path "usize") (BinOp.bit_and @@ -855,7 +910,9 @@ Module escape. ("end_", M.cast (Ty.path "u8") - (M.read (| M.get_constant "core::escape::escape_unicode::N" |))) + (M.read (| + get_constant (| "core::escape::escape_unicode::N", Ty.path "usize" |) + |))) ] ] |) @@ -864,7 +921,7 @@ Module escape. end. Global Instance Instance_IsFunction_escape_unicode : - M.IsFunction.Trait "core::escape::escape_unicode" escape_unicode. + M.IsFunction.C "core::escape::escape_unicode" escape_unicode. Admitted. Global Typeclasses Opaque escape_unicode. @@ -1095,7 +1152,7 @@ Module escape. Global Instance AssociatedFunction_backslash : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "backslash" (backslash N). + M.IsAssociatedFunction.C (Self N) "backslash" (backslash N). Admitted. Global Typeclasses Opaque backslash. @@ -1148,7 +1205,7 @@ Module escape. Global Instance AssociatedFunction_ascii : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "ascii" (ascii N). + M.IsAssociatedFunction.C (Self N) "ascii" (ascii N). Admitted. Global Typeclasses Opaque ascii. @@ -1201,7 +1258,7 @@ Module escape. Global Instance AssociatedFunction_unicode : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "unicode" (unicode N). + M.IsAssociatedFunction.C (Self N) "unicode" (unicode N). Admitted. Global Typeclasses Opaque unicode. @@ -1233,7 +1290,7 @@ Module escape. Global Instance AssociatedFunction_empty : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "empty" (empty N). + M.IsAssociatedFunction.C (Self N) "empty" (empty N). Admitted. Global Typeclasses Opaque empty. @@ -1340,7 +1397,7 @@ Module escape. Global Instance AssociatedFunction_as_ascii : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "as_ascii" (as_ascii N). + M.IsAssociatedFunction.C (Self N) "as_ascii" (as_ascii N). Admitted. Global Typeclasses Opaque as_ascii. @@ -1399,7 +1456,7 @@ Module escape. Global Instance AssociatedFunction_as_str : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "as_str" (as_str N). + M.IsAssociatedFunction.C (Self N) "as_str" (as_str N). Admitted. Global Typeclasses Opaque as_str. @@ -1457,7 +1514,7 @@ Module escape. Global Instance AssociatedFunction_len : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "len" (len N). + M.IsAssociatedFunction.C (Self N) "len" (len N). Admitted. Global Typeclasses Opaque len. @@ -1647,7 +1704,7 @@ Module escape. Global Instance AssociatedFunction_next : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "next" (next N). + M.IsAssociatedFunction.C (Self N) "next" (next N). Admitted. Global Typeclasses Opaque next. @@ -1837,7 +1894,7 @@ Module escape. Global Instance AssociatedFunction_next_back : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "next_back" (next_back N). + M.IsAssociatedFunction.C (Self N) "next_back" (next_back N). Admitted. Global Typeclasses Opaque next_back. @@ -1885,7 +1942,7 @@ Module escape. Global Instance AssociatedFunction_advance_by : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "advance_by" (advance_by N). + M.IsAssociatedFunction.C (Self N) "advance_by" (advance_by N). Admitted. Global Typeclasses Opaque advance_by. @@ -1938,7 +1995,7 @@ Module escape. Global Instance AssociatedFunction_advance_back_by : forall (N : Value.t), - M.IsAssociatedFunction.Trait (Self N) "advance_back_by" (advance_back_by N). + M.IsAssociatedFunction.C (Self N) "advance_back_by" (advance_back_by N). Admitted. Global Typeclasses Opaque advance_back_by. End Impl_core_escape_EscapeIterInner_N. diff --git a/CoqOfRust/core/ffi/c_str.v b/CoqOfRust/core/ffi/c_str.v index 8e3ff7f7f..7a7574d4f 100644 --- a/CoqOfRust/core/ffi/c_str.v +++ b/CoqOfRust/core/ffi/c_str.v @@ -738,7 +738,7 @@ Module ffi. end. Global Instance AssociatedFunction_interior_nul : - M.IsAssociatedFunction.Trait Self "interior_nul" interior_nul. + M.IsAssociatedFunction.C Self "interior_nul" interior_nul. Admitted. Global Typeclasses Opaque interior_nul. @@ -763,7 +763,7 @@ Module ffi. end. Global Instance AssociatedFunction_not_nul_terminated : - M.IsAssociatedFunction.Trait Self "not_nul_terminated" not_nul_terminated. + M.IsAssociatedFunction.C Self "not_nul_terminated" not_nul_terminated. Admitted. Global Typeclasses Opaque not_nul_terminated. End Impl_core_ffi_c_str_FromBytesWithNulError. @@ -1277,7 +1277,15 @@ Module ffi. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "core::ffi::c_str::default::SLICE" |) + M.read (| + get_constant (| + "core::ffi::c_str::default::SLICE", + Ty.apply + (Ty.path "&") + [] + [ Ty.apply (Ty.path "slice") [] [ Ty.path "i8" ] ] + |) + |) |) |) ] @@ -1738,7 +1746,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -1875,7 +1883,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_bytes_until_nul : - M.IsAssociatedFunction.Trait Self "from_bytes_until_nul" from_bytes_until_nul. + M.IsAssociatedFunction.C Self "from_bytes_until_nul" from_bytes_until_nul. Admitted. Global Typeclasses Opaque from_bytes_until_nul. @@ -2027,7 +2035,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_bytes_with_nul : - M.IsAssociatedFunction.Trait Self "from_bytes_with_nul" from_bytes_with_nul. + M.IsAssociatedFunction.C Self "from_bytes_with_nul" from_bytes_with_nul. Admitted. Global Typeclasses Opaque from_bytes_with_nul. @@ -2130,10 +2138,7 @@ Module ffi. end. Global Instance AssociatedFunction_from_bytes_with_nul_unchecked : - M.IsAssociatedFunction.Trait - Self - "from_bytes_with_nul_unchecked" - from_bytes_with_nul_unchecked. + M.IsAssociatedFunction.C Self "from_bytes_with_nul_unchecked" from_bytes_with_nul_unchecked. Admitted. Global Typeclasses Opaque from_bytes_with_nul_unchecked. @@ -2169,7 +2174,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. @@ -2244,7 +2249,7 @@ Module ffi. end. Global Instance AssociatedFunction_as_non_null_ptr : - M.IsAssociatedFunction.Trait Self "as_non_null_ptr" as_non_null_ptr. + M.IsAssociatedFunction.C Self "as_non_null_ptr" as_non_null_ptr. Admitted. Global Typeclasses Opaque as_non_null_ptr. @@ -2284,7 +2289,7 @@ Module ffi. end. Global Instance AssociatedFunction_count_bytes : - M.IsAssociatedFunction.Trait Self "count_bytes" count_bytes. + M.IsAssociatedFunction.C Self "count_bytes" count_bytes. Admitted. Global Typeclasses Opaque count_bytes. @@ -2331,7 +2336,7 @@ Module ffi. end. Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -2404,7 +2409,7 @@ Module ffi. end. Global Instance AssociatedFunction_to_bytes : - M.IsAssociatedFunction.Trait Self "to_bytes" to_bytes. + M.IsAssociatedFunction.C Self "to_bytes" to_bytes. Admitted. Global Typeclasses Opaque to_bytes. @@ -2447,7 +2452,7 @@ Module ffi. end. Global Instance AssociatedFunction_to_bytes_with_nul : - M.IsAssociatedFunction.Trait Self "to_bytes_with_nul" to_bytes_with_nul. + M.IsAssociatedFunction.C Self "to_bytes_with_nul" to_bytes_with_nul. Admitted. Global Typeclasses Opaque to_bytes_with_nul. @@ -2469,7 +2474,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bytes : M.IsAssociatedFunction.Trait Self "bytes" bytes. + Global Instance AssociatedFunction_bytes : M.IsAssociatedFunction.C Self "bytes" bytes. Admitted. Global Typeclasses Opaque bytes. @@ -2515,7 +2520,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_str : M.IsAssociatedFunction.Trait Self "to_str" to_str. + Global Instance AssociatedFunction_to_str : M.IsAssociatedFunction.C Self "to_str" to_str. Admitted. Global Typeclasses Opaque to_str. End Impl_core_ffi_c_str_CStr. @@ -3037,8 +3042,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_strlen : - M.IsFunction.Trait "core::ffi::c_str::strlen" strlen. + Global Instance Instance_IsFunction_strlen : M.IsFunction.C "core::ffi::c_str::strlen" strlen. Admitted. Global Typeclasses Opaque strlen. @@ -3047,7 +3051,7 @@ Module ffi. Parameter strlen : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_strlen : - M.IsFunction.Trait "core::ffi::c_str::strlen::runtime::strlen" strlen. + M.IsFunction.C "core::ffi::c_str::strlen::runtime::strlen" strlen. Admitted. End runtime. End strlen. @@ -3299,7 +3303,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3341,7 +3345,7 @@ Module ffi. end. Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. End Impl_core_ffi_c_str_Bytes. diff --git a/CoqOfRust/core/ffi/va_list.v b/CoqOfRust/core/ffi/va_list.v index 56363470b..957c9e933 100644 --- a/CoqOfRust/core/ffi/va_list.v +++ b/CoqOfRust/core/ffi/va_list.v @@ -250,7 +250,7 @@ Module ffi. end. Global Instance AssociatedFunction_as_va_list : - M.IsAssociatedFunction.Trait Self "as_va_list" as_va_list. + M.IsAssociatedFunction.C Self "as_va_list" as_va_list. Admitted. Global Typeclasses Opaque as_va_list. (* @@ -272,7 +272,7 @@ Module ffi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_arg : M.IsAssociatedFunction.Trait Self "arg" arg. + Global Instance AssociatedFunction_arg : M.IsAssociatedFunction.C Self "arg" arg. Admitted. Global Typeclasses Opaque arg. @@ -365,7 +365,7 @@ Module ffi. end. Global Instance AssociatedFunction_with_copy : - M.IsAssociatedFunction.Trait Self "with_copy" with_copy. + M.IsAssociatedFunction.C Self "with_copy" with_copy. Admitted. Global Typeclasses Opaque with_copy. End Impl_core_ffi_va_list_VaListImpl. @@ -757,20 +757,18 @@ Module ffi. Parameter va_end : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_va_end : - M.IsFunction.Trait "core::ffi::va_list::va_end" va_end. + Global Instance Instance_IsFunction_va_end : M.IsFunction.C "core::ffi::va_list::va_end" va_end. Admitted. Parameter va_copy : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_va_copy : - M.IsFunction.Trait "core::ffi::va_list::va_copy" va_copy. + M.IsFunction.C "core::ffi::va_list::va_copy" va_copy. Admitted. Parameter va_arg : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_va_arg : - M.IsFunction.Trait "core::ffi::va_list::va_arg" va_arg. + Global Instance Instance_IsFunction_va_arg : M.IsFunction.C "core::ffi::va_list::va_arg" va_arg. Admitted. End va_list. End ffi. diff --git a/CoqOfRust/core/fmt/builders.v b/CoqOfRust/core/fmt/builders.v index 58daee806..5eae2bca2 100644 --- a/CoqOfRust/core/fmt/builders.v +++ b/CoqOfRust/core/fmt/builders.v @@ -168,7 +168,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wrap : M.IsAssociatedFunction.Trait Self "wrap" wrap. + Global Instance AssociatedFunction_wrap : M.IsAssociatedFunction.C Self "wrap" wrap. Admitted. Global Typeclasses Opaque wrap. End Impl_core_fmt_builders_PadAdapter. @@ -973,7 +973,7 @@ Module fmt. end. Global Instance Instance_IsFunction_debug_struct_new : - M.IsFunction.Trait "core::fmt::builders::debug_struct_new" debug_struct_new. + M.IsFunction.C "core::fmt::builders::debug_struct_new" debug_struct_new. Admitted. Global Typeclasses Opaque debug_struct_new. @@ -1084,7 +1084,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_field : M.IsAssociatedFunction.Trait Self "field" field. + Global Instance AssociatedFunction_field : M.IsAssociatedFunction.C Self "field" field. Admitted. Global Typeclasses Opaque field. @@ -2550,7 +2550,7 @@ Module fmt. end. Global Instance AssociatedFunction_field_with : - M.IsAssociatedFunction.Trait Self "field_with" field_with. + M.IsAssociatedFunction.C Self "field_with" field_with. Admitted. Global Typeclasses Opaque field_with. @@ -3063,7 +3063,7 @@ Module fmt. end. Global Instance AssociatedFunction_finish_non_exhaustive : - M.IsAssociatedFunction.Trait Self "finish_non_exhaustive" finish_non_exhaustive. + M.IsAssociatedFunction.C Self "finish_non_exhaustive" finish_non_exhaustive. Admitted. Global Typeclasses Opaque finish_non_exhaustive. @@ -3298,7 +3298,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.Trait Self "finish" finish. + Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.C Self "finish" finish. Admitted. Global Typeclasses Opaque finish. @@ -3334,7 +3334,7 @@ Module fmt. end. Global Instance AssociatedFunction_is_pretty : - M.IsAssociatedFunction.Trait Self "is_pretty" is_pretty. + M.IsAssociatedFunction.C Self "is_pretty" is_pretty. Admitted. Global Typeclasses Opaque is_pretty. End Impl_core_fmt_builders_DebugStruct. @@ -3416,7 +3416,7 @@ Module fmt. end. Global Instance Instance_IsFunction_debug_tuple_new : - M.IsFunction.Trait "core::fmt::builders::debug_tuple_new" debug_tuple_new. + M.IsFunction.C "core::fmt::builders::debug_tuple_new" debug_tuple_new. Admitted. Global Typeclasses Opaque debug_tuple_new. @@ -3525,7 +3525,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_field : M.IsAssociatedFunction.Trait Self "field" field. + Global Instance AssociatedFunction_field : M.IsAssociatedFunction.C Self "field" field. Admitted. Global Typeclasses Opaque field. @@ -4416,7 +4416,7 @@ Module fmt. end. Global Instance AssociatedFunction_field_with : - M.IsAssociatedFunction.Trait Self "field_with" field_with. + M.IsAssociatedFunction.C Self "field_with" field_with. Admitted. Global Typeclasses Opaque field_with. @@ -4936,7 +4936,7 @@ Module fmt. end. Global Instance AssociatedFunction_finish_non_exhaustive : - M.IsAssociatedFunction.Trait Self "finish_non_exhaustive" finish_non_exhaustive. + M.IsAssociatedFunction.C Self "finish_non_exhaustive" finish_non_exhaustive. Admitted. Global Typeclasses Opaque finish_non_exhaustive. @@ -5331,7 +5331,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.Trait Self "finish" finish. + Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.C Self "finish" finish. Admitted. Global Typeclasses Opaque finish. @@ -5367,7 +5367,7 @@ Module fmt. end. Global Instance AssociatedFunction_is_pretty : - M.IsAssociatedFunction.Trait Self "is_pretty" is_pretty. + M.IsAssociatedFunction.C Self "is_pretty" is_pretty. Admitted. Global Typeclasses Opaque is_pretty. End Impl_core_fmt_builders_DebugTuple. @@ -6228,7 +6228,7 @@ Module fmt. end. Global Instance AssociatedFunction_entry_with : - M.IsAssociatedFunction.Trait Self "entry_with" entry_with. + M.IsAssociatedFunction.C Self "entry_with" entry_with. Admitted. Global Typeclasses Opaque entry_with. @@ -6264,7 +6264,7 @@ Module fmt. end. Global Instance AssociatedFunction_is_pretty : - M.IsAssociatedFunction.Trait Self "is_pretty" is_pretty. + M.IsAssociatedFunction.C Self "is_pretty" is_pretty. Admitted. Global Typeclasses Opaque is_pretty. End Impl_core_fmt_builders_DebugInner. @@ -6331,7 +6331,7 @@ Module fmt. end. Global Instance Instance_IsFunction_debug_set_new : - M.IsFunction.Trait "core::fmt::builders::debug_set_new" debug_set_new. + M.IsFunction.C "core::fmt::builders::debug_set_new" debug_set_new. Admitted. Global Typeclasses Opaque debug_set_new. @@ -6450,7 +6450,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_entry : M.IsAssociatedFunction.Trait Self "entry" entry. + Global Instance AssociatedFunction_entry : M.IsAssociatedFunction.C Self "entry" entry. Admitted. Global Typeclasses Opaque entry. @@ -6504,7 +6504,7 @@ Module fmt. end. Global Instance AssociatedFunction_entry_with : - M.IsAssociatedFunction.Trait Self "entry_with" entry_with. + M.IsAssociatedFunction.C Self "entry_with" entry_with. Admitted. Global Typeclasses Opaque entry_with. @@ -6654,8 +6654,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_entries : - M.IsAssociatedFunction.Trait Self "entries" entries. + Global Instance AssociatedFunction_entries : M.IsAssociatedFunction.C Self "entries" entries. Admitted. Global Typeclasses Opaque entries. @@ -7204,7 +7203,7 @@ Module fmt. end. Global Instance AssociatedFunction_finish_non_exhaustive : - M.IsAssociatedFunction.Trait Self "finish_non_exhaustive" finish_non_exhaustive. + M.IsAssociatedFunction.C Self "finish_non_exhaustive" finish_non_exhaustive. Admitted. Global Typeclasses Opaque finish_non_exhaustive. @@ -7339,7 +7338,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.Trait Self "finish" finish. + Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.C Self "finish" finish. Admitted. Global Typeclasses Opaque finish. End Impl_core_fmt_builders_DebugSet. @@ -7406,7 +7405,7 @@ Module fmt. end. Global Instance Instance_IsFunction_debug_list_new : - M.IsFunction.Trait "core::fmt::builders::debug_list_new" debug_list_new. + M.IsFunction.C "core::fmt::builders::debug_list_new" debug_list_new. Admitted. Global Typeclasses Opaque debug_list_new. @@ -7525,7 +7524,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_entry : M.IsAssociatedFunction.Trait Self "entry" entry. + Global Instance AssociatedFunction_entry : M.IsAssociatedFunction.C Self "entry" entry. Admitted. Global Typeclasses Opaque entry. @@ -7579,7 +7578,7 @@ Module fmt. end. Global Instance AssociatedFunction_entry_with : - M.IsAssociatedFunction.Trait Self "entry_with" entry_with. + M.IsAssociatedFunction.C Self "entry_with" entry_with. Admitted. Global Typeclasses Opaque entry_with. @@ -7729,8 +7728,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_entries : - M.IsAssociatedFunction.Trait Self "entries" entries. + Global Instance AssociatedFunction_entries : M.IsAssociatedFunction.C Self "entries" entries. Admitted. Global Typeclasses Opaque entries. @@ -8224,7 +8222,7 @@ Module fmt. end. Global Instance AssociatedFunction_finish_non_exhaustive : - M.IsAssociatedFunction.Trait Self "finish_non_exhaustive" finish_non_exhaustive. + M.IsAssociatedFunction.C Self "finish_non_exhaustive" finish_non_exhaustive. Admitted. Global Typeclasses Opaque finish_non_exhaustive. @@ -8359,7 +8357,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.Trait Self "finish" finish. + Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.C Self "finish" finish. Admitted. Global Typeclasses Opaque finish. End Impl_core_fmt_builders_DebugList. @@ -8447,7 +8445,7 @@ Module fmt. end. Global Instance Instance_IsFunction_debug_map_new : - M.IsFunction.Trait "core::fmt::builders::debug_map_new" debug_map_new. + M.IsFunction.C "core::fmt::builders::debug_map_new" debug_map_new. Admitted. Global Typeclasses Opaque debug_map_new. @@ -8512,7 +8510,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_entry : M.IsAssociatedFunction.Trait Self "entry" entry. + Global Instance AssociatedFunction_entry : M.IsAssociatedFunction.C Self "entry" entry. Admitted. Global Typeclasses Opaque entry. @@ -8618,7 +8616,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_key : M.IsAssociatedFunction.Trait Self "key" key. + Global Instance AssociatedFunction_key : M.IsAssociatedFunction.C Self "key" key. Admitted. Global Typeclasses Opaque key. @@ -9988,7 +9986,7 @@ Module fmt. end. Global Instance AssociatedFunction_key_with : - M.IsAssociatedFunction.Trait Self "key_with" key_with. + M.IsAssociatedFunction.C Self "key_with" key_with. Admitted. Global Typeclasses Opaque key_with. @@ -10094,7 +10092,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_value : M.IsAssociatedFunction.Trait Self "value" value. + Global Instance AssociatedFunction_value : M.IsAssociatedFunction.C Self "value" value. Admitted. Global Typeclasses Opaque value. @@ -10894,7 +10892,7 @@ Module fmt. end. Global Instance AssociatedFunction_value_with : - M.IsAssociatedFunction.Trait Self "value_with" value_with. + M.IsAssociatedFunction.C Self "value_with" value_with. Admitted. Global Typeclasses Opaque value_with. @@ -11059,8 +11057,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_entries : - M.IsAssociatedFunction.Trait Self "entries" entries. + Global Instance AssociatedFunction_entries : M.IsAssociatedFunction.C Self "entries" entries. Admitted. Global Typeclasses Opaque entries. @@ -11651,7 +11648,7 @@ Module fmt. end. Global Instance AssociatedFunction_finish_non_exhaustive : - M.IsAssociatedFunction.Trait Self "finish_non_exhaustive" finish_non_exhaustive. + M.IsAssociatedFunction.C Self "finish_non_exhaustive" finish_non_exhaustive. Admitted. Global Typeclasses Opaque finish_non_exhaustive. @@ -11854,7 +11851,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.Trait Self "finish" finish. + Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.C Self "finish" finish. Admitted. Global Typeclasses Opaque finish. @@ -11890,7 +11887,7 @@ Module fmt. end. Global Instance AssociatedFunction_is_pretty : - M.IsAssociatedFunction.Trait Self "is_pretty" is_pretty. + M.IsAssociatedFunction.C Self "is_pretty" is_pretty. Admitted. Global Typeclasses Opaque is_pretty. End Impl_core_fmt_builders_DebugMap. @@ -11910,7 +11907,7 @@ Module fmt. end. Global Instance Instance_IsFunction_from_fn : - M.IsFunction.Trait "core::fmt::builders::from_fn" from_fn. + M.IsFunction.C "core::fmt::builders::from_fn" from_fn. Admitted. Global Typeclasses Opaque from_fn. diff --git a/CoqOfRust/core/fmt/float.v b/CoqOfRust/core/fmt/float.v index 683316184..b7bd31671 100644 --- a/CoqOfRust/core/fmt/float.v +++ b/CoqOfRust/core/fmt/float.v @@ -292,7 +292,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_decimal_common_exact : - M.IsFunction.Trait + M.IsFunction.C "core::fmt::float::float_to_decimal_common_exact" float_to_decimal_common_exact. Admitted. @@ -475,7 +475,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_decimal_common_shortest : - M.IsFunction.Trait + M.IsFunction.C "core::fmt::float::float_to_decimal_common_shortest" float_to_decimal_common_shortest. Admitted. @@ -611,7 +611,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_decimal_display : - M.IsFunction.Trait "core::fmt::float::float_to_decimal_display" float_to_decimal_display. + M.IsFunction.C "core::fmt::float::float_to_decimal_display" float_to_decimal_display. Admitted. Global Typeclasses Opaque float_to_decimal_display. @@ -795,7 +795,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_exponential_common_exact : - M.IsFunction.Trait + M.IsFunction.C "core::fmt::float::float_to_exponential_common_exact" float_to_exponential_common_exact. Admitted. @@ -981,7 +981,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_exponential_common_shortest : - M.IsFunction.Trait + M.IsFunction.C "core::fmt::float::float_to_exponential_common_shortest" float_to_exponential_common_shortest. Admitted. @@ -1124,9 +1124,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_exponential_common : - M.IsFunction.Trait - "core::fmt::float::float_to_exponential_common" - float_to_exponential_common. + M.IsFunction.C "core::fmt::float::float_to_exponential_common" float_to_exponential_common. Admitted. Global Typeclasses Opaque float_to_exponential_common. @@ -1331,7 +1329,7 @@ Module fmt. end. Global Instance Instance_IsFunction_float_to_general_debug : - M.IsFunction.Trait "core::fmt::float::float_to_general_debug" float_to_general_debug. + M.IsFunction.C "core::fmt::float::float_to_general_debug" float_to_general_debug. Admitted. Global Typeclasses Opaque float_to_general_debug. diff --git a/CoqOfRust/core/fmt/mod.v b/CoqOfRust/core/fmt/mod.v index 32d0811f3..c0ad9af04 100644 --- a/CoqOfRust/core/fmt/mod.v +++ b/CoqOfRust/core/fmt/mod.v @@ -674,7 +674,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. (* @@ -793,8 +793,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wrap_buf : - M.IsAssociatedFunction.Trait Self "wrap_buf" wrap_buf. + Global Instance AssociatedFunction_wrap_buf : M.IsAssociatedFunction.C Self "wrap_buf" wrap_buf. Admitted. Global Typeclasses Opaque wrap_buf. @@ -2322,7 +2321,7 @@ Module fmt. end. Global Instance AssociatedFunction_pad_integral : - M.IsAssociatedFunction.Trait Self "pad_integral" pad_integral. + M.IsAssociatedFunction.C Self "pad_integral" pad_integral. Admitted. Global Typeclasses Opaque pad_integral. @@ -3045,7 +3044,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pad : M.IsAssociatedFunction.Trait Self "pad" pad. + Global Instance AssociatedFunction_pad : M.IsAssociatedFunction.C Self "pad" pad. Admitted. Global Typeclasses Opaque pad. @@ -3444,8 +3443,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_padding : - M.IsAssociatedFunction.Trait Self "padding" padding. + Global Instance AssociatedFunction_padding : M.IsAssociatedFunction.C Self "padding" padding. Admitted. Global Typeclasses Opaque padding. @@ -4191,7 +4189,7 @@ Module fmt. end. Global Instance AssociatedFunction_pad_formatted_parts : - M.IsAssociatedFunction.Trait Self "pad_formatted_parts" pad_formatted_parts. + M.IsAssociatedFunction.C Self "pad_formatted_parts" pad_formatted_parts. Admitted. Global Typeclasses Opaque pad_formatted_parts. @@ -4560,8 +4558,16 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::fmt::write_formatted_parts::ZEROES" + get_constant (| + "core::fmt::write_formatted_parts::ZEROES", + Ty.apply + (Ty.path "&") + [] + [ + Ty.path + "str" + ] + |) |) |) |) @@ -4658,8 +4664,17 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::fmt::write_formatted_parts::ZEROES" + get_constant (| + "core::fmt::write_formatted_parts::ZEROES", + Ty.apply + (Ty.path + "&") + [] + [ + Ty.path + "str" + ] + |) |) |) |) @@ -4765,8 +4780,16 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::fmt::write_formatted_parts::ZEROES" + get_constant (| + "core::fmt::write_formatted_parts::ZEROES", + Ty.apply + (Ty.path "&") + [] + [ + Ty.path + "str" + ] + |) |) |) |) @@ -4925,8 +4948,17 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::fmt::write_formatted_parts::ZEROES" + get_constant (| + "core::fmt::write_formatted_parts::ZEROES", + Ty.apply + (Ty.path + "&") + [] + [ + Ty.path + "str" + ] + |) |) |) |); @@ -5694,7 +5726,7 @@ Module fmt. end. Global Instance AssociatedFunction_write_formatted_parts : - M.IsAssociatedFunction.Trait Self "write_formatted_parts" write_formatted_parts. + M.IsAssociatedFunction.C Self "write_formatted_parts" write_formatted_parts. Admitted. Global Typeclasses Opaque write_formatted_parts. @@ -5743,7 +5775,7 @@ Module fmt. end. Global Instance AssociatedFunction_write_str : - M.IsAssociatedFunction.Trait Self "write_str" write_str. + M.IsAssociatedFunction.C Self "write_str" write_str. Admitted. Global Typeclasses Opaque write_str. @@ -5861,7 +5893,7 @@ Module fmt. end. Global Instance AssociatedFunction_write_fmt : - M.IsAssociatedFunction.Trait Self "write_fmt" write_fmt. + M.IsAssociatedFunction.C Self "write_fmt" write_fmt. Admitted. Global Typeclasses Opaque write_fmt. @@ -5885,7 +5917,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flags : M.IsAssociatedFunction.Trait Self "flags" flags. + Global Instance AssociatedFunction_flags : M.IsAssociatedFunction.C Self "flags" flags. Admitted. Global Typeclasses Opaque flags. @@ -5909,7 +5941,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_fill : M.IsAssociatedFunction.Trait Self "fill" fill. + Global Instance AssociatedFunction_fill : M.IsAssociatedFunction.C Self "fill" fill. Admitted. Global Typeclasses Opaque fill. @@ -5972,7 +6004,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_align : M.IsAssociatedFunction.Trait Self "align" align. + Global Instance AssociatedFunction_align : M.IsAssociatedFunction.C Self "align" align. Admitted. Global Typeclasses Opaque align. @@ -5996,7 +6028,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_width : M.IsAssociatedFunction.Trait Self "width" width. + Global Instance AssociatedFunction_width : M.IsAssociatedFunction.C Self "width" width. Admitted. Global Typeclasses Opaque width. @@ -6021,7 +6053,7 @@ Module fmt. end. Global Instance AssociatedFunction_precision : - M.IsAssociatedFunction.Trait Self "precision" precision. + M.IsAssociatedFunction.C Self "precision" precision. Admitted. Global Typeclasses Opaque precision. @@ -6054,7 +6086,7 @@ Module fmt. end. Global Instance AssociatedFunction_sign_plus : - M.IsAssociatedFunction.Trait Self "sign_plus" sign_plus. + M.IsAssociatedFunction.C Self "sign_plus" sign_plus. Admitted. Global Typeclasses Opaque sign_plus. @@ -6087,7 +6119,7 @@ Module fmt. end. Global Instance AssociatedFunction_sign_minus : - M.IsAssociatedFunction.Trait Self "sign_minus" sign_minus. + M.IsAssociatedFunction.C Self "sign_minus" sign_minus. Admitted. Global Typeclasses Opaque sign_minus. @@ -6120,7 +6152,7 @@ Module fmt. end. Global Instance AssociatedFunction_alternate : - M.IsAssociatedFunction.Trait Self "alternate" alternate. + M.IsAssociatedFunction.C Self "alternate" alternate. Admitted. Global Typeclasses Opaque alternate. @@ -6153,7 +6185,7 @@ Module fmt. end. Global Instance AssociatedFunction_sign_aware_zero_pad : - M.IsAssociatedFunction.Trait Self "sign_aware_zero_pad" sign_aware_zero_pad. + M.IsAssociatedFunction.C Self "sign_aware_zero_pad" sign_aware_zero_pad. Admitted. Global Typeclasses Opaque sign_aware_zero_pad. @@ -6186,7 +6218,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_lower_hex : - M.IsAssociatedFunction.Trait Self "debug_lower_hex" debug_lower_hex. + M.IsAssociatedFunction.C Self "debug_lower_hex" debug_lower_hex. Admitted. Global Typeclasses Opaque debug_lower_hex. @@ -6219,7 +6251,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_upper_hex : - M.IsAssociatedFunction.Trait Self "debug_upper_hex" debug_upper_hex. + M.IsAssociatedFunction.C Self "debug_upper_hex" debug_upper_hex. Admitted. Global Typeclasses Opaque debug_upper_hex. @@ -6246,7 +6278,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct : - M.IsAssociatedFunction.Trait Self "debug_struct" debug_struct. + M.IsAssociatedFunction.C Self "debug_struct" debug_struct. Admitted. Global Typeclasses Opaque debug_struct. @@ -6323,7 +6355,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct_field1_finish : - M.IsAssociatedFunction.Trait Self "debug_struct_field1_finish" debug_struct_field1_finish. + M.IsAssociatedFunction.C Self "debug_struct_field1_finish" debug_struct_field1_finish. Admitted. Global Typeclasses Opaque debug_struct_field1_finish. @@ -6422,7 +6454,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct_field2_finish : - M.IsAssociatedFunction.Trait Self "debug_struct_field2_finish" debug_struct_field2_finish. + M.IsAssociatedFunction.C Self "debug_struct_field2_finish" debug_struct_field2_finish. Admitted. Global Typeclasses Opaque debug_struct_field2_finish. @@ -6543,7 +6575,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct_field3_finish : - M.IsAssociatedFunction.Trait Self "debug_struct_field3_finish" debug_struct_field3_finish. + M.IsAssociatedFunction.C Self "debug_struct_field3_finish" debug_struct_field3_finish. Admitted. Global Typeclasses Opaque debug_struct_field3_finish. @@ -6686,7 +6718,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct_field4_finish : - M.IsAssociatedFunction.Trait Self "debug_struct_field4_finish" debug_struct_field4_finish. + M.IsAssociatedFunction.C Self "debug_struct_field4_finish" debug_struct_field4_finish. Admitted. Global Typeclasses Opaque debug_struct_field4_finish. @@ -6854,7 +6886,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct_field5_finish : - M.IsAssociatedFunction.Trait Self "debug_struct_field5_finish" debug_struct_field5_finish. + M.IsAssociatedFunction.C Self "debug_struct_field5_finish" debug_struct_field5_finish. Admitted. Global Typeclasses Opaque debug_struct_field5_finish. @@ -7271,7 +7303,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_struct_fields_finish : - M.IsAssociatedFunction.Trait Self "debug_struct_fields_finish" debug_struct_fields_finish. + M.IsAssociatedFunction.C Self "debug_struct_fields_finish" debug_struct_fields_finish. Admitted. Global Typeclasses Opaque debug_struct_fields_finish. @@ -7298,7 +7330,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple : - M.IsAssociatedFunction.Trait Self "debug_tuple" debug_tuple. + M.IsAssociatedFunction.C Self "debug_tuple" debug_tuple. Admitted. Global Typeclasses Opaque debug_tuple. @@ -7368,7 +7400,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple_field1_finish : - M.IsAssociatedFunction.Trait Self "debug_tuple_field1_finish" debug_tuple_field1_finish. + M.IsAssociatedFunction.C Self "debug_tuple_field1_finish" debug_tuple_field1_finish. Admitted. Global Typeclasses Opaque debug_tuple_field1_finish. @@ -7461,7 +7493,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple_field2_finish : - M.IsAssociatedFunction.Trait Self "debug_tuple_field2_finish" debug_tuple_field2_finish. + M.IsAssociatedFunction.C Self "debug_tuple_field2_finish" debug_tuple_field2_finish. Admitted. Global Typeclasses Opaque debug_tuple_field2_finish. @@ -7573,7 +7605,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple_field3_finish : - M.IsAssociatedFunction.Trait Self "debug_tuple_field3_finish" debug_tuple_field3_finish. + M.IsAssociatedFunction.C Self "debug_tuple_field3_finish" debug_tuple_field3_finish. Admitted. Global Typeclasses Opaque debug_tuple_field3_finish. @@ -7704,7 +7736,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple_field4_finish : - M.IsAssociatedFunction.Trait Self "debug_tuple_field4_finish" debug_tuple_field4_finish. + M.IsAssociatedFunction.C Self "debug_tuple_field4_finish" debug_tuple_field4_finish. Admitted. Global Typeclasses Opaque debug_tuple_field4_finish. @@ -7854,7 +7886,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple_field5_finish : - M.IsAssociatedFunction.Trait Self "debug_tuple_field5_finish" debug_tuple_field5_finish. + M.IsAssociatedFunction.C Self "debug_tuple_field5_finish" debug_tuple_field5_finish. Admitted. Global Typeclasses Opaque debug_tuple_field5_finish. @@ -8051,7 +8083,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_tuple_fields_finish : - M.IsAssociatedFunction.Trait Self "debug_tuple_fields_finish" debug_tuple_fields_finish. + M.IsAssociatedFunction.C Self "debug_tuple_fields_finish" debug_tuple_fields_finish. Admitted. Global Typeclasses Opaque debug_tuple_fields_finish. @@ -8074,7 +8106,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_list : - M.IsAssociatedFunction.Trait Self "debug_list" debug_list. + M.IsAssociatedFunction.C Self "debug_list" debug_list. Admitted. Global Typeclasses Opaque debug_list. @@ -8097,7 +8129,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_set : - M.IsAssociatedFunction.Trait Self "debug_set" debug_set. + M.IsAssociatedFunction.C Self "debug_set" debug_set. Admitted. Global Typeclasses Opaque debug_set. @@ -8120,7 +8152,7 @@ Module fmt. end. Global Instance AssociatedFunction_debug_map : - M.IsAssociatedFunction.Trait Self "debug_map" debug_map. + M.IsAssociatedFunction.C Self "debug_map" debug_map. Admitted. Global Typeclasses Opaque debug_map. End Impl_core_fmt_Formatter. @@ -8226,7 +8258,8 @@ Module fmt. ltac:(M.monadic (let pieces := M.alloc (| pieces |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::fmt::new_const_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::fmt::new_const_discriminant", Ty.tuple [] |) in M.alloc (| Value.StructRecord "core::fmt::Arguments" @@ -8245,7 +8278,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_const : - M.IsAssociatedFunction.Trait Self "new_const" new_const. + M.IsAssociatedFunction.C Self "new_const" new_const. Admitted. Global Typeclasses Opaque new_const. @@ -8265,7 +8298,8 @@ Module fmt. (let pieces := M.alloc (| pieces |) in let args := M.alloc (| args |) in M.read (| - let~ _ : Ty.tuple [] := M.get_constant "core::fmt::new_v1_discriminant" in + let~ _ : Ty.tuple [] := + get_constant (| "core::fmt::new_v1_discriminant", Ty.tuple [] |) in M.alloc (| Value.StructRecord "core::fmt::Arguments" @@ -8279,7 +8313,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new_v1 : M.IsAssociatedFunction.Trait Self "new_v1" new_v1. + Global Instance AssociatedFunction_new_v1 : M.IsAssociatedFunction.C Self "new_v1" new_v1. Admitted. Global Typeclasses Opaque new_v1. @@ -8315,7 +8349,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_v1_formatted : - M.IsAssociatedFunction.Trait Self "new_v1_formatted" new_v1_formatted. + M.IsAssociatedFunction.C Self "new_v1_formatted" new_v1_formatted. Admitted. Global Typeclasses Opaque new_v1_formatted. @@ -8660,7 +8694,7 @@ Module fmt. end. Global Instance AssociatedFunction_estimated_capacity : - M.IsAssociatedFunction.Trait Self "estimated_capacity" estimated_capacity. + M.IsAssociatedFunction.C Self "estimated_capacity" estimated_capacity. Admitted. Global Typeclasses Opaque estimated_capacity. (* @@ -8741,7 +8775,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -8820,7 +8854,7 @@ Module fmt. end. Global Instance AssociatedFunction_as_statically_known_str : - M.IsAssociatedFunction.Trait Self "as_statically_known_str" as_statically_known_str. + M.IsAssociatedFunction.C Self "as_statically_known_str" as_statically_known_str. Admitted. Global Typeclasses Opaque as_statically_known_str. End Impl_core_fmt_Arguments. @@ -10404,7 +10438,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_write : M.IsFunction.Trait "core::fmt::write" write. + Global Instance Instance_IsFunction_write : M.IsFunction.C "core::fmt::write" write. Admitted. Global Typeclasses Opaque write. @@ -10661,7 +10695,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_run : M.IsFunction.Trait "core::fmt::run" run. + Global Instance Instance_IsFunction_run : M.IsFunction.C "core::fmt::run" run. Admitted. Global Typeclasses Opaque run. @@ -10807,7 +10841,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_getcount : M.IsFunction.Trait "core::fmt::getcount" getcount. + Global Instance Instance_IsFunction_getcount : M.IsFunction.C "core::fmt::getcount" getcount. Admitted. Global Typeclasses Opaque getcount. @@ -10839,7 +10873,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -11095,7 +11129,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_write : M.IsAssociatedFunction.Trait Self "write" write. + Global Instance AssociatedFunction_write : M.IsAssociatedFunction.C Self "write" write. Admitted. Global Typeclasses Opaque write. End Impl_core_fmt_PostPadding. @@ -14037,7 +14071,13 @@ Module fmt. M.cast (Ty.path "usize") (BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "usize", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 4 |)), Value.Integer IntegerKind.Usize 2 @@ -14127,7 +14167,7 @@ Module fmt. end. Global Instance Instance_IsFunction_pointer_fmt_inner : - M.IsFunction.Trait "core::fmt::pointer_fmt_inner" pointer_fmt_inner. + M.IsFunction.C "core::fmt::pointer_fmt_inner" pointer_fmt_inner. Admitted. Global Typeclasses Opaque pointer_fmt_inner. diff --git a/CoqOfRust/core/fmt/num.v b/CoqOfRust/core/fmt/num.v index 548fb27fa..0429db3f6 100644 --- a/CoqOfRust/core/fmt/num.v +++ b/CoqOfRust/core/fmt/num.v @@ -890,7 +890,11 @@ Module fmt. [], [] |), - [ M.read (| M.get_constant "core::fmt::num::GenericRadix::BASE" |) ] + [ + M.read (| + get_constant (| "core::fmt::num::GenericRadix::BASE", Ty.path "u8" |) + |) + ] |) |) in let~ _ : Ty.tuple [] := @@ -1325,7 +1329,12 @@ Module fmt. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "core::fmt::num::GenericRadix::PREFIX" |) + M.read (| + get_constant (| + "core::fmt::num::GenericRadix::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) |) |); M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| buf |) |) |) @@ -1605,12 +1614,13 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). + Definition value_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0b" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0b" |) |))). (* fn digit(x: u8) -> u8 { @@ -1697,8 +1707,10 @@ Module fmt. M.alloc (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::fmt::num::GenericRadix::BASE" + get_constant (| + "core::fmt::num::GenericRadix::BASE", + Ty.path "u8" + |) |), Value.Integer IntegerKind.U8 1 |) @@ -1748,8 +1760,8 @@ Module fmt. Self (* Instance *) [ - ("value_BASE", InstanceField.Constant value_BASE); - ("value_PREFIX", InstanceField.Constant value_PREFIX); + ("value_BASE", InstanceField.Method value_BASE); + ("value_PREFIX", InstanceField.Method value_PREFIX); ("digit", InstanceField.Method digit) ]. End Impl_core_fmt_num_GenericRadix_for_core_fmt_num_Binary. @@ -1759,12 +1771,13 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 8 |))). + Definition value_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 8 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0o" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0o" |) |))). (* fn digit(x: u8) -> u8 { @@ -1851,8 +1864,10 @@ Module fmt. M.alloc (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::fmt::num::GenericRadix::BASE" + get_constant (| + "core::fmt::num::GenericRadix::BASE", + Ty.path "u8" + |) |), Value.Integer IntegerKind.U8 1 |) @@ -1902,8 +1917,8 @@ Module fmt. Self (* Instance *) [ - ("value_BASE", InstanceField.Constant value_BASE); - ("value_PREFIX", InstanceField.Constant value_PREFIX); + ("value_BASE", InstanceField.Method value_BASE); + ("value_PREFIX", InstanceField.Method value_PREFIX); ("digit", InstanceField.Method digit) ]. End Impl_core_fmt_num_GenericRadix_for_core_fmt_num_Octal. @@ -1913,12 +1928,13 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). + Definition value_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0x" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0x" |) |))). (* fn digit(x: u8) -> u8 { @@ -2014,8 +2030,10 @@ Module fmt. M.alloc (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::fmt::num::GenericRadix::BASE" + get_constant (| + "core::fmt::num::GenericRadix::BASE", + Ty.path "u8" + |) |), Value.Integer IntegerKind.U8 1 |) @@ -2065,8 +2083,8 @@ Module fmt. Self (* Instance *) [ - ("value_BASE", InstanceField.Constant value_BASE); - ("value_PREFIX", InstanceField.Constant value_PREFIX); + ("value_BASE", InstanceField.Method value_BASE); + ("value_PREFIX", InstanceField.Method value_PREFIX); ("digit", InstanceField.Method digit) ]. End Impl_core_fmt_num_GenericRadix_for_core_fmt_num_LowerHex. @@ -2076,12 +2094,13 @@ Module fmt. (* const BASE: u8 = $base; *) (* Ty.path "u8" *) - Definition value_BASE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). + Definition value_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 16 |))). (* const PREFIX: &'static str = $prefix; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0x" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0x" |) |))). (* fn digit(x: u8) -> u8 { @@ -2177,8 +2196,10 @@ Module fmt. M.alloc (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::fmt::num::GenericRadix::BASE" + get_constant (| + "core::fmt::num::GenericRadix::BASE", + Ty.path "u8" + |) |), Value.Integer IntegerKind.U8 1 |) @@ -2228,8 +2249,8 @@ Module fmt. Self (* Instance *) [ - ("value_BASE", InstanceField.Constant value_BASE); - ("value_PREFIX", InstanceField.Constant value_PREFIX); + ("value_BASE", InstanceField.Method value_BASE); + ("value_PREFIX", InstanceField.Method value_PREFIX); ("digit", InstanceField.Method digit) ]. End Impl_core_fmt_num_GenericRadix_for_core_fmt_num_UpperHex. @@ -4586,12 +4607,13 @@ Module fmt. (* Instance *) [ ("fmt", InstanceField.Method fmt) ]. End Impl_core_fmt_UpperHex_for_u128. - Definition value_DEC_DIGITS_LUT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| UnsupportedLiteral |))). + Definition value_DEC_DIGITS_LUT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnsupportedLiteral |))). - Axiom Constant_value_DEC_DIGITS_LUT : - (M.get_constant "core::fmt::num::DEC_DIGITS_LUT") = value_DEC_DIGITS_LUT. - Global Hint Rewrite Constant_value_DEC_DIGITS_LUT : constant_rewrites. + Global Instance Instance_IsConstant_value_DEC_DIGITS_LUT : + M.IsFunction.C "core::fmt::num::DEC_DIGITS_LUT" value_DEC_DIGITS_LUT. + Admitted. + Global Typeclasses Opaque value_DEC_DIGITS_LUT. Module Impl_core_fmt_Debug_for_i8. Definition Self : Ty.t := Ty.path "i8". @@ -6855,7 +6877,9 @@ Module fmt. |) |) in let~ curr : Ty.path "usize" := - M.copy (| M.get_constant "core::fmt::num::imp::_fmt::SIZE" |) in + M.copy (| + get_constant (| "core::fmt::num::imp::_fmt::SIZE", Ty.path "usize" |) + |) in let~ buf_ptr : Ty.apply (Ty.path "*mut") [] [ Ty.path "u8" ] := M.alloc (| M.call_closure (| @@ -6893,7 +6917,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -7364,7 +7406,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.Trait Self "_fmt" _fmt. + Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.C Self "_fmt" _fmt. Admitted. Global Typeclasses Opaque _fmt. End Impl_u8. @@ -7590,7 +7632,9 @@ Module fmt. |) |) in let~ curr : Ty.path "usize" := - M.copy (| M.get_constant "core::fmt::num::imp::_fmt::SIZE" |) in + M.copy (| + get_constant (| "core::fmt::num::imp::_fmt::SIZE", Ty.path "usize" |) + |) in let~ buf_ptr : Ty.apply (Ty.path "*mut") [] [ Ty.path "u8" ] := M.alloc (| M.call_closure (| @@ -7628,7 +7672,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -8099,7 +8161,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.Trait Self "_fmt" _fmt. + Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.C Self "_fmt" _fmt. Admitted. Global Typeclasses Opaque _fmt. End Impl_u16. @@ -8325,7 +8387,9 @@ Module fmt. |) |) in let~ curr : Ty.path "usize" := - M.copy (| M.get_constant "core::fmt::num::imp::_fmt::SIZE" |) in + M.copy (| + get_constant (| "core::fmt::num::imp::_fmt::SIZE", Ty.path "usize" |) + |) in let~ buf_ptr : Ty.apply (Ty.path "*mut") [] [ Ty.path "u8" ] := M.alloc (| M.call_closure (| @@ -8363,7 +8427,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -8834,7 +8916,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.Trait Self "_fmt" _fmt. + Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.C Self "_fmt" _fmt. Admitted. Global Typeclasses Opaque _fmt. End Impl_u32. @@ -9060,7 +9142,9 @@ Module fmt. |) |) in let~ curr : Ty.path "usize" := - M.copy (| M.get_constant "core::fmt::num::imp::_fmt::SIZE" |) in + M.copy (| + get_constant (| "core::fmt::num::imp::_fmt::SIZE", Ty.path "usize" |) + |) in let~ buf_ptr : Ty.apply (Ty.path "*mut") [] [ Ty.path "u8" ] := M.alloc (| M.call_closure (| @@ -9098,7 +9182,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -9569,7 +9671,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.Trait Self "_fmt" _fmt. + Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.C Self "_fmt" _fmt. Admitted. Global Typeclasses Opaque _fmt. End Impl_u64. @@ -9800,7 +9902,9 @@ Module fmt. |) |) in let~ curr : Ty.path "usize" := - M.copy (| M.get_constant "core::fmt::num::imp::_fmt::SIZE" |) in + M.copy (| + get_constant (| "core::fmt::num::imp::_fmt::SIZE", Ty.path "usize" |) + |) in let~ buf_ptr : Ty.apply (Ty.path "*mut") [] [ Ty.path "u8" ] := M.alloc (| M.call_closure (| @@ -9838,7 +9942,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -10309,7 +10431,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.Trait Self "_fmt" _fmt. + Global Instance AssociatedFunction__fmt : M.IsAssociatedFunction.C Self "_fmt" _fmt. Admitted. Global Typeclasses Opaque _fmt. End Impl_usize. @@ -11073,7 +11195,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -11795,7 +11935,7 @@ Module fmt. end. Global Instance Instance_IsFunction_exp_u64 : - M.IsFunction.Trait "core::fmt::num::imp::exp_u64" exp_u64. + M.IsFunction.C "core::fmt::num::imp::exp_u64" exp_u64. Admitted. Global Typeclasses Opaque exp_u64. @@ -14988,7 +15128,25 @@ Module fmt. M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) |) |) |) @@ -15707,7 +15865,7 @@ Module fmt. end. Global Instance Instance_IsFunction_exp_u128 : - M.IsFunction.Trait "core::fmt::num::exp_u128" exp_u128. + M.IsFunction.C "core::fmt::num::exp_u128" exp_u128. Admitted. Global Typeclasses Opaque exp_u128. @@ -16322,7 +16480,27 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.deref (| M.read (| M.get_constant "core::fmt::num::DEC_DIGITS_LUT" |) |) + M.deref (| + M.read (| + get_constant (| + "core::fmt::num::DEC_DIGITS_LUT", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 200 ] + [ Ty.path "u8" ] + ] + ] + |) + |) + |) |) |) |) @@ -17408,7 +17586,7 @@ Module fmt. end. Global Instance Instance_IsFunction_parse_u64_into : - M.IsFunction.Trait "core::fmt::num::parse_u64_into" parse_u64_into. + M.IsFunction.C "core::fmt::num::parse_u64_into" parse_u64_into. Admitted. Global Typeclasses Opaque parse_u64_into. @@ -18104,7 +18282,7 @@ Module fmt. end. Global Instance Instance_IsFunction_fmt_u128 : - M.IsFunction.Trait "core::fmt::num::fmt_u128" fmt_u128. + M.IsFunction.C "core::fmt::num::fmt_u128" fmt_u128. Admitted. Global Typeclasses Opaque fmt_u128. @@ -18161,7 +18339,9 @@ Module fmt. Value.Integer IntegerKind.I32 19 |)), BinOp.Wrap.shr (| - M.read (| M.get_constant "core::fmt::num::udiv_1e19::DIV" |), + M.read (| + get_constant (| "core::fmt::num::udiv_1e19::DIV", Ty.path "u64" |) + |), Value.Integer IntegerKind.I32 19 |) |)) @@ -18175,7 +18355,12 @@ Module fmt. M.get_function (| "core::fmt::num::u128_mulhi", [], [] |), [ M.read (| n |); - M.read (| M.get_constant "core::fmt::num::udiv_1e19::FACTOR" |) + M.read (| + get_constant (| + "core::fmt::num::udiv_1e19::FACTOR", + Ty.path "u128" + |) + |) ] |), Value.Integer IntegerKind.I32 62 @@ -18194,7 +18379,9 @@ Module fmt. M.read (| quot |), M.cast (Ty.path "u128") - (M.read (| M.get_constant "core::fmt::num::udiv_1e19::DIV" |)) + (M.read (| + get_constant (| "core::fmt::num::udiv_1e19::DIV", Ty.path "u64" |) + |)) |) |)) |) in @@ -18204,26 +18391,27 @@ Module fmt. end. Global Instance Instance_IsFunction_udiv_1e19 : - M.IsFunction.Trait "core::fmt::num::udiv_1e19" udiv_1e19. + M.IsFunction.C "core::fmt::num::udiv_1e19" udiv_1e19. Admitted. Global Typeclasses Opaque udiv_1e19. Module udiv_1e19. - Definition value_DIV : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.cast (Ty.path "u64") (M.read (| UnsupportedLiteral |)) |))). + Definition value_DIV (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| M.cast (Ty.path "u64") (M.read (| UnsupportedLiteral |)) |))). - Axiom Constant_value_DIV : (M.get_constant "core::fmt::num::udiv_1e19::DIV") = value_DIV. - Global Hint Rewrite Constant_value_DIV : constant_rewrites. + Global Instance Instance_IsConstant_value_DIV : + M.IsFunction.C "core::fmt::num::udiv_1e19::DIV" value_DIV. + Admitted. + Global Typeclasses Opaque value_DIV. - Definition value_FACTOR : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| Value.Integer IntegerKind.U128 156927543384667019095894735580191660403 |))). + Definition value_FACTOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U128 156927543384667019095894735580191660403 |))). - Axiom Constant_value_FACTOR : - (M.get_constant "core::fmt::num::udiv_1e19::FACTOR") = value_FACTOR. - Global Hint Rewrite Constant_value_FACTOR : constant_rewrites. + Global Instance Instance_IsConstant_value_FACTOR : + M.IsFunction.C "core::fmt::num::udiv_1e19::FACTOR" value_FACTOR. + Admitted. + Global Typeclasses Opaque value_FACTOR. End udiv_1e19. (* @@ -18318,7 +18506,7 @@ Module fmt. end. Global Instance Instance_IsFunction_u128_mulhi : - M.IsFunction.Trait "core::fmt::num::u128_mulhi" u128_mulhi. + M.IsFunction.C "core::fmt::num::u128_mulhi" u128_mulhi. Admitted. Global Typeclasses Opaque u128_mulhi. End num. diff --git a/CoqOfRust/core/fmt/rt.v b/CoqOfRust/core/fmt/rt.v index d1a64f7cd..c7655b93d 100644 --- a/CoqOfRust/core/fmt/rt.v +++ b/CoqOfRust/core/fmt/rt.v @@ -133,7 +133,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_fmt_rt_Placeholder. @@ -697,7 +697,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -725,7 +725,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_display : - M.IsAssociatedFunction.Trait Self "new_display" new_display. + M.IsAssociatedFunction.C Self "new_display" new_display. Admitted. Global Typeclasses Opaque new_display. @@ -753,7 +753,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_debug : - M.IsAssociatedFunction.Trait Self "new_debug" new_debug. + M.IsAssociatedFunction.C Self "new_debug" new_debug. Admitted. Global Typeclasses Opaque new_debug. @@ -837,7 +837,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_debug_noop : - M.IsAssociatedFunction.Trait Self "new_debug_noop" new_debug_noop. + M.IsAssociatedFunction.C Self "new_debug_noop" new_debug_noop. Admitted. Global Typeclasses Opaque new_debug_noop. @@ -865,7 +865,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_octal : - M.IsAssociatedFunction.Trait Self "new_octal" new_octal. + M.IsAssociatedFunction.C Self "new_octal" new_octal. Admitted. Global Typeclasses Opaque new_octal. @@ -893,7 +893,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_lower_hex : - M.IsAssociatedFunction.Trait Self "new_lower_hex" new_lower_hex. + M.IsAssociatedFunction.C Self "new_lower_hex" new_lower_hex. Admitted. Global Typeclasses Opaque new_lower_hex. @@ -921,7 +921,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_upper_hex : - M.IsAssociatedFunction.Trait Self "new_upper_hex" new_upper_hex. + M.IsAssociatedFunction.C Self "new_upper_hex" new_upper_hex. Admitted. Global Typeclasses Opaque new_upper_hex. @@ -949,7 +949,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_pointer : - M.IsAssociatedFunction.Trait Self "new_pointer" new_pointer. + M.IsAssociatedFunction.C Self "new_pointer" new_pointer. Admitted. Global Typeclasses Opaque new_pointer. @@ -977,7 +977,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_binary : - M.IsAssociatedFunction.Trait Self "new_binary" new_binary. + M.IsAssociatedFunction.C Self "new_binary" new_binary. Admitted. Global Typeclasses Opaque new_binary. @@ -1005,7 +1005,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_lower_exp : - M.IsAssociatedFunction.Trait Self "new_lower_exp" new_lower_exp. + M.IsAssociatedFunction.C Self "new_lower_exp" new_lower_exp. Admitted. Global Typeclasses Opaque new_lower_exp. @@ -1033,7 +1033,7 @@ Module fmt. end. Global Instance AssociatedFunction_new_upper_exp : - M.IsAssociatedFunction.Trait Self "new_upper_exp" new_upper_exp. + M.IsAssociatedFunction.C Self "new_upper_exp" new_upper_exp. Admitted. Global Typeclasses Opaque new_upper_exp. @@ -1059,7 +1059,7 @@ Module fmt. end. Global Instance AssociatedFunction_from_usize : - M.IsAssociatedFunction.Trait Self "from_usize" from_usize. + M.IsAssociatedFunction.C Self "from_usize" from_usize. Admitted. Global Typeclasses Opaque from_usize. @@ -1150,7 +1150,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_fmt : M.IsAssociatedFunction.Trait Self "fmt" fmt. + Global Instance AssociatedFunction_fmt : M.IsAssociatedFunction.C Self "fmt" fmt. Admitted. Global Typeclasses Opaque fmt. @@ -1200,7 +1200,7 @@ Module fmt. end. Global Instance AssociatedFunction_as_usize : - M.IsAssociatedFunction.Trait Self "as_usize" as_usize. + M.IsAssociatedFunction.C Self "as_usize" as_usize. Admitted. Global Typeclasses Opaque as_usize. @@ -1215,7 +1215,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_none : M.IsAssociatedFunction.Trait Self "none" none. + Global Instance AssociatedFunction_none : M.IsAssociatedFunction.C Self "none" none. Admitted. Global Typeclasses Opaque none. End Impl_core_fmt_rt_Argument. @@ -1244,7 +1244,7 @@ Module fmt. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_fmt_rt_UnsafeArg. diff --git a/CoqOfRust/core/future/async_drop.v b/CoqOfRust/core/future/async_drop.v index 778b7eba4..d9e1e7bfe 100644 --- a/CoqOfRust/core/future/async_drop.v +++ b/CoqOfRust/core/future/async_drop.v @@ -34,7 +34,7 @@ Module future. end. Global Instance Instance_IsFunction_async_drop : - M.IsFunction.Trait "core::future::async_drop::async_drop" async_drop. + M.IsFunction.C "core::future::async_drop::async_drop" async_drop. Admitted. Global Typeclasses Opaque async_drop. @@ -385,9 +385,7 @@ Module future. end. Global Instance Instance_IsFunction_async_drop_in_place_raw : - M.IsFunction.Trait - "core::future::async_drop::async_drop_in_place_raw" - async_drop_in_place_raw. + M.IsFunction.C "core::future::async_drop::async_drop_in_place_raw" async_drop_in_place_raw. Admitted. Global Typeclasses Opaque async_drop_in_place_raw. @@ -420,7 +418,7 @@ Module future. end. Global Instance Instance_IsFunction_async_drop_in_place : - M.IsFunction.Trait "core::future::async_drop::async_drop_in_place" async_drop_in_place. + M.IsFunction.C "core::future::async_drop::async_drop_in_place" async_drop_in_place. Admitted. Global Typeclasses Opaque async_drop_in_place. @@ -916,7 +914,7 @@ Module future. end. Global Instance Instance_IsFunction_surface_async_drop_in_place : - M.IsFunction.Trait + M.IsFunction.C "core::future::async_drop::surface_async_drop_in_place" surface_async_drop_in_place. Admitted. @@ -997,7 +995,7 @@ Module future. end. Global Instance Instance_IsFunction_surface_drop_in_place : - M.IsFunction.Trait "core::future::async_drop::surface_drop_in_place" surface_drop_in_place. + M.IsFunction.C "core::future::async_drop::surface_drop_in_place" surface_drop_in_place. Admitted. Global Typeclasses Opaque surface_drop_in_place. @@ -1025,8 +1023,7 @@ Module future. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fuse : - M.IsFunction.Trait "core::future::async_drop::fuse" fuse. + Global Instance Instance_IsFunction_fuse : M.IsFunction.C "core::future::async_drop::fuse" fuse. Admitted. Global Typeclasses Opaque fuse. @@ -1628,7 +1625,7 @@ Module future. end. Global Instance Instance_IsFunction_slice : - M.IsFunction.Trait "core::future::async_drop::slice" slice. + M.IsFunction.C "core::future::async_drop::slice" slice. Admitted. Global Typeclasses Opaque slice. @@ -2024,7 +2021,7 @@ Module future. end. Global Instance Instance_IsFunction_chain : - M.IsFunction.Trait "core::future::async_drop::chain" chain. + M.IsFunction.C "core::future::async_drop::chain" chain. Admitted. Global Typeclasses Opaque chain. @@ -2255,7 +2252,7 @@ Module future. end. Global Instance Instance_IsFunction_defer : - M.IsFunction.Trait "core::future::async_drop::defer" defer. + M.IsFunction.C "core::future::async_drop::defer" defer. Admitted. Global Typeclasses Opaque defer. @@ -2759,7 +2756,7 @@ Module future. end. Global Instance Instance_IsFunction_either : - M.IsFunction.Trait "core::future::async_drop::either" either. + M.IsFunction.C "core::future::async_drop::either" either. Admitted. Global Typeclasses Opaque either. @@ -2825,7 +2822,7 @@ Module future. end. Global Instance Instance_IsFunction_deferred_drop_in_place : - M.IsFunction.Trait "core::future::async_drop::deferred_drop_in_place" deferred_drop_in_place. + M.IsFunction.C "core::future::async_drop::deferred_drop_in_place" deferred_drop_in_place. Admitted. Global Typeclasses Opaque deferred_drop_in_place. @@ -2882,8 +2879,7 @@ Module future. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_noop : - M.IsFunction.Trait "core::future::async_drop::noop" noop. + Global Instance Instance_IsFunction_noop : M.IsFunction.C "core::future::async_drop::noop" noop. Admitted. Global Typeclasses Opaque noop. diff --git a/CoqOfRust/core/future/join.v b/CoqOfRust/core/future/join.v index a8d3d1ba5..8cc3d3db6 100644 --- a/CoqOfRust/core/future/join.v +++ b/CoqOfRust/core/future/join.v @@ -130,7 +130,7 @@ Module future. Global Instance AssociatedFunction_take_output : forall (F : Ty.t), - M.IsAssociatedFunction.Trait (Self F) "take_output" (take_output F). + M.IsAssociatedFunction.C (Self F) "take_output" (take_output F). Admitted. Global Typeclasses Opaque take_output. End Impl_core_future_join_MaybeDone_F. diff --git a/CoqOfRust/core/future/mod.v b/CoqOfRust/core/future/mod.v index 5a1d6c52c..e732bc41d 100644 --- a/CoqOfRust/core/future/mod.v +++ b/CoqOfRust/core/future/mod.v @@ -204,7 +204,7 @@ Module future. end. Global Instance Instance_IsFunction_get_context : - M.IsFunction.Trait "core::future::get_context" get_context. + M.IsFunction.C "core::future::get_context" get_context. Admitted. Global Typeclasses Opaque get_context. End future. diff --git a/CoqOfRust/core/future/pending.v b/CoqOfRust/core/future/pending.v index 5974ed796..513e4061e 100644 --- a/CoqOfRust/core/future/pending.v +++ b/CoqOfRust/core/future/pending.v @@ -28,7 +28,7 @@ Module future. end. Global Instance Instance_IsFunction_pending : - M.IsFunction.Trait "core::future::pending::pending" pending. + M.IsFunction.C "core::future::pending::pending" pending. Admitted. Global Typeclasses Opaque pending. diff --git a/CoqOfRust/core/future/poll_fn.v b/CoqOfRust/core/future/poll_fn.v index 5903a50d9..58a68b88d 100644 --- a/CoqOfRust/core/future/poll_fn.v +++ b/CoqOfRust/core/future/poll_fn.v @@ -21,7 +21,7 @@ Module future. end. Global Instance Instance_IsFunction_poll_fn : - M.IsFunction.Trait "core::future::poll_fn::poll_fn" poll_fn. + M.IsFunction.C "core::future::poll_fn::poll_fn" poll_fn. Admitted. Global Typeclasses Opaque poll_fn. diff --git a/CoqOfRust/core/future/ready.v b/CoqOfRust/core/future/ready.v index 976c89e07..c703447f6 100644 --- a/CoqOfRust/core/future/ready.v +++ b/CoqOfRust/core/future/ready.v @@ -268,7 +268,7 @@ Module future. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. End Impl_core_future_ready_Ready_T. @@ -289,8 +289,7 @@ Module future. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ready : - M.IsFunction.Trait "core::future::ready::ready" ready. + Global Instance Instance_IsFunction_ready : M.IsFunction.C "core::future::ready::ready" ready. Admitted. Global Typeclasses Opaque ready. End ready. diff --git a/CoqOfRust/core/hash/mod.v b/CoqOfRust/core/hash/mod.v index 407737166..1c27ce774 100644 --- a/CoqOfRust/core/hash/mod.v +++ b/CoqOfRust/core/hash/mod.v @@ -1073,7 +1073,7 @@ Module hash. Global Instance AssociatedFunction_new : forall (H : Ty.t), - M.IsAssociatedFunction.Trait (Self H) "new" (new H). + M.IsAssociatedFunction.C (Self H) "new" (new H). Admitted. Global Typeclasses Opaque new. End Impl_core_hash_BuildHasherDefault_H. diff --git a/CoqOfRust/core/hash/sip.v b/CoqOfRust/core/hash/sip.v index c9e6a99d9..950e09f48 100644 --- a/CoqOfRust/core/hash/sip.v +++ b/CoqOfRust/core/hash/sip.v @@ -1493,7 +1493,7 @@ Module hash. end. Global Instance Instance_IsFunction_u8to64_le : - M.IsFunction.Trait "core::hash::sip::u8to64_le" u8to64_le. + M.IsFunction.C "core::hash::sip::u8to64_le" u8to64_le. Admitted. Global Typeclasses Opaque u8to64_le. @@ -1522,7 +1522,7 @@ Module hash. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1566,7 +1566,7 @@ Module hash. end. Global Instance AssociatedFunction_new_with_keys : - M.IsAssociatedFunction.Trait Self "new_with_keys" new_with_keys. + M.IsAssociatedFunction.C Self "new_with_keys" new_with_keys. Admitted. Global Typeclasses Opaque new_with_keys. End Impl_core_hash_sip_SipHasher. @@ -1596,7 +1596,7 @@ Module hash. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1636,7 +1636,7 @@ Module hash. end. Global Instance AssociatedFunction_new_with_keys : - M.IsAssociatedFunction.Trait Self "new_with_keys" new_with_keys. + M.IsAssociatedFunction.C Self "new_with_keys" new_with_keys. Admitted. Global Typeclasses Opaque new_with_keys. End Impl_core_hash_sip_SipHasher13. @@ -1714,7 +1714,7 @@ Module hash. Global Instance AssociatedFunction_new_with_keys : forall (S : Ty.t), - M.IsAssociatedFunction.Trait (Self S) "new_with_keys" (new_with_keys S). + M.IsAssociatedFunction.C (Self S) "new_with_keys" (new_with_keys S). Admitted. Global Typeclasses Opaque new_with_keys. @@ -1856,7 +1856,7 @@ Module hash. Global Instance AssociatedFunction_reset : forall (S : Ty.t), - M.IsAssociatedFunction.Trait (Self S) "reset" (reset S). + M.IsAssociatedFunction.C (Self S) "reset" (reset S). Admitted. Global Typeclasses Opaque reset. End Impl_core_hash_sip_Hasher_S. diff --git a/CoqOfRust/core/hint.v b/CoqOfRust/core/hint.v index d38fb9726..082a3e83e 100644 --- a/CoqOfRust/core/hint.v +++ b/CoqOfRust/core/hint.v @@ -64,7 +64,7 @@ Module hint. end. Global Instance Instance_IsFunction_unreachable_unchecked : - M.IsFunction.Trait "core::hint::unreachable_unchecked" unreachable_unchecked. + M.IsFunction.C "core::hint::unreachable_unchecked" unreachable_unchecked. Admitted. Global Typeclasses Opaque unreachable_unchecked. @@ -134,7 +134,7 @@ Module hint. end. Global Instance Instance_IsFunction_assert_unchecked : - M.IsFunction.Trait "core::hint::assert_unchecked" assert_unchecked. + M.IsFunction.C "core::hint::assert_unchecked" assert_unchecked. Admitted. Global Typeclasses Opaque assert_unchecked. @@ -194,8 +194,7 @@ Module hint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_spin_loop : - M.IsFunction.Trait "core::hint::spin_loop" spin_loop. + Global Instance Instance_IsFunction_spin_loop : M.IsFunction.C "core::hint::spin_loop" spin_loop. Admitted. Global Typeclasses Opaque spin_loop. @@ -217,8 +216,7 @@ Module hint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_black_box : - M.IsFunction.Trait "core::hint::black_box" black_box. + Global Instance Instance_IsFunction_black_box : M.IsFunction.C "core::hint::black_box" black_box. Admitted. Global Typeclasses Opaque black_box. @@ -236,7 +234,7 @@ Module hint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_must_use : M.IsFunction.Trait "core::hint::must_use" must_use. + Global Instance Instance_IsFunction_must_use : M.IsFunction.C "core::hint::must_use" must_use. Admitted. Global Typeclasses Opaque must_use. End hint. diff --git a/CoqOfRust/core/intrinsics.v b/CoqOfRust/core/intrinsics.v deleted file mode 100644 index a2e52faa6..000000000 --- a/CoqOfRust/core/intrinsics.v +++ /dev/null @@ -1,2556 +0,0 @@ -(* Generated by coq-of-rust *) -Require Import CoqOfRust.CoqOfRust. - -Module intrinsics. - (* - pub unsafe fn drop_in_place(to_drop: *mut T) { - // SAFETY: see `ptr::drop_in_place` - unsafe { crate::ptr::drop_in_place(to_drop) } - } - *) - Definition drop_in_place (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ to_drop ] => - ltac:(M.monadic - (let to_drop := M.alloc (| to_drop |) in - M.call_closure (| - Ty.tuple [], - M.get_function (| "core::ptr::drop_in_place", [], [ T ] |), - [ M.read (| to_drop |) ] - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_drop_in_place : - M.IsFunction.Trait "core::intrinsics::drop_in_place" drop_in_place. - Admitted. - Global Typeclasses Opaque drop_in_place. - - Parameter atomic_cxchg_relaxed_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_relaxed_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_relaxed_relaxed" - atomic_cxchg_relaxed_relaxed. - Admitted. - - Parameter atomic_cxchg_relaxed_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_relaxed_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_relaxed_acquire" - atomic_cxchg_relaxed_acquire. - Admitted. - - Parameter atomic_cxchg_relaxed_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_relaxed_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_relaxed_seqcst" atomic_cxchg_relaxed_seqcst. - Admitted. - - Parameter atomic_cxchg_acquire_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_acquire_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_acquire_relaxed" - atomic_cxchg_acquire_relaxed. - Admitted. - - Parameter atomic_cxchg_acquire_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_acquire_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_acquire_acquire" - atomic_cxchg_acquire_acquire. - Admitted. - - Parameter atomic_cxchg_acquire_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_acquire_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acquire_seqcst" atomic_cxchg_acquire_seqcst. - Admitted. - - Parameter atomic_cxchg_release_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_release_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_release_relaxed" - atomic_cxchg_release_relaxed. - Admitted. - - Parameter atomic_cxchg_release_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_release_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_release_acquire" - atomic_cxchg_release_acquire. - Admitted. - - Parameter atomic_cxchg_release_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_release_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_release_seqcst" atomic_cxchg_release_seqcst. - Admitted. - - Parameter atomic_cxchg_acqrel_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_acqrel_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acqrel_relaxed" atomic_cxchg_acqrel_relaxed. - Admitted. - - Parameter atomic_cxchg_acqrel_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_acqrel_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acqrel_acquire" atomic_cxchg_acqrel_acquire. - Admitted. - - Parameter atomic_cxchg_acqrel_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_acqrel_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acqrel_seqcst" atomic_cxchg_acqrel_seqcst. - Admitted. - - Parameter atomic_cxchg_seqcst_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_seqcst_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_seqcst_relaxed" atomic_cxchg_seqcst_relaxed. - Admitted. - - Parameter atomic_cxchg_seqcst_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_seqcst_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_seqcst_acquire" atomic_cxchg_seqcst_acquire. - Admitted. - - Parameter atomic_cxchg_seqcst_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchg_seqcst_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_seqcst_seqcst" atomic_cxchg_seqcst_seqcst. - Admitted. - - Parameter atomic_cxchgweak_relaxed_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_relaxed_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_relaxed_relaxed" - atomic_cxchgweak_relaxed_relaxed. - Admitted. - - Parameter atomic_cxchgweak_relaxed_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_relaxed_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_relaxed_acquire" - atomic_cxchgweak_relaxed_acquire. - Admitted. - - Parameter atomic_cxchgweak_relaxed_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_relaxed_seqcst : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_relaxed_seqcst" - atomic_cxchgweak_relaxed_seqcst. - Admitted. - - Parameter atomic_cxchgweak_acquire_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_acquire_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_acquire_relaxed" - atomic_cxchgweak_acquire_relaxed. - Admitted. - - Parameter atomic_cxchgweak_acquire_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_acquire_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_acquire_acquire" - atomic_cxchgweak_acquire_acquire. - Admitted. - - Parameter atomic_cxchgweak_acquire_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_acquire_seqcst : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_acquire_seqcst" - atomic_cxchgweak_acquire_seqcst. - Admitted. - - Parameter atomic_cxchgweak_release_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_release_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_release_relaxed" - atomic_cxchgweak_release_relaxed. - Admitted. - - Parameter atomic_cxchgweak_release_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_release_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_release_acquire" - atomic_cxchgweak_release_acquire. - Admitted. - - Parameter atomic_cxchgweak_release_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_release_seqcst : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_release_seqcst" - atomic_cxchgweak_release_seqcst. - Admitted. - - Parameter atomic_cxchgweak_acqrel_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_acqrel_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_acqrel_relaxed" - atomic_cxchgweak_acqrel_relaxed. - Admitted. - - Parameter atomic_cxchgweak_acqrel_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_acqrel_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_acqrel_acquire" - atomic_cxchgweak_acqrel_acquire. - Admitted. - - Parameter atomic_cxchgweak_acqrel_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_acqrel_seqcst : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_acqrel_seqcst" - atomic_cxchgweak_acqrel_seqcst. - Admitted. - - Parameter atomic_cxchgweak_seqcst_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_seqcst_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_seqcst_relaxed" - atomic_cxchgweak_seqcst_relaxed. - Admitted. - - Parameter atomic_cxchgweak_seqcst_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_seqcst_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_seqcst_acquire" - atomic_cxchgweak_seqcst_acquire. - Admitted. - - Parameter atomic_cxchgweak_seqcst_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_cxchgweak_seqcst_seqcst : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchgweak_seqcst_seqcst" - atomic_cxchgweak_seqcst_seqcst. - Admitted. - - Parameter atomic_load_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_load_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_load_seqcst" atomic_load_seqcst. - Admitted. - - Parameter atomic_load_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_load_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_load_acquire" atomic_load_acquire. - Admitted. - - Parameter atomic_load_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_load_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_load_relaxed" atomic_load_relaxed. - Admitted. - - Parameter atomic_load_unordered : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_load_unordered : - M.IsFunction.Trait "core::intrinsics::atomic_load_unordered" atomic_load_unordered. - Admitted. - - Parameter atomic_store_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_store_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_store_seqcst" atomic_store_seqcst. - Admitted. - - Parameter atomic_store_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_store_release : - M.IsFunction.Trait "core::intrinsics::atomic_store_release" atomic_store_release. - Admitted. - - Parameter atomic_store_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_store_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_store_relaxed" atomic_store_relaxed. - Admitted. - - Parameter atomic_store_unordered : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_store_unordered : - M.IsFunction.Trait "core::intrinsics::atomic_store_unordered" atomic_store_unordered. - Admitted. - - Parameter atomic_xchg_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xchg_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_seqcst" atomic_xchg_seqcst. - Admitted. - - Parameter atomic_xchg_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xchg_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_acquire" atomic_xchg_acquire. - Admitted. - - Parameter atomic_xchg_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xchg_release : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_release" atomic_xchg_release. - Admitted. - - Parameter atomic_xchg_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xchg_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_acqrel" atomic_xchg_acqrel. - Admitted. - - Parameter atomic_xchg_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xchg_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_relaxed" atomic_xchg_relaxed. - Admitted. - - Parameter atomic_xadd_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xadd_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_seqcst" atomic_xadd_seqcst. - Admitted. - - Parameter atomic_xadd_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xadd_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_acquire" atomic_xadd_acquire. - Admitted. - - Parameter atomic_xadd_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xadd_release : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_release" atomic_xadd_release. - Admitted. - - Parameter atomic_xadd_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xadd_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_acqrel" atomic_xadd_acqrel. - Admitted. - - Parameter atomic_xadd_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xadd_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_relaxed" atomic_xadd_relaxed. - Admitted. - - Parameter atomic_xsub_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xsub_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_seqcst" atomic_xsub_seqcst. - Admitted. - - Parameter atomic_xsub_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xsub_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_acquire" atomic_xsub_acquire. - Admitted. - - Parameter atomic_xsub_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xsub_release : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_release" atomic_xsub_release. - Admitted. - - Parameter atomic_xsub_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xsub_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_acqrel" atomic_xsub_acqrel. - Admitted. - - Parameter atomic_xsub_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xsub_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_relaxed" atomic_xsub_relaxed. - Admitted. - - Parameter atomic_and_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_and_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_and_seqcst" atomic_and_seqcst. - Admitted. - - Parameter atomic_and_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_and_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_and_acquire" atomic_and_acquire. - Admitted. - - Parameter atomic_and_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_and_release : - M.IsFunction.Trait "core::intrinsics::atomic_and_release" atomic_and_release. - Admitted. - - Parameter atomic_and_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_and_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_and_acqrel" atomic_and_acqrel. - Admitted. - - Parameter atomic_and_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_and_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_and_relaxed" atomic_and_relaxed. - Admitted. - - Parameter atomic_nand_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_nand_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_nand_seqcst" atomic_nand_seqcst. - Admitted. - - Parameter atomic_nand_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_nand_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_nand_acquire" atomic_nand_acquire. - Admitted. - - Parameter atomic_nand_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_nand_release : - M.IsFunction.Trait "core::intrinsics::atomic_nand_release" atomic_nand_release. - Admitted. - - Parameter atomic_nand_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_nand_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_nand_acqrel" atomic_nand_acqrel. - Admitted. - - Parameter atomic_nand_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_nand_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_nand_relaxed" atomic_nand_relaxed. - Admitted. - - Parameter atomic_or_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_or_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_or_seqcst" atomic_or_seqcst. - Admitted. - - Parameter atomic_or_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_or_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_or_acquire" atomic_or_acquire. - Admitted. - - Parameter atomic_or_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_or_release : - M.IsFunction.Trait "core::intrinsics::atomic_or_release" atomic_or_release. - Admitted. - - Parameter atomic_or_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_or_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_or_acqrel" atomic_or_acqrel. - Admitted. - - Parameter atomic_or_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_or_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_or_relaxed" atomic_or_relaxed. - Admitted. - - Parameter atomic_xor_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xor_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xor_seqcst" atomic_xor_seqcst. - Admitted. - - Parameter atomic_xor_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xor_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xor_acquire" atomic_xor_acquire. - Admitted. - - Parameter atomic_xor_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xor_release : - M.IsFunction.Trait "core::intrinsics::atomic_xor_release" atomic_xor_release. - Admitted. - - Parameter atomic_xor_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xor_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xor_acqrel" atomic_xor_acqrel. - Admitted. - - Parameter atomic_xor_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_xor_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xor_relaxed" atomic_xor_relaxed. - Admitted. - - Parameter atomic_max_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_max_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_max_seqcst" atomic_max_seqcst. - Admitted. - - Parameter atomic_max_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_max_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_max_acquire" atomic_max_acquire. - Admitted. - - Parameter atomic_max_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_max_release : - M.IsFunction.Trait "core::intrinsics::atomic_max_release" atomic_max_release. - Admitted. - - Parameter atomic_max_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_max_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_max_acqrel" atomic_max_acqrel. - Admitted. - - Parameter atomic_max_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_max_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_max_relaxed" atomic_max_relaxed. - Admitted. - - Parameter atomic_min_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_min_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_min_seqcst" atomic_min_seqcst. - Admitted. - - Parameter atomic_min_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_min_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_min_acquire" atomic_min_acquire. - Admitted. - - Parameter atomic_min_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_min_release : - M.IsFunction.Trait "core::intrinsics::atomic_min_release" atomic_min_release. - Admitted. - - Parameter atomic_min_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_min_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_min_acqrel" atomic_min_acqrel. - Admitted. - - Parameter atomic_min_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_min_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_min_relaxed" atomic_min_relaxed. - Admitted. - - Parameter atomic_umin_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umin_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_umin_seqcst" atomic_umin_seqcst. - Admitted. - - Parameter atomic_umin_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umin_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_umin_acquire" atomic_umin_acquire. - Admitted. - - Parameter atomic_umin_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umin_release : - M.IsFunction.Trait "core::intrinsics::atomic_umin_release" atomic_umin_release. - Admitted. - - Parameter atomic_umin_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umin_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_umin_acqrel" atomic_umin_acqrel. - Admitted. - - Parameter atomic_umin_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umin_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_umin_relaxed" atomic_umin_relaxed. - Admitted. - - Parameter atomic_umax_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umax_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_umax_seqcst" atomic_umax_seqcst. - Admitted. - - Parameter atomic_umax_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umax_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_umax_acquire" atomic_umax_acquire. - Admitted. - - Parameter atomic_umax_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umax_release : - M.IsFunction.Trait "core::intrinsics::atomic_umax_release" atomic_umax_release. - Admitted. - - Parameter atomic_umax_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umax_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_umax_acqrel" atomic_umax_acqrel. - Admitted. - - Parameter atomic_umax_relaxed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_umax_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_umax_relaxed" atomic_umax_relaxed. - Admitted. - - Parameter atomic_fence_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_fence_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_fence_seqcst" atomic_fence_seqcst. - Admitted. - - Parameter atomic_fence_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_fence_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_fence_acquire" atomic_fence_acquire. - Admitted. - - Parameter atomic_fence_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_fence_release : - M.IsFunction.Trait "core::intrinsics::atomic_fence_release" atomic_fence_release. - Admitted. - - Parameter atomic_fence_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_fence_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_fence_acqrel" atomic_fence_acqrel. - Admitted. - - Parameter atomic_singlethreadfence_seqcst : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_singlethreadfence_seqcst : - M.IsFunction.Trait - "core::intrinsics::atomic_singlethreadfence_seqcst" - atomic_singlethreadfence_seqcst. - Admitted. - - Parameter atomic_singlethreadfence_acquire : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_singlethreadfence_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_singlethreadfence_acquire" - atomic_singlethreadfence_acquire. - Admitted. - - Parameter atomic_singlethreadfence_release : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_singlethreadfence_release : - M.IsFunction.Trait - "core::intrinsics::atomic_singlethreadfence_release" - atomic_singlethreadfence_release. - Admitted. - - Parameter atomic_singlethreadfence_acqrel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_atomic_singlethreadfence_acqrel : - M.IsFunction.Trait - "core::intrinsics::atomic_singlethreadfence_acqrel" - atomic_singlethreadfence_acqrel. - Admitted. - - Parameter prefetch_read_data : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_prefetch_read_data : - M.IsFunction.Trait "core::intrinsics::prefetch_read_data" prefetch_read_data. - Admitted. - - Parameter prefetch_write_data : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_prefetch_write_data : - M.IsFunction.Trait "core::intrinsics::prefetch_write_data" prefetch_write_data. - Admitted. - - Parameter prefetch_read_instruction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_prefetch_read_instruction : - M.IsFunction.Trait "core::intrinsics::prefetch_read_instruction" prefetch_read_instruction. - Admitted. - - Parameter prefetch_write_instruction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_prefetch_write_instruction : - M.IsFunction.Trait "core::intrinsics::prefetch_write_instruction" prefetch_write_instruction. - Admitted. - - Parameter rustc_peek : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rustc_peek : - M.IsFunction.Trait "core::intrinsics::rustc_peek" rustc_peek. - Admitted. - - Parameter abort : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_abort : M.IsFunction.Trait "core::intrinsics::abort" abort. - Admitted. - - Parameter unreachable : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unreachable : - M.IsFunction.Trait "core::intrinsics::unreachable" unreachable. - Admitted. - - (* - pub const unsafe fn assume(b: bool) { - if !b { - // SAFETY: the caller must guarantee the argument is never `false` - unsafe { unreachable() } - } - } - *) - Definition assume (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ b ] => - ltac:(M.monadic - (let b := M.alloc (| b |) in - M.read (| - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.use (M.alloc (| UnOp.not (| M.read (| b |) |) |)) in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::intrinsics::unreachable", [], [] |), - [] - |) - |) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_assume : M.IsFunction.Trait "core::intrinsics::assume" assume. - Admitted. - Global Typeclasses Opaque assume. - - (* - pub const fn likely(b: bool) -> bool { - b - } - *) - Definition likely (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ b ] => - ltac:(M.monadic - (let b := M.alloc (| b |) in - M.read (| b |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_likely : M.IsFunction.Trait "core::intrinsics::likely" likely. - Admitted. - Global Typeclasses Opaque likely. - - (* - pub const fn unlikely(b: bool) -> bool { - b - } - *) - Definition unlikely (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ b ] => - ltac:(M.monadic - (let b := M.alloc (| b |) in - M.read (| b |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_unlikely : - M.IsFunction.Trait "core::intrinsics::unlikely" unlikely. - Admitted. - Global Typeclasses Opaque unlikely. - - (* - pub fn select_unpredictable(b: bool, true_val: T, false_val: T) -> T { - if b { true_val } else { false_val } - } - *) - Definition select_unpredictable (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ b; true_val; false_val ] => - ltac:(M.monadic - (let b := M.alloc (| b |) in - let true_val := M.alloc (| true_val |) in - let false_val := M.alloc (| false_val |) in - M.read (| - M.match_operator (| - Some T, - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := M.use b in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - true_val)); - fun γ => ltac:(M.monadic false_val) - ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_select_unpredictable : - M.IsFunction.Trait "core::intrinsics::select_unpredictable" select_unpredictable. - Admitted. - Global Typeclasses Opaque select_unpredictable. - - Parameter breakpoint : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_breakpoint : - M.IsFunction.Trait "core::intrinsics::breakpoint" breakpoint. - Admitted. - - Parameter assert_inhabited : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_assert_inhabited : - M.IsFunction.Trait "core::intrinsics::assert_inhabited" assert_inhabited. - Admitted. - - Parameter assert_zero_valid : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_assert_zero_valid : - M.IsFunction.Trait "core::intrinsics::assert_zero_valid" assert_zero_valid. - Admitted. - - Parameter assert_mem_uninitialized_valid : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_assert_mem_uninitialized_valid : - M.IsFunction.Trait - "core::intrinsics::assert_mem_uninitialized_valid" - assert_mem_uninitialized_valid. - Admitted. - - Parameter caller_location : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_caller_location : - M.IsFunction.Trait "core::intrinsics::caller_location" caller_location. - Admitted. - - Parameter forget : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_forget : M.IsFunction.Trait "core::intrinsics::forget" forget. - Admitted. - - Parameter transmute : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_transmute : - M.IsFunction.Trait "core::intrinsics::transmute" transmute. - Admitted. - - Parameter transmute_unchecked : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_transmute_unchecked : - M.IsFunction.Trait "core::intrinsics::transmute_unchecked" transmute_unchecked. - Admitted. - - Parameter needs_drop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_needs_drop : - M.IsFunction.Trait "core::intrinsics::needs_drop" needs_drop. - Admitted. - - Parameter offset : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_offset : M.IsFunction.Trait "core::intrinsics::offset" offset. - Admitted. - - Parameter arith_offset : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_arith_offset : - M.IsFunction.Trait "core::intrinsics::arith_offset" arith_offset. - Admitted. - - Parameter ptr_mask : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ptr_mask : - M.IsFunction.Trait "core::intrinsics::ptr_mask" ptr_mask. - Admitted. - - Parameter volatile_copy_nonoverlapping_memory : - (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_volatile_copy_nonoverlapping_memory : - M.IsFunction.Trait - "core::intrinsics::volatile_copy_nonoverlapping_memory" - volatile_copy_nonoverlapping_memory. - Admitted. - - Parameter volatile_copy_memory : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_volatile_copy_memory : - M.IsFunction.Trait "core::intrinsics::volatile_copy_memory" volatile_copy_memory. - Admitted. - - Parameter volatile_set_memory : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_volatile_set_memory : - M.IsFunction.Trait "core::intrinsics::volatile_set_memory" volatile_set_memory. - Admitted. - - Parameter volatile_load : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_volatile_load : - M.IsFunction.Trait "core::intrinsics::volatile_load" volatile_load. - Admitted. - - Parameter volatile_store : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_volatile_store : - M.IsFunction.Trait "core::intrinsics::volatile_store" volatile_store. - Admitted. - - Parameter unaligned_volatile_load : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unaligned_volatile_load : - M.IsFunction.Trait "core::intrinsics::unaligned_volatile_load" unaligned_volatile_load. - Admitted. - - Parameter unaligned_volatile_store : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unaligned_volatile_store : - M.IsFunction.Trait "core::intrinsics::unaligned_volatile_store" unaligned_volatile_store. - Admitted. - - Parameter sqrtf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sqrtf16 : - M.IsFunction.Trait "core::intrinsics::sqrtf16" sqrtf16. - Admitted. - - Parameter sqrtf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sqrtf32 : - M.IsFunction.Trait "core::intrinsics::sqrtf32" sqrtf32. - Admitted. - - Parameter sqrtf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sqrtf64 : - M.IsFunction.Trait "core::intrinsics::sqrtf64" sqrtf64. - Admitted. - - Parameter sqrtf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sqrtf128 : - M.IsFunction.Trait "core::intrinsics::sqrtf128" sqrtf128. - Admitted. - - Parameter powif16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powif16 : - M.IsFunction.Trait "core::intrinsics::powif16" powif16. - Admitted. - - Parameter powif32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powif32 : - M.IsFunction.Trait "core::intrinsics::powif32" powif32. - Admitted. - - Parameter powif64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powif64 : - M.IsFunction.Trait "core::intrinsics::powif64" powif64. - Admitted. - - Parameter powif128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powif128 : - M.IsFunction.Trait "core::intrinsics::powif128" powif128. - Admitted. - - Parameter sinf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sinf16 : M.IsFunction.Trait "core::intrinsics::sinf16" sinf16. - Admitted. - - Parameter sinf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sinf32 : M.IsFunction.Trait "core::intrinsics::sinf32" sinf32. - Admitted. - - Parameter sinf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sinf64 : M.IsFunction.Trait "core::intrinsics::sinf64" sinf64. - Admitted. - - Parameter sinf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sinf128 : - M.IsFunction.Trait "core::intrinsics::sinf128" sinf128. - Admitted. - - Parameter cosf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_cosf16 : M.IsFunction.Trait "core::intrinsics::cosf16" cosf16. - Admitted. - - Parameter cosf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_cosf32 : M.IsFunction.Trait "core::intrinsics::cosf32" cosf32. - Admitted. - - Parameter cosf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_cosf64 : M.IsFunction.Trait "core::intrinsics::cosf64" cosf64. - Admitted. - - Parameter cosf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_cosf128 : - M.IsFunction.Trait "core::intrinsics::cosf128" cosf128. - Admitted. - - Parameter powf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powf16 : M.IsFunction.Trait "core::intrinsics::powf16" powf16. - Admitted. - - Parameter powf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powf32 : M.IsFunction.Trait "core::intrinsics::powf32" powf32. - Admitted. - - Parameter powf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powf64 : M.IsFunction.Trait "core::intrinsics::powf64" powf64. - Admitted. - - Parameter powf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_powf128 : - M.IsFunction.Trait "core::intrinsics::powf128" powf128. - Admitted. - - Parameter expf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_expf16 : M.IsFunction.Trait "core::intrinsics::expf16" expf16. - Admitted. - - Parameter expf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_expf32 : M.IsFunction.Trait "core::intrinsics::expf32" expf32. - Admitted. - - Parameter expf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_expf64 : M.IsFunction.Trait "core::intrinsics::expf64" expf64. - Admitted. - - Parameter expf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_expf128 : - M.IsFunction.Trait "core::intrinsics::expf128" expf128. - Admitted. - - Parameter exp2f16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_exp2f16 : - M.IsFunction.Trait "core::intrinsics::exp2f16" exp2f16. - Admitted. - - Parameter exp2f32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_exp2f32 : - M.IsFunction.Trait "core::intrinsics::exp2f32" exp2f32. - Admitted. - - Parameter exp2f64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_exp2f64 : - M.IsFunction.Trait "core::intrinsics::exp2f64" exp2f64. - Admitted. - - Parameter exp2f128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_exp2f128 : - M.IsFunction.Trait "core::intrinsics::exp2f128" exp2f128. - Admitted. - - Parameter logf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_logf16 : M.IsFunction.Trait "core::intrinsics::logf16" logf16. - Admitted. - - Parameter logf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_logf32 : M.IsFunction.Trait "core::intrinsics::logf32" logf32. - Admitted. - - Parameter logf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_logf64 : M.IsFunction.Trait "core::intrinsics::logf64" logf64. - Admitted. - - Parameter logf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_logf128 : - M.IsFunction.Trait "core::intrinsics::logf128" logf128. - Admitted. - - Parameter log10f16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log10f16 : - M.IsFunction.Trait "core::intrinsics::log10f16" log10f16. - Admitted. - - Parameter log10f32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log10f32 : - M.IsFunction.Trait "core::intrinsics::log10f32" log10f32. - Admitted. - - Parameter log10f64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log10f64 : - M.IsFunction.Trait "core::intrinsics::log10f64" log10f64. - Admitted. - - Parameter log10f128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log10f128 : - M.IsFunction.Trait "core::intrinsics::log10f128" log10f128. - Admitted. - - Parameter log2f16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log2f16 : - M.IsFunction.Trait "core::intrinsics::log2f16" log2f16. - Admitted. - - Parameter log2f32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log2f32 : - M.IsFunction.Trait "core::intrinsics::log2f32" log2f32. - Admitted. - - Parameter log2f64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log2f64 : - M.IsFunction.Trait "core::intrinsics::log2f64" log2f64. - Admitted. - - Parameter log2f128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_log2f128 : - M.IsFunction.Trait "core::intrinsics::log2f128" log2f128. - Admitted. - - Parameter fmaf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fmaf16 : M.IsFunction.Trait "core::intrinsics::fmaf16" fmaf16. - Admitted. - - Parameter fmaf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fmaf32 : M.IsFunction.Trait "core::intrinsics::fmaf32" fmaf32. - Admitted. - - Parameter fmaf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fmaf64 : M.IsFunction.Trait "core::intrinsics::fmaf64" fmaf64. - Admitted. - - Parameter fmaf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fmaf128 : - M.IsFunction.Trait "core::intrinsics::fmaf128" fmaf128. - Admitted. - - Parameter fabsf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fabsf16 : - M.IsFunction.Trait "core::intrinsics::fabsf16" fabsf16. - Admitted. - - Parameter fabsf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fabsf32 : - M.IsFunction.Trait "core::intrinsics::fabsf32" fabsf32. - Admitted. - - Parameter fabsf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fabsf64 : - M.IsFunction.Trait "core::intrinsics::fabsf64" fabsf64. - Admitted. - - Parameter fabsf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fabsf128 : - M.IsFunction.Trait "core::intrinsics::fabsf128" fabsf128. - Admitted. - - Parameter minnumf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_minnumf16 : - M.IsFunction.Trait "core::intrinsics::minnumf16" minnumf16. - Admitted. - - Parameter minnumf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_minnumf32 : - M.IsFunction.Trait "core::intrinsics::minnumf32" minnumf32. - Admitted. - - Parameter minnumf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_minnumf64 : - M.IsFunction.Trait "core::intrinsics::minnumf64" minnumf64. - Admitted. - - Parameter minnumf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_minnumf128 : - M.IsFunction.Trait "core::intrinsics::minnumf128" minnumf128. - Admitted. - - Parameter maxnumf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_maxnumf16 : - M.IsFunction.Trait "core::intrinsics::maxnumf16" maxnumf16. - Admitted. - - Parameter maxnumf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_maxnumf32 : - M.IsFunction.Trait "core::intrinsics::maxnumf32" maxnumf32. - Admitted. - - Parameter maxnumf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_maxnumf64 : - M.IsFunction.Trait "core::intrinsics::maxnumf64" maxnumf64. - Admitted. - - Parameter maxnumf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_maxnumf128 : - M.IsFunction.Trait "core::intrinsics::maxnumf128" maxnumf128. - Admitted. - - Parameter copysignf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_copysignf16 : - M.IsFunction.Trait "core::intrinsics::copysignf16" copysignf16. - Admitted. - - Parameter copysignf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_copysignf32 : - M.IsFunction.Trait "core::intrinsics::copysignf32" copysignf32. - Admitted. - - Parameter copysignf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_copysignf64 : - M.IsFunction.Trait "core::intrinsics::copysignf64" copysignf64. - Admitted. - - Parameter copysignf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_copysignf128 : - M.IsFunction.Trait "core::intrinsics::copysignf128" copysignf128. - Admitted. - - Parameter floorf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_floorf16 : - M.IsFunction.Trait "core::intrinsics::floorf16" floorf16. - Admitted. - - Parameter floorf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_floorf32 : - M.IsFunction.Trait "core::intrinsics::floorf32" floorf32. - Admitted. - - Parameter floorf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_floorf64 : - M.IsFunction.Trait "core::intrinsics::floorf64" floorf64. - Admitted. - - Parameter floorf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_floorf128 : - M.IsFunction.Trait "core::intrinsics::floorf128" floorf128. - Admitted. - - Parameter ceilf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ceilf16 : - M.IsFunction.Trait "core::intrinsics::ceilf16" ceilf16. - Admitted. - - Parameter ceilf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ceilf32 : - M.IsFunction.Trait "core::intrinsics::ceilf32" ceilf32. - Admitted. - - Parameter ceilf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ceilf64 : - M.IsFunction.Trait "core::intrinsics::ceilf64" ceilf64. - Admitted. - - Parameter ceilf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ceilf128 : - M.IsFunction.Trait "core::intrinsics::ceilf128" ceilf128. - Admitted. - - Parameter truncf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_truncf16 : - M.IsFunction.Trait "core::intrinsics::truncf16" truncf16. - Admitted. - - Parameter truncf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_truncf32 : - M.IsFunction.Trait "core::intrinsics::truncf32" truncf32. - Admitted. - - Parameter truncf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_truncf64 : - M.IsFunction.Trait "core::intrinsics::truncf64" truncf64. - Admitted. - - Parameter truncf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_truncf128 : - M.IsFunction.Trait "core::intrinsics::truncf128" truncf128. - Admitted. - - Parameter rintf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rintf16 : - M.IsFunction.Trait "core::intrinsics::rintf16" rintf16. - Admitted. - - Parameter rintf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rintf32 : - M.IsFunction.Trait "core::intrinsics::rintf32" rintf32. - Admitted. - - Parameter rintf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rintf64 : - M.IsFunction.Trait "core::intrinsics::rintf64" rintf64. - Admitted. - - Parameter rintf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rintf128 : - M.IsFunction.Trait "core::intrinsics::rintf128" rintf128. - Admitted. - - Parameter nearbyintf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_nearbyintf16 : - M.IsFunction.Trait "core::intrinsics::nearbyintf16" nearbyintf16. - Admitted. - - Parameter nearbyintf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_nearbyintf32 : - M.IsFunction.Trait "core::intrinsics::nearbyintf32" nearbyintf32. - Admitted. - - Parameter nearbyintf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_nearbyintf64 : - M.IsFunction.Trait "core::intrinsics::nearbyintf64" nearbyintf64. - Admitted. - - Parameter nearbyintf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_nearbyintf128 : - M.IsFunction.Trait "core::intrinsics::nearbyintf128" nearbyintf128. - Admitted. - - Parameter roundf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundf16 : - M.IsFunction.Trait "core::intrinsics::roundf16" roundf16. - Admitted. - - Parameter roundf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundf32 : - M.IsFunction.Trait "core::intrinsics::roundf32" roundf32. - Admitted. - - Parameter roundf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundf64 : - M.IsFunction.Trait "core::intrinsics::roundf64" roundf64. - Admitted. - - Parameter roundf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundf128 : - M.IsFunction.Trait "core::intrinsics::roundf128" roundf128. - Admitted. - - Parameter roundevenf16 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundevenf16 : - M.IsFunction.Trait "core::intrinsics::roundevenf16" roundevenf16. - Admitted. - - Parameter roundevenf32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundevenf32 : - M.IsFunction.Trait "core::intrinsics::roundevenf32" roundevenf32. - Admitted. - - Parameter roundevenf64 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundevenf64 : - M.IsFunction.Trait "core::intrinsics::roundevenf64" roundevenf64. - Admitted. - - Parameter roundevenf128 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_roundevenf128 : - M.IsFunction.Trait "core::intrinsics::roundevenf128" roundevenf128. - Admitted. - - Parameter fadd_fast : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fadd_fast : - M.IsFunction.Trait "core::intrinsics::fadd_fast" fadd_fast. - Admitted. - - Parameter fsub_fast : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fsub_fast : - M.IsFunction.Trait "core::intrinsics::fsub_fast" fsub_fast. - Admitted. - - Parameter fmul_fast : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fmul_fast : - M.IsFunction.Trait "core::intrinsics::fmul_fast" fmul_fast. - Admitted. - - Parameter fdiv_fast : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fdiv_fast : - M.IsFunction.Trait "core::intrinsics::fdiv_fast" fdiv_fast. - Admitted. - - Parameter frem_fast : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_frem_fast : - M.IsFunction.Trait "core::intrinsics::frem_fast" frem_fast. - Admitted. - - Parameter fadd_algebraic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fadd_algebraic : - M.IsFunction.Trait "core::intrinsics::fadd_algebraic" fadd_algebraic. - Admitted. - - Parameter fsub_algebraic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fsub_algebraic : - M.IsFunction.Trait "core::intrinsics::fsub_algebraic" fsub_algebraic. - Admitted. - - Parameter fmul_algebraic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fmul_algebraic : - M.IsFunction.Trait "core::intrinsics::fmul_algebraic" fmul_algebraic. - Admitted. - - Parameter fdiv_algebraic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_fdiv_algebraic : - M.IsFunction.Trait "core::intrinsics::fdiv_algebraic" fdiv_algebraic. - Admitted. - - Parameter frem_algebraic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_frem_algebraic : - M.IsFunction.Trait "core::intrinsics::frem_algebraic" frem_algebraic. - Admitted. - - Parameter float_to_int_unchecked : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_float_to_int_unchecked : - M.IsFunction.Trait "core::intrinsics::float_to_int_unchecked" float_to_int_unchecked. - Admitted. - - Parameter ctpop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ctpop : M.IsFunction.Trait "core::intrinsics::ctpop" ctpop. - Admitted. - - Parameter ctlz : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ctlz : M.IsFunction.Trait "core::intrinsics::ctlz" ctlz. - Admitted. - - Parameter ctlz_nonzero : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ctlz_nonzero : - M.IsFunction.Trait "core::intrinsics::ctlz_nonzero" ctlz_nonzero. - Admitted. - - Parameter cttz : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_cttz : M.IsFunction.Trait "core::intrinsics::cttz" cttz. - Admitted. - - Parameter cttz_nonzero : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_cttz_nonzero : - M.IsFunction.Trait "core::intrinsics::cttz_nonzero" cttz_nonzero. - Admitted. - - Parameter bswap : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_bswap : M.IsFunction.Trait "core::intrinsics::bswap" bswap. - Admitted. - - Parameter bitreverse : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_bitreverse : - M.IsFunction.Trait "core::intrinsics::bitreverse" bitreverse. - Admitted. - - Parameter three_way_compare : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_three_way_compare : - M.IsFunction.Trait "core::intrinsics::three_way_compare" three_way_compare. - Admitted. - - Parameter add_with_overflow : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_add_with_overflow : - M.IsFunction.Trait "core::intrinsics::add_with_overflow" add_with_overflow. - Admitted. - - Parameter sub_with_overflow : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_sub_with_overflow : - M.IsFunction.Trait "core::intrinsics::sub_with_overflow" sub_with_overflow. - Admitted. - - Parameter mul_with_overflow : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_mul_with_overflow : - M.IsFunction.Trait "core::intrinsics::mul_with_overflow" mul_with_overflow. - Admitted. - - Parameter exact_div : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_exact_div : - M.IsFunction.Trait "core::intrinsics::exact_div" exact_div. - Admitted. - - Parameter unchecked_div : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_div : - M.IsFunction.Trait "core::intrinsics::unchecked_div" unchecked_div. - Admitted. - - Parameter unchecked_rem : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_rem : - M.IsFunction.Trait "core::intrinsics::unchecked_rem" unchecked_rem. - Admitted. - - Parameter unchecked_shl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_shl : - M.IsFunction.Trait "core::intrinsics::unchecked_shl" unchecked_shl. - Admitted. - - Parameter unchecked_shr : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_shr : - M.IsFunction.Trait "core::intrinsics::unchecked_shr" unchecked_shr. - Admitted. - - Parameter unchecked_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_add : - M.IsFunction.Trait "core::intrinsics::unchecked_add" unchecked_add. - Admitted. - - Parameter unchecked_sub : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_sub : - M.IsFunction.Trait "core::intrinsics::unchecked_sub" unchecked_sub. - Admitted. - - Parameter unchecked_mul : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_unchecked_mul : - M.IsFunction.Trait "core::intrinsics::unchecked_mul" unchecked_mul. - Admitted. - - Parameter rotate_left : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rotate_left : - M.IsFunction.Trait "core::intrinsics::rotate_left" rotate_left. - Admitted. - - Parameter rotate_right : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_rotate_right : - M.IsFunction.Trait "core::intrinsics::rotate_right" rotate_right. - Admitted. - - Parameter wrapping_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_wrapping_add : - M.IsFunction.Trait "core::intrinsics::wrapping_add" wrapping_add. - Admitted. - - Parameter wrapping_sub : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_wrapping_sub : - M.IsFunction.Trait "core::intrinsics::wrapping_sub" wrapping_sub. - Admitted. - - Parameter wrapping_mul : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_wrapping_mul : - M.IsFunction.Trait "core::intrinsics::wrapping_mul" wrapping_mul. - Admitted. - - Parameter saturating_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_saturating_add : - M.IsFunction.Trait "core::intrinsics::saturating_add" saturating_add. - Admitted. - - Parameter saturating_sub : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_saturating_sub : - M.IsFunction.Trait "core::intrinsics::saturating_sub" saturating_sub. - Admitted. - - Parameter read_via_copy : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_read_via_copy : - M.IsFunction.Trait "core::intrinsics::read_via_copy" read_via_copy. - Admitted. - - Parameter write_via_move : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_write_via_move : - M.IsFunction.Trait "core::intrinsics::write_via_move" write_via_move. - Admitted. - - Parameter discriminant_value : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_discriminant_value : - M.IsFunction.Trait "core::intrinsics::discriminant_value" discriminant_value. - Admitted. - - Parameter catch_unwind : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_catch_unwind : - M.IsFunction.Trait "core::intrinsics::catch_unwind" catch_unwind. - Admitted. - - Parameter nontemporal_store : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_nontemporal_store : - M.IsFunction.Trait "core::intrinsics::nontemporal_store" nontemporal_store. - Admitted. - - Parameter ptr_offset_from : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ptr_offset_from : - M.IsFunction.Trait "core::intrinsics::ptr_offset_from" ptr_offset_from. - Admitted. - - Parameter ptr_offset_from_unsigned : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_ptr_offset_from_unsigned : - M.IsFunction.Trait "core::intrinsics::ptr_offset_from_unsigned" ptr_offset_from_unsigned. - Admitted. - - (* - pub const fn ptr_guaranteed_cmp(ptr: *const T, other: *const T) -> u8 { - (ptr == other) as u8 - } - *) - Definition ptr_guaranteed_cmp (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ ptr; other ] => - ltac:(M.monadic - (let ptr := M.alloc (| ptr |) in - let other := M.alloc (| other |) in - M.cast (Ty.path "u8") (BinOp.eq (| M.read (| ptr |), M.read (| other |) |)))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_ptr_guaranteed_cmp : - M.IsFunction.Trait "core::intrinsics::ptr_guaranteed_cmp" ptr_guaranteed_cmp. - Admitted. - Global Typeclasses Opaque ptr_guaranteed_cmp. - - Parameter raw_eq : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_raw_eq : M.IsFunction.Trait "core::intrinsics::raw_eq" raw_eq. - Admitted. - - Parameter compare_bytes : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_compare_bytes : - M.IsFunction.Trait "core::intrinsics::compare_bytes" compare_bytes. - Admitted. - - Parameter black_box : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_black_box : - M.IsFunction.Trait "core::intrinsics::black_box" black_box. - Admitted. - - (* - pub const fn const_eval_select( - _arg: ARG, - _called_in_const: F, - _called_at_rt: G, - ) -> RET - where - G: FnOnce, - F: FnOnce, - { - unreachable!() - } - *) - Definition const_eval_select (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ ARG; F; G; RET ], [ _arg; _called_in_const; _called_at_rt ] => - ltac:(M.monadic - (let _arg := M.alloc (| _arg |) in - let _called_in_const := M.alloc (| _called_in_const |) in - let _called_at_rt := M.alloc (| _called_at_rt |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_const_eval_select : - M.IsFunction.Trait "core::intrinsics::const_eval_select" const_eval_select. - Admitted. - Global Typeclasses Opaque const_eval_select. - - (* - pub const fn is_val_statically_known(_arg: T) -> bool { - false - } - *) - Definition is_val_statically_known (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ _arg ] => - ltac:(M.monadic - (let _arg := M.alloc (| _arg |) in - Value.Bool false)) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_is_val_statically_known : - M.IsFunction.Trait "core::intrinsics::is_val_statically_known" is_val_statically_known. - Admitted. - Global Typeclasses Opaque is_val_statically_known. - - (* - pub const unsafe fn typed_swap(x: *mut T, y: *mut T) { - // SAFETY: The caller provided single non-overlapping items behind - // pointers, so swapping them with `count: 1` is fine. - unsafe { ptr::swap_nonoverlapping(x, y, 1) }; - } - *) - Definition typed_swap (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ x; y ] => - ltac:(M.monadic - (let x := M.alloc (| x |) in - let y := M.alloc (| y |) in - M.read (| - let~ _ : Ty.tuple [] := - M.call_closure (| - Ty.tuple [], - M.get_function (| "core::ptr::swap_nonoverlapping", [], [ T ] |), - [ M.read (| x |); M.read (| y |); Value.Integer IntegerKind.Usize 1 ] - |) in - M.alloc (| Value.Tuple [] |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_typed_swap : - M.IsFunction.Trait "core::intrinsics::typed_swap" typed_swap. - Admitted. - Global Typeclasses Opaque typed_swap. - - (* - pub const fn ub_checks() -> bool { - cfg!(ub_checks) - } - *) - Definition ub_checks (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [] => ltac:(M.monadic (Value.Bool true)) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_ub_checks : - M.IsFunction.Trait "core::intrinsics::ub_checks" ub_checks. - Admitted. - Global Typeclasses Opaque ub_checks. - - (* - pub const unsafe fn const_allocate(_size: usize, _align: usize) -> *mut u8 { - // const eval overrides this function, but runtime code for now just returns null pointers. - // See . - crate::ptr::null_mut() - } - *) - Definition const_allocate (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ _size; _align ] => - ltac:(M.monadic - (let _size := M.alloc (| _size |) in - let _align := M.alloc (| _align |) in - M.call_closure (| - Ty.apply (Ty.path "*mut") [] [ Ty.path "u8" ], - M.get_function (| "core::ptr::null_mut", [], [ Ty.path "u8" ] |), - [] - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_const_allocate : - M.IsFunction.Trait "core::intrinsics::const_allocate" const_allocate. - Admitted. - Global Typeclasses Opaque const_allocate. - - (* - pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize) { - // Runtime NOP - } - *) - Definition const_deallocate (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ _ptr; _size; _align ] => - ltac:(M.monadic - (let _ptr := M.alloc (| _ptr |) in - let _size := M.alloc (| _size |) in - let _align := M.alloc (| _align |) in - Value.Tuple [])) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_const_deallocate : - M.IsFunction.Trait "core::intrinsics::const_deallocate" const_deallocate. - Admitted. - Global Typeclasses Opaque const_deallocate. - - (* - pub unsafe fn vtable_size(_ptr: *const ()) -> usize { - unreachable!() - } - *) - Definition vtable_size (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ _ptr ] => - ltac:(M.monadic - (let _ptr := M.alloc (| _ptr |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_vtable_size : - M.IsFunction.Trait "core::intrinsics::vtable_size" vtable_size. - Admitted. - Global Typeclasses Opaque vtable_size. - - (* - pub unsafe fn vtable_align(_ptr: *const ()) -> usize { - unreachable!() - } - *) - Definition vtable_align (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [], [ _ptr ] => - ltac:(M.monadic - (let _ptr := M.alloc (| _ptr |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_vtable_align : - M.IsFunction.Trait "core::intrinsics::vtable_align" vtable_align. - Admitted. - Global Typeclasses Opaque vtable_align. - - (* - pub const fn size_of() -> usize { - unreachable!() - } - *) - Definition size_of (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [] => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_size_of : - M.IsFunction.Trait "core::intrinsics::size_of" size_of. - Admitted. - Global Typeclasses Opaque size_of. - - (* - pub const fn min_align_of() -> usize { - unreachable!() - } - *) - Definition min_align_of (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [] => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_min_align_of : - M.IsFunction.Trait "core::intrinsics::min_align_of" min_align_of. - Admitted. - Global Typeclasses Opaque min_align_of. - - (* - pub const unsafe fn pref_align_of() -> usize { - unreachable!() - } - *) - Definition pref_align_of (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [] => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_pref_align_of : - M.IsFunction.Trait "core::intrinsics::pref_align_of" pref_align_of. - Admitted. - Global Typeclasses Opaque pref_align_of. - - (* - pub const fn variant_count() -> usize { - unreachable!() - } - *) - Definition variant_count (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [] => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_variant_count : - M.IsFunction.Trait "core::intrinsics::variant_count" variant_count. - Admitted. - Global Typeclasses Opaque variant_count. - - (* - pub const unsafe fn size_of_val(_ptr: *const T) -> usize { - unreachable!() - } - *) - Definition size_of_val (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ _ptr ] => - ltac:(M.monadic - (let _ptr := M.alloc (| _ptr |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_size_of_val : - M.IsFunction.Trait "core::intrinsics::size_of_val" size_of_val. - Admitted. - Global Typeclasses Opaque size_of_val. - - (* - pub const unsafe fn min_align_of_val(_ptr: *const T) -> usize { - unreachable!() - } - *) - Definition min_align_of_val (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ _ptr ] => - ltac:(M.monadic - (let _ptr := M.alloc (| _ptr |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_min_align_of_val : - M.IsFunction.Trait "core::intrinsics::min_align_of_val" min_align_of_val. - Admitted. - Global Typeclasses Opaque min_align_of_val. - - (* - pub const fn type_name() -> &'static str { - unreachable!() - } - *) - Definition type_name (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [] => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_type_name : - M.IsFunction.Trait "core::intrinsics::type_name" type_name. - Admitted. - Global Typeclasses Opaque type_name. - - (* - pub const fn type_id() -> u128 { - unreachable!() - } - *) - Definition type_id (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [] => - ltac:(M.monadic - (M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_type_id : - M.IsFunction.Trait "core::intrinsics::type_id" type_id. - Admitted. - Global Typeclasses Opaque type_id. - - (* - pub const fn aggregate_raw_ptr, D, M>(_data: D, _meta: M) -> P { - // To implement a fallback we'd have to assume the layout of the pointer, - // but the whole point of this intrinsic is that we shouldn't do that. - unreachable!() - } - *) - Definition aggregate_raw_ptr (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ P; D; M_ ], [ _data; _meta ] => - ltac:(M.monadic - (let _data := M.alloc (| _data |) in - let _meta := M.alloc (| _meta |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_aggregate_raw_ptr : - M.IsFunction.Trait "core::intrinsics::aggregate_raw_ptr" aggregate_raw_ptr. - Admitted. - Global Typeclasses Opaque aggregate_raw_ptr. - - (* Trait *) - (* Empty module 'AggregateRawPtr' *) - - Module Impl_core_intrinsics_AggregateRawPtr_where_core_marker_Sized_P_where_core_ptr_metadata_Thin_T_pointer_const_T_for_pointer_const_P. - Definition Self (P T : Ty.t) : Ty.t := Ty.apply (Ty.path "*const") [] [ P ]. - - (* type Metadata =

::Metadata; *) - Definition _Metadata (P T : Ty.t) : Ty.t := - Ty.associated_in_trait "core::ptr::metadata::Pointee" [] [] P "Metadata". - - Axiom Implements : - forall (P T : Ty.t), - M.IsTraitInstance - "core::intrinsics::AggregateRawPtr" - (* Trait polymorphic consts *) [] - (* Trait polymorphic types *) [ Ty.apply (Ty.path "*const") [] [ T ] ] - (Self P T) - (* Instance *) [ ("Metadata", InstanceField.Ty (_Metadata P T)) ]. - End Impl_core_intrinsics_AggregateRawPtr_where_core_marker_Sized_P_where_core_ptr_metadata_Thin_T_pointer_const_T_for_pointer_const_P. - - Module Impl_core_intrinsics_AggregateRawPtr_where_core_marker_Sized_P_where_core_ptr_metadata_Thin_T_pointer_mut_T_for_pointer_mut_P. - Definition Self (P T : Ty.t) : Ty.t := Ty.apply (Ty.path "*mut") [] [ P ]. - - (* type Metadata =

::Metadata; *) - Definition _Metadata (P T : Ty.t) : Ty.t := - Ty.associated_in_trait "core::ptr::metadata::Pointee" [] [] P "Metadata". - - Axiom Implements : - forall (P T : Ty.t), - M.IsTraitInstance - "core::intrinsics::AggregateRawPtr" - (* Trait polymorphic consts *) [] - (* Trait polymorphic types *) [ Ty.apply (Ty.path "*mut") [] [ T ] ] - (Self P T) - (* Instance *) [ ("Metadata", InstanceField.Ty (_Metadata P T)) ]. - End Impl_core_intrinsics_AggregateRawPtr_where_core_marker_Sized_P_where_core_ptr_metadata_Thin_T_pointer_mut_T_for_pointer_mut_P. - - (* - pub const fn ptr_metadata + ?Sized, M>(_ptr: *const P) -> M { - // To implement a fallback we'd have to assume the layout of the pointer, - // but the whole point of this intrinsic is that we shouldn't do that. - unreachable!() - } - *) - Definition ptr_metadata (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ P; M_ ], [ _ptr ] => - ltac:(M.monadic - (let _ptr := M.alloc (| _ptr |) in - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic", [], [] |), - [ M.read (| Value.String "internal error: entered unreachable code" |) ] - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_ptr_metadata : - M.IsFunction.Trait "core::intrinsics::ptr_metadata" ptr_metadata. - Admitted. - Global Typeclasses Opaque ptr_metadata. - - (* - pub const unsafe fn copy_nonoverlapping(src: *const T, dst: *mut T, count: usize) { - extern "rust-intrinsic" { - #[rustc_const_stable(feature = "const_intrinsic_copy", since = "CURRENT_RUSTC_VERSION")] - #[rustc_nounwind] - pub fn copy_nonoverlapping(src: *const T, dst: *mut T, count: usize); - } - - ub_checks::assert_unsafe_precondition!( - check_language_ub, - "ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null \ - and the specified memory ranges do not overlap", - ( - src: *const () = src as *const (), - dst: *mut () = dst as *mut (), - size: usize = size_of::(), - align: usize = align_of::(), - count: usize = count, - ) => - ub_checks::is_aligned_and_not_null(src, align) - && ub_checks::is_aligned_and_not_null(dst, align) - && ub_checks::is_nonoverlapping(src, dst, size, count) - ); - - // SAFETY: the safety contract for `copy_nonoverlapping` must be - // upheld by the caller. - unsafe { copy_nonoverlapping(src, dst, count) } - } - *) - Definition copy_nonoverlapping (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ src; dst; count ] => - ltac:(M.monadic - (let src := M.alloc (| src |) in - let dst := M.alloc (| dst |) in - let count := M.alloc (| count |) in - M.read (| - let~ _ : Ty.tuple [] := - M.read (| - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - Ty.path "bool", - M.get_function (| "core::ub_checks::check_language_ub", [], [] |), - [] - |) - |)) in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ : Ty.tuple [] := - M.call_closure (| - Ty.tuple [], - M.get_function (| - "core::intrinsics::copy_nonoverlapping.precondition_check", - [], - [] - |), - [ - M.cast - (Ty.apply (Ty.path "*const") [] [ Ty.tuple [] ]) - (M.read (| src |)); - M.cast - (Ty.apply (Ty.path "*mut") [] [ Ty.tuple [] ]) - (M.read (| dst |)); - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::intrinsics::size_of", [], [ T ] |), - [] - |); - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::align_of", [], [ T ] |), - [] - |); - M.read (| count |) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) - |) in - M.alloc (| - M.call_closure (| - Ty.tuple [], - M.get_function (| - "core::intrinsics::copy_nonoverlapping::copy_nonoverlapping", - [], - [ T ] - |), - [ M.read (| src |); M.read (| dst |); M.read (| count |) ] - |) - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_copy_nonoverlapping : - M.IsFunction.Trait "core::intrinsics::copy_nonoverlapping" copy_nonoverlapping. - Admitted. - Global Typeclasses Opaque copy_nonoverlapping. - - Module copy_nonoverlapping. - Parameter copy_nonoverlapping : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_copy_nonoverlapping : - M.IsFunction.Trait - "core::intrinsics::copy_nonoverlapping::copy_nonoverlapping" - copy_nonoverlapping. - Admitted. - End copy_nonoverlapping. - - (* - pub const unsafe fn copy(src: *const T, dst: *mut T, count: usize) { - extern "rust-intrinsic" { - #[rustc_const_stable(feature = "const_intrinsic_copy", since = "CURRENT_RUSTC_VERSION")] - #[rustc_nounwind] - fn copy(src: *const T, dst: *mut T, count: usize); - } - - // SAFETY: the safety contract for `copy` must be upheld by the caller. - unsafe { - ub_checks::assert_unsafe_precondition!( - check_language_ub, - "ptr::copy requires that both pointer arguments are aligned and non-null", - ( - src: *const () = src as *const (), - dst: *mut () = dst as *mut (), - align: usize = align_of::(), - ) => - ub_checks::is_aligned_and_not_null(src, align) - && ub_checks::is_aligned_and_not_null(dst, align) - ); - copy(src, dst, count) - } - } - *) - Definition copy (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ src; dst; count ] => - ltac:(M.monadic - (let src := M.alloc (| src |) in - let dst := M.alloc (| dst |) in - let count := M.alloc (| count |) in - M.read (| - let~ _ : Ty.tuple [] := - M.read (| - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - Ty.path "bool", - M.get_function (| "core::ub_checks::check_language_ub", [], [] |), - [] - |) - |)) in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ : Ty.tuple [] := - M.call_closure (| - Ty.tuple [], - M.get_function (| "core::intrinsics::copy.precondition_check", [], [] |), - [ - M.cast - (Ty.apply (Ty.path "*const") [] [ Ty.tuple [] ]) - (M.read (| src |)); - M.cast - (Ty.apply (Ty.path "*mut") [] [ Ty.tuple [] ]) - (M.read (| dst |)); - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::align_of", [], [ T ] |), - [] - |) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) - |) in - M.alloc (| - M.call_closure (| - Ty.tuple [], - M.get_function (| "core::intrinsics::copy::copy", [], [ T ] |), - [ M.read (| src |); M.read (| dst |); M.read (| count |) ] - |) - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_copy : M.IsFunction.Trait "core::intrinsics::copy" copy. - Admitted. - Global Typeclasses Opaque copy. - - Module copy. - Parameter copy : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_copy : - M.IsFunction.Trait "core::intrinsics::copy::copy" copy. - Admitted. - End copy. - - (* - pub const unsafe fn write_bytes(dst: *mut T, val: u8, count: usize) { - extern "rust-intrinsic" { - #[rustc_const_unstable(feature = "const_ptr_write", issue = "86302")] - #[rustc_nounwind] - fn write_bytes(dst: *mut T, val: u8, count: usize); - } - - // SAFETY: the safety contract for `write_bytes` must be upheld by the caller. - unsafe { - ub_checks::assert_unsafe_precondition!( - check_language_ub, - "ptr::write_bytes requires that the destination pointer is aligned and non-null", - ( - addr: *const () = dst as *const (), - align: usize = align_of::(), - ) => ub_checks::is_aligned_and_not_null(addr, align) - ); - write_bytes(dst, val, count) - } - } - *) - Definition write_bytes (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := - match ε, τ, α with - | [], [ T ], [ dst; val; count ] => - ltac:(M.monadic - (let dst := M.alloc (| dst |) in - let val := M.alloc (| val |) in - let count := M.alloc (| count |) in - M.read (| - let~ _ : Ty.tuple [] := - M.read (| - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - M.call_closure (| - Ty.path "bool", - M.get_function (| "core::ub_checks::check_language_ub", [], [] |), - [] - |) - |)) in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ : Ty.tuple [] := - M.call_closure (| - Ty.tuple [], - M.get_function (| - "core::intrinsics::write_bytes.precondition_check", - [], - [] - |), - [ - M.cast - (Ty.apply (Ty.path "*const") [] [ Ty.tuple [] ]) - (M.read (| dst |)); - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::align_of", [], [ T ] |), - [] - |) - ] - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) - |) in - M.alloc (| - M.call_closure (| - Ty.tuple [], - M.get_function (| "core::intrinsics::write_bytes::write_bytes", [], [ T ] |), - [ M.read (| dst |); M.read (| val |); M.read (| count |) ] - |) - |) - |))) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance Instance_IsFunction_write_bytes : - M.IsFunction.Trait "core::intrinsics::write_bytes" write_bytes. - Admitted. - Global Typeclasses Opaque write_bytes. - - Module write_bytes. - Parameter write_bytes : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - - Global Instance Instance_IsFunction_write_bytes : - M.IsFunction.Trait "core::intrinsics::write_bytes::write_bytes" write_bytes. - Admitted. - End write_bytes. -End intrinsics. diff --git a/CoqOfRust/core/links/intrinsics.v b/CoqOfRust/core/intrinsics/links/mod.v similarity index 94% rename from CoqOfRust/core/links/intrinsics.v rename to CoqOfRust/core/intrinsics/links/mod.v index 33b93d98f..aca929daa 100644 --- a/CoqOfRust/core/links/intrinsics.v +++ b/CoqOfRust/core/intrinsics/links/mod.v @@ -1,7 +1,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require Import core.links.cmpOrdering. -Require Import core.intrinsics. +Require Import core.intrinsics.mod. Instance run_three_way_compare (integer_kind : IntegerKind.t) (x y : Integer.t integer_kind) : Run.Trait diff --git a/CoqOfRust/core/intrinsics/mir.v b/CoqOfRust/core/intrinsics/mir.v index 38e3cc141..f8c24fb8f 100644 --- a/CoqOfRust/core/intrinsics/mir.v +++ b/CoqOfRust/core/intrinsics/mir.v @@ -79,7 +79,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_UnwindContinue : - M.IsFunction.Trait "core::intrinsics::mir::UnwindContinue" value_UnwindContinue. + M.IsFunction.C "core::intrinsics::mir::UnwindContinue" value_UnwindContinue. Admitted. Global Typeclasses Opaque value_UnwindContinue. @@ -103,7 +103,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_UnwindUnreachable : - M.IsFunction.Trait "core::intrinsics::mir::UnwindUnreachable" value_UnwindUnreachable. + M.IsFunction.C "core::intrinsics::mir::UnwindUnreachable" value_UnwindUnreachable. Admitted. Global Typeclasses Opaque value_UnwindUnreachable. @@ -128,7 +128,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_UnwindTerminate : - M.IsFunction.Trait "core::intrinsics::mir::UnwindTerminate" value_UnwindTerminate. + M.IsFunction.C "core::intrinsics::mir::UnwindTerminate" value_UnwindTerminate. Admitted. Global Typeclasses Opaque value_UnwindTerminate. @@ -153,7 +153,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_UnwindCleanup : - M.IsFunction.Trait "core::intrinsics::mir::UnwindCleanup" value_UnwindCleanup. + M.IsFunction.C "core::intrinsics::mir::UnwindCleanup" value_UnwindCleanup. Admitted. Global Typeclasses Opaque value_UnwindCleanup. @@ -182,7 +182,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_ReturnTo : - M.IsFunction.Trait "core::intrinsics::mir::ReturnTo" value_ReturnTo. + M.IsFunction.C "core::intrinsics::mir::ReturnTo" value_ReturnTo. Admitted. Global Typeclasses Opaque value_ReturnTo. @@ -202,7 +202,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Return : - M.IsFunction.Trait "core::intrinsics::mir::Return" value_Return. + M.IsFunction.C "core::intrinsics::mir::Return" value_Return. Admitted. Global Typeclasses Opaque value_Return. @@ -223,7 +223,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Goto : - M.IsFunction.Trait "core::intrinsics::mir::Goto" value_Goto. + M.IsFunction.C "core::intrinsics::mir::Goto" value_Goto. Admitted. Global Typeclasses Opaque value_Goto. @@ -243,7 +243,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Unreachable : - M.IsFunction.Trait "core::intrinsics::mir::Unreachable" value_Unreachable. + M.IsFunction.C "core::intrinsics::mir::Unreachable" value_Unreachable. Admitted. Global Typeclasses Opaque value_Unreachable. @@ -266,7 +266,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Drop : - M.IsFunction.Trait "core::intrinsics::mir::Drop" value_Drop. + M.IsFunction.C "core::intrinsics::mir::Drop" value_Drop. Admitted. Global Typeclasses Opaque value_Drop. @@ -289,7 +289,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Call : - M.IsFunction.Trait "core::intrinsics::mir::Call" value_Call. + M.IsFunction.C "core::intrinsics::mir::Call" value_Call. Admitted. Global Typeclasses Opaque value_Call. @@ -310,7 +310,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_TailCall : - M.IsFunction.Trait "core::intrinsics::mir::TailCall" value_TailCall. + M.IsFunction.C "core::intrinsics::mir::TailCall" value_TailCall. Admitted. Global Typeclasses Opaque value_TailCall. @@ -334,7 +334,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_UnwindResume : - M.IsFunction.Trait "core::intrinsics::mir::UnwindResume" value_UnwindResume. + M.IsFunction.C "core::intrinsics::mir::UnwindResume" value_UnwindResume. Admitted. Global Typeclasses Opaque value_UnwindResume. @@ -355,7 +355,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_StorageLive : - M.IsFunction.Trait "core::intrinsics::mir::StorageLive" value_StorageLive. + M.IsFunction.C "core::intrinsics::mir::StorageLive" value_StorageLive. Admitted. Global Typeclasses Opaque value_StorageLive. @@ -376,7 +376,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_StorageDead : - M.IsFunction.Trait "core::intrinsics::mir::StorageDead" value_StorageDead. + M.IsFunction.C "core::intrinsics::mir::StorageDead" value_StorageDead. Admitted. Global Typeclasses Opaque value_StorageDead. @@ -397,7 +397,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Assume : - M.IsFunction.Trait "core::intrinsics::mir::Assume" value_Assume. + M.IsFunction.C "core::intrinsics::mir::Assume" value_Assume. Admitted. Global Typeclasses Opaque value_Assume. @@ -418,7 +418,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Deinit : - M.IsFunction.Trait "core::intrinsics::mir::Deinit" value_Deinit. + M.IsFunction.C "core::intrinsics::mir::Deinit" value_Deinit. Admitted. Global Typeclasses Opaque value_Deinit. @@ -439,7 +439,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Checked : - M.IsFunction.Trait "core::intrinsics::mir::Checked" value_Checked. + M.IsFunction.C "core::intrinsics::mir::Checked" value_Checked. Admitted. Global Typeclasses Opaque value_Checked. @@ -460,7 +460,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Len : - M.IsFunction.Trait "core::intrinsics::mir::Len" value_Len. + M.IsFunction.C "core::intrinsics::mir::Len" value_Len. Admitted. Global Typeclasses Opaque value_Len. @@ -481,7 +481,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_PtrMetadata : - M.IsFunction.Trait "core::intrinsics::mir::PtrMetadata" value_PtrMetadata. + M.IsFunction.C "core::intrinsics::mir::PtrMetadata" value_PtrMetadata. Admitted. Global Typeclasses Opaque value_PtrMetadata. @@ -506,7 +506,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_CopyForDeref : - M.IsFunction.Trait "core::intrinsics::mir::CopyForDeref" value_CopyForDeref. + M.IsFunction.C "core::intrinsics::mir::CopyForDeref" value_CopyForDeref. Admitted. Global Typeclasses Opaque value_CopyForDeref. @@ -527,7 +527,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Retag : - M.IsFunction.Trait "core::intrinsics::mir::Retag" value_Retag. + M.IsFunction.C "core::intrinsics::mir::Retag" value_Retag. Admitted. Global Typeclasses Opaque value_Retag. @@ -548,7 +548,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Move : - M.IsFunction.Trait "core::intrinsics::mir::Move" value_Move. + M.IsFunction.C "core::intrinsics::mir::Move" value_Move. Admitted. Global Typeclasses Opaque value_Move. @@ -569,7 +569,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Static : - M.IsFunction.Trait "core::intrinsics::mir::Static" value_Static. + M.IsFunction.C "core::intrinsics::mir::Static" value_Static. Admitted. Global Typeclasses Opaque value_Static. @@ -590,7 +590,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_StaticMut : - M.IsFunction.Trait "core::intrinsics::mir::StaticMut" value_StaticMut. + M.IsFunction.C "core::intrinsics::mir::StaticMut" value_StaticMut. Admitted. Global Typeclasses Opaque value_StaticMut. @@ -615,7 +615,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Discriminant : - M.IsFunction.Trait "core::intrinsics::mir::Discriminant" value_Discriminant. + M.IsFunction.C "core::intrinsics::mir::Discriminant" value_Discriminant. Admitted. Global Typeclasses Opaque value_Discriminant. @@ -641,7 +641,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_SetDiscriminant : - M.IsFunction.Trait "core::intrinsics::mir::SetDiscriminant" value_SetDiscriminant. + M.IsFunction.C "core::intrinsics::mir::SetDiscriminant" value_SetDiscriminant. Admitted. Global Typeclasses Opaque value_SetDiscriminant. @@ -663,7 +663,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Offset : - M.IsFunction.Trait "core::intrinsics::mir::Offset" value_Offset. + M.IsFunction.C "core::intrinsics::mir::Offset" value_Offset. Admitted. Global Typeclasses Opaque value_Offset. @@ -685,7 +685,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Field : - M.IsFunction.Trait "core::intrinsics::mir::Field" value_Field. + M.IsFunction.C "core::intrinsics::mir::Field" value_Field. Admitted. Global Typeclasses Opaque value_Field. @@ -707,7 +707,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_Variant : - M.IsFunction.Trait "core::intrinsics::mir::Variant" value_Variant. + M.IsFunction.C "core::intrinsics::mir::Variant" value_Variant. Admitted. Global Typeclasses Opaque value_Variant. @@ -732,7 +732,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_CastTransmute : - M.IsFunction.Trait "core::intrinsics::mir::CastTransmute" value_CastTransmute. + M.IsFunction.C "core::intrinsics::mir::CastTransmute" value_CastTransmute. Admitted. Global Typeclasses Opaque value_CastTransmute. @@ -757,7 +757,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_value_CastPtrToPtr : - M.IsFunction.Trait "core::intrinsics::mir::CastPtrToPtr" value_CastPtrToPtr. + M.IsFunction.C "core::intrinsics::mir::CastPtrToPtr" value_CastPtrToPtr. Admitted. Global Typeclasses Opaque value_CastPtrToPtr. @@ -782,7 +782,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction___internal_make_place : - M.IsFunction.Trait "core::intrinsics::mir::__internal_make_place" __internal_make_place. + M.IsFunction.C "core::intrinsics::mir::__internal_make_place" __internal_make_place. Admitted. Global Typeclasses Opaque __internal_make_place. @@ -804,7 +804,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction___debuginfo : - M.IsFunction.Trait "core::intrinsics::mir::__debuginfo" __debuginfo. + M.IsFunction.C "core::intrinsics::mir::__debuginfo" __debuginfo. Admitted. Global Typeclasses Opaque __debuginfo. End mir. diff --git a/CoqOfRust/core/intrinsics/mod.v b/CoqOfRust/core/intrinsics/mod.v index 0c5ef7ebc..b43ac5f46 100644 --- a/CoqOfRust/core/intrinsics/mod.v +++ b/CoqOfRust/core/intrinsics/mod.v @@ -79,7 +79,7 @@ Module num. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::num::from_str_radix_panic::do_panic::runtime" runtime. + M.IsFunction.C "core::num::from_str_radix_panic::do_panic::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -145,7 +145,7 @@ Module num. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::num::from_str_radix_panic::do_panic::compiletime" compiletime. + M.IsFunction.C "core::num::from_str_radix_panic::do_panic::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End do_panic. @@ -173,7 +173,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_drop_in_place : - M.IsFunction.Trait "core::intrinsics::drop_in_place" drop_in_place. + M.IsFunction.C "core::intrinsics::drop_in_place" drop_in_place. Admitted. Global Typeclasses Opaque drop_in_place. @@ -204,9 +204,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_relaxed_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_relaxed_relaxed" - atomic_cxchg_relaxed_relaxed. + M.IsFunction.C "core::intrinsics::atomic_cxchg_relaxed_relaxed" atomic_cxchg_relaxed_relaxed. Admitted. Global Typeclasses Opaque atomic_cxchg_relaxed_relaxed. @@ -237,9 +235,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_relaxed_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_relaxed_acquire" - atomic_cxchg_relaxed_acquire. + M.IsFunction.C "core::intrinsics::atomic_cxchg_relaxed_acquire" atomic_cxchg_relaxed_acquire. Admitted. Global Typeclasses Opaque atomic_cxchg_relaxed_acquire. @@ -270,7 +266,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_relaxed_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_relaxed_seqcst" atomic_cxchg_relaxed_seqcst. + M.IsFunction.C "core::intrinsics::atomic_cxchg_relaxed_seqcst" atomic_cxchg_relaxed_seqcst. Admitted. Global Typeclasses Opaque atomic_cxchg_relaxed_seqcst. @@ -301,9 +297,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_acquire_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_acquire_relaxed" - atomic_cxchg_acquire_relaxed. + M.IsFunction.C "core::intrinsics::atomic_cxchg_acquire_relaxed" atomic_cxchg_acquire_relaxed. Admitted. Global Typeclasses Opaque atomic_cxchg_acquire_relaxed. @@ -334,9 +328,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_acquire_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_acquire_acquire" - atomic_cxchg_acquire_acquire. + M.IsFunction.C "core::intrinsics::atomic_cxchg_acquire_acquire" atomic_cxchg_acquire_acquire. Admitted. Global Typeclasses Opaque atomic_cxchg_acquire_acquire. @@ -367,7 +359,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_acquire_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acquire_seqcst" atomic_cxchg_acquire_seqcst. + M.IsFunction.C "core::intrinsics::atomic_cxchg_acquire_seqcst" atomic_cxchg_acquire_seqcst. Admitted. Global Typeclasses Opaque atomic_cxchg_acquire_seqcst. @@ -398,9 +390,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_release_relaxed : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_release_relaxed" - atomic_cxchg_release_relaxed. + M.IsFunction.C "core::intrinsics::atomic_cxchg_release_relaxed" atomic_cxchg_release_relaxed. Admitted. Global Typeclasses Opaque atomic_cxchg_release_relaxed. @@ -431,9 +421,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_release_acquire : - M.IsFunction.Trait - "core::intrinsics::atomic_cxchg_release_acquire" - atomic_cxchg_release_acquire. + M.IsFunction.C "core::intrinsics::atomic_cxchg_release_acquire" atomic_cxchg_release_acquire. Admitted. Global Typeclasses Opaque atomic_cxchg_release_acquire. @@ -464,7 +452,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_release_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_release_seqcst" atomic_cxchg_release_seqcst. + M.IsFunction.C "core::intrinsics::atomic_cxchg_release_seqcst" atomic_cxchg_release_seqcst. Admitted. Global Typeclasses Opaque atomic_cxchg_release_seqcst. @@ -495,7 +483,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_acqrel_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acqrel_relaxed" atomic_cxchg_acqrel_relaxed. + M.IsFunction.C "core::intrinsics::atomic_cxchg_acqrel_relaxed" atomic_cxchg_acqrel_relaxed. Admitted. Global Typeclasses Opaque atomic_cxchg_acqrel_relaxed. @@ -526,7 +514,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_acqrel_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acqrel_acquire" atomic_cxchg_acqrel_acquire. + M.IsFunction.C "core::intrinsics::atomic_cxchg_acqrel_acquire" atomic_cxchg_acqrel_acquire. Admitted. Global Typeclasses Opaque atomic_cxchg_acqrel_acquire. @@ -553,7 +541,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_acqrel_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_acqrel_seqcst" atomic_cxchg_acqrel_seqcst. + M.IsFunction.C "core::intrinsics::atomic_cxchg_acqrel_seqcst" atomic_cxchg_acqrel_seqcst. Admitted. Global Typeclasses Opaque atomic_cxchg_acqrel_seqcst. @@ -584,7 +572,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_seqcst_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_seqcst_relaxed" atomic_cxchg_seqcst_relaxed. + M.IsFunction.C "core::intrinsics::atomic_cxchg_seqcst_relaxed" atomic_cxchg_seqcst_relaxed. Admitted. Global Typeclasses Opaque atomic_cxchg_seqcst_relaxed. @@ -615,7 +603,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_seqcst_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_seqcst_acquire" atomic_cxchg_seqcst_acquire. + M.IsFunction.C "core::intrinsics::atomic_cxchg_seqcst_acquire" atomic_cxchg_seqcst_acquire. Admitted. Global Typeclasses Opaque atomic_cxchg_seqcst_acquire. @@ -642,7 +630,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchg_seqcst_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_cxchg_seqcst_seqcst" atomic_cxchg_seqcst_seqcst. + M.IsFunction.C "core::intrinsics::atomic_cxchg_seqcst_seqcst" atomic_cxchg_seqcst_seqcst. Admitted. Global Typeclasses Opaque atomic_cxchg_seqcst_seqcst. @@ -677,7 +665,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_relaxed_relaxed : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_relaxed_relaxed" atomic_cxchgweak_relaxed_relaxed. Admitted. @@ -714,7 +702,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_relaxed_acquire : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_relaxed_acquire" atomic_cxchgweak_relaxed_acquire. Admitted. @@ -751,7 +739,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_relaxed_seqcst : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_relaxed_seqcst" atomic_cxchgweak_relaxed_seqcst. Admitted. @@ -788,7 +776,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_acquire_relaxed : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_acquire_relaxed" atomic_cxchgweak_acquire_relaxed. Admitted. @@ -825,7 +813,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_acquire_acquire : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_acquire_acquire" atomic_cxchgweak_acquire_acquire. Admitted. @@ -862,7 +850,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_acquire_seqcst : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_acquire_seqcst" atomic_cxchgweak_acquire_seqcst. Admitted. @@ -899,7 +887,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_release_relaxed : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_release_relaxed" atomic_cxchgweak_release_relaxed. Admitted. @@ -936,7 +924,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_release_acquire : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_release_acquire" atomic_cxchgweak_release_acquire. Admitted. @@ -973,7 +961,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_release_seqcst : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_release_seqcst" atomic_cxchgweak_release_seqcst. Admitted. @@ -1010,7 +998,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_acqrel_relaxed : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_acqrel_relaxed" atomic_cxchgweak_acqrel_relaxed. Admitted. @@ -1047,7 +1035,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_acqrel_acquire : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_acqrel_acquire" atomic_cxchgweak_acqrel_acquire. Admitted. @@ -1080,7 +1068,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_acqrel_seqcst : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_acqrel_seqcst" atomic_cxchgweak_acqrel_seqcst. Admitted. @@ -1117,7 +1105,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_seqcst_relaxed : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_seqcst_relaxed" atomic_cxchgweak_seqcst_relaxed. Admitted. @@ -1154,7 +1142,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_seqcst_acquire : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_seqcst_acquire" atomic_cxchgweak_seqcst_acquire. Admitted. @@ -1187,7 +1175,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_cxchgweak_seqcst_seqcst : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_cxchgweak_seqcst_seqcst" atomic_cxchgweak_seqcst_seqcst. Admitted. @@ -1214,7 +1202,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_load_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_load_seqcst" atomic_load_seqcst. + M.IsFunction.C "core::intrinsics::atomic_load_seqcst" atomic_load_seqcst. Admitted. Global Typeclasses Opaque atomic_load_seqcst. @@ -1239,7 +1227,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_load_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_load_acquire" atomic_load_acquire. + M.IsFunction.C "core::intrinsics::atomic_load_acquire" atomic_load_acquire. Admitted. Global Typeclasses Opaque atomic_load_acquire. @@ -1264,7 +1252,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_load_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_load_relaxed" atomic_load_relaxed. + M.IsFunction.C "core::intrinsics::atomic_load_relaxed" atomic_load_relaxed. Admitted. Global Typeclasses Opaque atomic_load_relaxed. @@ -1289,7 +1277,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_load_unordered : - M.IsFunction.Trait "core::intrinsics::atomic_load_unordered" atomic_load_unordered. + M.IsFunction.C "core::intrinsics::atomic_load_unordered" atomic_load_unordered. Admitted. Global Typeclasses Opaque atomic_load_unordered. @@ -1315,7 +1303,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_store_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_store_seqcst" atomic_store_seqcst. + M.IsFunction.C "core::intrinsics::atomic_store_seqcst" atomic_store_seqcst. Admitted. Global Typeclasses Opaque atomic_store_seqcst. @@ -1341,7 +1329,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_store_release : - M.IsFunction.Trait "core::intrinsics::atomic_store_release" atomic_store_release. + M.IsFunction.C "core::intrinsics::atomic_store_release" atomic_store_release. Admitted. Global Typeclasses Opaque atomic_store_release. @@ -1367,7 +1355,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_store_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_store_relaxed" atomic_store_relaxed. + M.IsFunction.C "core::intrinsics::atomic_store_relaxed" atomic_store_relaxed. Admitted. Global Typeclasses Opaque atomic_store_relaxed. @@ -1393,7 +1381,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_store_unordered : - M.IsFunction.Trait "core::intrinsics::atomic_store_unordered" atomic_store_unordered. + M.IsFunction.C "core::intrinsics::atomic_store_unordered" atomic_store_unordered. Admitted. Global Typeclasses Opaque atomic_store_unordered. @@ -1419,7 +1407,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xchg_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_seqcst" atomic_xchg_seqcst. + M.IsFunction.C "core::intrinsics::atomic_xchg_seqcst" atomic_xchg_seqcst. Admitted. Global Typeclasses Opaque atomic_xchg_seqcst. @@ -1445,7 +1433,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xchg_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_acquire" atomic_xchg_acquire. + M.IsFunction.C "core::intrinsics::atomic_xchg_acquire" atomic_xchg_acquire. Admitted. Global Typeclasses Opaque atomic_xchg_acquire. @@ -1471,7 +1459,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xchg_release : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_release" atomic_xchg_release. + M.IsFunction.C "core::intrinsics::atomic_xchg_release" atomic_xchg_release. Admitted. Global Typeclasses Opaque atomic_xchg_release. @@ -1497,7 +1485,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xchg_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_acqrel" atomic_xchg_acqrel. + M.IsFunction.C "core::intrinsics::atomic_xchg_acqrel" atomic_xchg_acqrel. Admitted. Global Typeclasses Opaque atomic_xchg_acqrel. @@ -1523,7 +1511,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xchg_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xchg_relaxed" atomic_xchg_relaxed. + M.IsFunction.C "core::intrinsics::atomic_xchg_relaxed" atomic_xchg_relaxed. Admitted. Global Typeclasses Opaque atomic_xchg_relaxed. @@ -1549,7 +1537,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xadd_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_seqcst" atomic_xadd_seqcst. + M.IsFunction.C "core::intrinsics::atomic_xadd_seqcst" atomic_xadd_seqcst. Admitted. Global Typeclasses Opaque atomic_xadd_seqcst. @@ -1575,7 +1563,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xadd_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_acquire" atomic_xadd_acquire. + M.IsFunction.C "core::intrinsics::atomic_xadd_acquire" atomic_xadd_acquire. Admitted. Global Typeclasses Opaque atomic_xadd_acquire. @@ -1601,7 +1589,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xadd_release : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_release" atomic_xadd_release. + M.IsFunction.C "core::intrinsics::atomic_xadd_release" atomic_xadd_release. Admitted. Global Typeclasses Opaque atomic_xadd_release. @@ -1627,7 +1615,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xadd_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_acqrel" atomic_xadd_acqrel. + M.IsFunction.C "core::intrinsics::atomic_xadd_acqrel" atomic_xadd_acqrel. Admitted. Global Typeclasses Opaque atomic_xadd_acqrel. @@ -1653,7 +1641,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xadd_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xadd_relaxed" atomic_xadd_relaxed. + M.IsFunction.C "core::intrinsics::atomic_xadd_relaxed" atomic_xadd_relaxed. Admitted. Global Typeclasses Opaque atomic_xadd_relaxed. @@ -1679,7 +1667,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xsub_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_seqcst" atomic_xsub_seqcst. + M.IsFunction.C "core::intrinsics::atomic_xsub_seqcst" atomic_xsub_seqcst. Admitted. Global Typeclasses Opaque atomic_xsub_seqcst. @@ -1705,7 +1693,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xsub_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_acquire" atomic_xsub_acquire. + M.IsFunction.C "core::intrinsics::atomic_xsub_acquire" atomic_xsub_acquire. Admitted. Global Typeclasses Opaque atomic_xsub_acquire. @@ -1731,7 +1719,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xsub_release : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_release" atomic_xsub_release. + M.IsFunction.C "core::intrinsics::atomic_xsub_release" atomic_xsub_release. Admitted. Global Typeclasses Opaque atomic_xsub_release. @@ -1757,7 +1745,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xsub_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_acqrel" atomic_xsub_acqrel. + M.IsFunction.C "core::intrinsics::atomic_xsub_acqrel" atomic_xsub_acqrel. Admitted. Global Typeclasses Opaque atomic_xsub_acqrel. @@ -1783,7 +1771,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xsub_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xsub_relaxed" atomic_xsub_relaxed. + M.IsFunction.C "core::intrinsics::atomic_xsub_relaxed" atomic_xsub_relaxed. Admitted. Global Typeclasses Opaque atomic_xsub_relaxed. @@ -1809,7 +1797,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_and_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_and_seqcst" atomic_and_seqcst. + M.IsFunction.C "core::intrinsics::atomic_and_seqcst" atomic_and_seqcst. Admitted. Global Typeclasses Opaque atomic_and_seqcst. @@ -1835,7 +1823,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_and_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_and_acquire" atomic_and_acquire. + M.IsFunction.C "core::intrinsics::atomic_and_acquire" atomic_and_acquire. Admitted. Global Typeclasses Opaque atomic_and_acquire. @@ -1861,7 +1849,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_and_release : - M.IsFunction.Trait "core::intrinsics::atomic_and_release" atomic_and_release. + M.IsFunction.C "core::intrinsics::atomic_and_release" atomic_and_release. Admitted. Global Typeclasses Opaque atomic_and_release. @@ -1887,7 +1875,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_and_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_and_acqrel" atomic_and_acqrel. + M.IsFunction.C "core::intrinsics::atomic_and_acqrel" atomic_and_acqrel. Admitted. Global Typeclasses Opaque atomic_and_acqrel. @@ -1913,7 +1901,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_and_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_and_relaxed" atomic_and_relaxed. + M.IsFunction.C "core::intrinsics::atomic_and_relaxed" atomic_and_relaxed. Admitted. Global Typeclasses Opaque atomic_and_relaxed. @@ -1939,7 +1927,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_nand_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_nand_seqcst" atomic_nand_seqcst. + M.IsFunction.C "core::intrinsics::atomic_nand_seqcst" atomic_nand_seqcst. Admitted. Global Typeclasses Opaque atomic_nand_seqcst. @@ -1965,7 +1953,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_nand_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_nand_acquire" atomic_nand_acquire. + M.IsFunction.C "core::intrinsics::atomic_nand_acquire" atomic_nand_acquire. Admitted. Global Typeclasses Opaque atomic_nand_acquire. @@ -1991,7 +1979,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_nand_release : - M.IsFunction.Trait "core::intrinsics::atomic_nand_release" atomic_nand_release. + M.IsFunction.C "core::intrinsics::atomic_nand_release" atomic_nand_release. Admitted. Global Typeclasses Opaque atomic_nand_release. @@ -2017,7 +2005,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_nand_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_nand_acqrel" atomic_nand_acqrel. + M.IsFunction.C "core::intrinsics::atomic_nand_acqrel" atomic_nand_acqrel. Admitted. Global Typeclasses Opaque atomic_nand_acqrel. @@ -2043,7 +2031,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_nand_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_nand_relaxed" atomic_nand_relaxed. + M.IsFunction.C "core::intrinsics::atomic_nand_relaxed" atomic_nand_relaxed. Admitted. Global Typeclasses Opaque atomic_nand_relaxed. @@ -2069,7 +2057,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_or_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_or_seqcst" atomic_or_seqcst. + M.IsFunction.C "core::intrinsics::atomic_or_seqcst" atomic_or_seqcst. Admitted. Global Typeclasses Opaque atomic_or_seqcst. @@ -2095,7 +2083,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_or_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_or_acquire" atomic_or_acquire. + M.IsFunction.C "core::intrinsics::atomic_or_acquire" atomic_or_acquire. Admitted. Global Typeclasses Opaque atomic_or_acquire. @@ -2121,7 +2109,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_or_release : - M.IsFunction.Trait "core::intrinsics::atomic_or_release" atomic_or_release. + M.IsFunction.C "core::intrinsics::atomic_or_release" atomic_or_release. Admitted. Global Typeclasses Opaque atomic_or_release. @@ -2147,7 +2135,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_or_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_or_acqrel" atomic_or_acqrel. + M.IsFunction.C "core::intrinsics::atomic_or_acqrel" atomic_or_acqrel. Admitted. Global Typeclasses Opaque atomic_or_acqrel. @@ -2173,7 +2161,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_or_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_or_relaxed" atomic_or_relaxed. + M.IsFunction.C "core::intrinsics::atomic_or_relaxed" atomic_or_relaxed. Admitted. Global Typeclasses Opaque atomic_or_relaxed. @@ -2199,7 +2187,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xor_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_xor_seqcst" atomic_xor_seqcst. + M.IsFunction.C "core::intrinsics::atomic_xor_seqcst" atomic_xor_seqcst. Admitted. Global Typeclasses Opaque atomic_xor_seqcst. @@ -2225,7 +2213,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xor_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_xor_acquire" atomic_xor_acquire. + M.IsFunction.C "core::intrinsics::atomic_xor_acquire" atomic_xor_acquire. Admitted. Global Typeclasses Opaque atomic_xor_acquire. @@ -2251,7 +2239,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xor_release : - M.IsFunction.Trait "core::intrinsics::atomic_xor_release" atomic_xor_release. + M.IsFunction.C "core::intrinsics::atomic_xor_release" atomic_xor_release. Admitted. Global Typeclasses Opaque atomic_xor_release. @@ -2277,7 +2265,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xor_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_xor_acqrel" atomic_xor_acqrel. + M.IsFunction.C "core::intrinsics::atomic_xor_acqrel" atomic_xor_acqrel. Admitted. Global Typeclasses Opaque atomic_xor_acqrel. @@ -2303,7 +2291,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_xor_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_xor_relaxed" atomic_xor_relaxed. + M.IsFunction.C "core::intrinsics::atomic_xor_relaxed" atomic_xor_relaxed. Admitted. Global Typeclasses Opaque atomic_xor_relaxed. @@ -2329,7 +2317,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_max_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_max_seqcst" atomic_max_seqcst. + M.IsFunction.C "core::intrinsics::atomic_max_seqcst" atomic_max_seqcst. Admitted. Global Typeclasses Opaque atomic_max_seqcst. @@ -2355,7 +2343,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_max_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_max_acquire" atomic_max_acquire. + M.IsFunction.C "core::intrinsics::atomic_max_acquire" atomic_max_acquire. Admitted. Global Typeclasses Opaque atomic_max_acquire. @@ -2381,7 +2369,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_max_release : - M.IsFunction.Trait "core::intrinsics::atomic_max_release" atomic_max_release. + M.IsFunction.C "core::intrinsics::atomic_max_release" atomic_max_release. Admitted. Global Typeclasses Opaque atomic_max_release. @@ -2407,7 +2395,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_max_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_max_acqrel" atomic_max_acqrel. + M.IsFunction.C "core::intrinsics::atomic_max_acqrel" atomic_max_acqrel. Admitted. Global Typeclasses Opaque atomic_max_acqrel. @@ -2433,7 +2421,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_max_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_max_relaxed" atomic_max_relaxed. + M.IsFunction.C "core::intrinsics::atomic_max_relaxed" atomic_max_relaxed. Admitted. Global Typeclasses Opaque atomic_max_relaxed. @@ -2459,7 +2447,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_min_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_min_seqcst" atomic_min_seqcst. + M.IsFunction.C "core::intrinsics::atomic_min_seqcst" atomic_min_seqcst. Admitted. Global Typeclasses Opaque atomic_min_seqcst. @@ -2485,7 +2473,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_min_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_min_acquire" atomic_min_acquire. + M.IsFunction.C "core::intrinsics::atomic_min_acquire" atomic_min_acquire. Admitted. Global Typeclasses Opaque atomic_min_acquire. @@ -2511,7 +2499,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_min_release : - M.IsFunction.Trait "core::intrinsics::atomic_min_release" atomic_min_release. + M.IsFunction.C "core::intrinsics::atomic_min_release" atomic_min_release. Admitted. Global Typeclasses Opaque atomic_min_release. @@ -2537,7 +2525,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_min_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_min_acqrel" atomic_min_acqrel. + M.IsFunction.C "core::intrinsics::atomic_min_acqrel" atomic_min_acqrel. Admitted. Global Typeclasses Opaque atomic_min_acqrel. @@ -2563,7 +2551,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_min_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_min_relaxed" atomic_min_relaxed. + M.IsFunction.C "core::intrinsics::atomic_min_relaxed" atomic_min_relaxed. Admitted. Global Typeclasses Opaque atomic_min_relaxed. @@ -2589,7 +2577,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umin_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_umin_seqcst" atomic_umin_seqcst. + M.IsFunction.C "core::intrinsics::atomic_umin_seqcst" atomic_umin_seqcst. Admitted. Global Typeclasses Opaque atomic_umin_seqcst. @@ -2615,7 +2603,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umin_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_umin_acquire" atomic_umin_acquire. + M.IsFunction.C "core::intrinsics::atomic_umin_acquire" atomic_umin_acquire. Admitted. Global Typeclasses Opaque atomic_umin_acquire. @@ -2641,7 +2629,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umin_release : - M.IsFunction.Trait "core::intrinsics::atomic_umin_release" atomic_umin_release. + M.IsFunction.C "core::intrinsics::atomic_umin_release" atomic_umin_release. Admitted. Global Typeclasses Opaque atomic_umin_release. @@ -2667,7 +2655,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umin_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_umin_acqrel" atomic_umin_acqrel. + M.IsFunction.C "core::intrinsics::atomic_umin_acqrel" atomic_umin_acqrel. Admitted. Global Typeclasses Opaque atomic_umin_acqrel. @@ -2693,7 +2681,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umin_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_umin_relaxed" atomic_umin_relaxed. + M.IsFunction.C "core::intrinsics::atomic_umin_relaxed" atomic_umin_relaxed. Admitted. Global Typeclasses Opaque atomic_umin_relaxed. @@ -2719,7 +2707,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umax_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_umax_seqcst" atomic_umax_seqcst. + M.IsFunction.C "core::intrinsics::atomic_umax_seqcst" atomic_umax_seqcst. Admitted. Global Typeclasses Opaque atomic_umax_seqcst. @@ -2745,7 +2733,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umax_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_umax_acquire" atomic_umax_acquire. + M.IsFunction.C "core::intrinsics::atomic_umax_acquire" atomic_umax_acquire. Admitted. Global Typeclasses Opaque atomic_umax_acquire. @@ -2771,7 +2759,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umax_release : - M.IsFunction.Trait "core::intrinsics::atomic_umax_release" atomic_umax_release. + M.IsFunction.C "core::intrinsics::atomic_umax_release" atomic_umax_release. Admitted. Global Typeclasses Opaque atomic_umax_release. @@ -2797,7 +2785,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umax_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_umax_acqrel" atomic_umax_acqrel. + M.IsFunction.C "core::intrinsics::atomic_umax_acqrel" atomic_umax_acqrel. Admitted. Global Typeclasses Opaque atomic_umax_acqrel. @@ -2823,7 +2811,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_umax_relaxed : - M.IsFunction.Trait "core::intrinsics::atomic_umax_relaxed" atomic_umax_relaxed. + M.IsFunction.C "core::intrinsics::atomic_umax_relaxed" atomic_umax_relaxed. Admitted. Global Typeclasses Opaque atomic_umax_relaxed. @@ -2847,7 +2835,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_fence_seqcst : - M.IsFunction.Trait "core::intrinsics::atomic_fence_seqcst" atomic_fence_seqcst. + M.IsFunction.C "core::intrinsics::atomic_fence_seqcst" atomic_fence_seqcst. Admitted. Global Typeclasses Opaque atomic_fence_seqcst. @@ -2871,7 +2859,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_fence_acquire : - M.IsFunction.Trait "core::intrinsics::atomic_fence_acquire" atomic_fence_acquire. + M.IsFunction.C "core::intrinsics::atomic_fence_acquire" atomic_fence_acquire. Admitted. Global Typeclasses Opaque atomic_fence_acquire. @@ -2895,7 +2883,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_fence_release : - M.IsFunction.Trait "core::intrinsics::atomic_fence_release" atomic_fence_release. + M.IsFunction.C "core::intrinsics::atomic_fence_release" atomic_fence_release. Admitted. Global Typeclasses Opaque atomic_fence_release. @@ -2919,7 +2907,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_fence_acqrel : - M.IsFunction.Trait "core::intrinsics::atomic_fence_acqrel" atomic_fence_acqrel. + M.IsFunction.C "core::intrinsics::atomic_fence_acqrel" atomic_fence_acqrel. Admitted. Global Typeclasses Opaque atomic_fence_acqrel. @@ -2947,7 +2935,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_singlethreadfence_seqcst : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_singlethreadfence_seqcst" atomic_singlethreadfence_seqcst. Admitted. @@ -2977,7 +2965,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_singlethreadfence_acquire : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_singlethreadfence_acquire" atomic_singlethreadfence_acquire. Admitted. @@ -3007,7 +2995,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_singlethreadfence_release : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_singlethreadfence_release" atomic_singlethreadfence_release. Admitted. @@ -3037,7 +3025,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_atomic_singlethreadfence_acqrel : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::atomic_singlethreadfence_acqrel" atomic_singlethreadfence_acqrel. Admitted. @@ -3065,7 +3053,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_prefetch_read_data : - M.IsFunction.Trait "core::intrinsics::prefetch_read_data" prefetch_read_data. + M.IsFunction.C "core::intrinsics::prefetch_read_data" prefetch_read_data. Admitted. Global Typeclasses Opaque prefetch_read_data. @@ -3091,7 +3079,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_prefetch_write_data : - M.IsFunction.Trait "core::intrinsics::prefetch_write_data" prefetch_write_data. + M.IsFunction.C "core::intrinsics::prefetch_write_data" prefetch_write_data. Admitted. Global Typeclasses Opaque prefetch_write_data. @@ -3117,7 +3105,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_prefetch_read_instruction : - M.IsFunction.Trait "core::intrinsics::prefetch_read_instruction" prefetch_read_instruction. + M.IsFunction.C "core::intrinsics::prefetch_read_instruction" prefetch_read_instruction. Admitted. Global Typeclasses Opaque prefetch_read_instruction. @@ -3143,7 +3131,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_prefetch_write_instruction : - M.IsFunction.Trait "core::intrinsics::prefetch_write_instruction" prefetch_write_instruction. + M.IsFunction.C "core::intrinsics::prefetch_write_instruction" prefetch_write_instruction. Admitted. Global Typeclasses Opaque prefetch_write_instruction. @@ -3167,7 +3155,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_breakpoint : - M.IsFunction.Trait "core::intrinsics::breakpoint" breakpoint. + M.IsFunction.C "core::intrinsics::breakpoint" breakpoint. Admitted. Global Typeclasses Opaque breakpoint. @@ -3200,7 +3188,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_rustc_peek : - M.IsFunction.Trait "core::intrinsics::rustc_peek" rustc_peek. + M.IsFunction.C "core::intrinsics::rustc_peek" rustc_peek. Admitted. Global Typeclasses Opaque rustc_peek. @@ -3221,7 +3209,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_abort : M.IsFunction.Trait "core::intrinsics::abort" abort. + Global Instance Instance_IsFunction_abort : M.IsFunction.C "core::intrinsics::abort" abort. Admitted. Global Typeclasses Opaque abort. @@ -3243,7 +3231,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unreachable : - M.IsFunction.Trait "core::intrinsics::unreachable" unreachable. + M.IsFunction.C "core::intrinsics::unreachable" unreachable. Admitted. Global Typeclasses Opaque unreachable. @@ -3285,7 +3273,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_assume : M.IsFunction.Trait "core::intrinsics::assume" assume. + Global Instance Instance_IsFunction_assume : M.IsFunction.C "core::intrinsics::assume" assume. Admitted. Global Typeclasses Opaque assume. @@ -3297,7 +3285,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_cold_path : - M.IsFunction.Trait "core::intrinsics::cold_path" cold_path. + M.IsFunction.C "core::intrinsics::cold_path" cold_path. Admitted. Global Typeclasses Opaque cold_path. @@ -3343,7 +3331,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_likely : M.IsFunction.Trait "core::intrinsics::likely" likely. + Global Instance Instance_IsFunction_likely : M.IsFunction.C "core::intrinsics::likely" likely. Admitted. Global Typeclasses Opaque likely. @@ -3388,7 +3376,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unlikely : - M.IsFunction.Trait "core::intrinsics::unlikely" unlikely. + M.IsFunction.C "core::intrinsics::unlikely" unlikely. Admitted. Global Typeclasses Opaque unlikely. @@ -3422,7 +3410,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_select_unpredictable : - M.IsFunction.Trait "core::intrinsics::select_unpredictable" select_unpredictable. + M.IsFunction.C "core::intrinsics::select_unpredictable" select_unpredictable. Admitted. Global Typeclasses Opaque select_unpredictable. @@ -3446,7 +3434,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_assert_inhabited : - M.IsFunction.Trait "core::intrinsics::assert_inhabited" assert_inhabited. + M.IsFunction.C "core::intrinsics::assert_inhabited" assert_inhabited. Admitted. Global Typeclasses Opaque assert_inhabited. @@ -3470,7 +3458,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_assert_zero_valid : - M.IsFunction.Trait "core::intrinsics::assert_zero_valid" assert_zero_valid. + M.IsFunction.C "core::intrinsics::assert_zero_valid" assert_zero_valid. Admitted. Global Typeclasses Opaque assert_zero_valid. @@ -3498,7 +3486,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_assert_mem_uninitialized_valid : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::assert_mem_uninitialized_valid" assert_mem_uninitialized_valid. Admitted. @@ -3524,7 +3512,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_caller_location : - M.IsFunction.Trait "core::intrinsics::caller_location" caller_location. + M.IsFunction.C "core::intrinsics::caller_location" caller_location. Admitted. Global Typeclasses Opaque caller_location. @@ -3556,7 +3544,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_forget : M.IsFunction.Trait "core::intrinsics::forget" forget. + Global Instance Instance_IsFunction_forget : M.IsFunction.C "core::intrinsics::forget" forget. Admitted. Global Typeclasses Opaque forget. @@ -3581,7 +3569,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_transmute : - M.IsFunction.Trait "core::intrinsics::transmute" transmute. + M.IsFunction.C "core::intrinsics::transmute" transmute. Admitted. Global Typeclasses Opaque transmute. @@ -3606,7 +3594,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_transmute_unchecked : - M.IsFunction.Trait "core::intrinsics::transmute_unchecked" transmute_unchecked. + M.IsFunction.C "core::intrinsics::transmute_unchecked" transmute_unchecked. Admitted. Global Typeclasses Opaque transmute_unchecked. @@ -3630,7 +3618,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_needs_drop : - M.IsFunction.Trait "core::intrinsics::needs_drop" needs_drop. + M.IsFunction.C "core::intrinsics::needs_drop" needs_drop. Admitted. Global Typeclasses Opaque needs_drop. @@ -3655,7 +3643,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_offset : M.IsFunction.Trait "core::intrinsics::offset" offset. + Global Instance Instance_IsFunction_offset : M.IsFunction.C "core::intrinsics::offset" offset. Admitted. Global Typeclasses Opaque offset. @@ -3681,7 +3669,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_arith_offset : - M.IsFunction.Trait "core::intrinsics::arith_offset" arith_offset. + M.IsFunction.C "core::intrinsics::arith_offset" arith_offset. Admitted. Global Typeclasses Opaque arith_offset. @@ -3707,7 +3695,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ptr_mask : - M.IsFunction.Trait "core::intrinsics::ptr_mask" ptr_mask. + M.IsFunction.C "core::intrinsics::ptr_mask" ptr_mask. Admitted. Global Typeclasses Opaque ptr_mask. @@ -3738,7 +3726,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_volatile_copy_nonoverlapping_memory : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::volatile_copy_nonoverlapping_memory" volatile_copy_nonoverlapping_memory. Admitted. @@ -3767,7 +3755,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_volatile_copy_memory : - M.IsFunction.Trait "core::intrinsics::volatile_copy_memory" volatile_copy_memory. + M.IsFunction.C "core::intrinsics::volatile_copy_memory" volatile_copy_memory. Admitted. Global Typeclasses Opaque volatile_copy_memory. @@ -3794,7 +3782,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_volatile_set_memory : - M.IsFunction.Trait "core::intrinsics::volatile_set_memory" volatile_set_memory. + M.IsFunction.C "core::intrinsics::volatile_set_memory" volatile_set_memory. Admitted. Global Typeclasses Opaque volatile_set_memory. @@ -3819,7 +3807,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_volatile_load : - M.IsFunction.Trait "core::intrinsics::volatile_load" volatile_load. + M.IsFunction.C "core::intrinsics::volatile_load" volatile_load. Admitted. Global Typeclasses Opaque volatile_load. @@ -3845,7 +3833,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_volatile_store : - M.IsFunction.Trait "core::intrinsics::volatile_store" volatile_store. + M.IsFunction.C "core::intrinsics::volatile_store" volatile_store. Admitted. Global Typeclasses Opaque volatile_store. @@ -3870,7 +3858,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unaligned_volatile_load : - M.IsFunction.Trait "core::intrinsics::unaligned_volatile_load" unaligned_volatile_load. + M.IsFunction.C "core::intrinsics::unaligned_volatile_load" unaligned_volatile_load. Admitted. Global Typeclasses Opaque unaligned_volatile_load. @@ -3896,7 +3884,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unaligned_volatile_store : - M.IsFunction.Trait "core::intrinsics::unaligned_volatile_store" unaligned_volatile_store. + M.IsFunction.C "core::intrinsics::unaligned_volatile_store" unaligned_volatile_store. Admitted. Global Typeclasses Opaque unaligned_volatile_store. @@ -3920,8 +3908,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sqrtf16 : - M.IsFunction.Trait "core::intrinsics::sqrtf16" sqrtf16. + Global Instance Instance_IsFunction_sqrtf16 : M.IsFunction.C "core::intrinsics::sqrtf16" sqrtf16. Admitted. Global Typeclasses Opaque sqrtf16. @@ -3945,8 +3932,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sqrtf32 : - M.IsFunction.Trait "core::intrinsics::sqrtf32" sqrtf32. + Global Instance Instance_IsFunction_sqrtf32 : M.IsFunction.C "core::intrinsics::sqrtf32" sqrtf32. Admitted. Global Typeclasses Opaque sqrtf32. @@ -3970,8 +3956,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sqrtf64 : - M.IsFunction.Trait "core::intrinsics::sqrtf64" sqrtf64. + Global Instance Instance_IsFunction_sqrtf64 : M.IsFunction.C "core::intrinsics::sqrtf64" sqrtf64. Admitted. Global Typeclasses Opaque sqrtf64. @@ -3996,7 +3981,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_sqrtf128 : - M.IsFunction.Trait "core::intrinsics::sqrtf128" sqrtf128. + M.IsFunction.C "core::intrinsics::sqrtf128" sqrtf128. Admitted. Global Typeclasses Opaque sqrtf128. @@ -4021,8 +4006,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powif16 : - M.IsFunction.Trait "core::intrinsics::powif16" powif16. + Global Instance Instance_IsFunction_powif16 : M.IsFunction.C "core::intrinsics::powif16" powif16. Admitted. Global Typeclasses Opaque powif16. @@ -4047,8 +4031,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powif32 : - M.IsFunction.Trait "core::intrinsics::powif32" powif32. + Global Instance Instance_IsFunction_powif32 : M.IsFunction.C "core::intrinsics::powif32" powif32. Admitted. Global Typeclasses Opaque powif32. @@ -4073,8 +4056,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powif64 : - M.IsFunction.Trait "core::intrinsics::powif64" powif64. + Global Instance Instance_IsFunction_powif64 : M.IsFunction.C "core::intrinsics::powif64" powif64. Admitted. Global Typeclasses Opaque powif64. @@ -4100,7 +4082,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_powif128 : - M.IsFunction.Trait "core::intrinsics::powif128" powif128. + M.IsFunction.C "core::intrinsics::powif128" powif128. Admitted. Global Typeclasses Opaque powif128. @@ -4124,7 +4106,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sinf16 : M.IsFunction.Trait "core::intrinsics::sinf16" sinf16. + Global Instance Instance_IsFunction_sinf16 : M.IsFunction.C "core::intrinsics::sinf16" sinf16. Admitted. Global Typeclasses Opaque sinf16. @@ -4148,7 +4130,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sinf32 : M.IsFunction.Trait "core::intrinsics::sinf32" sinf32. + Global Instance Instance_IsFunction_sinf32 : M.IsFunction.C "core::intrinsics::sinf32" sinf32. Admitted. Global Typeclasses Opaque sinf32. @@ -4172,7 +4154,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sinf64 : M.IsFunction.Trait "core::intrinsics::sinf64" sinf64. + Global Instance Instance_IsFunction_sinf64 : M.IsFunction.C "core::intrinsics::sinf64" sinf64. Admitted. Global Typeclasses Opaque sinf64. @@ -4196,8 +4178,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sinf128 : - M.IsFunction.Trait "core::intrinsics::sinf128" sinf128. + Global Instance Instance_IsFunction_sinf128 : M.IsFunction.C "core::intrinsics::sinf128" sinf128. Admitted. Global Typeclasses Opaque sinf128. @@ -4221,7 +4202,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_cosf16 : M.IsFunction.Trait "core::intrinsics::cosf16" cosf16. + Global Instance Instance_IsFunction_cosf16 : M.IsFunction.C "core::intrinsics::cosf16" cosf16. Admitted. Global Typeclasses Opaque cosf16. @@ -4245,7 +4226,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_cosf32 : M.IsFunction.Trait "core::intrinsics::cosf32" cosf32. + Global Instance Instance_IsFunction_cosf32 : M.IsFunction.C "core::intrinsics::cosf32" cosf32. Admitted. Global Typeclasses Opaque cosf32. @@ -4269,7 +4250,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_cosf64 : M.IsFunction.Trait "core::intrinsics::cosf64" cosf64. + Global Instance Instance_IsFunction_cosf64 : M.IsFunction.C "core::intrinsics::cosf64" cosf64. Admitted. Global Typeclasses Opaque cosf64. @@ -4293,8 +4274,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_cosf128 : - M.IsFunction.Trait "core::intrinsics::cosf128" cosf128. + Global Instance Instance_IsFunction_cosf128 : M.IsFunction.C "core::intrinsics::cosf128" cosf128. Admitted. Global Typeclasses Opaque cosf128. @@ -4319,7 +4299,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powf16 : M.IsFunction.Trait "core::intrinsics::powf16" powf16. + Global Instance Instance_IsFunction_powf16 : M.IsFunction.C "core::intrinsics::powf16" powf16. Admitted. Global Typeclasses Opaque powf16. @@ -4344,7 +4324,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powf32 : M.IsFunction.Trait "core::intrinsics::powf32" powf32. + Global Instance Instance_IsFunction_powf32 : M.IsFunction.C "core::intrinsics::powf32" powf32. Admitted. Global Typeclasses Opaque powf32. @@ -4369,7 +4349,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powf64 : M.IsFunction.Trait "core::intrinsics::powf64" powf64. + Global Instance Instance_IsFunction_powf64 : M.IsFunction.C "core::intrinsics::powf64" powf64. Admitted. Global Typeclasses Opaque powf64. @@ -4394,8 +4374,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_powf128 : - M.IsFunction.Trait "core::intrinsics::powf128" powf128. + Global Instance Instance_IsFunction_powf128 : M.IsFunction.C "core::intrinsics::powf128" powf128. Admitted. Global Typeclasses Opaque powf128. @@ -4419,7 +4398,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_expf16 : M.IsFunction.Trait "core::intrinsics::expf16" expf16. + Global Instance Instance_IsFunction_expf16 : M.IsFunction.C "core::intrinsics::expf16" expf16. Admitted. Global Typeclasses Opaque expf16. @@ -4443,7 +4422,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_expf32 : M.IsFunction.Trait "core::intrinsics::expf32" expf32. + Global Instance Instance_IsFunction_expf32 : M.IsFunction.C "core::intrinsics::expf32" expf32. Admitted. Global Typeclasses Opaque expf32. @@ -4467,7 +4446,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_expf64 : M.IsFunction.Trait "core::intrinsics::expf64" expf64. + Global Instance Instance_IsFunction_expf64 : M.IsFunction.C "core::intrinsics::expf64" expf64. Admitted. Global Typeclasses Opaque expf64. @@ -4491,8 +4470,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_expf128 : - M.IsFunction.Trait "core::intrinsics::expf128" expf128. + Global Instance Instance_IsFunction_expf128 : M.IsFunction.C "core::intrinsics::expf128" expf128. Admitted. Global Typeclasses Opaque expf128. @@ -4516,8 +4494,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_exp2f16 : - M.IsFunction.Trait "core::intrinsics::exp2f16" exp2f16. + Global Instance Instance_IsFunction_exp2f16 : M.IsFunction.C "core::intrinsics::exp2f16" exp2f16. Admitted. Global Typeclasses Opaque exp2f16. @@ -4541,8 +4518,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_exp2f32 : - M.IsFunction.Trait "core::intrinsics::exp2f32" exp2f32. + Global Instance Instance_IsFunction_exp2f32 : M.IsFunction.C "core::intrinsics::exp2f32" exp2f32. Admitted. Global Typeclasses Opaque exp2f32. @@ -4566,8 +4542,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_exp2f64 : - M.IsFunction.Trait "core::intrinsics::exp2f64" exp2f64. + Global Instance Instance_IsFunction_exp2f64 : M.IsFunction.C "core::intrinsics::exp2f64" exp2f64. Admitted. Global Typeclasses Opaque exp2f64. @@ -4592,7 +4567,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_exp2f128 : - M.IsFunction.Trait "core::intrinsics::exp2f128" exp2f128. + M.IsFunction.C "core::intrinsics::exp2f128" exp2f128. Admitted. Global Typeclasses Opaque exp2f128. @@ -4616,7 +4591,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_logf16 : M.IsFunction.Trait "core::intrinsics::logf16" logf16. + Global Instance Instance_IsFunction_logf16 : M.IsFunction.C "core::intrinsics::logf16" logf16. Admitted. Global Typeclasses Opaque logf16. @@ -4640,7 +4615,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_logf32 : M.IsFunction.Trait "core::intrinsics::logf32" logf32. + Global Instance Instance_IsFunction_logf32 : M.IsFunction.C "core::intrinsics::logf32" logf32. Admitted. Global Typeclasses Opaque logf32. @@ -4664,7 +4639,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_logf64 : M.IsFunction.Trait "core::intrinsics::logf64" logf64. + Global Instance Instance_IsFunction_logf64 : M.IsFunction.C "core::intrinsics::logf64" logf64. Admitted. Global Typeclasses Opaque logf64. @@ -4688,8 +4663,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_logf128 : - M.IsFunction.Trait "core::intrinsics::logf128" logf128. + Global Instance Instance_IsFunction_logf128 : M.IsFunction.C "core::intrinsics::logf128" logf128. Admitted. Global Typeclasses Opaque logf128. @@ -4714,7 +4688,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_log10f16 : - M.IsFunction.Trait "core::intrinsics::log10f16" log10f16. + M.IsFunction.C "core::intrinsics::log10f16" log10f16. Admitted. Global Typeclasses Opaque log10f16. @@ -4739,7 +4713,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_log10f32 : - M.IsFunction.Trait "core::intrinsics::log10f32" log10f32. + M.IsFunction.C "core::intrinsics::log10f32" log10f32. Admitted. Global Typeclasses Opaque log10f32. @@ -4764,7 +4738,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_log10f64 : - M.IsFunction.Trait "core::intrinsics::log10f64" log10f64. + M.IsFunction.C "core::intrinsics::log10f64" log10f64. Admitted. Global Typeclasses Opaque log10f64. @@ -4789,7 +4763,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_log10f128 : - M.IsFunction.Trait "core::intrinsics::log10f128" log10f128. + M.IsFunction.C "core::intrinsics::log10f128" log10f128. Admitted. Global Typeclasses Opaque log10f128. @@ -4813,8 +4787,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_log2f16 : - M.IsFunction.Trait "core::intrinsics::log2f16" log2f16. + Global Instance Instance_IsFunction_log2f16 : M.IsFunction.C "core::intrinsics::log2f16" log2f16. Admitted. Global Typeclasses Opaque log2f16. @@ -4838,8 +4811,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_log2f32 : - M.IsFunction.Trait "core::intrinsics::log2f32" log2f32. + Global Instance Instance_IsFunction_log2f32 : M.IsFunction.C "core::intrinsics::log2f32" log2f32. Admitted. Global Typeclasses Opaque log2f32. @@ -4863,8 +4835,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_log2f64 : - M.IsFunction.Trait "core::intrinsics::log2f64" log2f64. + Global Instance Instance_IsFunction_log2f64 : M.IsFunction.C "core::intrinsics::log2f64" log2f64. Admitted. Global Typeclasses Opaque log2f64. @@ -4889,7 +4860,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_log2f128 : - M.IsFunction.Trait "core::intrinsics::log2f128" log2f128. + M.IsFunction.C "core::intrinsics::log2f128" log2f128. Admitted. Global Typeclasses Opaque log2f128. @@ -4915,7 +4886,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fmaf16 : M.IsFunction.Trait "core::intrinsics::fmaf16" fmaf16. + Global Instance Instance_IsFunction_fmaf16 : M.IsFunction.C "core::intrinsics::fmaf16" fmaf16. Admitted. Global Typeclasses Opaque fmaf16. @@ -4941,7 +4912,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fmaf32 : M.IsFunction.Trait "core::intrinsics::fmaf32" fmaf32. + Global Instance Instance_IsFunction_fmaf32 : M.IsFunction.C "core::intrinsics::fmaf32" fmaf32. Admitted. Global Typeclasses Opaque fmaf32. @@ -4967,7 +4938,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fmaf64 : M.IsFunction.Trait "core::intrinsics::fmaf64" fmaf64. + Global Instance Instance_IsFunction_fmaf64 : M.IsFunction.C "core::intrinsics::fmaf64" fmaf64. Admitted. Global Typeclasses Opaque fmaf64. @@ -4993,8 +4964,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fmaf128 : - M.IsFunction.Trait "core::intrinsics::fmaf128" fmaf128. + Global Instance Instance_IsFunction_fmaf128 : M.IsFunction.C "core::intrinsics::fmaf128" fmaf128. Admitted. Global Typeclasses Opaque fmaf128. @@ -5021,7 +4991,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fmuladdf16 : - M.IsFunction.Trait "core::intrinsics::fmuladdf16" fmuladdf16. + M.IsFunction.C "core::intrinsics::fmuladdf16" fmuladdf16. Admitted. Global Typeclasses Opaque fmuladdf16. @@ -5048,7 +5018,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fmuladdf32 : - M.IsFunction.Trait "core::intrinsics::fmuladdf32" fmuladdf32. + M.IsFunction.C "core::intrinsics::fmuladdf32" fmuladdf32. Admitted. Global Typeclasses Opaque fmuladdf32. @@ -5075,7 +5045,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fmuladdf64 : - M.IsFunction.Trait "core::intrinsics::fmuladdf64" fmuladdf64. + M.IsFunction.C "core::intrinsics::fmuladdf64" fmuladdf64. Admitted. Global Typeclasses Opaque fmuladdf64. @@ -5102,7 +5072,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fmuladdf128 : - M.IsFunction.Trait "core::intrinsics::fmuladdf128" fmuladdf128. + M.IsFunction.C "core::intrinsics::fmuladdf128" fmuladdf128. Admitted. Global Typeclasses Opaque fmuladdf128. @@ -5127,7 +5097,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_floorf16 : - M.IsFunction.Trait "core::intrinsics::floorf16" floorf16. + M.IsFunction.C "core::intrinsics::floorf16" floorf16. Admitted. Global Typeclasses Opaque floorf16. @@ -5152,7 +5122,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_floorf32 : - M.IsFunction.Trait "core::intrinsics::floorf32" floorf32. + M.IsFunction.C "core::intrinsics::floorf32" floorf32. Admitted. Global Typeclasses Opaque floorf32. @@ -5177,7 +5147,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_floorf64 : - M.IsFunction.Trait "core::intrinsics::floorf64" floorf64. + M.IsFunction.C "core::intrinsics::floorf64" floorf64. Admitted. Global Typeclasses Opaque floorf64. @@ -5202,7 +5172,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_floorf128 : - M.IsFunction.Trait "core::intrinsics::floorf128" floorf128. + M.IsFunction.C "core::intrinsics::floorf128" floorf128. Admitted. Global Typeclasses Opaque floorf128. @@ -5226,8 +5196,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ceilf16 : - M.IsFunction.Trait "core::intrinsics::ceilf16" ceilf16. + Global Instance Instance_IsFunction_ceilf16 : M.IsFunction.C "core::intrinsics::ceilf16" ceilf16. Admitted. Global Typeclasses Opaque ceilf16. @@ -5251,8 +5220,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ceilf32 : - M.IsFunction.Trait "core::intrinsics::ceilf32" ceilf32. + Global Instance Instance_IsFunction_ceilf32 : M.IsFunction.C "core::intrinsics::ceilf32" ceilf32. Admitted. Global Typeclasses Opaque ceilf32. @@ -5276,8 +5244,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ceilf64 : - M.IsFunction.Trait "core::intrinsics::ceilf64" ceilf64. + Global Instance Instance_IsFunction_ceilf64 : M.IsFunction.C "core::intrinsics::ceilf64" ceilf64. Admitted. Global Typeclasses Opaque ceilf64. @@ -5302,7 +5269,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ceilf128 : - M.IsFunction.Trait "core::intrinsics::ceilf128" ceilf128. + M.IsFunction.C "core::intrinsics::ceilf128" ceilf128. Admitted. Global Typeclasses Opaque ceilf128. @@ -5327,7 +5294,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_truncf16 : - M.IsFunction.Trait "core::intrinsics::truncf16" truncf16. + M.IsFunction.C "core::intrinsics::truncf16" truncf16. Admitted. Global Typeclasses Opaque truncf16. @@ -5352,7 +5319,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_truncf32 : - M.IsFunction.Trait "core::intrinsics::truncf32" truncf32. + M.IsFunction.C "core::intrinsics::truncf32" truncf32. Admitted. Global Typeclasses Opaque truncf32. @@ -5377,7 +5344,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_truncf64 : - M.IsFunction.Trait "core::intrinsics::truncf64" truncf64. + M.IsFunction.C "core::intrinsics::truncf64" truncf64. Admitted. Global Typeclasses Opaque truncf64. @@ -5402,7 +5369,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_truncf128 : - M.IsFunction.Trait "core::intrinsics::truncf128" truncf128. + M.IsFunction.C "core::intrinsics::truncf128" truncf128. Admitted. Global Typeclasses Opaque truncf128. @@ -5426,8 +5393,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_rintf16 : - M.IsFunction.Trait "core::intrinsics::rintf16" rintf16. + Global Instance Instance_IsFunction_rintf16 : M.IsFunction.C "core::intrinsics::rintf16" rintf16. Admitted. Global Typeclasses Opaque rintf16. @@ -5451,8 +5417,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_rintf32 : - M.IsFunction.Trait "core::intrinsics::rintf32" rintf32. + Global Instance Instance_IsFunction_rintf32 : M.IsFunction.C "core::intrinsics::rintf32" rintf32. Admitted. Global Typeclasses Opaque rintf32. @@ -5476,8 +5441,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_rintf64 : - M.IsFunction.Trait "core::intrinsics::rintf64" rintf64. + Global Instance Instance_IsFunction_rintf64 : M.IsFunction.C "core::intrinsics::rintf64" rintf64. Admitted. Global Typeclasses Opaque rintf64. @@ -5502,7 +5466,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_rintf128 : - M.IsFunction.Trait "core::intrinsics::rintf128" rintf128. + M.IsFunction.C "core::intrinsics::rintf128" rintf128. Admitted. Global Typeclasses Opaque rintf128. @@ -5527,7 +5491,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_nearbyintf16 : - M.IsFunction.Trait "core::intrinsics::nearbyintf16" nearbyintf16. + M.IsFunction.C "core::intrinsics::nearbyintf16" nearbyintf16. Admitted. Global Typeclasses Opaque nearbyintf16. @@ -5552,7 +5516,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_nearbyintf32 : - M.IsFunction.Trait "core::intrinsics::nearbyintf32" nearbyintf32. + M.IsFunction.C "core::intrinsics::nearbyintf32" nearbyintf32. Admitted. Global Typeclasses Opaque nearbyintf32. @@ -5577,7 +5541,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_nearbyintf64 : - M.IsFunction.Trait "core::intrinsics::nearbyintf64" nearbyintf64. + M.IsFunction.C "core::intrinsics::nearbyintf64" nearbyintf64. Admitted. Global Typeclasses Opaque nearbyintf64. @@ -5602,7 +5566,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_nearbyintf128 : - M.IsFunction.Trait "core::intrinsics::nearbyintf128" nearbyintf128. + M.IsFunction.C "core::intrinsics::nearbyintf128" nearbyintf128. Admitted. Global Typeclasses Opaque nearbyintf128. @@ -5627,7 +5591,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundf16 : - M.IsFunction.Trait "core::intrinsics::roundf16" roundf16. + M.IsFunction.C "core::intrinsics::roundf16" roundf16. Admitted. Global Typeclasses Opaque roundf16. @@ -5652,7 +5616,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundf32 : - M.IsFunction.Trait "core::intrinsics::roundf32" roundf32. + M.IsFunction.C "core::intrinsics::roundf32" roundf32. Admitted. Global Typeclasses Opaque roundf32. @@ -5677,7 +5641,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundf64 : - M.IsFunction.Trait "core::intrinsics::roundf64" roundf64. + M.IsFunction.C "core::intrinsics::roundf64" roundf64. Admitted. Global Typeclasses Opaque roundf64. @@ -5702,7 +5666,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundf128 : - M.IsFunction.Trait "core::intrinsics::roundf128" roundf128. + M.IsFunction.C "core::intrinsics::roundf128" roundf128. Admitted. Global Typeclasses Opaque roundf128. @@ -5727,7 +5691,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundevenf16 : - M.IsFunction.Trait "core::intrinsics::roundevenf16" roundevenf16. + M.IsFunction.C "core::intrinsics::roundevenf16" roundevenf16. Admitted. Global Typeclasses Opaque roundevenf16. @@ -5752,7 +5716,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundevenf32 : - M.IsFunction.Trait "core::intrinsics::roundevenf32" roundevenf32. + M.IsFunction.C "core::intrinsics::roundevenf32" roundevenf32. Admitted. Global Typeclasses Opaque roundevenf32. @@ -5777,7 +5741,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundevenf64 : - M.IsFunction.Trait "core::intrinsics::roundevenf64" roundevenf64. + M.IsFunction.C "core::intrinsics::roundevenf64" roundevenf64. Admitted. Global Typeclasses Opaque roundevenf64. @@ -5802,7 +5766,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_roundevenf128 : - M.IsFunction.Trait "core::intrinsics::roundevenf128" roundevenf128. + M.IsFunction.C "core::intrinsics::roundevenf128" roundevenf128. Admitted. Global Typeclasses Opaque roundevenf128. @@ -5828,7 +5792,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fadd_fast : - M.IsFunction.Trait "core::intrinsics::fadd_fast" fadd_fast. + M.IsFunction.C "core::intrinsics::fadd_fast" fadd_fast. Admitted. Global Typeclasses Opaque fadd_fast. @@ -5854,7 +5818,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fsub_fast : - M.IsFunction.Trait "core::intrinsics::fsub_fast" fsub_fast. + M.IsFunction.C "core::intrinsics::fsub_fast" fsub_fast. Admitted. Global Typeclasses Opaque fsub_fast. @@ -5880,7 +5844,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fmul_fast : - M.IsFunction.Trait "core::intrinsics::fmul_fast" fmul_fast. + M.IsFunction.C "core::intrinsics::fmul_fast" fmul_fast. Admitted. Global Typeclasses Opaque fmul_fast. @@ -5906,7 +5870,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fdiv_fast : - M.IsFunction.Trait "core::intrinsics::fdiv_fast" fdiv_fast. + M.IsFunction.C "core::intrinsics::fdiv_fast" fdiv_fast. Admitted. Global Typeclasses Opaque fdiv_fast. @@ -5932,7 +5896,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_frem_fast : - M.IsFunction.Trait "core::intrinsics::frem_fast" frem_fast. + M.IsFunction.C "core::intrinsics::frem_fast" frem_fast. Admitted. Global Typeclasses Opaque frem_fast. @@ -5957,7 +5921,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_float_to_int_unchecked : - M.IsFunction.Trait "core::intrinsics::float_to_int_unchecked" float_to_int_unchecked. + M.IsFunction.C "core::intrinsics::float_to_int_unchecked" float_to_int_unchecked. Admitted. Global Typeclasses Opaque float_to_int_unchecked. @@ -5983,7 +5947,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fadd_algebraic : - M.IsFunction.Trait "core::intrinsics::fadd_algebraic" fadd_algebraic. + M.IsFunction.C "core::intrinsics::fadd_algebraic" fadd_algebraic. Admitted. Global Typeclasses Opaque fadd_algebraic. @@ -6009,7 +5973,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fsub_algebraic : - M.IsFunction.Trait "core::intrinsics::fsub_algebraic" fsub_algebraic. + M.IsFunction.C "core::intrinsics::fsub_algebraic" fsub_algebraic. Admitted. Global Typeclasses Opaque fsub_algebraic. @@ -6035,7 +5999,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fmul_algebraic : - M.IsFunction.Trait "core::intrinsics::fmul_algebraic" fmul_algebraic. + M.IsFunction.C "core::intrinsics::fmul_algebraic" fmul_algebraic. Admitted. Global Typeclasses Opaque fmul_algebraic. @@ -6061,7 +6025,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fdiv_algebraic : - M.IsFunction.Trait "core::intrinsics::fdiv_algebraic" fdiv_algebraic. + M.IsFunction.C "core::intrinsics::fdiv_algebraic" fdiv_algebraic. Admitted. Global Typeclasses Opaque fdiv_algebraic. @@ -6087,7 +6051,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_frem_algebraic : - M.IsFunction.Trait "core::intrinsics::frem_algebraic" frem_algebraic. + M.IsFunction.C "core::intrinsics::frem_algebraic" frem_algebraic. Admitted. Global Typeclasses Opaque frem_algebraic. @@ -6111,7 +6075,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ctpop : M.IsFunction.Trait "core::intrinsics::ctpop" ctpop. + Global Instance Instance_IsFunction_ctpop : M.IsFunction.C "core::intrinsics::ctpop" ctpop. Admitted. Global Typeclasses Opaque ctpop. @@ -6135,7 +6099,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ctlz : M.IsFunction.Trait "core::intrinsics::ctlz" ctlz. + Global Instance Instance_IsFunction_ctlz : M.IsFunction.C "core::intrinsics::ctlz" ctlz. Admitted. Global Typeclasses Opaque ctlz. @@ -6160,7 +6124,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ctlz_nonzero : - M.IsFunction.Trait "core::intrinsics::ctlz_nonzero" ctlz_nonzero. + M.IsFunction.C "core::intrinsics::ctlz_nonzero" ctlz_nonzero. Admitted. Global Typeclasses Opaque ctlz_nonzero. @@ -6184,7 +6148,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_cttz : M.IsFunction.Trait "core::intrinsics::cttz" cttz. + Global Instance Instance_IsFunction_cttz : M.IsFunction.C "core::intrinsics::cttz" cttz. Admitted. Global Typeclasses Opaque cttz. @@ -6209,7 +6173,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_cttz_nonzero : - M.IsFunction.Trait "core::intrinsics::cttz_nonzero" cttz_nonzero. + M.IsFunction.C "core::intrinsics::cttz_nonzero" cttz_nonzero. Admitted. Global Typeclasses Opaque cttz_nonzero. @@ -6233,7 +6197,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_bswap : M.IsFunction.Trait "core::intrinsics::bswap" bswap. + Global Instance Instance_IsFunction_bswap : M.IsFunction.C "core::intrinsics::bswap" bswap. Admitted. Global Typeclasses Opaque bswap. @@ -6258,7 +6222,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_bitreverse : - M.IsFunction.Trait "core::intrinsics::bitreverse" bitreverse. + M.IsFunction.C "core::intrinsics::bitreverse" bitreverse. Admitted. Global Typeclasses Opaque bitreverse. @@ -6284,7 +6248,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_three_way_compare : - M.IsFunction.Trait "core::intrinsics::three_way_compare" three_way_compare. + M.IsFunction.C "core::intrinsics::three_way_compare" three_way_compare. Admitted. Global Typeclasses Opaque three_way_compare. @@ -6310,7 +6274,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_add_with_overflow : - M.IsFunction.Trait "core::intrinsics::add_with_overflow" add_with_overflow. + M.IsFunction.C "core::intrinsics::add_with_overflow" add_with_overflow. Admitted. Global Typeclasses Opaque add_with_overflow. @@ -6336,7 +6300,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_sub_with_overflow : - M.IsFunction.Trait "core::intrinsics::sub_with_overflow" sub_with_overflow. + M.IsFunction.C "core::intrinsics::sub_with_overflow" sub_with_overflow. Admitted. Global Typeclasses Opaque sub_with_overflow. @@ -6362,7 +6326,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_mul_with_overflow : - M.IsFunction.Trait "core::intrinsics::mul_with_overflow" mul_with_overflow. + M.IsFunction.C "core::intrinsics::mul_with_overflow" mul_with_overflow. Admitted. Global Typeclasses Opaque mul_with_overflow. @@ -6388,7 +6352,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_exact_div : - M.IsFunction.Trait "core::intrinsics::exact_div" exact_div. + M.IsFunction.C "core::intrinsics::exact_div" exact_div. Admitted. Global Typeclasses Opaque exact_div. @@ -6414,7 +6378,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_div : - M.IsFunction.Trait "core::intrinsics::unchecked_div" unchecked_div. + M.IsFunction.C "core::intrinsics::unchecked_div" unchecked_div. Admitted. Global Typeclasses Opaque unchecked_div. @@ -6440,7 +6404,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_rem : - M.IsFunction.Trait "core::intrinsics::unchecked_rem" unchecked_rem. + M.IsFunction.C "core::intrinsics::unchecked_rem" unchecked_rem. Admitted. Global Typeclasses Opaque unchecked_rem. @@ -6466,7 +6430,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_shl : - M.IsFunction.Trait "core::intrinsics::unchecked_shl" unchecked_shl. + M.IsFunction.C "core::intrinsics::unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -6492,7 +6456,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_shr : - M.IsFunction.Trait "core::intrinsics::unchecked_shr" unchecked_shr. + M.IsFunction.C "core::intrinsics::unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -6518,7 +6482,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_add : - M.IsFunction.Trait "core::intrinsics::unchecked_add" unchecked_add. + M.IsFunction.C "core::intrinsics::unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -6544,7 +6508,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_sub : - M.IsFunction.Trait "core::intrinsics::unchecked_sub" unchecked_sub. + M.IsFunction.C "core::intrinsics::unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -6570,7 +6534,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_unchecked_mul : - M.IsFunction.Trait "core::intrinsics::unchecked_mul" unchecked_mul. + M.IsFunction.C "core::intrinsics::unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -6596,7 +6560,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_rotate_left : - M.IsFunction.Trait "core::intrinsics::rotate_left" rotate_left. + M.IsFunction.C "core::intrinsics::rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -6622,7 +6586,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_rotate_right : - M.IsFunction.Trait "core::intrinsics::rotate_right" rotate_right. + M.IsFunction.C "core::intrinsics::rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -6648,7 +6612,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_wrapping_add : - M.IsFunction.Trait "core::intrinsics::wrapping_add" wrapping_add. + M.IsFunction.C "core::intrinsics::wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -6674,7 +6638,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_wrapping_sub : - M.IsFunction.Trait "core::intrinsics::wrapping_sub" wrapping_sub. + M.IsFunction.C "core::intrinsics::wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -6700,7 +6664,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_wrapping_mul : - M.IsFunction.Trait "core::intrinsics::wrapping_mul" wrapping_mul. + M.IsFunction.C "core::intrinsics::wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -6726,7 +6690,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_saturating_add : - M.IsFunction.Trait "core::intrinsics::saturating_add" saturating_add. + M.IsFunction.C "core::intrinsics::saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -6752,7 +6716,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_saturating_sub : - M.IsFunction.Trait "core::intrinsics::saturating_sub" saturating_sub. + M.IsFunction.C "core::intrinsics::saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -6777,7 +6741,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_read_via_copy : - M.IsFunction.Trait "core::intrinsics::read_via_copy" read_via_copy. + M.IsFunction.C "core::intrinsics::read_via_copy" read_via_copy. Admitted. Global Typeclasses Opaque read_via_copy. @@ -6803,7 +6767,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_write_via_move : - M.IsFunction.Trait "core::intrinsics::write_via_move" write_via_move. + M.IsFunction.C "core::intrinsics::write_via_move" write_via_move. Admitted. Global Typeclasses Opaque write_via_move. @@ -6828,20 +6792,20 @@ Module intrinsics. end. Global Instance Instance_IsFunction_discriminant_value : - M.IsFunction.Trait "core::intrinsics::discriminant_value" discriminant_value. + M.IsFunction.C "core::intrinsics::discriminant_value" discriminant_value. Admitted. Global Typeclasses Opaque discriminant_value. Parameter catch_unwind : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_catch_unwind : - M.IsFunction.Trait "core::intrinsics::catch_unwind" catch_unwind. + M.IsFunction.C "core::intrinsics::catch_unwind" catch_unwind. Admitted. Parameter nontemporal_store : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_nontemporal_store : - M.IsFunction.Trait "core::intrinsics::nontemporal_store" nontemporal_store. + M.IsFunction.C "core::intrinsics::nontemporal_store" nontemporal_store. Admitted. (* @@ -6866,7 +6830,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ptr_offset_from : - M.IsFunction.Trait "core::intrinsics::ptr_offset_from" ptr_offset_from. + M.IsFunction.C "core::intrinsics::ptr_offset_from" ptr_offset_from. Admitted. Global Typeclasses Opaque ptr_offset_from. @@ -6892,7 +6856,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ptr_offset_from_unsigned : - M.IsFunction.Trait "core::intrinsics::ptr_offset_from_unsigned" ptr_offset_from_unsigned. + M.IsFunction.C "core::intrinsics::ptr_offset_from_unsigned" ptr_offset_from_unsigned. Admitted. Global Typeclasses Opaque ptr_offset_from_unsigned. @@ -6912,7 +6876,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ptr_guaranteed_cmp : - M.IsFunction.Trait "core::intrinsics::ptr_guaranteed_cmp" ptr_guaranteed_cmp. + M.IsFunction.C "core::intrinsics::ptr_guaranteed_cmp" ptr_guaranteed_cmp. Admitted. Global Typeclasses Opaque ptr_guaranteed_cmp. @@ -6937,7 +6901,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_raw_eq : M.IsFunction.Trait "core::intrinsics::raw_eq" raw_eq. + Global Instance Instance_IsFunction_raw_eq : M.IsFunction.C "core::intrinsics::raw_eq" raw_eq. Admitted. Global Typeclasses Opaque raw_eq. @@ -6964,7 +6928,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_compare_bytes : - M.IsFunction.Trait "core::intrinsics::compare_bytes" compare_bytes. + M.IsFunction.C "core::intrinsics::compare_bytes" compare_bytes. Admitted. Global Typeclasses Opaque compare_bytes. @@ -6989,7 +6953,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_black_box : - M.IsFunction.Trait "core::intrinsics::black_box" black_box. + M.IsFunction.C "core::intrinsics::black_box" black_box. Admitted. Global Typeclasses Opaque black_box. @@ -7024,7 +6988,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_const_eval_select : - M.IsFunction.Trait "core::intrinsics::const_eval_select" const_eval_select. + M.IsFunction.C "core::intrinsics::const_eval_select" const_eval_select. Admitted. Global Typeclasses Opaque const_eval_select. @@ -7043,7 +7007,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_is_val_statically_known : - M.IsFunction.Trait "core::intrinsics::is_val_statically_known" is_val_statically_known. + M.IsFunction.C "core::intrinsics::is_val_statically_known" is_val_statically_known. Admitted. Global Typeclasses Opaque is_val_statically_known. @@ -7075,7 +7039,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_typed_swap : - M.IsFunction.Trait "core::intrinsics::typed_swap" typed_swap. + M.IsFunction.C "core::intrinsics::typed_swap" typed_swap. Admitted. Global Typeclasses Opaque typed_swap. @@ -7091,7 +7055,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ub_checks : - M.IsFunction.Trait "core::intrinsics::ub_checks" ub_checks. + M.IsFunction.C "core::intrinsics::ub_checks" ub_checks. Admitted. Global Typeclasses Opaque ub_checks. @@ -7117,7 +7081,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_const_allocate : - M.IsFunction.Trait "core::intrinsics::const_allocate" const_allocate. + M.IsFunction.C "core::intrinsics::const_allocate" const_allocate. Admitted. Global Typeclasses Opaque const_allocate. @@ -7138,7 +7102,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_const_deallocate : - M.IsFunction.Trait "core::intrinsics::const_deallocate" const_deallocate. + M.IsFunction.C "core::intrinsics::const_deallocate" const_deallocate. Admitted. Global Typeclasses Opaque const_deallocate. @@ -7163,7 +7127,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_vtable_size : - M.IsFunction.Trait "core::intrinsics::vtable_size" vtable_size. + M.IsFunction.C "core::intrinsics::vtable_size" vtable_size. Admitted. Global Typeclasses Opaque vtable_size. @@ -7188,7 +7152,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_vtable_align : - M.IsFunction.Trait "core::intrinsics::vtable_align" vtable_align. + M.IsFunction.C "core::intrinsics::vtable_align" vtable_align. Admitted. Global Typeclasses Opaque vtable_align. @@ -7211,8 +7175,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_size_of : - M.IsFunction.Trait "core::intrinsics::size_of" size_of. + Global Instance Instance_IsFunction_size_of : M.IsFunction.C "core::intrinsics::size_of" size_of. Admitted. Global Typeclasses Opaque size_of. @@ -7236,7 +7199,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_min_align_of : - M.IsFunction.Trait "core::intrinsics::min_align_of" min_align_of. + M.IsFunction.C "core::intrinsics::min_align_of" min_align_of. Admitted. Global Typeclasses Opaque min_align_of. @@ -7260,7 +7223,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_pref_align_of : - M.IsFunction.Trait "core::intrinsics::pref_align_of" pref_align_of. + M.IsFunction.C "core::intrinsics::pref_align_of" pref_align_of. Admitted. Global Typeclasses Opaque pref_align_of. @@ -7284,7 +7247,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_variant_count : - M.IsFunction.Trait "core::intrinsics::variant_count" variant_count. + M.IsFunction.C "core::intrinsics::variant_count" variant_count. Admitted. Global Typeclasses Opaque variant_count. @@ -7309,7 +7272,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_size_of_val : - M.IsFunction.Trait "core::intrinsics::size_of_val" size_of_val. + M.IsFunction.C "core::intrinsics::size_of_val" size_of_val. Admitted. Global Typeclasses Opaque size_of_val. @@ -7334,7 +7297,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_min_align_of_val : - M.IsFunction.Trait "core::intrinsics::min_align_of_val" min_align_of_val. + M.IsFunction.C "core::intrinsics::min_align_of_val" min_align_of_val. Admitted. Global Typeclasses Opaque min_align_of_val. @@ -7358,7 +7321,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_type_name : - M.IsFunction.Trait "core::intrinsics::type_name" type_name. + M.IsFunction.C "core::intrinsics::type_name" type_name. Admitted. Global Typeclasses Opaque type_name. @@ -7381,8 +7344,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_type_id : - M.IsFunction.Trait "core::intrinsics::type_id" type_id. + Global Instance Instance_IsFunction_type_id : M.IsFunction.C "core::intrinsics::type_id" type_id. Admitted. Global Typeclasses Opaque type_id. @@ -7410,7 +7372,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_aggregate_raw_ptr : - M.IsFunction.Trait "core::intrinsics::aggregate_raw_ptr" aggregate_raw_ptr. + M.IsFunction.C "core::intrinsics::aggregate_raw_ptr" aggregate_raw_ptr. Admitted. Global Typeclasses Opaque aggregate_raw_ptr. @@ -7474,7 +7436,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_ptr_metadata : - M.IsFunction.Trait "core::intrinsics::ptr_metadata" ptr_metadata. + M.IsFunction.C "core::intrinsics::ptr_metadata" ptr_metadata. Admitted. Global Typeclasses Opaque ptr_metadata. @@ -7586,7 +7548,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_copy_nonoverlapping : - M.IsFunction.Trait "core::intrinsics::copy_nonoverlapping" copy_nonoverlapping. + M.IsFunction.C "core::intrinsics::copy_nonoverlapping" copy_nonoverlapping. Admitted. Global Typeclasses Opaque copy_nonoverlapping. @@ -7614,7 +7576,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_copy_nonoverlapping : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::copy_nonoverlapping::copy_nonoverlapping" copy_nonoverlapping. Admitted. @@ -7692,7 +7654,12 @@ Module intrinsics. [] |); LogicalOp.or (| - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |), + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |), ltac:(M.monadic (BinOp.eq (| M.read (| count |), @@ -7717,7 +7684,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_copy : M.IsFunction.Trait "core::intrinsics::copy" copy. + Global Instance Instance_IsFunction_copy : M.IsFunction.C "core::intrinsics::copy" copy. Admitted. Global Typeclasses Opaque copy. @@ -7744,8 +7711,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_copy : - M.IsFunction.Trait "core::intrinsics::copy::copy" copy. + Global Instance Instance_IsFunction_copy : M.IsFunction.C "core::intrinsics::copy::copy" copy. Admitted. Global Typeclasses Opaque copy. End copy. @@ -7819,7 +7785,12 @@ Module intrinsics. [] |); LogicalOp.or (| - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |), + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |), ltac:(M.monadic (BinOp.eq (| M.read (| count |), @@ -7845,7 +7816,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_write_bytes : - M.IsFunction.Trait "core::intrinsics::write_bytes" write_bytes. + M.IsFunction.C "core::intrinsics::write_bytes" write_bytes. Admitted. Global Typeclasses Opaque write_bytes. @@ -7873,7 +7844,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_write_bytes : - M.IsFunction.Trait "core::intrinsics::write_bytes::write_bytes" write_bytes. + M.IsFunction.C "core::intrinsics::write_bytes::write_bytes" write_bytes. Admitted. Global Typeclasses Opaque write_bytes. End write_bytes. @@ -7900,7 +7871,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_minnumf16 : - M.IsFunction.Trait "core::intrinsics::minnumf16" minnumf16. + M.IsFunction.C "core::intrinsics::minnumf16" minnumf16. Admitted. Global Typeclasses Opaque minnumf16. @@ -7926,7 +7897,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_minnumf32 : - M.IsFunction.Trait "core::intrinsics::minnumf32" minnumf32. + M.IsFunction.C "core::intrinsics::minnumf32" minnumf32. Admitted. Global Typeclasses Opaque minnumf32. @@ -7952,7 +7923,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_minnumf64 : - M.IsFunction.Trait "core::intrinsics::minnumf64" minnumf64. + M.IsFunction.C "core::intrinsics::minnumf64" minnumf64. Admitted. Global Typeclasses Opaque minnumf64. @@ -7978,7 +7949,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_minnumf128 : - M.IsFunction.Trait "core::intrinsics::minnumf128" minnumf128. + M.IsFunction.C "core::intrinsics::minnumf128" minnumf128. Admitted. Global Typeclasses Opaque minnumf128. @@ -8004,7 +7975,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_maxnumf16 : - M.IsFunction.Trait "core::intrinsics::maxnumf16" maxnumf16. + M.IsFunction.C "core::intrinsics::maxnumf16" maxnumf16. Admitted. Global Typeclasses Opaque maxnumf16. @@ -8030,7 +8001,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_maxnumf32 : - M.IsFunction.Trait "core::intrinsics::maxnumf32" maxnumf32. + M.IsFunction.C "core::intrinsics::maxnumf32" maxnumf32. Admitted. Global Typeclasses Opaque maxnumf32. @@ -8056,7 +8027,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_maxnumf64 : - M.IsFunction.Trait "core::intrinsics::maxnumf64" maxnumf64. + M.IsFunction.C "core::intrinsics::maxnumf64" maxnumf64. Admitted. Global Typeclasses Opaque maxnumf64. @@ -8082,7 +8053,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_maxnumf128 : - M.IsFunction.Trait "core::intrinsics::maxnumf128" maxnumf128. + M.IsFunction.C "core::intrinsics::maxnumf128" maxnumf128. Admitted. Global Typeclasses Opaque maxnumf128. @@ -8106,8 +8077,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fabsf16 : - M.IsFunction.Trait "core::intrinsics::fabsf16" fabsf16. + Global Instance Instance_IsFunction_fabsf16 : M.IsFunction.C "core::intrinsics::fabsf16" fabsf16. Admitted. Global Typeclasses Opaque fabsf16. @@ -8131,8 +8101,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fabsf32 : - M.IsFunction.Trait "core::intrinsics::fabsf32" fabsf32. + Global Instance Instance_IsFunction_fabsf32 : M.IsFunction.C "core::intrinsics::fabsf32" fabsf32. Admitted. Global Typeclasses Opaque fabsf32. @@ -8156,8 +8125,7 @@ Module intrinsics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fabsf64 : - M.IsFunction.Trait "core::intrinsics::fabsf64" fabsf64. + Global Instance Instance_IsFunction_fabsf64 : M.IsFunction.C "core::intrinsics::fabsf64" fabsf64. Admitted. Global Typeclasses Opaque fabsf64. @@ -8182,7 +8150,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_fabsf128 : - M.IsFunction.Trait "core::intrinsics::fabsf128" fabsf128. + M.IsFunction.C "core::intrinsics::fabsf128" fabsf128. Admitted. Global Typeclasses Opaque fabsf128. @@ -8208,7 +8176,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_copysignf16 : - M.IsFunction.Trait "core::intrinsics::copysignf16" copysignf16. + M.IsFunction.C "core::intrinsics::copysignf16" copysignf16. Admitted. Global Typeclasses Opaque copysignf16. @@ -8234,7 +8202,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_copysignf32 : - M.IsFunction.Trait "core::intrinsics::copysignf32" copysignf32. + M.IsFunction.C "core::intrinsics::copysignf32" copysignf32. Admitted. Global Typeclasses Opaque copysignf32. @@ -8260,7 +8228,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_copysignf64 : - M.IsFunction.Trait "core::intrinsics::copysignf64" copysignf64. + M.IsFunction.C "core::intrinsics::copysignf64" copysignf64. Admitted. Global Typeclasses Opaque copysignf64. @@ -8286,7 +8254,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_copysignf128 : - M.IsFunction.Trait "core::intrinsics::copysignf128" copysignf128. + M.IsFunction.C "core::intrinsics::copysignf128" copysignf128. Admitted. Global Typeclasses Opaque copysignf128. End intrinsics. @@ -8305,7 +8273,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::ub_checks::check_language_ub::runtime" runtime. + M.IsFunction.C "core::ub_checks::check_language_ub::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -8324,7 +8292,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::ub_checks::check_language_ub::compiletime" compiletime. + M.IsFunction.C "core::ub_checks::check_language_ub::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End check_language_ub. @@ -8375,7 +8343,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::ub_checks::maybe_is_aligned_and_not_null::runtime" runtime. + M.IsFunction.C "core::ub_checks::maybe_is_aligned_and_not_null::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -8442,7 +8410,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::ub_checks::maybe_is_aligned_and_not_null::compiletime" compiletime. + M.IsFunction.C "core::ub_checks::maybe_is_aligned_and_not_null::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End maybe_is_aligned_and_not_null. @@ -8523,7 +8491,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::ub_checks::maybe_is_nonoverlapping::runtime" runtime. + M.IsFunction.C "core::ub_checks::maybe_is_nonoverlapping::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -8578,7 +8546,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::ub_checks::maybe_is_nonoverlapping::compiletime" compiletime. + M.IsFunction.C "core::ub_checks::maybe_is_nonoverlapping::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End maybe_is_nonoverlapping. @@ -8771,7 +8739,7 @@ Module char. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::char::methods::encode_utf8_raw::do_panic::runtime" runtime. + M.IsFunction.C "core::char::methods::encode_utf8_raw::do_panic::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -8859,9 +8827,7 @@ Module char. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait - "core::char::methods::encode_utf8_raw::do_panic::compiletime" - compiletime. + M.IsFunction.C "core::char::methods::encode_utf8_raw::do_panic::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End do_panic. @@ -9052,7 +9018,7 @@ Module char. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::char::methods::encode_utf16_raw::do_panic::runtime" runtime. + M.IsFunction.C "core::char::methods::encode_utf16_raw::do_panic::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -9140,9 +9106,7 @@ Module char. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait - "core::char::methods::encode_utf16_raw::do_panic::compiletime" - compiletime. + M.IsFunction.C "core::char::methods::encode_utf16_raw::do_panic::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End do_panic. @@ -9172,7 +9136,7 @@ Module ffi. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::ffi::c_str::strlen::runtime" runtime. + M.IsFunction.C "core::ffi::c_str::strlen::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -9270,7 +9234,7 @@ Module ffi. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::ffi::c_str::strlen::compiletime" compiletime. + M.IsFunction.C "core::ffi::c_str::strlen::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End strlen. @@ -9364,7 +9328,7 @@ Module panicking. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::panicking::panic_nounwind_fmt::runtime" runtime. + M.IsFunction.C "core::panicking::panic_nounwind_fmt::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -9411,7 +9375,7 @@ Module panicking. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::panicking::panic_nounwind_fmt::compiletime" compiletime. + M.IsFunction.C "core::panicking::panic_nounwind_fmt::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End panic_nounwind_fmt. @@ -9472,7 +9436,9 @@ Module slice. |), [ M.read (| ptr |); - M.read (| M.get_constant "core::slice::memchr::USIZE_BYTES" |) + M.read (| + get_constant (| "core::slice::memchr::USIZE_BYTES", Ty.path "usize" |) + |) ] |) |) in @@ -9632,7 +9598,10 @@ Module slice. BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant "core::slice::memchr::USIZE_BYTES" + get_constant (| + "core::slice::memchr::USIZE_BYTES", + Ty.path "usize" + |) |) |) |) @@ -9679,7 +9648,10 @@ Module slice. BinOp.Wrap.add (| M.read (| offset |), M.read (| - M.get_constant "core::slice::memchr::USIZE_BYTES" + get_constant (| + "core::slice::memchr::USIZE_BYTES", + Ty.path "usize" + |) |) |) ] @@ -9744,7 +9716,10 @@ Module slice. M.read (| β |), BinOp.Wrap.mul (| M.read (| - M.get_constant "core::slice::memchr::USIZE_BYTES" + get_constant (| + "core::slice::memchr::USIZE_BYTES", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 2 |) @@ -9863,7 +9838,7 @@ Module slice. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::slice::memchr::memchr_aligned::runtime" runtime. + M.IsFunction.C "core::slice::memchr::memchr_aligned::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -9913,7 +9888,7 @@ Module slice. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::slice::memchr::memchr_aligned::compiletime" compiletime. + M.IsFunction.C "core::slice::memchr::memchr_aligned::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End memchr_aligned. @@ -9969,7 +9944,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| s |) |) |) ] |); M.read (| - M.get_constant "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) ] |) @@ -9989,8 +9967,10 @@ Module slice. BinOp.lt (| M.read (| len |), M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) |), ltac:(M.monadic @@ -10002,8 +9982,10 @@ Module slice. ltac:(M.monadic (BinOp.lt (| M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |), M.call_closure (| Ty.path "usize", @@ -10065,7 +10047,10 @@ Module slice. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::slice::ascii::is_ascii::runtime::USIZE_SIZE")); + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |))); fun γ => ltac:(M.monadic align_offset) ] |) @@ -10286,8 +10271,10 @@ Module slice. BinOp.Wrap.sub (| M.read (| len |), M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) |) |) @@ -10325,8 +10312,10 @@ Module slice. BinOp.Wrap.add (| M.read (| byte_pos |), M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) |), M.read (| len |) @@ -10510,8 +10499,10 @@ Module slice. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) |) |) @@ -10582,8 +10573,10 @@ Module slice. M.read (| byte_pos |) |), M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) |))) |) @@ -10640,8 +10633,10 @@ Module slice. BinOp.Wrap.sub (| M.read (| len |), M.read (| - M.get_constant - "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" + get_constant (| + "core::slice::ascii::is_ascii::runtime::USIZE_SIZE", + Ty.path "usize" + |) |) |) ] @@ -10664,7 +10659,7 @@ Module slice. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::slice::ascii::is_ascii::runtime" runtime. + M.IsFunction.C "core::slice::ascii::is_ascii::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -10702,7 +10697,7 @@ Module slice. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::slice::ascii::is_ascii::compiletime" compiletime. + M.IsFunction.C "core::slice::ascii::is_ascii::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End is_ascii. @@ -10801,7 +10796,7 @@ Module slice. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::slice_start_index_len_fail::do_panic::runtime" runtime. Admitted. @@ -10878,7 +10873,7 @@ Module slice. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::slice_start_index_len_fail::do_panic::compiletime" compiletime. Admitted. @@ -10978,9 +10973,7 @@ Module slice. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait - "core::slice::index::slice_end_index_len_fail::do_panic::runtime" - runtime. + M.IsFunction.C "core::slice::index::slice_end_index_len_fail::do_panic::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -11055,7 +11048,7 @@ Module slice. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::slice_end_index_len_fail::do_panic::compiletime" compiletime. Admitted. @@ -11155,9 +11148,7 @@ Module slice. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait - "core::slice::index::slice_index_order_fail::do_panic::runtime" - runtime. + M.IsFunction.C "core::slice::index::slice_index_order_fail::do_panic::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -11232,7 +11223,7 @@ Module slice. end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::slice_index_order_fail::do_panic::compiletime" compiletime. Admitted. @@ -11275,7 +11266,10 @@ Module str. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| v |) |) |) ] |); M.read (| - M.get_constant "core::str::validations::run_utf8_validation::USIZE_BYTES" + get_constant (| + "core::str::validations::run_utf8_validation::USIZE_BYTES", + Ty.path "usize" + |) |) ] |))) @@ -11283,7 +11277,7 @@ Module str. end. Global Instance Instance_IsFunction_runtime : - M.IsFunction.Trait "core::str::validations::run_utf8_validation::runtime" runtime. + M.IsFunction.C "core::str::validations::run_utf8_validation::runtime" runtime. Admitted. Global Typeclasses Opaque runtime. @@ -11304,14 +11298,18 @@ Module str. M.match_operator (| None, v, - [ fun γ => ltac:(M.monadic (M.get_constant "core::num::MAX")) ] + [ + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))) + ] |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_compiletime : - M.IsFunction.Trait "core::str::validations::run_utf8_validation::compiletime" compiletime. + M.IsFunction.C "core::str::validations::run_utf8_validation::compiletime" compiletime. Admitted. Global Typeclasses Opaque compiletime. End run_utf8_validation. diff --git a/CoqOfRust/core/intrinsics/simd.v b/CoqOfRust/core/intrinsics/simd.v index 901dc6eb8..f7c54270f 100644 --- a/CoqOfRust/core/intrinsics/simd.v +++ b/CoqOfRust/core/intrinsics/simd.v @@ -6,299 +6,295 @@ Module intrinsics. Parameter simd_insert : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_insert : - M.IsFunction.Trait "core::intrinsics::simd::simd_insert" simd_insert. + M.IsFunction.C "core::intrinsics::simd::simd_insert" simd_insert. Admitted. Parameter simd_extract : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_extract : - M.IsFunction.Trait "core::intrinsics::simd::simd_extract" simd_extract. + M.IsFunction.C "core::intrinsics::simd::simd_extract" simd_extract. Admitted. Parameter simd_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_add : - M.IsFunction.Trait "core::intrinsics::simd::simd_add" simd_add. + M.IsFunction.C "core::intrinsics::simd::simd_add" simd_add. Admitted. Parameter simd_sub : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_sub : - M.IsFunction.Trait "core::intrinsics::simd::simd_sub" simd_sub. + M.IsFunction.C "core::intrinsics::simd::simd_sub" simd_sub. Admitted. Parameter simd_mul : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_mul : - M.IsFunction.Trait "core::intrinsics::simd::simd_mul" simd_mul. + M.IsFunction.C "core::intrinsics::simd::simd_mul" simd_mul. Admitted. Parameter simd_div : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_div : - M.IsFunction.Trait "core::intrinsics::simd::simd_div" simd_div. + M.IsFunction.C "core::intrinsics::simd::simd_div" simd_div. Admitted. Parameter simd_rem : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_rem : - M.IsFunction.Trait "core::intrinsics::simd::simd_rem" simd_rem. + M.IsFunction.C "core::intrinsics::simd::simd_rem" simd_rem. Admitted. Parameter simd_shl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_shl : - M.IsFunction.Trait "core::intrinsics::simd::simd_shl" simd_shl. + M.IsFunction.C "core::intrinsics::simd::simd_shl" simd_shl. Admitted. Parameter simd_shr : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_shr : - M.IsFunction.Trait "core::intrinsics::simd::simd_shr" simd_shr. + M.IsFunction.C "core::intrinsics::simd::simd_shr" simd_shr. Admitted. Parameter simd_and : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_and : - M.IsFunction.Trait "core::intrinsics::simd::simd_and" simd_and. + M.IsFunction.C "core::intrinsics::simd::simd_and" simd_and. Admitted. Parameter simd_or : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_or : - M.IsFunction.Trait "core::intrinsics::simd::simd_or" simd_or. + M.IsFunction.C "core::intrinsics::simd::simd_or" simd_or. Admitted. Parameter simd_xor : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_xor : - M.IsFunction.Trait "core::intrinsics::simd::simd_xor" simd_xor. + M.IsFunction.C "core::intrinsics::simd::simd_xor" simd_xor. Admitted. Parameter simd_cast : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_cast : - M.IsFunction.Trait "core::intrinsics::simd::simd_cast" simd_cast. + M.IsFunction.C "core::intrinsics::simd::simd_cast" simd_cast. Admitted. Parameter simd_as : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_as : - M.IsFunction.Trait "core::intrinsics::simd::simd_as" simd_as. + M.IsFunction.C "core::intrinsics::simd::simd_as" simd_as. Admitted. Parameter simd_neg : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_neg : - M.IsFunction.Trait "core::intrinsics::simd::simd_neg" simd_neg. + M.IsFunction.C "core::intrinsics::simd::simd_neg" simd_neg. Admitted. Parameter simd_fabs : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fabs : - M.IsFunction.Trait "core::intrinsics::simd::simd_fabs" simd_fabs. + M.IsFunction.C "core::intrinsics::simd::simd_fabs" simd_fabs. Admitted. Parameter simd_fmin : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fmin : - M.IsFunction.Trait "core::intrinsics::simd::simd_fmin" simd_fmin. + M.IsFunction.C "core::intrinsics::simd::simd_fmin" simd_fmin. Admitted. Parameter simd_fmax : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fmax : - M.IsFunction.Trait "core::intrinsics::simd::simd_fmax" simd_fmax. + M.IsFunction.C "core::intrinsics::simd::simd_fmax" simd_fmax. Admitted. Parameter simd_eq : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_eq : - M.IsFunction.Trait "core::intrinsics::simd::simd_eq" simd_eq. + M.IsFunction.C "core::intrinsics::simd::simd_eq" simd_eq. Admitted. Parameter simd_ne : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_ne : - M.IsFunction.Trait "core::intrinsics::simd::simd_ne" simd_ne. + M.IsFunction.C "core::intrinsics::simd::simd_ne" simd_ne. Admitted. Parameter simd_lt : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_lt : - M.IsFunction.Trait "core::intrinsics::simd::simd_lt" simd_lt. + M.IsFunction.C "core::intrinsics::simd::simd_lt" simd_lt. Admitted. Parameter simd_le : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_le : - M.IsFunction.Trait "core::intrinsics::simd::simd_le" simd_le. + M.IsFunction.C "core::intrinsics::simd::simd_le" simd_le. Admitted. Parameter simd_gt : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_gt : - M.IsFunction.Trait "core::intrinsics::simd::simd_gt" simd_gt. + M.IsFunction.C "core::intrinsics::simd::simd_gt" simd_gt. Admitted. Parameter simd_ge : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_ge : - M.IsFunction.Trait "core::intrinsics::simd::simd_ge" simd_ge. + M.IsFunction.C "core::intrinsics::simd::simd_ge" simd_ge. Admitted. Parameter simd_shuffle : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_shuffle : - M.IsFunction.Trait "core::intrinsics::simd::simd_shuffle" simd_shuffle. + M.IsFunction.C "core::intrinsics::simd::simd_shuffle" simd_shuffle. Admitted. Parameter simd_gather : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_gather : - M.IsFunction.Trait "core::intrinsics::simd::simd_gather" simd_gather. + M.IsFunction.C "core::intrinsics::simd::simd_gather" simd_gather. Admitted. Parameter simd_scatter : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_scatter : - M.IsFunction.Trait "core::intrinsics::simd::simd_scatter" simd_scatter. + M.IsFunction.C "core::intrinsics::simd::simd_scatter" simd_scatter. Admitted. Parameter simd_masked_load : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_masked_load : - M.IsFunction.Trait "core::intrinsics::simd::simd_masked_load" simd_masked_load. + M.IsFunction.C "core::intrinsics::simd::simd_masked_load" simd_masked_load. Admitted. Parameter simd_masked_store : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_masked_store : - M.IsFunction.Trait "core::intrinsics::simd::simd_masked_store" simd_masked_store. + M.IsFunction.C "core::intrinsics::simd::simd_masked_store" simd_masked_store. Admitted. Parameter simd_saturating_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_saturating_add : - M.IsFunction.Trait "core::intrinsics::simd::simd_saturating_add" simd_saturating_add. + M.IsFunction.C "core::intrinsics::simd::simd_saturating_add" simd_saturating_add. Admitted. Parameter simd_saturating_sub : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_saturating_sub : - M.IsFunction.Trait "core::intrinsics::simd::simd_saturating_sub" simd_saturating_sub. + M.IsFunction.C "core::intrinsics::simd::simd_saturating_sub" simd_saturating_sub. Admitted. Parameter simd_reduce_add_ordered : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_add_ordered : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_add_ordered" simd_reduce_add_ordered. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_add_ordered" simd_reduce_add_ordered. Admitted. Parameter simd_reduce_add_unordered : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_add_unordered : - M.IsFunction.Trait - "core::intrinsics::simd::simd_reduce_add_unordered" - simd_reduce_add_unordered. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_add_unordered" simd_reduce_add_unordered. Admitted. Parameter simd_reduce_mul_ordered : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_mul_ordered : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_mul_ordered" simd_reduce_mul_ordered. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_mul_ordered" simd_reduce_mul_ordered. Admitted. Parameter simd_reduce_mul_unordered : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_mul_unordered : - M.IsFunction.Trait - "core::intrinsics::simd::simd_reduce_mul_unordered" - simd_reduce_mul_unordered. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_mul_unordered" simd_reduce_mul_unordered. Admitted. Parameter simd_reduce_all : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_all : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_all" simd_reduce_all. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_all" simd_reduce_all. Admitted. Parameter simd_reduce_any : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_any : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_any" simd_reduce_any. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_any" simd_reduce_any. Admitted. Parameter simd_reduce_max : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_max : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_max" simd_reduce_max. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_max" simd_reduce_max. Admitted. Parameter simd_reduce_min : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_min : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_min" simd_reduce_min. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_min" simd_reduce_min. Admitted. Parameter simd_reduce_and : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_and : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_and" simd_reduce_and. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_and" simd_reduce_and. Admitted. Parameter simd_reduce_or : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_or : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_or" simd_reduce_or. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_or" simd_reduce_or. Admitted. Parameter simd_reduce_xor : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_reduce_xor : - M.IsFunction.Trait "core::intrinsics::simd::simd_reduce_xor" simd_reduce_xor. + M.IsFunction.C "core::intrinsics::simd::simd_reduce_xor" simd_reduce_xor. Admitted. Parameter simd_bitmask : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_bitmask : - M.IsFunction.Trait "core::intrinsics::simd::simd_bitmask" simd_bitmask. + M.IsFunction.C "core::intrinsics::simd::simd_bitmask" simd_bitmask. Admitted. Parameter simd_select : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_select : - M.IsFunction.Trait "core::intrinsics::simd::simd_select" simd_select. + M.IsFunction.C "core::intrinsics::simd::simd_select" simd_select. Admitted. Parameter simd_select_bitmask : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_select_bitmask : - M.IsFunction.Trait "core::intrinsics::simd::simd_select_bitmask" simd_select_bitmask. + M.IsFunction.C "core::intrinsics::simd::simd_select_bitmask" simd_select_bitmask. Admitted. Parameter simd_arith_offset : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_arith_offset : - M.IsFunction.Trait "core::intrinsics::simd::simd_arith_offset" simd_arith_offset. + M.IsFunction.C "core::intrinsics::simd::simd_arith_offset" simd_arith_offset. Admitted. Parameter simd_cast_ptr : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_cast_ptr : - M.IsFunction.Trait "core::intrinsics::simd::simd_cast_ptr" simd_cast_ptr. + M.IsFunction.C "core::intrinsics::simd::simd_cast_ptr" simd_cast_ptr. Admitted. Parameter simd_expose_provenance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_expose_provenance : - M.IsFunction.Trait "core::intrinsics::simd::simd_expose_provenance" simd_expose_provenance. + M.IsFunction.C "core::intrinsics::simd::simd_expose_provenance" simd_expose_provenance. Admitted. Parameter simd_with_exposed_provenance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_with_exposed_provenance : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::simd::simd_with_exposed_provenance" simd_with_exposed_provenance. Admitted. @@ -306,115 +302,115 @@ Module intrinsics. Parameter simd_bswap : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_bswap : - M.IsFunction.Trait "core::intrinsics::simd::simd_bswap" simd_bswap. + M.IsFunction.C "core::intrinsics::simd::simd_bswap" simd_bswap. Admitted. Parameter simd_bitreverse : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_bitreverse : - M.IsFunction.Trait "core::intrinsics::simd::simd_bitreverse" simd_bitreverse. + M.IsFunction.C "core::intrinsics::simd::simd_bitreverse" simd_bitreverse. Admitted. Parameter simd_ctlz : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_ctlz : - M.IsFunction.Trait "core::intrinsics::simd::simd_ctlz" simd_ctlz. + M.IsFunction.C "core::intrinsics::simd::simd_ctlz" simd_ctlz. Admitted. Parameter simd_ctpop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_ctpop : - M.IsFunction.Trait "core::intrinsics::simd::simd_ctpop" simd_ctpop. + M.IsFunction.C "core::intrinsics::simd::simd_ctpop" simd_ctpop. Admitted. Parameter simd_cttz : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_cttz : - M.IsFunction.Trait "core::intrinsics::simd::simd_cttz" simd_cttz. + M.IsFunction.C "core::intrinsics::simd::simd_cttz" simd_cttz. Admitted. Parameter simd_ceil : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_ceil : - M.IsFunction.Trait "core::intrinsics::simd::simd_ceil" simd_ceil. + M.IsFunction.C "core::intrinsics::simd::simd_ceil" simd_ceil. Admitted. Parameter simd_floor : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_floor : - M.IsFunction.Trait "core::intrinsics::simd::simd_floor" simd_floor. + M.IsFunction.C "core::intrinsics::simd::simd_floor" simd_floor. Admitted. Parameter simd_round : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_round : - M.IsFunction.Trait "core::intrinsics::simd::simd_round" simd_round. + M.IsFunction.C "core::intrinsics::simd::simd_round" simd_round. Admitted. Parameter simd_trunc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_trunc : - M.IsFunction.Trait "core::intrinsics::simd::simd_trunc" simd_trunc. + M.IsFunction.C "core::intrinsics::simd::simd_trunc" simd_trunc. Admitted. Parameter simd_fsqrt : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fsqrt : - M.IsFunction.Trait "core::intrinsics::simd::simd_fsqrt" simd_fsqrt. + M.IsFunction.C "core::intrinsics::simd::simd_fsqrt" simd_fsqrt. Admitted. Parameter simd_fma : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fma : - M.IsFunction.Trait "core::intrinsics::simd::simd_fma" simd_fma. + M.IsFunction.C "core::intrinsics::simd::simd_fma" simd_fma. Admitted. Parameter simd_relaxed_fma : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_relaxed_fma : - M.IsFunction.Trait "core::intrinsics::simd::simd_relaxed_fma" simd_relaxed_fma. + M.IsFunction.C "core::intrinsics::simd::simd_relaxed_fma" simd_relaxed_fma. Admitted. Parameter simd_fsin : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fsin : - M.IsFunction.Trait "core::intrinsics::simd::simd_fsin" simd_fsin. + M.IsFunction.C "core::intrinsics::simd::simd_fsin" simd_fsin. Admitted. Parameter simd_fcos : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fcos : - M.IsFunction.Trait "core::intrinsics::simd::simd_fcos" simd_fcos. + M.IsFunction.C "core::intrinsics::simd::simd_fcos" simd_fcos. Admitted. Parameter simd_fexp : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fexp : - M.IsFunction.Trait "core::intrinsics::simd::simd_fexp" simd_fexp. + M.IsFunction.C "core::intrinsics::simd::simd_fexp" simd_fexp. Admitted. Parameter simd_fexp2 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_fexp2 : - M.IsFunction.Trait "core::intrinsics::simd::simd_fexp2" simd_fexp2. + M.IsFunction.C "core::intrinsics::simd::simd_fexp2" simd_fexp2. Admitted. Parameter simd_flog10 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_flog10 : - M.IsFunction.Trait "core::intrinsics::simd::simd_flog10" simd_flog10. + M.IsFunction.C "core::intrinsics::simd::simd_flog10" simd_flog10. Admitted. Parameter simd_flog2 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_flog2 : - M.IsFunction.Trait "core::intrinsics::simd::simd_flog2" simd_flog2. + M.IsFunction.C "core::intrinsics::simd::simd_flog2" simd_flog2. Admitted. Parameter simd_flog : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_simd_flog : - M.IsFunction.Trait "core::intrinsics::simd::simd_flog" simd_flog. + M.IsFunction.C "core::intrinsics::simd::simd_flog" simd_flog. Admitted. End simd. End intrinsics. diff --git a/CoqOfRust/core/io/borrowed_buf.v b/CoqOfRust/core/io/borrowed_buf.v index 70f13c0d5..37d12f5a6 100644 --- a/CoqOfRust/core/io/borrowed_buf.v +++ b/CoqOfRust/core/io/borrowed_buf.v @@ -440,7 +440,7 @@ Module io. end. Global Instance AssociatedFunction_capacity : - M.IsAssociatedFunction.Trait Self "capacity" capacity. + M.IsAssociatedFunction.C Self "capacity" capacity. Admitted. Global Typeclasses Opaque capacity. @@ -464,7 +464,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -489,7 +489,7 @@ Module io. end. Global Instance AssociatedFunction_init_len : - M.IsAssociatedFunction.Trait Self "init_len" init_len. + M.IsAssociatedFunction.C Self "init_len" init_len. Admitted. Global Typeclasses Opaque init_len. @@ -605,7 +605,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_filled : M.IsAssociatedFunction.Trait Self "filled" filled. + Global Instance AssociatedFunction_filled : M.IsAssociatedFunction.C Self "filled" filled. Admitted. Global Typeclasses Opaque filled. @@ -740,7 +740,7 @@ Module io. end. Global Instance AssociatedFunction_filled_mut : - M.IsAssociatedFunction.Trait Self "filled_mut" filled_mut. + M.IsAssociatedFunction.C Self "filled_mut" filled_mut. Admitted. Global Typeclasses Opaque filled_mut. @@ -857,7 +857,7 @@ Module io. end. Global Instance AssociatedFunction_into_filled : - M.IsAssociatedFunction.Trait Self "into_filled" into_filled. + M.IsAssociatedFunction.C Self "into_filled" into_filled. Admitted. Global Typeclasses Opaque into_filled. @@ -992,7 +992,7 @@ Module io. end. Global Instance AssociatedFunction_into_filled_mut : - M.IsAssociatedFunction.Trait Self "into_filled_mut" into_filled_mut. + M.IsAssociatedFunction.C Self "into_filled_mut" into_filled_mut. Admitted. Global Typeclasses Opaque into_filled_mut. @@ -1061,7 +1061,7 @@ Module io. end. Global Instance AssociatedFunction_unfilled : - M.IsAssociatedFunction.Trait Self "unfilled" unfilled. + M.IsAssociatedFunction.C Self "unfilled" unfilled. Admitted. Global Typeclasses Opaque unfilled. @@ -1098,7 +1098,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.Trait Self "clear" clear. + Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.C Self "clear" clear. Admitted. Global Typeclasses Opaque clear. @@ -1150,7 +1150,7 @@ Module io. end. Global Instance AssociatedFunction_set_init : - M.IsAssociatedFunction.Trait Self "set_init" set_init. + M.IsAssociatedFunction.C Self "set_init" set_init. Admitted. Global Typeclasses Opaque set_init. End Impl_core_io_borrowed_buf_BorrowedBuf. @@ -1321,7 +1321,7 @@ Module io. end. Global Instance AssociatedFunction_reborrow : - M.IsAssociatedFunction.Trait Self "reborrow" reborrow. + M.IsAssociatedFunction.C Self "reborrow" reborrow. Admitted. Global Typeclasses Opaque reborrow. @@ -1379,7 +1379,7 @@ Module io. end. Global Instance AssociatedFunction_capacity : - M.IsAssociatedFunction.Trait Self "capacity" capacity. + M.IsAssociatedFunction.C Self "capacity" capacity. Admitted. Global Typeclasses Opaque capacity. @@ -1420,8 +1420,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_written : - M.IsAssociatedFunction.Trait Self "written" written. + Global Instance AssociatedFunction_written : M.IsAssociatedFunction.C Self "written" written. Admitted. Global Typeclasses Opaque written. @@ -1570,7 +1569,7 @@ Module io. end. Global Instance AssociatedFunction_init_ref : - M.IsAssociatedFunction.Trait Self "init_ref" init_ref. + M.IsAssociatedFunction.C Self "init_ref" init_ref. Admitted. Global Typeclasses Opaque init_ref. @@ -1733,7 +1732,7 @@ Module io. end. Global Instance AssociatedFunction_init_mut : - M.IsAssociatedFunction.Trait Self "init_mut" init_mut. + M.IsAssociatedFunction.C Self "init_mut" init_mut. Admitted. Global Typeclasses Opaque init_mut. @@ -1844,7 +1843,7 @@ Module io. end. Global Instance AssociatedFunction_uninit_mut : - M.IsAssociatedFunction.Trait Self "uninit_mut" uninit_mut. + M.IsAssociatedFunction.C Self "uninit_mut" uninit_mut. Admitted. Global Typeclasses Opaque uninit_mut. @@ -1954,7 +1953,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_mut : M.IsAssociatedFunction.Trait Self "as_mut" as_mut. + Global Instance AssociatedFunction_as_mut : M.IsAssociatedFunction.C Self "as_mut" as_mut. Admitted. Global Typeclasses Opaque as_mut. @@ -2073,8 +2072,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_advance : - M.IsAssociatedFunction.Trait Self "advance" advance. + Global Instance AssociatedFunction_advance : M.IsAssociatedFunction.C Self "advance" advance. Admitted. Global Typeclasses Opaque advance. @@ -2175,7 +2173,7 @@ Module io. end. Global Instance AssociatedFunction_advance_unchecked : - M.IsAssociatedFunction.Trait Self "advance_unchecked" advance_unchecked. + M.IsAssociatedFunction.C Self "advance_unchecked" advance_unchecked. Admitted. Global Typeclasses Opaque advance_unchecked. @@ -2360,7 +2358,7 @@ Module io. end. Global Instance AssociatedFunction_ensure_init : - M.IsAssociatedFunction.Trait Self "ensure_init" ensure_init. + M.IsAssociatedFunction.C Self "ensure_init" ensure_init. Admitted. Global Typeclasses Opaque ensure_init. @@ -2445,7 +2443,7 @@ Module io. end. Global Instance AssociatedFunction_set_init : - M.IsAssociatedFunction.Trait Self "set_init" set_init. + M.IsAssociatedFunction.C Self "set_init" set_init. Admitted. Global Typeclasses Opaque set_init. @@ -2733,7 +2731,7 @@ Module io. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_append : M.IsAssociatedFunction.Trait Self "append" append. + Global Instance AssociatedFunction_append : M.IsAssociatedFunction.C Self "append" append. Admitted. Global Typeclasses Opaque append. End Impl_core_io_borrowed_buf_BorrowedCursor. diff --git a/CoqOfRust/core/iter/adapters/array_chunks.v b/CoqOfRust/core/iter/adapters/array_chunks.v index 1d114c318..ac5d6f481 100644 --- a/CoqOfRust/core/iter/adapters/array_chunks.v +++ b/CoqOfRust/core/iter/adapters/array_chunks.v @@ -260,7 +260,10 @@ Module iter. UnOp.not (| BinOp.ne (| M.read (| - M.get_constant "core::iter::adapters::array_chunks::N" + get_constant (| + "core::iter::adapters::array_chunks::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -318,7 +321,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (N : Value.t) (I : Ty.t), - M.IsAssociatedFunction.Trait (Self N I) "new" (new N I). + M.IsAssociatedFunction.C (Self N I) "new" (new N I). Admitted. Global Typeclasses Opaque new. @@ -471,7 +474,7 @@ Module iter. Global Instance AssociatedFunction_into_remainder : forall (N : Value.t) (I : Ty.t), - M.IsAssociatedFunction.Trait (Self N I) "into_remainder" (into_remainder N I). + M.IsAssociatedFunction.C (Self N I) "into_remainder" (into_remainder N I). Admitted. Global Typeclasses Opaque into_remainder. (* @@ -592,7 +595,12 @@ Module iter. |) ] |), - M.read (| M.get_constant "core::iter::adapters::array_chunks::N" |) + M.read (| + get_constant (| + "core::iter::adapters::array_chunks::N", + Ty.path "usize" + |) + |) |) |) in let~ remainder : @@ -862,7 +870,7 @@ Module iter. Global Instance AssociatedFunction_next_back_remainder : forall (N : Value.t) (I : Ty.t), - M.IsAssociatedFunction.Trait (Self N I) "next_back_remainder" (next_back_remainder N I). + M.IsAssociatedFunction.C (Self N I) "next_back_remainder" (next_back_remainder N I). Admitted. Global Typeclasses Opaque next_back_remainder. End Impl_core_iter_adapters_array_chunks_ArrayChunks_N_I. @@ -1086,7 +1094,12 @@ Module iter. [ BinOp.Wrap.div (| M.read (| lower |), - M.read (| M.get_constant "core::iter::adapters::array_chunks::N" |) + M.read (| + get_constant (| + "core::iter::adapters::array_chunks::N", + Ty.path "usize" + |) + |) |); M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.path "usize" ], @@ -1120,8 +1133,10 @@ Module iter. BinOp.Wrap.div (| M.read (| n |), M.read (| - M.get_constant - "core::iter::adapters::array_chunks::N" + get_constant (| + "core::iter::adapters::array_chunks::N", + Ty.path "usize" + |) |) |))) ] @@ -1177,7 +1192,9 @@ Module iter. |) ] |), - M.read (| M.get_constant "core::iter::adapters::array_chunks::N" |) + M.read (| + get_constant (| "core::iter::adapters::array_chunks::N", Ty.path "usize" |) + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -2339,7 +2356,9 @@ Module iter. |) ] |), - M.read (| M.get_constant "core::iter::adapters::array_chunks::N" |) + M.read (| + get_constant (| "core::iter::adapters::array_chunks::N", Ty.path "usize" |) + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -2384,7 +2403,9 @@ Module iter. |) ] |), - M.read (| M.get_constant "core::iter::adapters::array_chunks::N" |) + M.read (| + get_constant (| "core::iter::adapters::array_chunks::N", Ty.path "usize" |) + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -2592,7 +2613,10 @@ Module iter. BinOp.ge (| BinOp.Wrap.sub (| M.read (| inner_len |), M.read (| i |) |), M.read (| - M.get_constant "core::iter::adapters::array_chunks::N" + get_constant (| + "core::iter::adapters::array_chunks::N", + Ty.path "usize" + |) |) |) |)) in @@ -2760,7 +2784,10 @@ Module iter. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant "core::iter::adapters::array_chunks::N" + get_constant (| + "core::iter::adapters::array_chunks::N", + Ty.path "usize" + |) |) |) |) @@ -2901,11 +2928,22 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (N : Value.t) (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (N : Value.t) + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = const { @@ -2919,11 +2957,22 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (N : Value.t) (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (N : Value.t) + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::array_chunks::MERGE_BY_discriminant")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::array_chunks::MERGE_BY_discriminant", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (N : Value.t) (I : Ty.t), @@ -2934,8 +2983,8 @@ Module iter. (Self N I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY N I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY N I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY N I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY N I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_where_core_iter_traits_iterator_Iterator_I_for_core_iter_adapters_array_chunks_ArrayChunks_N_I. End array_chunks. diff --git a/CoqOfRust/core/iter/adapters/chain.v b/CoqOfRust/core/iter/adapters/chain.v index 41b1840c4..9799d3e00 100644 --- a/CoqOfRust/core/iter/adapters/chain.v +++ b/CoqOfRust/core/iter/adapters/chain.v @@ -201,7 +201,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (A B : Ty.t), - M.IsAssociatedFunction.Trait (Self A B) "new" (new A B). + M.IsAssociatedFunction.C (Self A B) "new" (new A B). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_chain_Chain_A_B. @@ -304,7 +304,7 @@ Module iter. end. Global Instance Instance_IsFunction_chain : - M.IsFunction.Trait "core::iter::adapters::chain::chain" chain. + M.IsFunction.C "core::iter::adapters::chain::chain" chain. Admitted. Global Typeclasses Opaque chain. @@ -4811,7 +4811,7 @@ Module iter. end. Global Instance Instance_IsFunction_and_then_or_clear : - M.IsFunction.Trait "core::iter::adapters::chain::and_then_or_clear" and_then_or_clear. + M.IsFunction.C "core::iter::adapters::chain::and_then_or_clear" and_then_or_clear. Admitted. Global Typeclasses Opaque and_then_or_clear. End chain. diff --git a/CoqOfRust/core/iter/adapters/cloned.v b/CoqOfRust/core/iter/adapters/cloned.v index 0efd40530..d9d9e7dea 100644 --- a/CoqOfRust/core/iter/adapters/cloned.v +++ b/CoqOfRust/core/iter/adapters/cloned.v @@ -143,7 +143,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_cloned_Cloned_I. @@ -228,7 +228,7 @@ Module iter. end. Global Instance Instance_IsFunction_clone_try_fold : - M.IsFunction.Trait "core::iter::adapters::cloned::clone_try_fold" clone_try_fold. + M.IsFunction.C "core::iter::adapters::cloned::clone_try_fold" clone_try_fold. Admitted. Global Typeclasses Opaque clone_try_fold. @@ -857,9 +857,14 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = true; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (I : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run ltac:(M.monadic (M.alloc (| Value.Bool true |))). + ltac:(M.monadic (M.alloc (| Value.Bool true |))). Axiom Implements : forall (I : Ty.t), @@ -869,8 +874,7 @@ Module iter. (* Trait polymorphic types *) [] (Self I) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT I)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT I)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_I_for_core_iter_adapters_cloned_Cloned_I. Module Impl_core_iter_traits_marker_TrustedLen_where_core_iter_traits_marker_TrustedLen_I_where_core_clone_Clone_T_for_core_iter_adapters_cloned_Cloned_I. @@ -1098,22 +1102,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -1124,8 +1148,8 @@ Module iter. (Self I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_cloned_Cloned_I. End cloned. diff --git a/CoqOfRust/core/iter/adapters/copied.v b/CoqOfRust/core/iter/adapters/copied.v index ca19e883d..0c9db21e9 100644 --- a/CoqOfRust/core/iter/adapters/copied.v +++ b/CoqOfRust/core/iter/adapters/copied.v @@ -143,7 +143,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_copied_Copied_I. @@ -209,7 +209,7 @@ Module iter. end. Global Instance Instance_IsFunction_copy_fold : - M.IsFunction.Trait "core::iter::adapters::copied::copy_fold" copy_fold. + M.IsFunction.C "core::iter::adapters::copied::copy_fold" copy_fold. Admitted. Global Typeclasses Opaque copy_fold. @@ -273,7 +273,7 @@ Module iter. end. Global Instance Instance_IsFunction_copy_try_fold : - M.IsFunction.Trait "core::iter::adapters::copied::copy_try_fold" copy_try_fold. + M.IsFunction.C "core::iter::adapters::copied::copy_try_fold" copy_try_fold. Admitted. Global Typeclasses Opaque copy_try_fold. @@ -1162,12 +1162,18 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = I::MAY_HAVE_SIDE_EFFECT; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (I : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |))). Axiom Implements : forall (I : Ty.t), @@ -1177,8 +1183,7 @@ Module iter. (* Trait polymorphic types *) [] (Self I) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT I)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT I)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_I_for_core_iter_adapters_copied_Copied_I. Module Impl_core_iter_traits_marker_TrustedLen_where_core_iter_traits_marker_TrustedLen_I_where_core_marker_Copy_T_for_core_iter_adapters_copied_Copied_I. @@ -1347,8 +1352,10 @@ Module iter. M.alloc (| repeat (| M.read (| - M.get_constant - "core::iter::adapters::copied::spec_next_chunk_discriminant" + get_constant (| + "core::iter::adapters::copied::spec_next_chunk_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) |), N |) @@ -1380,7 +1387,11 @@ Module iter. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1402,8 +1413,10 @@ Module iter. BinOp.lt (| M.read (| len |), M.read (| - M.get_constant - "core::iter::adapters::copied::N" + get_constant (| + "core::iter::adapters::copied::N", + Ty.path "usize" + |) |) |) |)) in @@ -1526,7 +1539,10 @@ Module iter. M.deref (| M.read (| self |) |) |); M.read (| - M.get_constant "core::iter::adapters::copied::N" + get_constant (| + "core::iter::adapters::copied::N", + Ty.path "usize" + |) |) ] |) @@ -1574,7 +1590,12 @@ Module iter. (M.alloc (| BinOp.lt (| M.read (| len |), - M.read (| M.get_constant "core::iter::adapters::copied::N" |) + M.read (| + get_constant (| + "core::iter::adapters::copied::N", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -1812,7 +1833,9 @@ Module iter. |), [ M.borrow (| Pointer.Kind.MutRef, raw_array |) ] |)); - M.read (| M.get_constant "core::iter::adapters::copied::N" |) + M.read (| + get_constant (| "core::iter::adapters::copied::N", Ty.path "usize" |) + |) ] |) |) in @@ -1841,7 +1864,9 @@ Module iter. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "core::iter::adapters::copied::N" |) + M.read (| + get_constant (| "core::iter::adapters::copied::N", Ty.path "usize" |) + |) ] |) |), @@ -2025,22 +2050,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -2051,8 +2096,8 @@ Module iter. (Self I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_copied_Copied_I. End copied. diff --git a/CoqOfRust/core/iter/adapters/cycle.v b/CoqOfRust/core/iter/adapters/cycle.v index 9ca38f982..dbd5a5c12 100644 --- a/CoqOfRust/core/iter/adapters/cycle.v +++ b/CoqOfRust/core/iter/adapters/cycle.v @@ -185,7 +185,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_cycle_Cycle_I. @@ -439,7 +439,13 @@ Module iter. (M.alloc (| Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |); Value.StructTuple "core::option::Option::None" [] ] |))) diff --git a/CoqOfRust/core/iter/adapters/enumerate.v b/CoqOfRust/core/iter/adapters/enumerate.v index 1a722c970..6832bb6e9 100644 --- a/CoqOfRust/core/iter/adapters/enumerate.v +++ b/CoqOfRust/core/iter/adapters/enumerate.v @@ -185,7 +185,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_enumerate_Enumerate_I. @@ -1924,12 +1924,18 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = I::MAY_HAVE_SIDE_EFFECT; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (I : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |))). Axiom Implements : forall (I : Ty.t), @@ -1939,8 +1945,7 @@ Module iter. (* Trait polymorphic types *) [] (Self I) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT I)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT I)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_I_for_core_iter_adapters_enumerate_Enumerate_I. Module Impl_core_iter_traits_marker_FusedIterator_where_core_iter_traits_marker_FusedIterator_I_for_core_iter_adapters_enumerate_Enumerate_I. @@ -2083,22 +2088,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -2109,8 +2134,8 @@ Module iter. (Self I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_enumerate_Enumerate_I. diff --git a/CoqOfRust/core/iter/adapters/filter.v b/CoqOfRust/core/iter/adapters/filter.v index dd2ae016f..8ca54edec 100644 --- a/CoqOfRust/core/iter/adapters/filter.v +++ b/CoqOfRust/core/iter/adapters/filter.v @@ -104,7 +104,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I P : Ty.t), - M.IsAssociatedFunction.Trait (Self I P) "new" (new I P). + M.IsAssociatedFunction.C (Self I P) "new" (new I P). Admitted. Global Typeclasses Opaque new. (* @@ -169,8 +169,20 @@ Module iter. M.alloc (| repeat (| M.read (| - M.get_constant - "core::iter::adapters::filter::next_chunk_dropless_discriminant" + get_constant (| + "core::iter::adapters::filter::next_chunk_dropless_discriminant", + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [] + [ + Ty.associated_in_trait + "core::iter::traits::iterator::Iterator" + [] + [] + I + "Item" + ] + |) |), N |) @@ -435,8 +447,10 @@ Module iter. BinOp.lt (| M.read (| initialized |), M.read (| - M.get_constant - "core::iter::adapters::filter::next_chunk_dropless::N" + get_constant (| + "core::iter::adapters::filter::next_chunk_dropless::N", + Ty.path "usize" + |) |) |) |)) in @@ -602,7 +616,7 @@ Module iter. Global Instance AssociatedFunction_next_chunk_dropless : forall (I P : Ty.t), - M.IsAssociatedFunction.Trait (Self I P) "next_chunk_dropless" (next_chunk_dropless I P). + M.IsAssociatedFunction.C (Self I P) "next_chunk_dropless" (next_chunk_dropless I P). Admitted. Global Typeclasses Opaque next_chunk_dropless. End Impl_core_iter_adapters_filter_Filter_I_P. @@ -820,7 +834,7 @@ Module iter. end. Global Instance Instance_IsFunction_filter_fold : - M.IsFunction.Trait "core::iter::adapters::filter::filter_fold" filter_fold. + M.IsFunction.C "core::iter::adapters::filter::filter_fold" filter_fold. Admitted. Global Typeclasses Opaque filter_fold. @@ -958,7 +972,7 @@ Module iter. end. Global Instance Instance_IsFunction_filter_try_fold : - M.IsFunction.Trait "core::iter::adapters::filter::filter_try_fold" filter_try_fold. + M.IsFunction.C "core::iter::adapters::filter::filter_try_fold" filter_try_fold. Admitted. Global Typeclasses Opaque filter_try_fold. @@ -1082,7 +1096,44 @@ Module iter. ] ]) := M.copy (| - M.get_constant "core::iter::adapters::filter::next_chunk_discriminant" + get_constant (| + "core::iter::adapters::filter::next_chunk_discriminant", + Ty.function + [ + Ty.apply + (Ty.path "&mut") + [] + [ Ty.apply (Ty.path "core::iter::adapters::filter::Filter") [] [ I; P ] + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.apply + (Ty.path "array") + [ N ] + [ + Ty.associated_in_trait + "core::iter::traits::iterator::Iterator" + [] + [] + I + "Item" + ]; + Ty.apply + (Ty.path "core::array::iter::IntoIter") + [ N ] + [ + Ty.associated_in_trait + "core::iter::traits::iterator::Iterator" + [] + [] + I + "Item" + ] + ]) + |) |) in M.alloc (| M.call_closure (| @@ -1785,22 +1836,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I P : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I P : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I P in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I P : Ty.t) : Value.t := + Definition value_MERGE_BY + (I P : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I P in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I P : Ty.t), @@ -1811,8 +1882,8 @@ Module iter. (Self I P) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I P)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I P)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I P)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I P)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_filter_Filter_I_P. End filter. diff --git a/CoqOfRust/core/iter/adapters/filter_map.v b/CoqOfRust/core/iter/adapters/filter_map.v index f2901b0fb..2e7777dac 100644 --- a/CoqOfRust/core/iter/adapters/filter_map.v +++ b/CoqOfRust/core/iter/adapters/filter_map.v @@ -104,7 +104,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I F : Ty.t), - M.IsAssociatedFunction.Trait (Self I F) "new" (new I F). + M.IsAssociatedFunction.C (Self I F) "new" (new I F). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_filter_map_FilterMap_I_F. @@ -313,7 +313,7 @@ Module iter. end. Global Instance Instance_IsFunction_filter_map_fold : - M.IsFunction.Trait "core::iter::adapters::filter_map::filter_map_fold" filter_map_fold. + M.IsFunction.C "core::iter::adapters::filter_map::filter_map_fold" filter_map_fold. Admitted. Global Typeclasses Opaque filter_map_fold. @@ -444,9 +444,7 @@ Module iter. end. Global Instance Instance_IsFunction_filter_map_try_fold : - M.IsFunction.Trait - "core::iter::adapters::filter_map::filter_map_try_fold" - filter_map_try_fold. + M.IsFunction.C "core::iter::adapters::filter_map::filter_map_try_fold" filter_map_try_fold. Admitted. Global Typeclasses Opaque filter_map_try_fold. @@ -581,7 +579,10 @@ Module iter. M.alloc (| repeat (| M.read (| - M.get_constant "core::iter::adapters::filter_map::next_chunk_discriminant" + get_constant (| + "core::iter::adapters::filter_map::next_chunk_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ B ] + |) |), N |) @@ -991,8 +992,10 @@ Module iter. |) |), M.read (| - M.get_constant - "core::iter::adapters::filter_map::next_chunk::N" + get_constant (| + "core::iter::adapters::filter_map::next_chunk::N", + Ty.path "usize" + |) |) |) |)) in @@ -1807,22 +1810,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I F : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I F : Ty.t) : Value.t := + Definition value_MERGE_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I F : Ty.t), @@ -1833,8 +1856,8 @@ Module iter. (Self I F) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I F)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I F)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I F)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I F)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_filter_map_FilterMap_I_F. End filter_map. diff --git a/CoqOfRust/core/iter/adapters/flatten.v b/CoqOfRust/core/iter/adapters/flatten.v index 77009ac35..1dc15e334 100644 --- a/CoqOfRust/core/iter/adapters/flatten.v +++ b/CoqOfRust/core/iter/adapters/flatten.v @@ -99,7 +99,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I U F : Ty.t), - M.IsAssociatedFunction.Trait (Self I U F) "new" (new I U F). + M.IsAssociatedFunction.C (Self I U F) "new" (new I U F). Admitted. Global Typeclasses Opaque new. @@ -206,7 +206,7 @@ Module iter. Global Instance AssociatedFunction_into_parts : forall (I U F : Ty.t), - M.IsAssociatedFunction.Trait (Self I U F) "into_parts" (into_parts I U F). + M.IsAssociatedFunction.C (Self I U F) "into_parts" (into_parts I U F). Admitted. Global Typeclasses Opaque into_parts. End Impl_core_iter_adapters_flatten_FlatMap_I_U_F. @@ -1099,22 +1099,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I U F : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I U F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I U F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::EXPAND_BY_discriminant")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::EXPAND_BY_discriminant", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I U F : Ty.t) : Value.t := + Definition value_MERGE_BY + (I U F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I U F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I U F : Ty.t), @@ -1125,8 +1145,8 @@ Module iter. (Self I U F) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I U F)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I U F)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I U F)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I U F)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_where_core_iter_adapters_flatten_BoundedSize_U_where_core_iter_traits_collect_IntoIterator_U_for_core_iter_adapters_flatten_FlatMap_I_U_F. @@ -1323,25 +1343,34 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (N : Value.t) (T : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (N : Value.t) + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N T in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::iter::adapters::flatten::N" |) ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ + M.read (| + get_constant (| "core::iter::adapters::flatten::N", Ty.path "usize" |) + |) + ] + |) + |))). Axiom Implements : forall (N : Value.t) (T : Ty.t), @@ -1350,8 +1379,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self N T) - (* Instance *) - [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND N T)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND N T)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_for_array_N_T. Module Impl_core_iter_adapters_flatten_BoundedSize_for_core_array_iter_IntoIter_N_T. @@ -1363,25 +1391,34 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (N : Value.t) (T : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (N : Value.t) + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N T in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::iter::adapters::flatten::N" |) ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ + M.read (| + get_constant (| "core::iter::adapters::flatten::N", Ty.path "usize" |) + |) + ] + |) + |))). Axiom Implements : forall (N : Value.t) (T : Ty.t), @@ -1390,8 +1427,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self N T) - (* Instance *) - [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND N T)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND N T)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_for_core_array_iter_IntoIter_N_T. Module Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_filter_Filter_I_P. @@ -1403,11 +1439,21 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (I P : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (I P : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I P in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I P : Ty.t), @@ -1416,8 +1462,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self I P) - (* Instance *) - [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND I P)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND I P)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_filter_Filter_I_P. Module Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_filter_map_FilterMap_I_P. @@ -1429,11 +1474,21 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (I P : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (I P : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I P in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I P : Ty.t), @@ -1442,8 +1497,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self I P) - (* Instance *) - [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND I P)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND I P)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_filter_map_FilterMap_I_P. Module Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_map_Map_I_F. @@ -1455,11 +1509,21 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (I F : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I F : Ty.t), @@ -1468,8 +1532,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self I F) - (* Instance *) - [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND I F)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND I F)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_map_Map_I_F. Module Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_copied_Copied_I. @@ -1481,11 +1544,21 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (I : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -1494,7 +1567,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self I) - (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND I)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND I)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_copied_Copied_I. Module Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_cloned_Cloned_I. @@ -1506,11 +1579,21 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_UPPER_BOUND (I : Ty.t) : Value.t := + Definition value_UPPER_BOUND + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::BoundedSize::UPPER_BOUND", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -1519,7 +1602,7 @@ Module iter. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [] (Self I) - (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Constant (value_UPPER_BOUND I)) ]. + (* Instance *) [ ("value_UPPER_BOUND", InstanceField.Method (value_UPPER_BOUND I)) ]. End Impl_core_iter_adapters_flatten_BoundedSize_where_core_iter_adapters_flatten_BoundedSize_I_for_core_iter_adapters_cloned_Cloned_I. (* StructRecord @@ -1617,7 +1700,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_flatten_Flatten_I. @@ -2352,22 +2435,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::adapters::flatten::EXPAND_BY_discriminant")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::flatten::EXPAND_BY_discriminant", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -2378,8 +2481,8 @@ Module iter. (Self I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_where_core_iter_traits_iterator_Iterator_I_where_core_iter_traits_collect_IntoIterator_associated_in_trait_core_iter_traits_iterator_Iterator___I_Item_where_core_iter_adapters_flatten_BoundedSize_associated_in_trait_core_iter_traits_iterator_Iterator___I_Item_for_core_iter_adapters_flatten_Flatten_I. @@ -2772,7 +2875,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I U : Ty.t), - M.IsAssociatedFunction.Trait (Self I U) "new" (new I U). + M.IsAssociatedFunction.C (Self I U) "new" (new I U). Admitted. Global Typeclasses Opaque new. (* @@ -2951,7 +3054,7 @@ Module iter. Global Instance AssociatedFunction_iter_fold : forall (I U : Ty.t), - M.IsAssociatedFunction.Trait (Self I U) "iter_fold" (iter_fold I U). + M.IsAssociatedFunction.C (Self I U) "iter_fold" (iter_fold I U). Admitted. Global Typeclasses Opaque iter_fold. @@ -3483,7 +3586,7 @@ Module iter. Global Instance AssociatedFunction_iter_try_fold : forall (I U : Ty.t), - M.IsAssociatedFunction.Trait (Self I U) "iter_try_fold" (iter_try_fold I U). + M.IsAssociatedFunction.C (Self I U) "iter_try_fold" (iter_try_fold I U). Admitted. Global Typeclasses Opaque iter_try_fold. (* @@ -3662,7 +3765,7 @@ Module iter. Global Instance AssociatedFunction_iter_rfold : forall (I U : Ty.t), - M.IsAssociatedFunction.Trait (Self I U) "iter_rfold" (iter_rfold I U). + M.IsAssociatedFunction.C (Self I U) "iter_rfold" (iter_rfold I U). Admitted. Global Typeclasses Opaque iter_rfold. @@ -4194,7 +4297,7 @@ Module iter. Global Instance AssociatedFunction_iter_try_rfold : forall (I U : Ty.t), - M.IsAssociatedFunction.Trait (Self I U) "iter_try_rfold" (iter_try_rfold I U). + M.IsAssociatedFunction.C (Self I U) "iter_try_rfold" (iter_try_rfold I U). Admitted. Global Typeclasses Opaque iter_try_rfold. End Impl_core_iter_adapters_flatten_FlattenCompat_I_U. @@ -6754,7 +6857,11 @@ Module iter. ltac:(M.monadic (Value.StructTuple "core::option::Option::Some" - [ M.read (| M.get_constant "core::iter::adapters::flatten::N" |) ])) + [ + M.read (| + get_constant (| "core::iter::adapters::flatten::N", Ty.path "usize" |) + |) + ])) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -6790,7 +6897,11 @@ Module iter. ltac:(M.monadic (Value.StructTuple "core::option::Option::Some" - [ M.read (| M.get_constant "core::iter::adapters::flatten::N" |) ])) + [ + M.read (| + get_constant (| "core::iter::adapters::flatten::N", Ty.path "usize" |) + |) + ])) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -6826,7 +6937,11 @@ Module iter. ltac:(M.monadic (Value.StructTuple "core::option::Option::Some" - [ M.read (| M.get_constant "core::iter::adapters::flatten::N" |) ])) + [ + M.read (| + get_constant (| "core::iter::adapters::flatten::N", Ty.path "usize" |) + |) + ])) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -7034,7 +7149,7 @@ Module iter. end. Global Instance Instance_IsFunction_and_then_or_clear : - M.IsFunction.Trait "core::iter::adapters::flatten::and_then_or_clear" and_then_or_clear. + M.IsFunction.C "core::iter::adapters::flatten::and_then_or_clear" and_then_or_clear. Admitted. Global Typeclasses Opaque and_then_or_clear. @@ -7341,7 +7456,7 @@ Module iter. end. Global Instance Instance_IsFunction_into_item : - M.IsFunction.Trait "core::iter::adapters::flatten::into_item" into_item. + M.IsFunction.C "core::iter::adapters::flatten::into_item" into_item. Admitted. Global Typeclasses Opaque into_item. @@ -7498,7 +7613,7 @@ Module iter. end. Global Instance Instance_IsFunction_flatten_one : - M.IsFunction.Trait "core::iter::adapters::flatten::flatten_one" flatten_one. + M.IsFunction.C "core::iter::adapters::flatten::flatten_one" flatten_one. Admitted. Global Typeclasses Opaque flatten_one. @@ -7669,7 +7784,7 @@ Module iter. end. Global Instance Instance_IsFunction_try_flatten_one : - M.IsFunction.Trait "core::iter::adapters::flatten::try_flatten_one" try_flatten_one. + M.IsFunction.C "core::iter::adapters::flatten::try_flatten_one" try_flatten_one. Admitted. Global Typeclasses Opaque try_flatten_one. @@ -7810,7 +7925,7 @@ Module iter. end. Global Instance Instance_IsFunction_advance_by_one : - M.IsFunction.Trait "core::iter::adapters::flatten::advance_by_one" advance_by_one. + M.IsFunction.C "core::iter::adapters::flatten::advance_by_one" advance_by_one. Admitted. Global Typeclasses Opaque advance_by_one. diff --git a/CoqOfRust/core/iter/adapters/fuse.v b/CoqOfRust/core/iter/adapters/fuse.v index aea80de46..ae24d3aa3 100644 --- a/CoqOfRust/core/iter/adapters/fuse.v +++ b/CoqOfRust/core/iter/adapters/fuse.v @@ -151,7 +151,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. @@ -183,7 +183,7 @@ Module iter. Global Instance AssociatedFunction_into_inner : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "into_inner" (into_inner I). + M.IsAssociatedFunction.C (Self I) "into_inner" (into_inner I). Admitted. Global Typeclasses Opaque into_inner. End Impl_core_iter_adapters_fuse_Fuse_I. @@ -1192,12 +1192,18 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = I::MAY_HAVE_SIDE_EFFECT; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (I : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |))). Axiom Implements : forall (I : Ty.t), @@ -1207,8 +1213,7 @@ Module iter. (* Trait polymorphic types *) [] (Self I) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT I)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT I)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_I_for_core_iter_adapters_fuse_Fuse_I. (* Trait *) @@ -3997,7 +4002,7 @@ Module iter. end. Global Instance Instance_IsFunction_and_then_or_clear : - M.IsFunction.Trait "core::iter::adapters::fuse::and_then_or_clear" and_then_or_clear. + M.IsFunction.C "core::iter::adapters::fuse::and_then_or_clear" and_then_or_clear. Admitted. Global Typeclasses Opaque and_then_or_clear. End fuse. diff --git a/CoqOfRust/core/iter/adapters/inspect.v b/CoqOfRust/core/iter/adapters/inspect.v index 6d7187fb7..263f88b8c 100644 --- a/CoqOfRust/core/iter/adapters/inspect.v +++ b/CoqOfRust/core/iter/adapters/inspect.v @@ -104,7 +104,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I F : Ty.t), - M.IsAssociatedFunction.Trait (Self I F) "new" (new I F). + M.IsAssociatedFunction.C (Self I F) "new" (new I F). Admitted. Global Typeclasses Opaque new. (* @@ -198,7 +198,7 @@ Module iter. Global Instance AssociatedFunction_do_inspect : forall (I F : Ty.t), - M.IsAssociatedFunction.Trait (Self I F) "do_inspect" (do_inspect I F). + M.IsAssociatedFunction.C (Self I F) "do_inspect" (do_inspect I F). Admitted. Global Typeclasses Opaque do_inspect. End Impl_core_iter_adapters_inspect_Inspect_I_F. @@ -392,7 +392,7 @@ Module iter. end. Global Instance Instance_IsFunction_inspect_fold : - M.IsFunction.Trait "core::iter::adapters::inspect::inspect_fold" inspect_fold. + M.IsFunction.C "core::iter::adapters::inspect::inspect_fold" inspect_fold. Admitted. Global Typeclasses Opaque inspect_fold. @@ -493,7 +493,7 @@ Module iter. end. Global Instance Instance_IsFunction_inspect_try_fold : - M.IsFunction.Trait "core::iter::adapters::inspect::inspect_try_fold" inspect_try_fold. + M.IsFunction.C "core::iter::adapters::inspect::inspect_try_fold" inspect_try_fold. Admitted. Global Typeclasses Opaque inspect_try_fold. @@ -1299,22 +1299,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I F : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I F : Ty.t) : Value.t := + Definition value_MERGE_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I F : Ty.t), @@ -1325,8 +1345,8 @@ Module iter. (Self I F) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I F)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I F)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I F)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I F)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_inspect_Inspect_I_F. End inspect. diff --git a/CoqOfRust/core/iter/adapters/intersperse.v b/CoqOfRust/core/iter/adapters/intersperse.v index 9b9a28633..320c1d92f 100644 --- a/CoqOfRust/core/iter/adapters/intersperse.v +++ b/CoqOfRust/core/iter/adapters/intersperse.v @@ -352,7 +352,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_intersperse_Intersperse_I. @@ -1339,7 +1339,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I G : Ty.t), - M.IsAssociatedFunction.Trait (Self I G) "new" (new I G). + M.IsAssociatedFunction.C (Self I G) "new" (new I G). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_intersperse_IntersperseWith_I_G. @@ -2030,7 +2030,7 @@ Module iter. end. Global Instance Instance_IsFunction_intersperse_size_hint : - M.IsFunction.Trait + M.IsFunction.C "core::iter::adapters::intersperse::intersperse_size_hint" intersperse_size_hint. Admitted. @@ -2407,7 +2407,7 @@ Module iter. end. Global Instance Instance_IsFunction_intersperse_fold : - M.IsFunction.Trait "core::iter::adapters::intersperse::intersperse_fold" intersperse_fold. + M.IsFunction.C "core::iter::adapters::intersperse::intersperse_fold" intersperse_fold. Admitted. Global Typeclasses Opaque intersperse_fold. End intersperse. diff --git a/CoqOfRust/core/iter/adapters/map.v b/CoqOfRust/core/iter/adapters/map.v index 9c21dbb6d..b81962190 100644 --- a/CoqOfRust/core/iter/adapters/map.v +++ b/CoqOfRust/core/iter/adapters/map.v @@ -104,7 +104,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I F : Ty.t), - M.IsAssociatedFunction.Trait (Self I F) "new" (new I F). + M.IsAssociatedFunction.C (Self I F) "new" (new I F). Admitted. Global Typeclasses Opaque new. @@ -136,7 +136,7 @@ Module iter. Global Instance AssociatedFunction_into_inner : forall (I F : Ty.t), - M.IsAssociatedFunction.Trait (Self I F) "into_inner" (into_inner I F). + M.IsAssociatedFunction.C (Self I F) "into_inner" (into_inner I F). Admitted. Global Typeclasses Opaque into_inner. End Impl_core_iter_adapters_map_Map_I_F. @@ -311,7 +311,7 @@ Module iter. end. Global Instance Instance_IsFunction_map_fold : - M.IsFunction.Trait "core::iter::adapters::map::map_fold" map_fold. + M.IsFunction.C "core::iter::adapters::map::map_fold" map_fold. Admitted. Global Typeclasses Opaque map_fold. @@ -399,7 +399,7 @@ Module iter. end. Global Instance Instance_IsFunction_map_try_fold : - M.IsFunction.Trait "core::iter::adapters::map::map_try_fold" map_try_fold. + M.IsFunction.C "core::iter::adapters::map::map_try_fold" map_try_fold. Admitted. Global Typeclasses Opaque map_try_fold. @@ -1300,9 +1300,14 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = true; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (I F : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run ltac:(M.monadic (M.alloc (| Value.Bool true |))). + ltac:(M.monadic (M.alloc (| Value.Bool true |))). Axiom Implements : forall (I F : Ty.t), @@ -1312,9 +1317,7 @@ Module iter. (* Trait polymorphic types *) [] (Self I F) (* Instance *) - [ - ("value_MAY_HAVE_SIDE_EFFECT", - InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT I F)) + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT I F)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_I_for_core_iter_adapters_map_Map_I_F. @@ -1421,22 +1424,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I F : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I F : Ty.t) : Value.t := + Definition value_MERGE_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I F : Ty.t), @@ -1447,8 +1470,8 @@ Module iter. (Self I F) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I F)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I F)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I F)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I F)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_map_Map_I_F. End map. diff --git a/CoqOfRust/core/iter/adapters/map_while.v b/CoqOfRust/core/iter/adapters/map_while.v index 40a45d9c0..e186760b3 100644 --- a/CoqOfRust/core/iter/adapters/map_while.v +++ b/CoqOfRust/core/iter/adapters/map_while.v @@ -104,7 +104,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I P : Ty.t), - M.IsAssociatedFunction.Trait (Self I P) "new" (new I P). + M.IsAssociatedFunction.C (Self I P) "new" (new I P). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_map_while_MapWhile_I_P. @@ -974,22 +974,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I P : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I P : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I P in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I P : Ty.t) : Value.t := + Definition value_MERGE_BY + (I P : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I P in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I P : Ty.t), @@ -1000,8 +1020,8 @@ Module iter. (Self I P) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I P)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I P)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I P)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I P)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_map_while_MapWhile_I_P. End map_while. diff --git a/CoqOfRust/core/iter/adapters/map_windows.v b/CoqOfRust/core/iter/adapters/map_windows.v index f023c294a..ddb3a23a3 100644 --- a/CoqOfRust/core/iter/adapters/map_windows.v +++ b/CoqOfRust/core/iter/adapters/map_windows.v @@ -112,7 +112,10 @@ Module iter. UnOp.not (| BinOp.ne (| M.read (| - M.get_constant "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -231,8 +234,10 @@ Module iter. |), [ M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |); Value.Integer IntegerKind.Usize 2 ] @@ -322,7 +327,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (N : Value.t) (I F : Ty.t), - M.IsAssociatedFunction.Trait (Self N I F) "new" (new N I F). + M.IsAssociatedFunction.C (Self N I F) "new" (new N I F). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_map_windows_MapWindows_N_I_F. @@ -359,7 +364,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (N : Value.t) (I : Ty.t), - M.IsAssociatedFunction.Trait (Self N I) "new" (new N I). + M.IsAssociatedFunction.C (Self N I) "new" (new N I). Admitted. Global Typeclasses Opaque new. @@ -967,7 +972,7 @@ Module iter. Global Instance AssociatedFunction_next_window : forall (N : Value.t) (I : Ty.t), - M.IsAssociatedFunction.Trait (Self N I) "next_window" (next_window N I). + M.IsAssociatedFunction.C (Self N I) "next_window" (next_window N I). Admitted. Global Typeclasses Opaque next_window. @@ -1123,8 +1128,10 @@ Module iter. M.read (| lo |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -1179,8 +1186,10 @@ Module iter. M.read (| hi |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize @@ -1209,7 +1218,7 @@ Module iter. Global Instance AssociatedFunction_size_hint : forall (N : Value.t) (I : Ty.t), - M.IsAssociatedFunction.Trait (Self N I) "size_hint" (size_hint N I). + M.IsAssociatedFunction.C (Self N I) "size_hint" (size_hint N I). Admitted. Global Typeclasses Opaque size_hint. End Impl_core_iter_adapters_map_windows_MapWindowsInner_N_I. @@ -1432,8 +1441,10 @@ Module iter. |); repeat (| M.read (| - M.get_constant - "core::iter::adapters::map_windows::try_from_iter_discriminant" + get_constant (| + "core::iter::adapters::map_windows::try_from_iter_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) |), N |) @@ -1458,7 +1469,7 @@ Module iter. Global Instance AssociatedFunction_try_from_iter : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "try_from_iter" (try_from_iter N T). + M.IsAssociatedFunction.C (Self N T) "try_from_iter" (try_from_iter N T). Admitted. Global Typeclasses Opaque try_from_iter. @@ -1541,7 +1552,7 @@ Module iter. Global Instance AssociatedFunction_buffer_ptr : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "buffer_ptr" (buffer_ptr N T). + M.IsAssociatedFunction.C (Self N T) "buffer_ptr" (buffer_ptr N T). Admitted. Global Typeclasses Opaque buffer_ptr. @@ -1624,7 +1635,7 @@ Module iter. Global Instance AssociatedFunction_buffer_mut_ptr : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "buffer_mut_ptr" (buffer_mut_ptr N T). + M.IsAssociatedFunction.C (Self N T) "buffer_mut_ptr" (buffer_mut_ptr N T). Admitted. Global Typeclasses Opaque buffer_mut_ptr. @@ -1680,15 +1691,19 @@ Module iter. |) |), M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |), BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |) |) @@ -1812,7 +1827,7 @@ Module iter. Global Instance AssociatedFunction_as_array_ref : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_array_ref" (as_array_ref N T). + M.IsAssociatedFunction.C (Self N T) "as_array_ref" (as_array_ref N T). Admitted. Global Typeclasses Opaque as_array_ref. @@ -1874,15 +1889,19 @@ Module iter. |) |), M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |), BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |) |) @@ -2031,7 +2050,7 @@ Module iter. Global Instance AssociatedFunction_as_uninit_array_mut : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_uninit_array_mut" (as_uninit_array_mut N T). + M.IsAssociatedFunction.C (Self N T) "as_uninit_array_mut" (as_uninit_array_mut N T). Admitted. Global Typeclasses Opaque as_uninit_array_mut. @@ -2157,15 +2176,19 @@ Module iter. |) |), M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |), BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |) |) @@ -2221,7 +2244,10 @@ Module iter. |) |), M.read (| - M.get_constant "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |) |)) in @@ -2296,7 +2322,10 @@ Module iter. M.read (| buffer_mut_ptr |); BinOp.Wrap.sub (| M.read (| - M.get_constant "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -2349,8 +2378,10 @@ Module iter. M.read (| buffer_mut_ptr |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -2478,8 +2509,10 @@ Module iter. |) |), M.read (| - M.get_constant - "core::iter::adapters::map_windows::N" + get_constant (| + "core::iter::adapters::map_windows::N", + Ty.path "usize" + |) |) |) ] @@ -2578,7 +2611,7 @@ Module iter. Global Instance AssociatedFunction_push : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "push" (push N T). + M.IsAssociatedFunction.C (Self N T) "push" (push N T). Admitted. Global Typeclasses Opaque push. End Impl_core_iter_adapters_map_windows_Buffer_N_T. @@ -2621,15 +2654,25 @@ Module iter. [ repeat (| M.read (| - M.get_constant - "core::iter::adapters::map_windows::clone_discriminant" + get_constant (| + "core::iter::adapters::map_windows::clone_discriminant", + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [] + [ T ] + |) |), N |); repeat (| M.read (| - M.get_constant - "core::iter::adapters::map_windows::clone_discriminant" + get_constant (| + "core::iter::adapters::map_windows::clone_discriminant", + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [] + [ T ] + |) |), N |) @@ -2960,7 +3003,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::iter::adapters::map_windows::N" |) + M.read (| + get_constant (| "core::iter::adapters::map_windows::N", Ty.path "usize" |) + |) ] |) |) in diff --git a/CoqOfRust/core/iter/adapters/mod.v b/CoqOfRust/core/iter/adapters/mod.v index f1941b313..0683b868b 100644 --- a/CoqOfRust/core/iter/adapters/mod.v +++ b/CoqOfRust/core/iter/adapters/mod.v @@ -149,7 +149,7 @@ Module iter. end. Global Instance Instance_IsFunction_try_process : - M.IsFunction.Trait "core::iter::adapters::try_process" try_process. + M.IsFunction.C "core::iter::adapters::try_process" try_process. Admitted. Global Typeclasses Opaque try_process. @@ -914,21 +914,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I R : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I R : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I R in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I R : Ty.t) : Value.t := + Definition value_MERGE_BY + (I R : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I R in - M.run - ltac:(M.monadic (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I R : Ty.t), @@ -939,8 +960,8 @@ Module iter. (Self I R) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I R)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I R)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I R)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I R)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_GenericShunt_I_R. End adapters. diff --git a/CoqOfRust/core/iter/adapters/peekable.v b/CoqOfRust/core/iter/adapters/peekable.v index d075dab7e..d759ce33b 100644 --- a/CoqOfRust/core/iter/adapters/peekable.v +++ b/CoqOfRust/core/iter/adapters/peekable.v @@ -238,7 +238,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. (* @@ -434,7 +434,7 @@ Module iter. Global Instance AssociatedFunction_peek : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "peek" (peek I). + M.IsAssociatedFunction.C (Self I) "peek" (peek I). Admitted. Global Typeclasses Opaque peek. @@ -631,7 +631,7 @@ Module iter. Global Instance AssociatedFunction_peek_mut : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "peek_mut" (peek_mut I). + M.IsAssociatedFunction.C (Self I) "peek_mut" (peek_mut I). Admitted. Global Typeclasses Opaque peek_mut. @@ -836,7 +836,7 @@ Module iter. Global Instance AssociatedFunction_next_if : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "next_if" (next_if I). + M.IsAssociatedFunction.C (Self I) "next_if" (next_if I). Admitted. Global Typeclasses Opaque next_if. @@ -962,7 +962,7 @@ Module iter. Global Instance AssociatedFunction_next_if_eq : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "next_if_eq" (next_if_eq I). + M.IsAssociatedFunction.C (Self I) "next_if_eq" (next_if_eq I). Admitted. Global Typeclasses Opaque next_if_eq. End Impl_core_iter_adapters_peekable_Peekable_I. diff --git a/CoqOfRust/core/iter/adapters/rev.v b/CoqOfRust/core/iter/adapters/rev.v index 6e11739c8..617d593bc 100644 --- a/CoqOfRust/core/iter/adapters/rev.v +++ b/CoqOfRust/core/iter/adapters/rev.v @@ -141,7 +141,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_rev_Rev_T. diff --git a/CoqOfRust/core/iter/adapters/scan.v b/CoqOfRust/core/iter/adapters/scan.v index d83bbb838..9a8b8cc40 100644 --- a/CoqOfRust/core/iter/adapters/scan.v +++ b/CoqOfRust/core/iter/adapters/scan.v @@ -131,7 +131,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I St F : Ty.t), - M.IsAssociatedFunction.Trait (Self I St F) "new" (new I St F). + M.IsAssociatedFunction.C (Self I St F) "new" (new I St F). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_scan_Scan_I_St_F. @@ -852,22 +852,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (St F I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (St F I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self St F I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (St F I : Ty.t) : Value.t := + Definition value_MERGE_BY + (St F I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self St F I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (St F I : Ty.t), @@ -878,8 +898,8 @@ Module iter. (Self St F I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY St F I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY St F I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY St F I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY St F I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_scan_Scan_I_St_F. End scan. diff --git a/CoqOfRust/core/iter/adapters/skip.v b/CoqOfRust/core/iter/adapters/skip.v index 5a1be51db..0a9e92813 100644 --- a/CoqOfRust/core/iter/adapters/skip.v +++ b/CoqOfRust/core/iter/adapters/skip.v @@ -186,7 +186,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_skip_Skip_I. @@ -2046,8 +2046,10 @@ Module iter. (M.alloc (| LogicalOp.and (| M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.eq (| @@ -3154,22 +3156,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -3180,8 +3202,8 @@ Module iter. (Self I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_skip_Skip_I. @@ -3205,12 +3227,18 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = I::MAY_HAVE_SIDE_EFFECT; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (I : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT")). + ltac:(M.monadic + (get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |))). Axiom Implements : forall (I : Ty.t), @@ -3220,8 +3248,7 @@ Module iter. (* Trait polymorphic types *) [] (Self I) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT I)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT I)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_I_for_core_iter_adapters_skip_Skip_I. Module Impl_core_iter_traits_marker_TrustedLen_where_core_iter_traits_iterator_Iterator_I_where_core_iter_adapters_zip_TrustedRandomAccess_I_for_core_iter_adapters_skip_Skip_I. diff --git a/CoqOfRust/core/iter/adapters/skip_while.v b/CoqOfRust/core/iter/adapters/skip_while.v index d2c3b61a4..a9d1b949d 100644 --- a/CoqOfRust/core/iter/adapters/skip_while.v +++ b/CoqOfRust/core/iter/adapters/skip_while.v @@ -136,7 +136,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I P : Ty.t), - M.IsAssociatedFunction.Trait (Self I P) "new" (new I P). + M.IsAssociatedFunction.C (Self I P) "new" (new I P). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_skip_while_SkipWhile_I_P. @@ -1032,22 +1032,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I F : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I F : Ty.t) : Value.t := + Definition value_MERGE_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I F : Ty.t), @@ -1058,8 +1078,8 @@ Module iter. (Self I F) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I F)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I F)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I F)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I F)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_skip_while_SkipWhile_I_F. End skip_while. diff --git a/CoqOfRust/core/iter/adapters/step_by.v b/CoqOfRust/core/iter/adapters/step_by.v index e595d55a1..04ab7c3fe 100644 --- a/CoqOfRust/core/iter/adapters/step_by.v +++ b/CoqOfRust/core/iter/adapters/step_by.v @@ -287,7 +287,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. @@ -339,7 +339,7 @@ Module iter. Global Instance AssociatedFunction_original_step : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "original_step" (original_step I). + M.IsAssociatedFunction.C (Self I) "original_step" (original_step I). Admitted. Global Typeclasses Opaque original_step. (* @@ -467,7 +467,7 @@ Module iter. Global Instance AssociatedFunction_next_back_index : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "next_back_index" (next_back_index I). + M.IsAssociatedFunction.C (Self I) "next_back_index" (next_back_index I). Admitted. Global Typeclasses Opaque next_back_index. End Impl_core_iter_adapters_step_by_StepBy_I. @@ -1448,7 +1448,13 @@ Module iter. (M.alloc (| BinOp.eq (| M.read (| n |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -1650,14 +1656,26 @@ Module iter. let~ div_n : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |), M.read (| n |) |) |) in let~ div_step : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |), M.read (| step |) |) |) in @@ -3221,7 +3239,7 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |) ] |) |) in @@ -3839,7 +3857,7 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |) ] |) |) in @@ -4195,7 +4213,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |) ] |) |) in @@ -4813,7 +4833,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |) ] |) |) in @@ -5169,7 +5191,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |) ] |) |) in @@ -5787,7 +5811,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |) ] |) |) in @@ -6143,7 +6169,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |) |) in @@ -6761,7 +6789,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |) |) in @@ -7118,7 +7148,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) ] |) |) in @@ -7736,7 +7768,9 @@ Module iter. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) ] |) |) in diff --git a/CoqOfRust/core/iter/adapters/take.v b/CoqOfRust/core/iter/adapters/take.v index 1d5269969..a14d250d5 100644 --- a/CoqOfRust/core/iter/adapters/take.v +++ b/CoqOfRust/core/iter/adapters/take.v @@ -186,7 +186,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_take_Take_I. @@ -1251,22 +1251,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I : Ty.t) : Value.t := + Definition value_MERGE_BY + (I : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I : Ty.t), @@ -1277,8 +1297,8 @@ Module iter. (Self I) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_take_Take_I. diff --git a/CoqOfRust/core/iter/adapters/take_while.v b/CoqOfRust/core/iter/adapters/take_while.v index e8e59f3d3..6914a7135 100644 --- a/CoqOfRust/core/iter/adapters/take_while.v +++ b/CoqOfRust/core/iter/adapters/take_while.v @@ -136,7 +136,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (I P : Ty.t), - M.IsAssociatedFunction.Trait (Self I P) "new" (new I P). + M.IsAssociatedFunction.C (Self I P) "new" (new I P). Admitted. Global Typeclasses Opaque new. End Impl_core_iter_adapters_take_while_TakeWhile_I_P. @@ -1089,22 +1089,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (I F : Ty.t) : Value.t := + Definition value_EXPAND_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = I::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (I F : Ty.t) : Value.t := + Definition value_MERGE_BY + (I F : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self I F in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (I F : Ty.t), @@ -1115,8 +1135,8 @@ Module iter. (Self I F) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY I F)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY I F)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY I F)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY I F)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_I_for_core_iter_adapters_take_while_TakeWhile_I_F. End take_while. diff --git a/CoqOfRust/core/iter/adapters/zip.v b/CoqOfRust/core/iter/adapters/zip.v index fa3bc9282..bf92f7582 100644 --- a/CoqOfRust/core/iter/adapters/zip.v +++ b/CoqOfRust/core/iter/adapters/zip.v @@ -205,7 +205,7 @@ Module iter. Global Instance AssociatedFunction_new : forall (A B : Ty.t), - M.IsAssociatedFunction.Trait (Self A B) "new" (new A B). + M.IsAssociatedFunction.C (Self A B) "new" (new A B). Admitted. Global Typeclasses Opaque new. @@ -365,7 +365,7 @@ Module iter. Global Instance AssociatedFunction_super_nth : forall (A B : Ty.t), - M.IsAssociatedFunction.Trait (Self A B) "super_nth" (super_nth A B). + M.IsAssociatedFunction.C (Self A B) "super_nth" (super_nth A B). Admitted. Global Typeclasses Opaque super_nth. End Impl_core_iter_adapters_zip_Zip_A_B. @@ -483,8 +483,7 @@ Module iter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_zip : - M.IsFunction.Trait "core::iter::adapters::zip::zip" zip. + Global Instance Instance_IsFunction_zip : M.IsFunction.C "core::iter::adapters::zip::zip" zip. Admitted. Global Typeclasses Opaque zip. @@ -3937,8 +3936,10 @@ Module iter. (M.alloc (| LogicalOp.and (| M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.lt (| @@ -4240,8 +4241,10 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT") in + (get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -4296,8 +4299,10 @@ Module iter. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT") in + (get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -4469,13 +4474,17 @@ Module iter. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) |), ltac:(M.monadic (M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) |))) |) |)) in @@ -4584,8 +4593,10 @@ Module iter. (M.alloc (| LogicalOp.and (| M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.gt (| @@ -4995,8 +5006,10 @@ Module iter. (M.alloc (| LogicalOp.and (| M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.gt (| @@ -5394,23 +5407,31 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = A::MAY_HAVE_SIDE_EFFECT || B::MAY_HAVE_SIDE_EFFECT; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (A B : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (A B : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self A B in - M.run - ltac:(M.monadic - (M.alloc (| - LogicalOp.or (| - M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" - |), - ltac:(M.monadic - (M.read (| - M.get_constant - "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT" - |))) - |) - |))). + ltac:(M.monadic + (M.alloc (| + LogicalOp.or (| + M.read (| + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) + |), + ltac:(M.monadic + (M.read (| + get_constant (| + "core::iter::adapters::zip::TrustedRandomAccessNoCoerce::MAY_HAVE_SIDE_EFFECT", + Ty.path "bool" + |) + |))) + |) + |))). Axiom Implements : forall (A B : Ty.t), @@ -5420,9 +5441,7 @@ Module iter. (* Trait polymorphic types *) [] (Self A B) (* Instance *) - [ - ("value_MAY_HAVE_SIDE_EFFECT", - InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT A B)) + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT A B)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_A_where_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_B_for_core_iter_adapters_zip_Zip_A_B. @@ -5585,22 +5604,42 @@ Module iter. (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_EXPAND_BY (A B : Ty.t) : Value.t := + Definition value_EXPAND_BY + (A B : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self A B in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::EXPAND_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::EXPAND_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). (* const MERGE_BY: Option> = A::MERGE_BY; *) (* Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] *) - Definition value_MERGE_BY (A B : Ty.t) : Value.t := + Definition value_MERGE_BY + (A B : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self A B in - M.run - ltac:(M.monadic - (M.get_constant "core::iter::traits::marker::InPlaceIterable::MERGE_BY")). + ltac:(M.monadic + (get_constant (| + "core::iter::traits::marker::InPlaceIterable::MERGE_BY", + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ] + |))). Axiom Implements : forall (A B : Ty.t), @@ -5611,8 +5650,8 @@ Module iter. (Self A B) (* Instance *) [ - ("value_EXPAND_BY", InstanceField.Constant (value_EXPAND_BY A B)); - ("value_MERGE_BY", InstanceField.Constant (value_MERGE_BY A B)) + ("value_EXPAND_BY", InstanceField.Method (value_EXPAND_BY A B)); + ("value_MERGE_BY", InstanceField.Method (value_MERGE_BY A B)) ]. End Impl_core_iter_traits_marker_InPlaceIterable_where_core_iter_traits_marker_InPlaceIterable_A_for_core_iter_adapters_zip_Zip_A_B. @@ -5935,7 +5974,7 @@ Module iter. end. Global Instance Instance_IsFunction_try_get_unchecked : - M.IsFunction.Trait "core::iter::adapters::zip::try_get_unchecked" try_get_unchecked. + M.IsFunction.C "core::iter::adapters::zip::try_get_unchecked" try_get_unchecked. Admitted. Global Typeclasses Opaque try_get_unchecked. @@ -6345,7 +6384,15 @@ Module iter. ltac:(M.monadic (M.alloc (| Value.Tuple - [ M.read (| M.get_constant "core::num::MAX" |); Value.Bool true + [ + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |); + Value.Bool true ] |))) ] diff --git a/CoqOfRust/core/iter/range.v b/CoqOfRust/core/iter/range.v index dd8699ce2..9bc6aabc0 100644 --- a/CoqOfRust/core/iter/range.v +++ b/CoqOfRust/core/iter/range.v @@ -388,7 +388,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |), Value.Integer IntegerKind.U8 1 |) |), @@ -475,7 +477,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) + |), Value.Integer IntegerKind.U8 1 |) |), @@ -826,7 +830,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) + |), Value.Integer IntegerKind.I8 1 |) |), @@ -913,7 +919,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |), Value.Integer IntegerKind.I8 1 |) |), @@ -1383,7 +1391,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |), Value.Integer IntegerKind.U16 1 |) |), @@ -1470,7 +1480,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) + |), Value.Integer IntegerKind.U16 1 |) |), @@ -1821,7 +1833,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) + |), Value.Integer IntegerKind.I16 1 |) |), @@ -1908,7 +1922,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) + |), Value.Integer IntegerKind.I16 1 |) |), @@ -2378,7 +2394,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |), @@ -2465,7 +2483,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |), @@ -2816,7 +2836,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) + |), Value.Integer IntegerKind.I32 1 |) |), @@ -2903,7 +2925,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) + |), Value.Integer IntegerKind.I32 1 |) |), @@ -3373,7 +3397,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |), Value.Integer IntegerKind.U64 1 |) |), @@ -3460,7 +3486,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |) + |), Value.Integer IntegerKind.U64 1 |) |), @@ -3811,7 +3839,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) + |), Value.Integer IntegerKind.I64 1 |) |), @@ -3898,7 +3928,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) + |), Value.Integer IntegerKind.I64 1 |) |), @@ -4368,7 +4400,13 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |), @@ -4455,7 +4493,13 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| + Ty.path "usize", + "MIN", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |), @@ -4807,7 +4851,13 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |), Value.Integer IntegerKind.Isize 1 |) |), @@ -4894,7 +4944,13 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |), Value.Integer IntegerKind.Isize 1 |) |), @@ -5360,7 +5416,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) + |), Value.Integer IntegerKind.U128 1 |) |), @@ -5447,7 +5505,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "u128", "MIN", Ty.path "u128" |) + |), Value.Integer IntegerKind.U128 1 |) |), @@ -5604,7 +5664,13 @@ Module iter. (M.alloc (| Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |); Value.StructTuple "core::option::Option::None" [] ] |))) @@ -5751,7 +5817,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |) + |), Value.Integer IntegerKind.I128 1 |) |), @@ -5838,7 +5906,9 @@ Module iter. None, M.alloc (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::MIN" |), + M.read (| + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) + |), Value.Integer IntegerKind.I128 1 |) |), @@ -6051,7 +6121,13 @@ Module iter. (M.alloc (| Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |); Value.StructTuple "core::option::Option::None" [] ] |))) @@ -6063,7 +6139,13 @@ Module iter. M.alloc (| Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |); Value.StructTuple "core::option::Option::None" [] ] |))) @@ -6320,7 +6402,11 @@ Module iter. Value.Tuple [ M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |); Value.StructTuple "core::option::Option::None" @@ -6390,7 +6476,11 @@ Module iter. Value.Tuple [ M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |); Value.StructTuple "core::option::Option::None" @@ -6696,7 +6786,13 @@ Module iter. M.read (| res |), M.cast (Ty.path "u32") - (M.read (| M.get_constant "core::char::methods::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "char", + "MAX", + Ty.path "char" + |) + |)) |) |)) in let _ := @@ -11331,8 +11427,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11341,7 +11441,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_usize. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_u8. @@ -11361,8 +11461,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11371,7 +11475,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_u8. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_u16. @@ -11391,8 +11495,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11401,7 +11509,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_u16. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_isize. @@ -11421,8 +11529,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11431,7 +11543,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_isize. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_i8. @@ -11451,8 +11563,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11461,7 +11577,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_i8. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_i16. @@ -11481,8 +11597,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11491,7 +11611,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_i16. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_u32. @@ -11511,8 +11631,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11521,7 +11645,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_u32. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_i32. @@ -11541,8 +11665,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11551,7 +11679,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_i32. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_u64. @@ -11571,8 +11699,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11581,7 +11713,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_u64. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_ops_range_Range_i64. @@ -11601,8 +11733,12 @@ Module iter. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -11611,7 +11747,7 @@ Module iter. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_ops_range_Range_i64. Module Impl_core_iter_traits_exact_size_ExactSizeIterator_for_core_ops_range_RangeInclusive_u8. @@ -11901,7 +12037,7 @@ Module iter. (let self := M.alloc (| self |) in Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |); Value.StructTuple "core::option::Option::None" [] ])) | _, _, _ => M.impossible "wrong number of arguments" diff --git a/CoqOfRust/core/iter/sources/empty.v b/CoqOfRust/core/iter/sources/empty.v index 5f8ea6086..8743d59ab 100644 --- a/CoqOfRust/core/iter/sources/empty.v +++ b/CoqOfRust/core/iter/sources/empty.v @@ -20,7 +20,7 @@ Module iter. end. Global Instance Instance_IsFunction_empty : - M.IsFunction.Trait "core::iter::sources::empty::empty" empty. + M.IsFunction.C "core::iter::sources::empty::empty" empty. Admitted. Global Typeclasses Opaque empty. diff --git a/CoqOfRust/core/iter/sources/from_coroutine.v b/CoqOfRust/core/iter/sources/from_coroutine.v index 3b93e9baa..f36f674df 100644 --- a/CoqOfRust/core/iter/sources/from_coroutine.v +++ b/CoqOfRust/core/iter/sources/from_coroutine.v @@ -21,7 +21,7 @@ Module iter. end. Global Instance Instance_IsFunction_from_coroutine : - M.IsFunction.Trait "core::iter::sources::from_coroutine::from_coroutine" from_coroutine. + M.IsFunction.C "core::iter::sources::from_coroutine::from_coroutine" from_coroutine. Admitted. Global Typeclasses Opaque from_coroutine. diff --git a/CoqOfRust/core/iter/sources/from_fn.v b/CoqOfRust/core/iter/sources/from_fn.v index 7607c98cc..f7495c30a 100644 --- a/CoqOfRust/core/iter/sources/from_fn.v +++ b/CoqOfRust/core/iter/sources/from_fn.v @@ -22,7 +22,7 @@ Module iter. end. Global Instance Instance_IsFunction_from_fn : - M.IsFunction.Trait "core::iter::sources::from_fn::from_fn" from_fn. + M.IsFunction.C "core::iter::sources::from_fn::from_fn" from_fn. Admitted. Global Typeclasses Opaque from_fn. diff --git a/CoqOfRust/core/iter/sources/once.v b/CoqOfRust/core/iter/sources/once.v index 0f95809c8..d9ad8766e 100644 --- a/CoqOfRust/core/iter/sources/once.v +++ b/CoqOfRust/core/iter/sources/once.v @@ -36,7 +36,7 @@ Module iter. end. Global Instance Instance_IsFunction_once : - M.IsFunction.Trait "core::iter::sources::once::once" once. + M.IsFunction.C "core::iter::sources::once::once" once. Admitted. Global Typeclasses Opaque once. diff --git a/CoqOfRust/core/iter/sources/once_with.v b/CoqOfRust/core/iter/sources/once_with.v index 4021a67d7..2d419fe8f 100644 --- a/CoqOfRust/core/iter/sources/once_with.v +++ b/CoqOfRust/core/iter/sources/once_with.v @@ -21,7 +21,7 @@ Module iter. end. Global Instance Instance_IsFunction_once_with : - M.IsFunction.Trait "core::iter::sources::once_with::once_with" once_with. + M.IsFunction.C "core::iter::sources::once_with::once_with" once_with. Admitted. Global Typeclasses Opaque once_with. diff --git a/CoqOfRust/core/iter/sources/repeat.v b/CoqOfRust/core/iter/sources/repeat.v index 7793cc0a6..0be1b4e02 100644 --- a/CoqOfRust/core/iter/sources/repeat.v +++ b/CoqOfRust/core/iter/sources/repeat.v @@ -21,7 +21,7 @@ Module iter. end. Global Instance Instance_IsFunction_repeat : - M.IsFunction.Trait "core::iter::sources::repeat::repeat" repeat. + M.IsFunction.C "core::iter::sources::repeat::repeat" repeat. Admitted. Global Typeclasses Opaque repeat. @@ -193,7 +193,9 @@ Module iter. (let self := M.alloc (| self |) in Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |); Value.StructTuple "core::option::Option::None" [] ])) | _, _, _ => M.impossible "wrong number of arguments" diff --git a/CoqOfRust/core/iter/sources/repeat_n.v b/CoqOfRust/core/iter/sources/repeat_n.v index 25608b58c..390db9eaf 100644 --- a/CoqOfRust/core/iter/sources/repeat_n.v +++ b/CoqOfRust/core/iter/sources/repeat_n.v @@ -77,7 +77,7 @@ Module iter. end. Global Instance Instance_IsFunction_repeat_n : - M.IsFunction.Trait "core::iter::sources::repeat_n::repeat_n" repeat_n. + M.IsFunction.C "core::iter::sources::repeat_n::repeat_n" repeat_n. Admitted. Global Typeclasses Opaque repeat_n. @@ -189,7 +189,7 @@ Module iter. Global Instance AssociatedFunction_element_ref : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "element_ref" (element_ref A). + M.IsAssociatedFunction.C (Self A) "element_ref" (element_ref A). Admitted. Global Typeclasses Opaque element_ref. @@ -325,7 +325,7 @@ Module iter. Global Instance AssociatedFunction_take_element : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "take_element" (take_element A). + M.IsAssociatedFunction.C (Self A) "take_element" (take_element A). Admitted. Global Typeclasses Opaque take_element. End Impl_core_iter_sources_repeat_n_RepeatN_A. diff --git a/CoqOfRust/core/iter/sources/repeat_with.v b/CoqOfRust/core/iter/sources/repeat_with.v index 7d105442c..2b81bdf99 100644 --- a/CoqOfRust/core/iter/sources/repeat_with.v +++ b/CoqOfRust/core/iter/sources/repeat_with.v @@ -21,7 +21,7 @@ Module iter. end. Global Instance Instance_IsFunction_repeat_with : - M.IsFunction.Trait "core::iter::sources::repeat_with::repeat_with" repeat_with. + M.IsFunction.C "core::iter::sources::repeat_with::repeat_with" repeat_with. Admitted. Global Typeclasses Opaque repeat_with. @@ -222,7 +222,9 @@ Module iter. (let self := M.alloc (| self |) in Value.Tuple [ - M.read (| M.get_constant "core::num::MAX" |); + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |); Value.StructTuple "core::option::Option::None" [] ])) | _, _, _ => M.impossible "wrong number of arguments" diff --git a/CoqOfRust/core/iter/sources/successors.v b/CoqOfRust/core/iter/sources/successors.v index 9bf3d5527..c29085810 100644 --- a/CoqOfRust/core/iter/sources/successors.v +++ b/CoqOfRust/core/iter/sources/successors.v @@ -28,7 +28,7 @@ Module iter. end. Global Instance Instance_IsFunction_successors : - M.IsFunction.Trait "core::iter::sources::successors::successors" successors. + M.IsFunction.C "core::iter::sources::successors::successors" successors. Admitted. Global Typeclasses Opaque successors. diff --git a/CoqOfRust/core/iter/traits/collect.v b/CoqOfRust/core/iter/traits/collect.v index 7b136a332..78c8a44c4 100644 --- a/CoqOfRust/core/iter/traits/collect.v +++ b/CoqOfRust/core/iter/traits/collect.v @@ -798,7 +798,7 @@ Module iter. end. Global Instance Instance_IsFunction_default_extend_tuple : - M.IsFunction.Trait "core::iter::traits::collect::default_extend_tuple" default_extend_tuple. + M.IsFunction.C "core::iter::traits::collect::default_extend_tuple" default_extend_tuple. Admitted. Global Typeclasses Opaque default_extend_tuple. @@ -905,7 +905,7 @@ Module iter. end. Global Instance Instance_IsFunction_extend : - M.IsFunction.Trait "core::iter::traits::collect::default_extend_tuple::extend" extend. + M.IsFunction.C "core::iter::traits::collect::default_extend_tuple::extend" extend. Admitted. Global Typeclasses Opaque extend. End default_extend_tuple. diff --git a/CoqOfRust/core/iter/traits/iterator.v b/CoqOfRust/core/iter/traits/iterator.v index 48ef044ea..af8631ebf 100644 --- a/CoqOfRust/core/iter/traits/iterator.v +++ b/CoqOfRust/core/iter/traits/iterator.v @@ -19,7 +19,7 @@ Module iter. end. Global Instance Instance_IsFunction__assert_is_dyn_compatible : - M.IsFunction.Trait + M.IsFunction.C "core::iter::traits::iterator::_assert_is_dyn_compatible" _assert_is_dyn_compatible. Admitted. @@ -6123,7 +6123,7 @@ Module iter. end. Global Instance Instance_IsFunction_iter_compare : - M.IsFunction.Trait "core::iter::traits::iterator::iter_compare" iter_compare. + M.IsFunction.C "core::iter::traits::iterator::iter_compare" iter_compare. Admitted. Global Typeclasses Opaque iter_compare. @@ -6326,7 +6326,7 @@ Module iter. end. Global Instance Instance_IsFunction_compare : - M.IsFunction.Trait "core::iter::traits::iterator::iter_compare::compare" compare. + M.IsFunction.C "core::iter::traits::iterator::iter_compare::compare" compare. Admitted. Global Typeclasses Opaque compare. End iter_compare. diff --git a/CoqOfRust/core/links/array.v b/CoqOfRust/core/links/array.v index 32bd0f45e..d7286fd67 100644 --- a/CoqOfRust/core/links/array.v +++ b/CoqOfRust/core/links/array.v @@ -38,6 +38,64 @@ Proof. Defined. Smpl Add apply of_value_1 : of_value. +(** This lemma is useful when the [repeat_nat] construct (used to build array with repetition) + appears and to switch it with the [φ] on its parameters. *) +Lemma repeat_nat_φ_eq {A : Set} `{Link A} (times : Z) (value : A) : + Value.Array (repeat_nat (Z.to_nat times) (φ value)) = + φ ({| value := repeat_nat (Z.to_nat times) value |} : t A {| Integer.value := times |}). +Proof. + with_strategy transparent [φ] cbn. + set (nat_times := Z.to_nat times). + induction nat_times; cbn; congruence. +Qed. + +Lemma repeat_φ_eq {A : Set} `{Link A} (times : Z) (value : A) : + repeat (φ value) (Value.Integer IntegerKind.Usize times) = + M.pure (φ ({| value := repeat_nat (Z.to_nat times) value |} : t A {| Integer.value := times |})). +Proof. + with_strategy transparent [φ repeat] cbn. + rewrite repeat_nat_φ_eq. + reflexivity. +Qed. + +Lemma of_value_with_repeat {A : Set} `{Link A} + (times : Z) + (value' : Value.t) (value : A) : + value' = φ value -> + Value.Array (repeat_nat (Z.to_nat times) value') = + φ ({| value := repeat_nat (Z.to_nat times) value |} : t A {| Integer.value := times |}). +Proof. + intros; subst. + now rewrite repeat_nat_φ_eq. +Qed. +Smpl Add eapply of_value_with_repeat : of_value. + +Definition of_value_repeat (times : Z) (value' : Value.t) : + OfValue.t value' -> + OfValue.t (Value.Array (repeat_nat (Z.to_nat times) value')). +Proof. + intros [A ? value]. + eapply OfValue.Make with + (A := t A {| Integer.value := times |}) + (value := {| value := repeat_nat (Z.to_nat times) value |}). + subst. + apply repeat_nat_φ_eq. +Defined. +Smpl Add apply of_value_repeat : of_value. + +(* Definition of_value_repeat (times : nat) (value' : Value.t) : + OfValue.t value' -> + OfValue.t (Value.Array (repeat_nat times value')). +Proof. + intros [A ? value]. + eapply OfValue.Make with + (A := t A {| Integer.value := Z.of_nat times |}) + (value := {| value := repeat_nat times value |}). + subst. + apply repeat_nat_φ_eq. +Defined. +Smpl Add apply of_value_repeat : of_value. *) + Module SubPointer. Definition get_index (A : Set) `{Link A} (length : Usize.t) (index : Z) : SubPointer.Runner.t (t A length) (Pointer.Index.Array index) := @@ -61,22 +119,3 @@ Module SubPointer. Qed. Smpl Add eapply get_index_is_valid : run_sub_pointer. End SubPointer. - -(** This lemma is useful when the [repeat_nat] construct (used to build array with repetition) - appears and to switch it with the [φ] on its parameters. *) -Lemma repeat_nat_φ_eq {A : Set} `{Link A} (times : nat) (value : A) : - Value.Array (repeat_nat times (φ value)) = - φ ({| value := repeat_nat times value |} : t A {| Integer.value := Z.of_nat times |}). -Proof. - with_strategy transparent [φ] cbn. - induction times; cbn; congruence. -Qed. - -Lemma repeat_φ_eq {A : Set} `{Link A} (times : Z) (value : A) : - repeat (φ value) (Value.Integer IntegerKind.Usize times) = - M.pure (φ ({| value := repeat_nat (Z.to_nat times) value |} : t A {| Integer.value := times |})). -Proof. - with_strategy transparent [φ repeat] cbn. - rewrite repeat_nat_φ_eq. - reflexivity. -Qed. diff --git a/CoqOfRust/core/links/cmp.v b/CoqOfRust/core/links/cmp.v index 81a6a1228..0c6ba6e9b 100644 --- a/CoqOfRust/core/links/cmp.v +++ b/CoqOfRust/core/links/cmp.v @@ -1,10 +1,9 @@ Require Import CoqOfRust.CoqOfRust. Require Import links.M. Require Import core.cmp. -Require Import core.intrinsics. +Require Import core.intrinsics.links.mod. Require Import core.links.option. Require Import core.ops.links.function. -Require Import core.links.intrinsics. Require Export core.links.cmpOrdering. (* diff --git a/CoqOfRust/core/mem/manually_drop.v b/CoqOfRust/core/mem/manually_drop.v index 24fbf5da7..c500cf678 100644 --- a/CoqOfRust/core/mem/manually_drop.v +++ b/CoqOfRust/core/mem/manually_drop.v @@ -448,7 +448,7 @@ Module mem. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -475,7 +475,7 @@ Module mem. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. @@ -516,7 +516,7 @@ Module mem. Global Instance AssociatedFunction_take : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take" (take T). + M.IsAssociatedFunction.C (Self T) "take" (take T). Admitted. Global Typeclasses Opaque take. (* @@ -557,7 +557,7 @@ Module mem. Global Instance AssociatedFunction_drop : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "drop" (drop T). + M.IsAssociatedFunction.C (Self T) "drop" (drop T). Admitted. Global Typeclasses Opaque drop. End Impl_core_mem_manually_drop_ManuallyDrop_T. diff --git a/CoqOfRust/core/mem/maybe_uninit.v b/CoqOfRust/core/mem/maybe_uninit.v index 45a7729cd..39b44e266 100644 --- a/CoqOfRust/core/mem/maybe_uninit.v +++ b/CoqOfRust/core/mem/maybe_uninit.v @@ -198,7 +198,7 @@ Module mem. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -220,7 +220,7 @@ Module mem. Global Instance AssociatedFunction_uninit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "uninit" (uninit T). + M.IsAssociatedFunction.C (Self T) "uninit" (uninit T). Admitted. Global Typeclasses Opaque uninit. @@ -240,7 +240,12 @@ Module mem. | [ N ], [], [] => ltac:(M.monadic (repeat (| - M.read (| M.get_constant "core::mem::maybe_uninit::uninit_array_discriminant" |), + M.read (| + get_constant (| + "core::mem::maybe_uninit::uninit_array_discriminant", + Ty.apply (Ty.path "core::mem::maybe_uninit::MaybeUninit") [] [ T ] + |) + |), N |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -248,7 +253,7 @@ Module mem. Global Instance AssociatedFunction_uninit_array : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "uninit_array" (uninit_array T). + M.IsAssociatedFunction.C (Self T) "uninit_array" (uninit_array T). Admitted. Global Typeclasses Opaque uninit_array. @@ -312,7 +317,7 @@ Module mem. Global Instance AssociatedFunction_zeroed : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "zeroed" (zeroed T). + M.IsAssociatedFunction.C (Self T) "zeroed" (zeroed T). Admitted. Global Typeclasses Opaque zeroed. @@ -381,7 +386,7 @@ Module mem. Global Instance AssociatedFunction_write : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write" (write T). + M.IsAssociatedFunction.C (Self T) "write" (write T). Admitted. Global Typeclasses Opaque write. @@ -410,7 +415,7 @@ Module mem. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -439,7 +444,7 @@ Module mem. Global Instance AssociatedFunction_as_mut_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_ptr" (as_mut_ptr T). + M.IsAssociatedFunction.C (Self T) "as_mut_ptr" (as_mut_ptr T). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -494,7 +499,7 @@ Module mem. Global Instance AssociatedFunction_assume_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "assume_init" (assume_init T). + M.IsAssociatedFunction.C (Self T) "assume_init" (assume_init T). Admitted. Global Typeclasses Opaque assume_init. @@ -557,7 +562,7 @@ Module mem. Global Instance AssociatedFunction_assume_init_read : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "assume_init_read" (assume_init_read T). + M.IsAssociatedFunction.C (Self T) "assume_init_read" (assume_init_read T). Admitted. Global Typeclasses Opaque assume_init_read. @@ -601,7 +606,7 @@ Module mem. Global Instance AssociatedFunction_assume_init_drop : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "assume_init_drop" (assume_init_drop T). + M.IsAssociatedFunction.C (Self T) "assume_init_drop" (assume_init_drop T). Admitted. Global Typeclasses Opaque assume_init_drop. @@ -663,7 +668,7 @@ Module mem. Global Instance AssociatedFunction_assume_init_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "assume_init_ref" (assume_init_ref T). + M.IsAssociatedFunction.C (Self T) "assume_init_ref" (assume_init_ref T). Admitted. Global Typeclasses Opaque assume_init_ref. @@ -743,7 +748,7 @@ Module mem. Global Instance AssociatedFunction_assume_init_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "assume_init_mut" (assume_init_mut T). + M.IsAssociatedFunction.C (Self T) "assume_init_mut" (assume_init_mut T). Admitted. Global Typeclasses Opaque assume_init_mut. @@ -807,7 +812,7 @@ Module mem. Global Instance AssociatedFunction_array_assume_init : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "array_assume_init" (array_assume_init T). + M.IsAssociatedFunction.C (Self T) "array_assume_init" (array_assume_init T). Admitted. Global Typeclasses Opaque array_assume_init. @@ -857,7 +862,7 @@ Module mem. Global Instance AssociatedFunction_slice_assume_init_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_assume_init_ref" (slice_assume_init_ref T). + M.IsAssociatedFunction.C (Self T) "slice_assume_init_ref" (slice_assume_init_ref T). Admitted. Global Typeclasses Opaque slice_assume_init_ref. @@ -915,7 +920,7 @@ Module mem. Global Instance AssociatedFunction_slice_assume_init_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_assume_init_mut" (slice_assume_init_mut T). + M.IsAssociatedFunction.C (Self T) "slice_assume_init_mut" (slice_assume_init_mut T). Admitted. Global Typeclasses Opaque slice_assume_init_mut. @@ -958,7 +963,7 @@ Module mem. Global Instance AssociatedFunction_slice_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_as_ptr" (slice_as_ptr T). + M.IsAssociatedFunction.C (Self T) "slice_as_ptr" (slice_as_ptr T). Admitted. Global Typeclasses Opaque slice_as_ptr. @@ -1001,7 +1006,7 @@ Module mem. Global Instance AssociatedFunction_slice_as_mut_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_as_mut_ptr" (slice_as_mut_ptr T). + M.IsAssociatedFunction.C (Self T) "slice_as_mut_ptr" (slice_as_mut_ptr T). Admitted. Global Typeclasses Opaque slice_as_mut_ptr. @@ -1130,7 +1135,7 @@ Module mem. Global Instance AssociatedFunction_copy_from_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_from_slice" (copy_from_slice T). + M.IsAssociatedFunction.C (Self T) "copy_from_slice" (copy_from_slice T). Admitted. Global Typeclasses Opaque copy_from_slice. @@ -1591,7 +1596,7 @@ Module mem. Global Instance AssociatedFunction_clone_from_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "clone_from_slice" (clone_from_slice T). + M.IsAssociatedFunction.C (Self T) "clone_from_slice" (clone_from_slice T). Admitted. Global Typeclasses Opaque clone_from_slice. @@ -1669,7 +1674,7 @@ Module mem. Global Instance AssociatedFunction_fill : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fill" (fill T). + M.IsAssociatedFunction.C (Self T) "fill" (fill T). Admitted. Global Typeclasses Opaque fill. @@ -1954,7 +1959,7 @@ Module mem. Global Instance AssociatedFunction_fill_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fill_with" (fill_with T). + M.IsAssociatedFunction.C (Self T) "fill_with" (fill_with T). Admitted. Global Typeclasses Opaque fill_with. @@ -2407,7 +2412,7 @@ Module mem. Global Instance AssociatedFunction_fill_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fill_from" (fill_from T). + M.IsAssociatedFunction.C (Self T) "fill_from" (fill_from T). Admitted. Global Typeclasses Opaque fill_from. @@ -2484,7 +2489,7 @@ Module mem. Global Instance AssociatedFunction_as_bytes : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_bytes" (as_bytes T). + M.IsAssociatedFunction.C (Self T) "as_bytes" (as_bytes T). Admitted. Global Typeclasses Opaque as_bytes. @@ -2591,7 +2596,7 @@ Module mem. Global Instance AssociatedFunction_as_bytes_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_bytes_mut" (as_bytes_mut T). + M.IsAssociatedFunction.C (Self T) "as_bytes_mut" (as_bytes_mut T). Admitted. Global Typeclasses Opaque as_bytes_mut. @@ -2701,7 +2706,7 @@ Module mem. Global Instance AssociatedFunction_slice_as_bytes : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_as_bytes" (slice_as_bytes T). + M.IsAssociatedFunction.C (Self T) "slice_as_bytes" (slice_as_bytes T). Admitted. Global Typeclasses Opaque slice_as_bytes. @@ -2834,7 +2839,7 @@ Module mem. Global Instance AssociatedFunction_slice_as_bytes_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_as_bytes_mut" (slice_as_bytes_mut T). + M.IsAssociatedFunction.C (Self T) "slice_as_bytes_mut" (slice_as_bytes_mut T). Admitted. Global Typeclasses Opaque slice_as_bytes_mut. End Impl_core_mem_maybe_uninit_MaybeUninit_T. @@ -2890,7 +2895,7 @@ Module mem. Global Instance AssociatedFunction_transpose : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "transpose" (transpose N T). + M.IsAssociatedFunction.C (Self N T) "transpose" (transpose N T). Admitted. Global Typeclasses Opaque transpose. End Impl_core_mem_maybe_uninit_MaybeUninit_array_N_T. @@ -2946,7 +2951,7 @@ Module mem. Global Instance AssociatedFunction_transpose : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "transpose" (transpose N T). + M.IsAssociatedFunction.C (Self N T) "transpose" (transpose N T). Admitted. Global Typeclasses Opaque transpose. End Impl_array_N_core_mem_maybe_uninit_MaybeUninit_T. diff --git a/CoqOfRust/core/mem/mod.v b/CoqOfRust/core/mem/mod.v index 562b550ec..34cf46109 100644 --- a/CoqOfRust/core/mem/mod.v +++ b/CoqOfRust/core/mem/mod.v @@ -33,7 +33,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_forget : M.IsFunction.Trait "core::mem::forget" forget. + Global Instance Instance_IsFunction_forget : M.IsFunction.C "core::mem::forget" forget. Admitted. Global Typeclasses Opaque forget. @@ -56,7 +56,7 @@ Module mem. end. Global Instance Instance_IsFunction_forget_unsized : - M.IsFunction.Trait "core::mem::forget_unsized" forget_unsized. + M.IsFunction.C "core::mem::forget_unsized" forget_unsized. Admitted. Global Typeclasses Opaque forget_unsized. @@ -77,7 +77,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_size_of : M.IsFunction.Trait "core::mem::size_of" size_of. + Global Instance Instance_IsFunction_size_of : M.IsFunction.C "core::mem::size_of" size_of. Admitted. Global Typeclasses Opaque size_of. @@ -101,7 +101,7 @@ Module mem. end. Global Instance Instance_IsFunction_size_of_val : - M.IsFunction.Trait "core::mem::size_of_val" size_of_val. + M.IsFunction.C "core::mem::size_of_val" size_of_val. Admitted. Global Typeclasses Opaque size_of_val. @@ -125,7 +125,7 @@ Module mem. end. Global Instance Instance_IsFunction_size_of_val_raw : - M.IsFunction.Trait "core::mem::size_of_val_raw" size_of_val_raw. + M.IsFunction.C "core::mem::size_of_val_raw" size_of_val_raw. Admitted. Global Typeclasses Opaque size_of_val_raw. @@ -147,7 +147,7 @@ Module mem. end. Global Instance Instance_IsFunction_min_align_of : - M.IsFunction.Trait "core::mem::min_align_of" min_align_of. + M.IsFunction.C "core::mem::min_align_of" min_align_of. Admitted. Global Typeclasses Opaque min_align_of. @@ -171,7 +171,7 @@ Module mem. end. Global Instance Instance_IsFunction_min_align_of_val : - M.IsFunction.Trait "core::mem::min_align_of_val" min_align_of_val. + M.IsFunction.C "core::mem::min_align_of_val" min_align_of_val. Admitted. Global Typeclasses Opaque min_align_of_val. @@ -192,7 +192,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_align_of : M.IsFunction.Trait "core::mem::align_of" align_of. + Global Instance Instance_IsFunction_align_of : M.IsFunction.C "core::mem::align_of" align_of. Admitted. Global Typeclasses Opaque align_of. @@ -216,7 +216,7 @@ Module mem. end. Global Instance Instance_IsFunction_align_of_val : - M.IsFunction.Trait "core::mem::align_of_val" align_of_val. + M.IsFunction.C "core::mem::align_of_val" align_of_val. Admitted. Global Typeclasses Opaque align_of_val. @@ -240,7 +240,7 @@ Module mem. end. Global Instance Instance_IsFunction_align_of_val_raw : - M.IsFunction.Trait "core::mem::align_of_val_raw" align_of_val_raw. + M.IsFunction.C "core::mem::align_of_val_raw" align_of_val_raw. Admitted. Global Typeclasses Opaque align_of_val_raw. @@ -262,7 +262,7 @@ Module mem. end. Global Instance Instance_IsFunction_needs_drop : - M.IsFunction.Trait "core::mem::needs_drop" needs_drop. + M.IsFunction.C "core::mem::needs_drop" needs_drop. Admitted. Global Typeclasses Opaque needs_drop. @@ -315,7 +315,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_zeroed : M.IsFunction.Trait "core::mem::zeroed" zeroed. + Global Instance Instance_IsFunction_zeroed : M.IsFunction.C "core::mem::zeroed" zeroed. Admitted. Global Typeclasses Opaque zeroed. @@ -418,7 +418,7 @@ Module mem. end. Global Instance Instance_IsFunction_uninitialized : - M.IsFunction.Trait "core::mem::uninitialized" uninitialized. + M.IsFunction.C "core::mem::uninitialized" uninitialized. Admitted. Global Typeclasses Opaque uninitialized. @@ -446,7 +446,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_swap : M.IsFunction.Trait "core::mem::swap" swap. + Global Instance Instance_IsFunction_swap : M.IsFunction.C "core::mem::swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -475,7 +475,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_take : M.IsFunction.Trait "core::mem::take" take. + Global Instance Instance_IsFunction_take : M.IsFunction.C "core::mem::take" take. Admitted. Global Typeclasses Opaque take. @@ -526,7 +526,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_replace : M.IsFunction.Trait "core::mem::replace" replace. + Global Instance Instance_IsFunction_replace : M.IsFunction.C "core::mem::replace" replace. Admitted. Global Typeclasses Opaque replace. @@ -540,7 +540,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_drop : M.IsFunction.Trait "core::mem::drop" drop. + Global Instance Instance_IsFunction_drop : M.IsFunction.C "core::mem::drop" drop. Admitted. Global Typeclasses Opaque drop. @@ -558,7 +558,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_copy : M.IsFunction.Trait "core::mem::copy" copy. + Global Instance Instance_IsFunction_copy : M.IsFunction.C "core::mem::copy" copy. Admitted. Global Typeclasses Opaque copy. @@ -724,7 +724,7 @@ Module mem. end. Global Instance Instance_IsFunction_transmute_copy : - M.IsFunction.Trait "core::mem::transmute_copy" transmute_copy. + M.IsFunction.C "core::mem::transmute_copy" transmute_copy. Admitted. Global Typeclasses Opaque transmute_copy. @@ -1020,7 +1020,7 @@ Module mem. end. Global Instance Instance_IsFunction_discriminant : - M.IsFunction.Trait "core::mem::discriminant" discriminant. + M.IsFunction.C "core::mem::discriminant" discriminant. Admitted. Global Typeclasses Opaque discriminant. @@ -1042,7 +1042,7 @@ Module mem. end. Global Instance Instance_IsFunction_variant_count : - M.IsFunction.Trait "core::mem::variant_count" variant_count. + M.IsFunction.C "core::mem::variant_count" variant_count. Admitted. Global Typeclasses Opaque variant_count. diff --git a/CoqOfRust/core/mem/transmutability.v b/CoqOfRust/core/mem/transmutability.v index a80e2e4d3..daba6eeeb 100644 --- a/CoqOfRust/core/mem/transmutability.v +++ b/CoqOfRust/core/mem/transmutability.v @@ -396,86 +396,105 @@ Module mem. Self { alignment: false, lifetimes: false, safety: false, validity: false }; *) (* Ty.path "core::mem::transmutability::Assume" *) - Definition value_NOTHING : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructRecord - "core::mem::transmutability::Assume" - [ - ("alignment", Value.Bool false); - ("lifetimes", Value.Bool false); - ("safety", Value.Bool false); - ("validity", Value.Bool false) - ] - |))). + Definition value_NOTHING (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructRecord + "core::mem::transmutability::Assume" + [ + ("alignment", Value.Bool false); + ("lifetimes", Value.Bool false); + ("safety", Value.Bool false); + ("validity", Value.Bool false) + ] + |))). Global Instance AssociatedConstant_value_NOTHING : - M.IsAssociatedConstant.Trait Self "value_NOTHING" value_NOTHING. + M.IsAssociatedFunction.C Self "NOTHING" value_NOTHING. Admitted. Global Typeclasses Opaque value_NOTHING. (* pub const ALIGNMENT: Self = Self { alignment: true, ..Self::NOTHING }; *) (* Ty.path "core::mem::transmutability::Assume" *) - Definition value_ALIGNMENT : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.struct_record_update - (M.read (| M.get_constant "core::mem::transmutability::NOTHING" |)) - [ ("alignment", Value.Bool true) ] - |))). + Definition value_ALIGNMENT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.struct_record_update + (M.read (| + get_associated_constant (| + Ty.path "core::mem::transmutability::Assume", + "NOTHING", + Ty.path "core::mem::transmutability::Assume" + |) + |)) + [ ("alignment", Value.Bool true) ] + |))). Global Instance AssociatedConstant_value_ALIGNMENT : - M.IsAssociatedConstant.Trait Self "value_ALIGNMENT" value_ALIGNMENT. + M.IsAssociatedFunction.C Self "ALIGNMENT" value_ALIGNMENT. Admitted. Global Typeclasses Opaque value_ALIGNMENT. (* pub const LIFETIMES: Self = Self { lifetimes: true, ..Self::NOTHING }; *) (* Ty.path "core::mem::transmutability::Assume" *) - Definition value_LIFETIMES : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.struct_record_update - (M.read (| M.get_constant "core::mem::transmutability::NOTHING" |)) - [ ("lifetimes", Value.Bool true) ] - |))). + Definition value_LIFETIMES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.struct_record_update + (M.read (| + get_associated_constant (| + Ty.path "core::mem::transmutability::Assume", + "NOTHING", + Ty.path "core::mem::transmutability::Assume" + |) + |)) + [ ("lifetimes", Value.Bool true) ] + |))). Global Instance AssociatedConstant_value_LIFETIMES : - M.IsAssociatedConstant.Trait Self "value_LIFETIMES" value_LIFETIMES. + M.IsAssociatedFunction.C Self "LIFETIMES" value_LIFETIMES. Admitted. Global Typeclasses Opaque value_LIFETIMES. (* pub const SAFETY: Self = Self { safety: true, ..Self::NOTHING }; *) (* Ty.path "core::mem::transmutability::Assume" *) - Definition value_SAFETY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.struct_record_update - (M.read (| M.get_constant "core::mem::transmutability::NOTHING" |)) - [ ("safety", Value.Bool true) ] - |))). + Definition value_SAFETY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.struct_record_update + (M.read (| + get_associated_constant (| + Ty.path "core::mem::transmutability::Assume", + "NOTHING", + Ty.path "core::mem::transmutability::Assume" + |) + |)) + [ ("safety", Value.Bool true) ] + |))). Global Instance AssociatedConstant_value_SAFETY : - M.IsAssociatedConstant.Trait Self "value_SAFETY" value_SAFETY. + M.IsAssociatedFunction.C Self "SAFETY" value_SAFETY. Admitted. Global Typeclasses Opaque value_SAFETY. (* pub const VALIDITY: Self = Self { validity: true, ..Self::NOTHING }; *) (* Ty.path "core::mem::transmutability::Assume" *) - Definition value_VALIDITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.struct_record_update - (M.read (| M.get_constant "core::mem::transmutability::NOTHING" |)) - [ ("validity", Value.Bool true) ] - |))). + Definition value_VALIDITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.struct_record_update + (M.read (| + get_associated_constant (| + Ty.path "core::mem::transmutability::Assume", + "NOTHING", + Ty.path "core::mem::transmutability::Assume" + |) + |)) + [ ("validity", Value.Bool true) ] + |))). Global Instance AssociatedConstant_value_VALIDITY : - M.IsAssociatedConstant.Trait Self "value_VALIDITY" value_VALIDITY. + M.IsAssociatedFunction.C Self "VALIDITY" value_VALIDITY. Admitted. Global Typeclasses Opaque value_VALIDITY. @@ -574,7 +593,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_and : M.IsAssociatedFunction.Trait Self "and" and. + Global Instance AssociatedFunction_and : M.IsAssociatedFunction.C Self "and" and. Admitted. Global Typeclasses Opaque and. @@ -681,8 +700,7 @@ Module mem. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_but_not : - M.IsAssociatedFunction.Trait Self "but_not" but_not. + Global Instance AssociatedFunction_but_not : M.IsAssociatedFunction.C Self "but_not" but_not. Admitted. Global Typeclasses Opaque but_not. End Impl_core_mem_transmutability_Assume. diff --git a/CoqOfRust/core/net/display_buffer.v b/CoqOfRust/core/net/display_buffer.v index 758089603..7efac835b 100644 --- a/CoqOfRust/core/net/display_buffer.v +++ b/CoqOfRust/core/net/display_buffer.v @@ -60,7 +60,7 @@ Module net. Global Instance AssociatedFunction_new : forall (SIZE : Value.t), - M.IsAssociatedFunction.Trait (Self SIZE) "new" (new SIZE). + M.IsAssociatedFunction.C (Self SIZE) "new" (new SIZE). Admitted. Global Typeclasses Opaque new. @@ -189,7 +189,7 @@ Module net. Global Instance AssociatedFunction_as_str : forall (SIZE : Value.t), - M.IsAssociatedFunction.Trait (Self SIZE) "as_str" (as_str SIZE). + M.IsAssociatedFunction.C (Self SIZE) "as_str" (as_str SIZE). Admitted. Global Typeclasses Opaque as_str. End Impl_core_net_display_buffer_DisplayBuffer_SIZE. diff --git a/CoqOfRust/core/net/ip_addr.v b/CoqOfRust/core/net/ip_addr.v index 7e3f1cea4..c53164180 100644 --- a/CoqOfRust/core/net/ip_addr.v +++ b/CoqOfRust/core/net/ip_addr.v @@ -1630,7 +1630,7 @@ Module net. end. Global Instance AssociatedFunction_is_unspecified : - M.IsAssociatedFunction.Trait Self "is_unspecified" is_unspecified. + M.IsAssociatedFunction.C Self "is_unspecified" is_unspecified. Admitted. Global Typeclasses Opaque is_unspecified. @@ -1703,7 +1703,7 @@ Module net. end. Global Instance AssociatedFunction_is_loopback : - M.IsAssociatedFunction.Trait Self "is_loopback" is_loopback. + M.IsAssociatedFunction.C Self "is_loopback" is_loopback. Admitted. Global Typeclasses Opaque is_loopback. @@ -1776,7 +1776,7 @@ Module net. end. Global Instance AssociatedFunction_is_global : - M.IsAssociatedFunction.Trait Self "is_global" is_global. + M.IsAssociatedFunction.C Self "is_global" is_global. Admitted. Global Typeclasses Opaque is_global. @@ -1849,7 +1849,7 @@ Module net. end. Global Instance AssociatedFunction_is_multicast : - M.IsAssociatedFunction.Trait Self "is_multicast" is_multicast. + M.IsAssociatedFunction.C Self "is_multicast" is_multicast. Admitted. Global Typeclasses Opaque is_multicast. @@ -1922,7 +1922,7 @@ Module net. end. Global Instance AssociatedFunction_is_documentation : - M.IsAssociatedFunction.Trait Self "is_documentation" is_documentation. + M.IsAssociatedFunction.C Self "is_documentation" is_documentation. Admitted. Global Typeclasses Opaque is_documentation. @@ -1995,7 +1995,7 @@ Module net. end. Global Instance AssociatedFunction_is_benchmarking : - M.IsAssociatedFunction.Trait Self "is_benchmarking" is_benchmarking. + M.IsAssociatedFunction.C Self "is_benchmarking" is_benchmarking. Admitted. Global Typeclasses Opaque is_benchmarking. @@ -2031,8 +2031,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ipv4 : - M.IsAssociatedFunction.Trait Self "is_ipv4" is_ipv4. + Global Instance AssociatedFunction_is_ipv4 : M.IsAssociatedFunction.C Self "is_ipv4" is_ipv4. Admitted. Global Typeclasses Opaque is_ipv4. @@ -2068,8 +2067,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ipv6 : - M.IsAssociatedFunction.Trait Self "is_ipv6" is_ipv6. + Global Instance AssociatedFunction_is_ipv6 : M.IsAssociatedFunction.C Self "is_ipv6" is_ipv6. Admitted. Global Typeclasses Opaque is_ipv6. @@ -2130,7 +2128,7 @@ Module net. end. Global Instance AssociatedFunction_to_canonical : - M.IsAssociatedFunction.Trait Self "to_canonical" to_canonical. + M.IsAssociatedFunction.C Self "to_canonical" to_canonical. Admitted. Global Typeclasses Opaque to_canonical. End Impl_core_net_ip_addr_IpAddr. @@ -2160,17 +2158,17 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. (* pub const BITS: u32 = 32; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 32 |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 32 |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -2200,8 +2198,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_bits : - M.IsAssociatedFunction.Trait Self "to_bits" to_bits. + Global Instance AssociatedFunction_to_bits : M.IsAssociatedFunction.C Self "to_bits" to_bits. Admitted. Global Typeclasses Opaque to_bits. @@ -2232,91 +2229,73 @@ Module net. end. Global Instance AssociatedFunction_from_bits : - M.IsAssociatedFunction.Trait Self "from_bits" from_bits. + M.IsAssociatedFunction.C Self "from_bits" from_bits. Admitted. Global Typeclasses Opaque from_bits. (* pub const LOCALHOST: Self = Ipv4Addr::new(127, 0, 0, 1); *) (* Ty.path "core::net::ip_addr::Ipv4Addr" *) - Definition value_LOCALHOST : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::net::ip_addr::Ipv4Addr", - M.get_associated_function (| - Ty.path "core::net::ip_addr::Ipv4Addr", - "new", - [], - [] - |), - [ - Value.Integer IntegerKind.U8 127; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 1 - ] - |) - |))). + Definition value_LOCALHOST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::net::ip_addr::Ipv4Addr", + M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "new", [], [] |), + [ + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 1 + ] + |) + |))). Global Instance AssociatedConstant_value_LOCALHOST : - M.IsAssociatedConstant.Trait Self "value_LOCALHOST" value_LOCALHOST. + M.IsAssociatedFunction.C Self "LOCALHOST" value_LOCALHOST. Admitted. Global Typeclasses Opaque value_LOCALHOST. (* pub const UNSPECIFIED: Self = Ipv4Addr::new(0, 0, 0, 0); *) (* Ty.path "core::net::ip_addr::Ipv4Addr" *) - Definition value_UNSPECIFIED : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::net::ip_addr::Ipv4Addr", - M.get_associated_function (| - Ty.path "core::net::ip_addr::Ipv4Addr", - "new", - [], - [] - |), - [ - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0 - ] - |) - |))). + Definition value_UNSPECIFIED (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::net::ip_addr::Ipv4Addr", + M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "new", [], [] |), + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 + ] + |) + |))). Global Instance AssociatedConstant_value_UNSPECIFIED : - M.IsAssociatedConstant.Trait Self "value_UNSPECIFIED" value_UNSPECIFIED. + M.IsAssociatedFunction.C Self "UNSPECIFIED" value_UNSPECIFIED. Admitted. Global Typeclasses Opaque value_UNSPECIFIED. (* pub const BROADCAST: Self = Ipv4Addr::new(255, 255, 255, 255); *) (* Ty.path "core::net::ip_addr::Ipv4Addr" *) - Definition value_BROADCAST : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::net::ip_addr::Ipv4Addr", - M.get_associated_function (| - Ty.path "core::net::ip_addr::Ipv4Addr", - "new", - [], - [] - |), - [ - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255 - ] - |) - |))). + Definition value_BROADCAST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::net::ip_addr::Ipv4Addr", + M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv4Addr", "new", [], [] |), + [ + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255 + ] + |) + |))). Global Instance AssociatedConstant_value_BROADCAST : - M.IsAssociatedConstant.Trait Self "value_BROADCAST" value_BROADCAST. + M.IsAssociatedFunction.C Self "BROADCAST" value_BROADCAST. Admitted. Global Typeclasses Opaque value_BROADCAST. @@ -2340,7 +2319,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_octets : M.IsAssociatedFunction.Trait Self "octets" octets. + Global Instance AssociatedFunction_octets : M.IsAssociatedFunction.C Self "octets" octets. Admitted. Global Typeclasses Opaque octets. @@ -2359,7 +2338,7 @@ Module net. end. Global Instance AssociatedFunction_from_octets : - M.IsAssociatedFunction.Trait Self "from_octets" from_octets. + M.IsAssociatedFunction.C Self "from_octets" from_octets. Admitted. Global Typeclasses Opaque from_octets. @@ -2393,7 +2372,7 @@ Module net. end. Global Instance AssociatedFunction_is_unspecified : - M.IsAssociatedFunction.Trait Self "is_unspecified" is_unspecified. + M.IsAssociatedFunction.C Self "is_unspecified" is_unspecified. Admitted. Global Typeclasses Opaque is_unspecified. @@ -2434,7 +2413,7 @@ Module net. end. Global Instance AssociatedFunction_is_loopback : - M.IsAssociatedFunction.Trait Self "is_loopback" is_loopback. + M.IsAssociatedFunction.C Self "is_loopback" is_loopback. Admitted. Global Typeclasses Opaque is_loopback. @@ -2528,7 +2507,7 @@ Module net. end. Global Instance AssociatedFunction_is_private : - M.IsAssociatedFunction.Trait Self "is_private" is_private. + M.IsAssociatedFunction.C Self "is_private" is_private. Admitted. Global Typeclasses Opaque is_private. @@ -2585,7 +2564,7 @@ Module net. end. Global Instance AssociatedFunction_is_link_local : - M.IsAssociatedFunction.Trait Self "is_link_local" is_link_local. + M.IsAssociatedFunction.C Self "is_link_local" is_link_local. Admitted. Global Typeclasses Opaque is_link_local. @@ -2912,7 +2891,7 @@ Module net. end. Global Instance AssociatedFunction_is_global : - M.IsAssociatedFunction.Trait Self "is_global" is_global. + M.IsAssociatedFunction.C Self "is_global" is_global. Admitted. Global Typeclasses Opaque is_global. @@ -2981,7 +2960,7 @@ Module net. end. Global Instance AssociatedFunction_is_shared : - M.IsAssociatedFunction.Trait Self "is_shared" is_shared. + M.IsAssociatedFunction.C Self "is_shared" is_shared. Admitted. Global Typeclasses Opaque is_shared. @@ -3050,7 +3029,7 @@ Module net. end. Global Instance AssociatedFunction_is_benchmarking : - M.IsAssociatedFunction.Trait Self "is_benchmarking" is_benchmarking. + M.IsAssociatedFunction.C Self "is_benchmarking" is_benchmarking. Admitted. Global Typeclasses Opaque is_benchmarking. @@ -3108,7 +3087,7 @@ Module net. end. Global Instance AssociatedFunction_is_reserved : - M.IsAssociatedFunction.Trait Self "is_reserved" is_reserved. + M.IsAssociatedFunction.C Self "is_reserved" is_reserved. Admitted. Global Typeclasses Opaque is_reserved. @@ -3175,7 +3154,7 @@ Module net. end. Global Instance AssociatedFunction_is_multicast : - M.IsAssociatedFunction.Trait Self "is_multicast" is_multicast. + M.IsAssociatedFunction.C Self "is_multicast" is_multicast. Admitted. Global Typeclasses Opaque is_multicast. @@ -3227,7 +3206,11 @@ Module net. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "core::net::ip_addr::BROADCAST" + get_associated_constant (| + Ty.path "core::net::ip_addr::Ipv4Addr", + "BROADCAST", + Ty.path "core::net::ip_addr::Ipv4Addr" + |) |) ] |) @@ -3238,7 +3221,7 @@ Module net. end. Global Instance AssociatedFunction_is_broadcast : - M.IsAssociatedFunction.Trait Self "is_broadcast" is_broadcast. + M.IsAssociatedFunction.C Self "is_broadcast" is_broadcast. Admitted. Global Typeclasses Opaque is_broadcast. @@ -3358,7 +3341,7 @@ Module net. end. Global Instance AssociatedFunction_is_documentation : - M.IsAssociatedFunction.Trait Self "is_documentation" is_documentation. + M.IsAssociatedFunction.C Self "is_documentation" is_documentation. Admitted. Global Typeclasses Opaque is_documentation. @@ -3435,7 +3418,7 @@ Module net. end. Global Instance AssociatedFunction_to_ipv6_compatible : - M.IsAssociatedFunction.Trait Self "to_ipv6_compatible" to_ipv6_compatible. + M.IsAssociatedFunction.C Self "to_ipv6_compatible" to_ipv6_compatible. Admitted. Global Typeclasses Opaque to_ipv6_compatible. @@ -3512,7 +3495,7 @@ Module net. end. Global Instance AssociatedFunction_to_ipv6_mapped : - M.IsAssociatedFunction.Trait Self "to_ipv6_mapped" to_ipv6_mapped. + M.IsAssociatedFunction.C Self "to_ipv6_mapped" to_ipv6_mapped. Admitted. Global Typeclasses Opaque to_ipv6_mapped. End Impl_core_net_ip_addr_Ipv4Addr. @@ -4989,17 +4972,17 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. (* pub const BITS: u32 = 128; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 128 |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 128 |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -5029,8 +5012,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_bits : - M.IsAssociatedFunction.Trait Self "to_bits" to_bits. + Global Instance AssociatedFunction_to_bits : M.IsAssociatedFunction.C Self "to_bits" to_bits. Admitted. Global Typeclasses Opaque to_bits. @@ -5061,71 +5043,59 @@ Module net. end. Global Instance AssociatedFunction_from_bits : - M.IsAssociatedFunction.Trait Self "from_bits" from_bits. + M.IsAssociatedFunction.C Self "from_bits" from_bits. Admitted. Global Typeclasses Opaque from_bits. (* pub const LOCALHOST: Self = Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1); *) (* Ty.path "core::net::ip_addr::Ipv6Addr" *) - Definition value_LOCALHOST : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::net::ip_addr::Ipv6Addr", - M.get_associated_function (| - Ty.path "core::net::ip_addr::Ipv6Addr", - "new", - [], - [] - |), - [ - 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 - ] - |) - |))). + Definition value_LOCALHOST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::net::ip_addr::Ipv6Addr", + M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "new", [], [] |), + [ + 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 + ] + |) + |))). Global Instance AssociatedConstant_value_LOCALHOST : - M.IsAssociatedConstant.Trait Self "value_LOCALHOST" value_LOCALHOST. + M.IsAssociatedFunction.C Self "LOCALHOST" value_LOCALHOST. Admitted. Global Typeclasses Opaque value_LOCALHOST. (* pub const UNSPECIFIED: Self = Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 0); *) (* Ty.path "core::net::ip_addr::Ipv6Addr" *) - Definition value_UNSPECIFIED : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::net::ip_addr::Ipv6Addr", - M.get_associated_function (| - Ty.path "core::net::ip_addr::Ipv6Addr", - "new", - [], - [] - |), - [ - 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 - ] - |) - |))). + Definition value_UNSPECIFIED (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::net::ip_addr::Ipv6Addr", + M.get_associated_function (| Ty.path "core::net::ip_addr::Ipv6Addr", "new", [], [] |), + [ + 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 + ] + |) + |))). Global Instance AssociatedConstant_value_UNSPECIFIED : - M.IsAssociatedConstant.Trait Self "value_UNSPECIFIED" value_UNSPECIFIED. + M.IsAssociatedFunction.C Self "UNSPECIFIED" value_UNSPECIFIED. Admitted. Global Typeclasses Opaque value_UNSPECIFIED. @@ -5257,7 +5227,7 @@ Module net. end. Global Instance AssociatedFunction_segments : - M.IsAssociatedFunction.Trait Self "segments" segments. + M.IsAssociatedFunction.C Self "segments" segments. Admitted. Global Typeclasses Opaque segments. @@ -5323,7 +5293,7 @@ Module net. end. Global Instance AssociatedFunction_from_segments : - M.IsAssociatedFunction.Trait Self "from_segments" from_segments. + M.IsAssociatedFunction.C Self "from_segments" from_segments. Admitted. Global Typeclasses Opaque from_segments. @@ -5375,7 +5345,11 @@ Module net. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "core::net::ip_addr::UNSPECIFIED" + get_associated_constant (| + Ty.path "core::net::ip_addr::Ipv6Addr", + "UNSPECIFIED", + Ty.path "core::net::ip_addr::Ipv6Addr" + |) |) ] |) @@ -5386,7 +5360,7 @@ Module net. end. Global Instance AssociatedFunction_is_unspecified : - M.IsAssociatedFunction.Trait Self "is_unspecified" is_unspecified. + M.IsAssociatedFunction.C Self "is_unspecified" is_unspecified. Admitted. Global Typeclasses Opaque is_unspecified. @@ -5438,7 +5412,11 @@ Module net. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "core::net::ip_addr::LOCALHOST" + get_associated_constant (| + Ty.path "core::net::ip_addr::Ipv6Addr", + "LOCALHOST", + Ty.path "core::net::ip_addr::Ipv6Addr" + |) |) ] |) @@ -5449,7 +5427,7 @@ Module net. end. Global Instance AssociatedFunction_is_loopback : - M.IsAssociatedFunction.Trait Self "is_loopback" is_loopback. + M.IsAssociatedFunction.C Self "is_loopback" is_loopback. Admitted. Global Typeclasses Opaque is_loopback. @@ -6134,7 +6112,7 @@ Module net. end. Global Instance AssociatedFunction_is_global : - M.IsAssociatedFunction.Trait Self "is_global" is_global. + M.IsAssociatedFunction.C Self "is_global" is_global. Admitted. Global Typeclasses Opaque is_global. @@ -6177,7 +6155,7 @@ Module net. end. Global Instance AssociatedFunction_is_unique_local : - M.IsAssociatedFunction.Trait Self "is_unique_local" is_unique_local. + M.IsAssociatedFunction.C Self "is_unique_local" is_unique_local. Admitted. Global Typeclasses Opaque is_unique_local. @@ -6207,7 +6185,7 @@ Module net. end. Global Instance AssociatedFunction_is_unicast : - M.IsAssociatedFunction.Trait Self "is_unicast" is_unicast. + M.IsAssociatedFunction.C Self "is_unicast" is_unicast. Admitted. Global Typeclasses Opaque is_unicast. @@ -6250,7 +6228,7 @@ Module net. end. Global Instance AssociatedFunction_is_unicast_link_local : - M.IsAssociatedFunction.Trait Self "is_unicast_link_local" is_unicast_link_local. + M.IsAssociatedFunction.C Self "is_unicast_link_local" is_unicast_link_local. Admitted. Global Typeclasses Opaque is_unicast_link_local. @@ -6317,7 +6295,7 @@ Module net. end. Global Instance AssociatedFunction_is_documentation : - M.IsAssociatedFunction.Trait Self "is_documentation" is_documentation. + M.IsAssociatedFunction.C Self "is_documentation" is_documentation. Admitted. Global Typeclasses Opaque is_documentation. @@ -6410,7 +6388,7 @@ Module net. end. Global Instance AssociatedFunction_is_benchmarking : - M.IsAssociatedFunction.Trait Self "is_benchmarking" is_benchmarking. + M.IsAssociatedFunction.C Self "is_benchmarking" is_benchmarking. Admitted. Global Typeclasses Opaque is_benchmarking. @@ -6534,7 +6512,7 @@ Module net. end. Global Instance AssociatedFunction_is_unicast_global : - M.IsAssociatedFunction.Trait Self "is_unicast_global" is_unicast_global. + M.IsAssociatedFunction.C Self "is_unicast_global" is_unicast_global. Admitted. Global Typeclasses Opaque is_unicast_global. @@ -6750,7 +6728,7 @@ Module net. end. Global Instance AssociatedFunction_multicast_scope : - M.IsAssociatedFunction.Trait Self "multicast_scope" multicast_scope. + M.IsAssociatedFunction.C Self "multicast_scope" multicast_scope. Admitted. Global Typeclasses Opaque multicast_scope. @@ -6793,7 +6771,7 @@ Module net. end. Global Instance AssociatedFunction_is_multicast : - M.IsAssociatedFunction.Trait Self "is_multicast" is_multicast. + M.IsAssociatedFunction.C Self "is_multicast" is_multicast. Admitted. Global Typeclasses Opaque is_multicast. @@ -6875,7 +6853,7 @@ Module net. end. Global Instance AssociatedFunction_is_ipv4_mapped : - M.IsAssociatedFunction.Trait Self "is_ipv4_mapped" is_ipv4_mapped. + M.IsAssociatedFunction.C Self "is_ipv4_mapped" is_ipv4_mapped. Admitted. Global Typeclasses Opaque is_ipv4_mapped. @@ -7025,7 +7003,7 @@ Module net. end. Global Instance AssociatedFunction_to_ipv4_mapped : - M.IsAssociatedFunction.Trait Self "to_ipv4_mapped" to_ipv4_mapped. + M.IsAssociatedFunction.C Self "to_ipv4_mapped" to_ipv4_mapped. Admitted. Global Typeclasses Opaque to_ipv4_mapped. @@ -7219,8 +7197,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_ipv4 : - M.IsAssociatedFunction.Trait Self "to_ipv4" to_ipv4. + Global Instance AssociatedFunction_to_ipv4 : M.IsAssociatedFunction.C Self "to_ipv4" to_ipv4. Admitted. Global Typeclasses Opaque to_ipv4. @@ -7296,7 +7273,7 @@ Module net. end. Global Instance AssociatedFunction_to_canonical : - M.IsAssociatedFunction.Trait Self "to_canonical" to_canonical. + M.IsAssociatedFunction.C Self "to_canonical" to_canonical. Admitted. Global Typeclasses Opaque to_canonical. @@ -7320,7 +7297,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_octets : M.IsAssociatedFunction.Trait Self "octets" octets. + Global Instance AssociatedFunction_octets : M.IsAssociatedFunction.C Self "octets" octets. Admitted. Global Typeclasses Opaque octets. @@ -7339,7 +7316,7 @@ Module net. end. Global Instance AssociatedFunction_from_octets : - M.IsAssociatedFunction.Trait Self "from_octets" from_octets. + M.IsAssociatedFunction.C Self "from_octets" from_octets. Admitted. Global Typeclasses Opaque from_octets. End Impl_core_net_ip_addr_Ipv6Addr. diff --git a/CoqOfRust/core/net/parser.v b/CoqOfRust/core/net/parser.v index ae49c074a..6bdc9469f 100644 --- a/CoqOfRust/core/net/parser.v +++ b/CoqOfRust/core/net/parser.v @@ -11,8 +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 IntegerKind.U8 0 |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). (* fn checked_mul(&self, other: u32) -> Option { @@ -296,7 +296,7 @@ Module net. Self (* Instance *) [ - ("value_ZERO", InstanceField.Constant value_ZERO); + ("value_ZERO", InstanceField.Method value_ZERO); ("checked_mul", InstanceField.Method checked_mul); ("checked_add", InstanceField.Method checked_add) ]. @@ -307,8 +307,8 @@ Module net. (* const ZERO: Self = 0; *) (* Ty.path "u16" *) - Definition value_ZERO : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). (* fn checked_mul(&self, other: u32) -> Option { @@ -594,7 +594,7 @@ Module net. Self (* Instance *) [ - ("value_ZERO", InstanceField.Constant value_ZERO); + ("value_ZERO", InstanceField.Method value_ZERO); ("checked_mul", InstanceField.Method checked_mul); ("checked_add", InstanceField.Method checked_add) ]. @@ -605,8 +605,8 @@ Module net. (* const ZERO: Self = 0; *) (* Ty.path "u32" *) - Definition value_ZERO : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))). (* fn checked_mul(&self, other: u32) -> Option { @@ -890,7 +890,7 @@ Module net. Self (* Instance *) [ - ("value_ZERO", InstanceField.Constant value_ZERO); + ("value_ZERO", InstanceField.Method value_ZERO); ("checked_mul", InstanceField.Method checked_mul); ("checked_add", InstanceField.Method checked_add) ]. @@ -925,7 +925,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1025,7 +1025,7 @@ Module net. end. Global Instance AssociatedFunction_read_atomically : - M.IsAssociatedFunction.Trait Self "read_atomically" read_atomically. + M.IsAssociatedFunction.C Self "read_atomically" read_atomically. Admitted. Global Typeclasses Opaque read_atomically. @@ -1137,7 +1137,7 @@ Module net. end. Global Instance AssociatedFunction_parse_with : - M.IsAssociatedFunction.Trait Self "parse_with" parse_with. + M.IsAssociatedFunction.C Self "parse_with" parse_with. Admitted. Global Typeclasses Opaque parse_with. @@ -1234,7 +1234,7 @@ Module net. end. Global Instance AssociatedFunction_peek_char : - M.IsAssociatedFunction.Trait Self "peek_char" peek_char. + M.IsAssociatedFunction.C Self "peek_char" peek_char. Admitted. Global Typeclasses Opaque peek_char. @@ -1394,7 +1394,7 @@ Module net. end. Global Instance AssociatedFunction_read_char : - M.IsAssociatedFunction.Trait Self "read_char" read_char. + M.IsAssociatedFunction.C Self "read_char" read_char. Admitted. Global Typeclasses Opaque read_char. @@ -1565,7 +1565,7 @@ Module net. end. Global Instance AssociatedFunction_read_given_char : - M.IsAssociatedFunction.Trait Self "read_given_char" read_given_char. + M.IsAssociatedFunction.C Self "read_given_char" read_given_char. Admitted. Global Typeclasses Opaque read_given_char. @@ -1810,7 +1810,7 @@ Module net. end. Global Instance AssociatedFunction_read_separator : - M.IsAssociatedFunction.Trait Self "read_separator" read_separator. + M.IsAssociatedFunction.C Self "read_separator" read_separator. Admitted. Global Typeclasses Opaque read_separator. @@ -2490,8 +2490,10 @@ Module net. ltac:(M.monadic (let~ result : T := M.copy (| - M.get_constant - "core::net::parser::ReadNumberHelper::ZERO" + get_constant (| + "core::net::parser::ReadNumberHelper::ZERO", + T + |) |) in let~ _ : Ty.tuple [] := M.loop (| @@ -3156,7 +3158,7 @@ Module net. end. Global Instance AssociatedFunction_read_number : - M.IsAssociatedFunction.Trait Self "read_number" read_number. + M.IsAssociatedFunction.C Self "read_number" read_number. Admitted. Global Typeclasses Opaque read_number. @@ -3710,7 +3712,7 @@ Module net. end. Global Instance AssociatedFunction_read_ipv4_addr : - M.IsAssociatedFunction.Trait Self "read_ipv4_addr" read_ipv4_addr. + M.IsAssociatedFunction.C Self "read_ipv4_addr" read_ipv4_addr. Admitted. Global Typeclasses Opaque read_ipv4_addr. @@ -4471,7 +4473,7 @@ Module net. end. Global Instance AssociatedFunction_read_ipv6_addr : - M.IsAssociatedFunction.Trait Self "read_ipv6_addr" read_ipv6_addr. + M.IsAssociatedFunction.C Self "read_ipv6_addr" read_ipv6_addr. Admitted. Global Typeclasses Opaque read_ipv6_addr. @@ -4609,7 +4611,7 @@ Module net. end. Global Instance AssociatedFunction_read_ip_addr : - M.IsAssociatedFunction.Trait Self "read_ip_addr" read_ip_addr. + M.IsAssociatedFunction.C Self "read_ip_addr" read_ip_addr. Admitted. Global Typeclasses Opaque read_ip_addr. @@ -4808,7 +4810,7 @@ Module net. end. Global Instance AssociatedFunction_read_port : - M.IsAssociatedFunction.Trait Self "read_port" read_port. + M.IsAssociatedFunction.C Self "read_port" read_port. Admitted. Global Typeclasses Opaque read_port. @@ -5007,7 +5009,7 @@ Module net. end. Global Instance AssociatedFunction_read_scope_id : - M.IsAssociatedFunction.Trait Self "read_scope_id" read_scope_id. + M.IsAssociatedFunction.C Self "read_scope_id" read_scope_id. Admitted. Global Typeclasses Opaque read_scope_id. @@ -5332,7 +5334,7 @@ Module net. end. Global Instance AssociatedFunction_read_socket_addr_v4 : - M.IsAssociatedFunction.Trait Self "read_socket_addr_v4" read_socket_addr_v4. + M.IsAssociatedFunction.C Self "read_socket_addr_v4" read_socket_addr_v4. Admitted. Global Typeclasses Opaque read_socket_addr_v4. @@ -5924,7 +5926,7 @@ Module net. end. Global Instance AssociatedFunction_read_socket_addr_v6 : - M.IsAssociatedFunction.Trait Self "read_socket_addr_v6" read_socket_addr_v6. + M.IsAssociatedFunction.C Self "read_socket_addr_v6" read_socket_addr_v6. Admitted. Global Typeclasses Opaque read_socket_addr_v6. @@ -6068,7 +6070,7 @@ Module net. end. Global Instance AssociatedFunction_read_socket_addr : - M.IsAssociatedFunction.Trait Self "read_socket_addr" read_socket_addr. + M.IsAssociatedFunction.C Self "read_socket_addr" read_socket_addr. Admitted. Global Typeclasses Opaque read_socket_addr. End Impl_core_net_parser_Parser. @@ -6181,7 +6183,7 @@ Module net. end. Global Instance AssociatedFunction_parse_ascii : - M.IsAssociatedFunction.Trait Self "parse_ascii" parse_ascii. + M.IsAssociatedFunction.C Self "parse_ascii" parse_ascii. Admitted. Global Typeclasses Opaque parse_ascii. End Impl_core_net_ip_addr_IpAddr. @@ -6408,7 +6410,7 @@ Module net. end. Global Instance AssociatedFunction_parse_ascii : - M.IsAssociatedFunction.Trait Self "parse_ascii" parse_ascii. + M.IsAssociatedFunction.C Self "parse_ascii" parse_ascii. Admitted. Global Typeclasses Opaque parse_ascii. End Impl_core_net_ip_addr_Ipv4Addr. @@ -6579,7 +6581,7 @@ Module net. end. Global Instance AssociatedFunction_parse_ascii : - M.IsAssociatedFunction.Trait Self "parse_ascii" parse_ascii. + M.IsAssociatedFunction.C Self "parse_ascii" parse_ascii. Admitted. Global Typeclasses Opaque parse_ascii. End Impl_core_net_ip_addr_Ipv6Addr. @@ -6750,7 +6752,7 @@ Module net. end. Global Instance AssociatedFunction_parse_ascii : - M.IsAssociatedFunction.Trait Self "parse_ascii" parse_ascii. + M.IsAssociatedFunction.C Self "parse_ascii" parse_ascii. Admitted. Global Typeclasses Opaque parse_ascii. End Impl_core_net_socket_addr_SocketAddrV4. @@ -6921,7 +6923,7 @@ Module net. end. Global Instance AssociatedFunction_parse_ascii : - M.IsAssociatedFunction.Trait Self "parse_ascii" parse_ascii. + M.IsAssociatedFunction.C Self "parse_ascii" parse_ascii. Admitted. Global Typeclasses Opaque parse_ascii. End Impl_core_net_socket_addr_SocketAddrV6. @@ -7092,7 +7094,7 @@ Module net. end. Global Instance AssociatedFunction_parse_ascii : - M.IsAssociatedFunction.Trait Self "parse_ascii" parse_ascii. + M.IsAssociatedFunction.C Self "parse_ascii" parse_ascii. Admitted. Global Typeclasses Opaque parse_ascii. End Impl_core_net_socket_addr_SocketAddr. diff --git a/CoqOfRust/core/net/socket_addr.v b/CoqOfRust/core/net/socket_addr.v index 139cc1ffb..0d6a1a4b9 100644 --- a/CoqOfRust/core/net/socket_addr.v +++ b/CoqOfRust/core/net/socket_addr.v @@ -2250,7 +2250,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2342,7 +2342,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ip : M.IsAssociatedFunction.Trait Self "ip" ip. + Global Instance AssociatedFunction_ip : M.IsAssociatedFunction.C Self "ip" ip. Admitted. Global Typeclasses Opaque ip. @@ -2475,7 +2475,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set_ip : M.IsAssociatedFunction.Trait Self "set_ip" set_ip. + Global Instance AssociatedFunction_set_ip : M.IsAssociatedFunction.C Self "set_ip" set_ip. Admitted. Global Typeclasses Opaque set_ip. @@ -2545,7 +2545,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_port : M.IsAssociatedFunction.Trait Self "port" port. + Global Instance AssociatedFunction_port : M.IsAssociatedFunction.C Self "port" port. Admitted. Global Typeclasses Opaque port. @@ -2623,7 +2623,7 @@ Module net. end. Global Instance AssociatedFunction_set_port : - M.IsAssociatedFunction.Trait Self "set_port" set_port. + M.IsAssociatedFunction.C Self "set_port" set_port. Admitted. Global Typeclasses Opaque set_port. @@ -2658,8 +2658,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ipv4 : - M.IsAssociatedFunction.Trait Self "is_ipv4" is_ipv4. + Global Instance AssociatedFunction_is_ipv4 : M.IsAssociatedFunction.C Self "is_ipv4" is_ipv4. Admitted. Global Typeclasses Opaque is_ipv4. @@ -2694,8 +2693,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ipv6 : - M.IsAssociatedFunction.Trait Self "is_ipv6" is_ipv6. + Global Instance AssociatedFunction_is_ipv6 : M.IsAssociatedFunction.C Self "is_ipv6" is_ipv6. Admitted. Global Typeclasses Opaque is_ipv6. End Impl_core_net_socket_addr_SocketAddr. @@ -2720,7 +2718,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2750,7 +2748,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ip : M.IsAssociatedFunction.Trait Self "ip" ip. + Global Instance AssociatedFunction_ip : M.IsAssociatedFunction.C Self "ip" ip. Admitted. Global Typeclasses Opaque ip. @@ -2782,7 +2780,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set_ip : M.IsAssociatedFunction.Trait Self "set_ip" set_ip. + Global Instance AssociatedFunction_set_ip : M.IsAssociatedFunction.C Self "set_ip" set_ip. Admitted. Global Typeclasses Opaque set_ip. @@ -2806,7 +2804,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_port : M.IsAssociatedFunction.Trait Self "port" port. + Global Instance AssociatedFunction_port : M.IsAssociatedFunction.C Self "port" port. Admitted. Global Typeclasses Opaque port. @@ -2839,7 +2837,7 @@ Module net. end. Global Instance AssociatedFunction_set_port : - M.IsAssociatedFunction.Trait Self "set_port" set_port. + M.IsAssociatedFunction.C Self "set_port" set_port. Admitted. Global Typeclasses Opaque set_port. End Impl_core_net_socket_addr_SocketAddrV4. @@ -2871,7 +2869,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2901,7 +2899,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ip : M.IsAssociatedFunction.Trait Self "ip" ip. + Global Instance AssociatedFunction_ip : M.IsAssociatedFunction.C Self "ip" ip. Admitted. Global Typeclasses Opaque ip. @@ -2933,7 +2931,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set_ip : M.IsAssociatedFunction.Trait Self "set_ip" set_ip. + Global Instance AssociatedFunction_set_ip : M.IsAssociatedFunction.C Self "set_ip" set_ip. Admitted. Global Typeclasses Opaque set_ip. @@ -2957,7 +2955,7 @@ Module net. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_port : M.IsAssociatedFunction.Trait Self "port" port. + Global Instance AssociatedFunction_port : M.IsAssociatedFunction.C Self "port" port. Admitted. Global Typeclasses Opaque port. @@ -2990,7 +2988,7 @@ Module net. end. Global Instance AssociatedFunction_set_port : - M.IsAssociatedFunction.Trait Self "set_port" set_port. + M.IsAssociatedFunction.C Self "set_port" set_port. Admitted. Global Typeclasses Opaque set_port. @@ -3015,7 +3013,7 @@ Module net. end. Global Instance AssociatedFunction_flowinfo : - M.IsAssociatedFunction.Trait Self "flowinfo" flowinfo. + M.IsAssociatedFunction.C Self "flowinfo" flowinfo. Admitted. Global Typeclasses Opaque flowinfo. @@ -3048,7 +3046,7 @@ Module net. end. Global Instance AssociatedFunction_set_flowinfo : - M.IsAssociatedFunction.Trait Self "set_flowinfo" set_flowinfo. + M.IsAssociatedFunction.C Self "set_flowinfo" set_flowinfo. Admitted. Global Typeclasses Opaque set_flowinfo. @@ -3073,7 +3071,7 @@ Module net. end. Global Instance AssociatedFunction_scope_id : - M.IsAssociatedFunction.Trait Self "scope_id" scope_id. + M.IsAssociatedFunction.C Self "scope_id" scope_id. Admitted. Global Typeclasses Opaque scope_id. @@ -3106,7 +3104,7 @@ Module net. end. Global Instance AssociatedFunction_set_scope_id : - M.IsAssociatedFunction.Trait Self "set_scope_id" set_scope_id. + M.IsAssociatedFunction.C Self "set_scope_id" set_scope_id. Admitted. Global Typeclasses Opaque set_scope_id. End Impl_core_net_socket_addr_SocketAddrV6. diff --git a/CoqOfRust/core/num/bignum.v b/CoqOfRust/core/num/bignum.v index c8e5375a6..e4259bac0 100644 --- a/CoqOfRust/core/num/bignum.v +++ b/CoqOfRust/core/num/bignum.v @@ -47,7 +47,9 @@ Module num. (Ty.path "u8") (BinOp.Wrap.shr (| M.read (| v |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |) |)); M.cast (Ty.path "u8") (M.read (| v |)) ] @@ -123,7 +125,7 @@ Module num. BinOp.bit_or (BinOp.Wrap.shl (| M.cast (Ty.path "u16") (M.read (| borrow |)), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) |) |)) (M.cast (Ty.path "u16") (M.read (| self |))) |) in @@ -194,7 +196,9 @@ Module num. (Ty.path "u16") (BinOp.Wrap.shr (| M.read (| v |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) + |) |)); M.cast (Ty.path "u16") (M.read (| v |)) ] @@ -270,7 +274,9 @@ Module num. BinOp.bit_or (BinOp.Wrap.shl (| M.cast (Ty.path "u32") (M.read (| borrow |)), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) + |) |)) (M.cast (Ty.path "u32") (M.read (| self |))) |) in @@ -343,7 +349,9 @@ Module num. (Ty.path "u32") (BinOp.Wrap.shr (| M.read (| v |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |) |)); M.cast (Ty.path "u32") (M.read (| v |)) ] @@ -419,7 +427,9 @@ Module num. BinOp.bit_or (BinOp.Wrap.shl (| M.cast (Ty.path "u64") (M.read (| borrow |)), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |) |)) (M.cast (Ty.path "u64") (M.read (| self |))) |) in @@ -451,24 +461,23 @@ Module num. ]. End Impl_core_num_bignum_FullOps_for_u32. - Definition value_SMALL_POW5 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 ] - ] - |))). + Definition value_SMALL_POW5 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 ] + ] + |))). - Axiom Constant_value_SMALL_POW5 : - (M.get_constant "core::num::bignum::SMALL_POW5") = value_SMALL_POW5. - Global Hint Rewrite Constant_value_SMALL_POW5 : constant_rewrites. + Global Instance Instance_IsConstant_value_SMALL_POW5 : + M.IsFunction.C "core::num::bignum::SMALL_POW5" value_SMALL_POW5. + Admitted. + Global Typeclasses Opaque value_SMALL_POW5. Axiom Digit32 : (Ty.path "core::num::bignum::Digit32") = (Ty.path "u32"). @@ -526,7 +535,7 @@ Module num. end. Global Instance AssociatedFunction_from_small : - M.IsAssociatedFunction.Trait Self "from_small" from_small. + M.IsAssociatedFunction.C Self "from_small" from_small. Admitted. Global Typeclasses Opaque from_small. @@ -588,7 +597,13 @@ Module num. β, BinOp.Wrap.shr (| M.read (| β |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| + Ty.path "u32", + "BITS", + Ty.path "u32" + |) + |) |) |) |) in @@ -628,7 +643,7 @@ Module num. end. Global Instance AssociatedFunction_from_u64 : - M.IsAssociatedFunction.Trait Self "from_u64" from_u64. + M.IsAssociatedFunction.C Self "from_u64" from_u64. Admitted. Global Typeclasses Opaque from_u64. @@ -692,7 +707,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_digits : M.IsAssociatedFunction.Trait Self "digits" digits. + Global Instance AssociatedFunction_digits : M.IsAssociatedFunction.C Self "digits" digits. Admitted. Global Typeclasses Opaque digits. @@ -713,7 +728,11 @@ Module num. M.read (| let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |)) |) in let~ d : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| M.read (| i |), M.read (| digitbits |) |) |) in @@ -742,8 +761,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_bit : - M.IsAssociatedFunction.Trait Self "get_bit" get_bit. + Global Instance AssociatedFunction_get_bit : M.IsAssociatedFunction.C Self "get_bit" get_bit. Admitted. Global Typeclasses Opaque get_bit. @@ -834,8 +852,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_zero : - M.IsAssociatedFunction.Trait Self "is_zero" is_zero. + Global Instance AssociatedFunction_is_zero : M.IsAssociatedFunction.C Self "is_zero" is_zero. Admitted. Global Typeclasses Opaque is_zero. @@ -860,7 +877,11 @@ Module num. M.read (| let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |)) |) in let~ digits : Ty.apply (Ty.path "&") [] [ Ty.apply (Ty.path "slice") [] [ Ty.path "u32" ] ] := @@ -980,7 +1001,7 @@ Module num. end. Global Instance AssociatedFunction_bit_length : - M.IsAssociatedFunction.Trait Self "bit_length" bit_length. + M.IsAssociatedFunction.C Self "bit_length" bit_length. Admitted. Global Typeclasses Opaque bit_length. @@ -1368,7 +1389,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_add : M.IsAssociatedFunction.Trait Self "add" add. + Global Instance AssociatedFunction_add : M.IsAssociatedFunction.C Self "add" add. Admitted. Global Typeclasses Opaque add. @@ -1597,7 +1618,7 @@ Module num. end. Global Instance AssociatedFunction_add_small : - M.IsAssociatedFunction.Trait Self "add_small" add_small. + M.IsAssociatedFunction.C Self "add_small" add_small. Admitted. Global Typeclasses Opaque add_small. @@ -1967,7 +1988,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_sub : M.IsAssociatedFunction.Trait Self "sub" sub. + Global Instance AssociatedFunction_sub : M.IsAssociatedFunction.C Self "sub" sub. Admitted. Global Typeclasses Opaque sub. @@ -2236,7 +2257,7 @@ Module num. end. Global Instance AssociatedFunction_mul_small : - M.IsAssociatedFunction.Trait Self "mul_small" mul_small. + M.IsAssociatedFunction.C Self "mul_small" mul_small. Admitted. Global Typeclasses Opaque mul_small. @@ -2291,7 +2312,11 @@ Module num. M.read (| let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |)) |) in let~ digits : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| M.read (| bits |), M.read (| digitbits |) |) |) in @@ -3204,7 +3229,7 @@ Module num. end. Global Instance AssociatedFunction_mul_pow2 : - M.IsAssociatedFunction.Trait Self "mul_pow2" mul_pow2. + M.IsAssociatedFunction.C Self "mul_pow2" mul_pow2. Admitted. Global Typeclasses Opaque mul_pow2. @@ -3264,7 +3289,13 @@ Module num. M.match_operator (| None, M.SubPointer.get_array_field (| - M.get_constant "core::num::bignum::SMALL_POW5", + get_constant (| + "core::num::bignum::SMALL_POW5", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 3 ] + [ Ty.tuple [ Ty.path "u64"; Ty.path "usize" ] ] + |), M.read (| table_index |) |), [ @@ -3497,7 +3528,7 @@ Module num. end. Global Instance AssociatedFunction_mul_pow5 : - M.IsAssociatedFunction.Trait Self "mul_pow5" mul_pow5. + M.IsAssociatedFunction.C Self "mul_pow5" mul_pow5. Admitted. Global Typeclasses Opaque mul_pow5. @@ -3754,7 +3785,7 @@ Module num. end. Global Instance AssociatedFunction_mul_digits : - M.IsAssociatedFunction.Trait Self "mul_digits" mul_digits. + M.IsAssociatedFunction.C Self "mul_digits" mul_digits. Admitted. Global Typeclasses Opaque mul_digits. @@ -4038,7 +4069,7 @@ Module num. end. Global Instance AssociatedFunction_div_rem_small : - M.IsAssociatedFunction.Trait Self "div_rem_small" div_rem_small. + M.IsAssociatedFunction.C Self "div_rem_small" div_rem_small. Admitted. Global Typeclasses Opaque div_rem_small. @@ -4129,7 +4160,11 @@ Module num. |) in let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |)) |) in let~ _ : Ty.tuple [] := M.use @@ -5142,8 +5177,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_rem : - M.IsAssociatedFunction.Trait Self "div_rem" div_rem. + Global Instance AssociatedFunction_div_rem : M.IsAssociatedFunction.C Self "div_rem" div_rem. Admitted. Global Typeclasses Opaque div_rem. End Impl_core_num_bignum_Big32x40. @@ -5718,7 +5752,11 @@ Module num. let~ digitlen : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)), + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |)), Value.Integer IntegerKind.Usize 4 |) |) in @@ -6439,7 +6477,7 @@ Module num. end. Global Instance AssociatedFunction_from_small : - M.IsAssociatedFunction.Trait Self "from_small" from_small. + M.IsAssociatedFunction.C Self "from_small" from_small. Admitted. Global Typeclasses Opaque from_small. @@ -6504,7 +6542,13 @@ Module num. β, BinOp.Wrap.shr (| M.read (| β |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| + Ty.path "u8", + "BITS", + Ty.path "u32" + |) + |) |) |) |) in @@ -6546,7 +6590,7 @@ Module num. end. Global Instance AssociatedFunction_from_u64 : - M.IsAssociatedFunction.Trait Self "from_u64" from_u64. + M.IsAssociatedFunction.C Self "from_u64" from_u64. Admitted. Global Typeclasses Opaque from_u64. @@ -6613,8 +6657,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_digits : - M.IsAssociatedFunction.Trait Self "digits" digits. + Global Instance AssociatedFunction_digits : M.IsAssociatedFunction.C Self "digits" digits. Admitted. Global Typeclasses Opaque digits. @@ -6635,7 +6678,11 @@ Module num. M.read (| let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |)) |) in let~ d : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| M.read (| i |), M.read (| digitbits |) |) |) in @@ -6664,7 +6711,7 @@ Module num. end. Global Instance AssociatedFunction_get_bit : - M.IsAssociatedFunction.Trait Self "get_bit" get_bit. + M.IsAssociatedFunction.C Self "get_bit" get_bit. Admitted. Global Typeclasses Opaque get_bit. @@ -6756,7 +6803,7 @@ Module num. end. Global Instance AssociatedFunction_is_zero : - M.IsAssociatedFunction.Trait Self "is_zero" is_zero. + M.IsAssociatedFunction.C Self "is_zero" is_zero. Admitted. Global Typeclasses Opaque is_zero. @@ -6781,7 +6828,11 @@ Module num. M.read (| let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |)) |) in let~ digits : Ty.apply (Ty.path "&") [] [ Ty.apply (Ty.path "slice") [] [ Ty.path "u8" ] ] := @@ -6901,7 +6952,7 @@ Module num. end. Global Instance AssociatedFunction_bit_length : - M.IsAssociatedFunction.Trait Self "bit_length" bit_length. + M.IsAssociatedFunction.C Self "bit_length" bit_length. Admitted. Global Typeclasses Opaque bit_length. @@ -7296,7 +7347,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_add : M.IsAssociatedFunction.Trait Self "add" add. + Global Instance AssociatedFunction_add : M.IsAssociatedFunction.C Self "add" add. Admitted. Global Typeclasses Opaque add. @@ -7525,7 +7576,7 @@ Module num. end. Global Instance AssociatedFunction_add_small : - M.IsAssociatedFunction.Trait Self "add_small" add_small. + M.IsAssociatedFunction.C Self "add_small" add_small. Admitted. Global Typeclasses Opaque add_small. @@ -7903,7 +7954,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_sub : M.IsAssociatedFunction.Trait Self "sub" sub. + Global Instance AssociatedFunction_sub : M.IsAssociatedFunction.C Self "sub" sub. Admitted. Global Typeclasses Opaque sub. @@ -8182,7 +8233,7 @@ Module num. end. Global Instance AssociatedFunction_mul_small : - M.IsAssociatedFunction.Trait Self "mul_small" mul_small. + M.IsAssociatedFunction.C Self "mul_small" mul_small. Admitted. Global Typeclasses Opaque mul_small. @@ -8237,7 +8288,11 @@ Module num. M.read (| let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |)) |) in let~ digits : Ty.path "usize" := M.alloc (| @@ -9176,7 +9231,7 @@ Module num. end. Global Instance AssociatedFunction_mul_pow2 : - M.IsAssociatedFunction.Trait Self "mul_pow2" mul_pow2. + M.IsAssociatedFunction.C Self "mul_pow2" mul_pow2. Admitted. Global Typeclasses Opaque mul_pow2. @@ -9241,7 +9296,13 @@ Module num. M.match_operator (| None, M.SubPointer.get_array_field (| - M.get_constant "core::num::bignum::SMALL_POW5", + get_constant (| + "core::num::bignum::SMALL_POW5", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 3 ] + [ Ty.tuple [ Ty.path "u64"; Ty.path "usize" ] ] + |), M.read (| table_index |) |), [ @@ -9476,7 +9537,7 @@ Module num. end. Global Instance AssociatedFunction_mul_pow5 : - M.IsAssociatedFunction.Trait Self "mul_pow5" mul_pow5. + M.IsAssociatedFunction.C Self "mul_pow5" mul_pow5. Admitted. Global Typeclasses Opaque mul_pow5. @@ -9735,7 +9796,7 @@ Module num. end. Global Instance AssociatedFunction_mul_digits : - M.IsAssociatedFunction.Trait Self "mul_digits" mul_digits. + M.IsAssociatedFunction.C Self "mul_digits" mul_digits. Admitted. Global Typeclasses Opaque mul_digits. @@ -10026,7 +10087,7 @@ Module num. end. Global Instance AssociatedFunction_div_rem_small : - M.IsAssociatedFunction.Trait Self "div_rem_small" div_rem_small. + M.IsAssociatedFunction.C Self "div_rem_small" div_rem_small. Admitted. Global Typeclasses Opaque div_rem_small. @@ -10121,7 +10182,11 @@ Module num. |) in let~ digitbits : Ty.path "usize" := M.alloc (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)) + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |)) |) in let~ _ : Ty.tuple [] := M.use @@ -11171,7 +11236,7 @@ Module num. end. Global Instance AssociatedFunction_div_rem : - M.IsAssociatedFunction.Trait Self "div_rem" div_rem. + M.IsAssociatedFunction.C Self "div_rem" div_rem. Admitted. Global Typeclasses Opaque div_rem. End Impl_core_num_bignum_tests_Big8x3. @@ -11752,7 +11817,11 @@ Module num. let~ digitlen : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::BITS" |)), + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |)), Value.Integer IntegerKind.Usize 4 |) |) in diff --git a/CoqOfRust/core/num/dec2flt/common.v b/CoqOfRust/core/num/dec2flt/common.v index 0015856b6..a98ac8dd2 100644 --- a/CoqOfRust/core/num/dec2flt/common.v +++ b/CoqOfRust/core/num/dec2flt/common.v @@ -428,7 +428,7 @@ Module num. end. Global Instance Instance_IsFunction_is_8digits : - M.IsFunction.Trait "core::num::dec2flt::common::is_8digits" is_8digits. + M.IsFunction.C "core::num::dec2flt::common::is_8digits" is_8digits. Admitted. Global Typeclasses Opaque is_8digits. @@ -741,7 +741,7 @@ Module num. end. Global Instance AssociatedFunction_zero_pow2 : - M.IsAssociatedFunction.Trait Self "zero_pow2" zero_pow2. + M.IsAssociatedFunction.C Self "zero_pow2" zero_pow2. Admitted. Global Typeclasses Opaque zero_pow2. End Impl_core_num_dec2flt_common_BiasedFp. diff --git a/CoqOfRust/core/num/dec2flt/decimal.v b/CoqOfRust/core/num/dec2flt/decimal.v index 83e3db9ff..d3924bedb 100644 --- a/CoqOfRust/core/num/dec2flt/decimal.v +++ b/CoqOfRust/core/num/dec2flt/decimal.v @@ -19,7 +19,7 @@ Module num. (Ty.path "array") [ M.unevaluated_const - (M.get_constant "core::num::dec2flt::decimal::Decimal::digits_discriminant") + (mk_str (| "core_num_dec2flt_decimal_Decimal_digits_discriminant" |)) ] [ Ty.path "u8" ]) ]; @@ -209,34 +209,42 @@ 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 IntegerKind.Usize 768 |))). + Definition value_MAX_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 768 |))). Global Instance AssociatedConstant_value_MAX_DIGITS : - M.IsAssociatedConstant.Trait Self "value_MAX_DIGITS" value_MAX_DIGITS. + M.IsAssociatedFunction.C Self "MAX_DIGITS" value_MAX_DIGITS. Admitted. Global Typeclasses Opaque value_MAX_DIGITS. (* 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 IntegerKind.Usize 19 |))). + Definition value_MAX_DIGITS_WITHOUT_OVERFLOW + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). Global Instance AssociatedConstant_value_MAX_DIGITS_WITHOUT_OVERFLOW : - M.IsAssociatedConstant.Trait + M.IsAssociatedFunction.C Self - "value_MAX_DIGITS_WITHOUT_OVERFLOW" + "MAX_DIGITS_WITHOUT_OVERFLOW" value_MAX_DIGITS_WITHOUT_OVERFLOW. Admitted. Global Typeclasses Opaque value_MAX_DIGITS_WITHOUT_OVERFLOW. (* 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 IntegerKind.I32 2047 |))). + Definition value_DECIMAL_POINT_RANGE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 2047 |))). Global Instance AssociatedConstant_value_DECIMAL_POINT_RANGE : - M.IsAssociatedConstant.Trait Self "value_DECIMAL_POINT_RANGE" value_DECIMAL_POINT_RANGE. + M.IsAssociatedFunction.C Self "DECIMAL_POINT_RANGE" value_DECIMAL_POINT_RANGE. Admitted. Global Typeclasses Opaque value_DECIMAL_POINT_RANGE. @@ -274,7 +282,11 @@ Module num. |) |), M.read (| - M.get_constant "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |)) in @@ -323,7 +335,7 @@ Module num. end. Global Instance AssociatedFunction_try_add_digit : - M.IsAssociatedFunction.Trait Self "try_add_digit" try_add_digit. + M.IsAssociatedFunction.C Self "try_add_digit" try_add_digit. Admitted. Global Typeclasses Opaque try_add_digit. @@ -378,8 +390,11 @@ Module num. |) |), M.read (| - M.get_constant - "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |) @@ -494,7 +509,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_trim : M.IsAssociatedFunction.Trait Self "trim" trim. + Global Instance AssociatedFunction_trim : M.IsAssociatedFunction.C Self "trim" trim. Admitted. Global Typeclasses Opaque trim. @@ -957,7 +972,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_round : M.IsAssociatedFunction.Trait Self "round" round. + Global Instance AssociatedFunction_round : M.IsAssociatedFunction.C Self "round" round. Admitted. Global Typeclasses Opaque round. @@ -1180,8 +1195,12 @@ Module num. BinOp.lt (| M.read (| write_index |), M.read (| - M.get_constant - "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |)) in @@ -1327,8 +1346,12 @@ Module num. BinOp.lt (| M.read (| write_index |), M.read (| - M.get_constant - "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |)) in @@ -1442,7 +1465,11 @@ Module num. |) |), M.read (| - M.get_constant "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |)) in @@ -1460,7 +1487,11 @@ Module num. "num_digits" |), M.read (| - M.get_constant "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |) in @@ -1504,7 +1535,7 @@ Module num. end. Global Instance AssociatedFunction_left_shift : - M.IsAssociatedFunction.Trait Self "left_shift" left_shift. + M.IsAssociatedFunction.C Self "left_shift" left_shift. Admitted. Global Typeclasses Opaque left_shift. @@ -1828,8 +1859,11 @@ Module num. |), UnOp.neg (| M.read (| - M.get_constant - "core::num::dec2flt::decimal::DECIMAL_POINT_RANGE" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "DECIMAL_POINT_RANGE", + Ty.path "i32" + |) |) |) |) @@ -2052,8 +2086,12 @@ Module num. BinOp.lt (| M.read (| write_index |), M.read (| - M.get_constant - "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |)) in @@ -2174,7 +2212,7 @@ Module num. end. Global Instance AssociatedFunction_right_shift : - M.IsAssociatedFunction.Trait Self "right_shift" right_shift. + M.IsAssociatedFunction.C Self "right_shift" right_shift. Admitted. Global Typeclasses Opaque right_shift. End Impl_core_num_dec2flt_decimal_Decimal. @@ -2643,8 +2681,12 @@ Module num. Value.Integer IntegerKind.Usize 8 |), M.read (| - M.get_constant - "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |))) |) @@ -3364,7 +3406,11 @@ Module num. |) |), M.read (| - M.get_constant "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |)) in @@ -3393,7 +3439,11 @@ Module num. "num_digits" |), M.read (| - M.get_constant "core::num::dec2flt::decimal::MAX_DIGITS" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS", + Ty.path "usize" + |) |) |) |) in @@ -3759,8 +3809,11 @@ Module num. |)); ("end_", M.read (| - M.get_constant - "core::num::dec2flt::decimal::MAX_DIGITS_WITHOUT_OVERFLOW" + get_associated_constant (| + Ty.path "core::num::dec2flt::decimal::Decimal", + "MAX_DIGITS_WITHOUT_OVERFLOW", + Ty.path "usize" + |) |)) ] ] @@ -3846,7 +3899,7 @@ Module num. end. Global Instance Instance_IsFunction_parse_decimal : - M.IsFunction.Trait "core::num::dec2flt::decimal::parse_decimal" parse_decimal. + M.IsFunction.C "core::num::dec2flt::decimal::parse_decimal" parse_decimal. Admitted. Global Typeclasses Opaque parse_decimal. @@ -3954,16 +4007,26 @@ Module num. let~ x_a : Ty.path "u16" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant + get_constant (| "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 65 ] + [ Ty.path "u16" ] + |), M.read (| shift |) |) |) in let~ x_b : Ty.path "u16" := M.copy (| M.SubPointer.get_array_field (| - M.get_constant + get_constant (| "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 65 ] + [ Ty.path "u16" ] + |), BinOp.Wrap.add (| M.read (| shift |), Value.Integer IntegerKind.Usize 1 |) |) |) in @@ -4019,8 +4082,13 @@ Module num. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant - "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE_POW5" + get_constant (| + "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE_POW5", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 1308 ] + [ Ty.path "u8" ] + |) |); Value.StructRecord "core::ops::range::RangeFrom" @@ -4384,1415 +4452,1415 @@ Module num. end. Global Instance Instance_IsFunction_number_of_digits_decimal_left_shift : - M.IsFunction.Trait + M.IsFunction.C "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift" number_of_digits_decimal_left_shift. Admitted. Global Typeclasses Opaque number_of_digits_decimal_left_shift. Module number_of_digits_decimal_left_shift. - Definition value_TABLE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 - ] - |))). + Definition value_TABLE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_TABLE : - (M.get_constant - "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE") = + Global Instance Instance_IsConstant_value_TABLE : + M.IsFunction.C + "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE" value_TABLE. - Global Hint Rewrite Constant_value_TABLE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TABLE. - Definition value_TABLE_POW5 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 - ] - |))). + Definition value_TABLE_POW5 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_TABLE_POW5 : - (M.get_constant - "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE_POW5") = + Global Instance Instance_IsConstant_value_TABLE_POW5 : + M.IsFunction.C + "core::num::dec2flt::decimal::number_of_digits_decimal_left_shift::TABLE_POW5" value_TABLE_POW5. - Global Hint Rewrite Constant_value_TABLE_POW5 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TABLE_POW5. End number_of_digits_decimal_left_shift. End decimal. End dec2flt. diff --git a/CoqOfRust/core/num/dec2flt/float.v b/CoqOfRust/core/num/dec2flt/float.v index d297c09d0..172535ca3 100644 --- a/CoqOfRust/core/num/dec2flt/float.v +++ b/CoqOfRust/core/num/dec2flt/float.v @@ -12,79 +12,120 @@ Module num. (* const INFINITY: Self = f32::INFINITY; *) (* Ty.path "f32" *) - Definition value_INFINITY : Value.t := - M.run ltac:(M.monadic (M.get_constant "core::f32::INFINITY")). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "INFINITY", Ty.path "f32" |))). (* const NEG_INFINITY: Self = f32::NEG_INFINITY; *) (* Ty.path "f32" *) - Definition value_NEG_INFINITY : Value.t := - M.run ltac:(M.monadic (M.get_constant "core::f32::NEG_INFINITY")). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| Ty.path "f32", "NEG_INFINITY", Ty.path "f32" |))). (* const NAN: Self = f32::NAN; *) (* Ty.path "f32" *) - Definition value_NAN : Value.t := M.run ltac:(M.monadic (M.get_constant "core::f32::NAN")). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "NAN", Ty.path "f32" |))). (* const NEG_NAN: Self = -f32::NAN; *) (* Ty.path "f32" *) - Definition value_NEG_NAN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.neg (| M.read (| M.get_constant "core::f32::NAN" |) |) |))). + Definition value_NEG_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.neg (| + M.read (| get_associated_constant (| Ty.path "f32", "NAN", Ty.path "f32" |) |) + |) + |))). (* 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 IntegerKind.Usize 23 |))). + Definition value_MANTISSA_EXPLICIT_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 (-17) |))). + Definition value_MIN_EXPONENT_ROUND_TO_EVEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 10 |))). + Definition value_MAX_EXPONENT_ROUND_TO_EVEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I64 (-10) |))). + Definition value_MIN_EXPONENT_FAST_PATH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I64 10 |))). + Definition value_MAX_EXPONENT_FAST_PATH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I64 17 |))). + Definition value_MAX_EXPONENT_DISGUISED_FAST_PATH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 (-127) |))). + Definition value_MINIMUM_EXPONENT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 255 |))). + Definition value_INFINITE_POWER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + 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 IntegerKind.Usize 31 |))). + Definition value_SIGN_INDEX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + 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 IntegerKind.I32 (-65) |))). + Definition value_SMALLEST_POWER_OF_TEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 38 |))). + Definition value_LARGEST_POWER_OF_TEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 38 |))). (* fn from_u64(v: u64) -> Self { @@ -122,8 +163,10 @@ Module num. BinOp.le (| M.read (| v |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH", + Ty.path "u64" + |) |) |) |) @@ -195,7 +238,13 @@ Module num. (let exponent := M.alloc (| exponent |) in M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::num::dec2flt::float::pow10_fast_path::TABLE", + get_constant (| + "core::num::dec2flt::float::pow10_fast_path::TABLE", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "f32" ] + |), BinOp.bit_and (M.read (| exponent |)) (Value.Integer IntegerKind.Usize 15) |) |))) @@ -352,24 +401,24 @@ Module num. Self (* Instance *) [ - ("value_INFINITY", InstanceField.Constant value_INFINITY); - ("value_NEG_INFINITY", InstanceField.Constant value_NEG_INFINITY); - ("value_NAN", InstanceField.Constant value_NAN); - ("value_NEG_NAN", InstanceField.Constant value_NEG_NAN); - ("value_MANTISSA_EXPLICIT_BITS", InstanceField.Constant value_MANTISSA_EXPLICIT_BITS); + ("value_INFINITY", InstanceField.Method value_INFINITY); + ("value_NEG_INFINITY", InstanceField.Method value_NEG_INFINITY); + ("value_NAN", InstanceField.Method value_NAN); + ("value_NEG_NAN", InstanceField.Method value_NEG_NAN); + ("value_MANTISSA_EXPLICIT_BITS", InstanceField.Method value_MANTISSA_EXPLICIT_BITS); ("value_MIN_EXPONENT_ROUND_TO_EVEN", - InstanceField.Constant value_MIN_EXPONENT_ROUND_TO_EVEN); + InstanceField.Method value_MIN_EXPONENT_ROUND_TO_EVEN); ("value_MAX_EXPONENT_ROUND_TO_EVEN", - InstanceField.Constant value_MAX_EXPONENT_ROUND_TO_EVEN); - ("value_MIN_EXPONENT_FAST_PATH", InstanceField.Constant value_MIN_EXPONENT_FAST_PATH); - ("value_MAX_EXPONENT_FAST_PATH", InstanceField.Constant value_MAX_EXPONENT_FAST_PATH); + InstanceField.Method value_MAX_EXPONENT_ROUND_TO_EVEN); + ("value_MIN_EXPONENT_FAST_PATH", InstanceField.Method value_MIN_EXPONENT_FAST_PATH); + ("value_MAX_EXPONENT_FAST_PATH", InstanceField.Method value_MAX_EXPONENT_FAST_PATH); ("value_MAX_EXPONENT_DISGUISED_FAST_PATH", - InstanceField.Constant value_MAX_EXPONENT_DISGUISED_FAST_PATH); - ("value_MINIMUM_EXPONENT", InstanceField.Constant value_MINIMUM_EXPONENT); - ("value_INFINITE_POWER", InstanceField.Constant value_INFINITE_POWER); - ("value_SIGN_INDEX", InstanceField.Constant value_SIGN_INDEX); - ("value_SMALLEST_POWER_OF_TEN", InstanceField.Constant value_SMALLEST_POWER_OF_TEN); - ("value_LARGEST_POWER_OF_TEN", InstanceField.Constant value_LARGEST_POWER_OF_TEN); + InstanceField.Method value_MAX_EXPONENT_DISGUISED_FAST_PATH); + ("value_MINIMUM_EXPONENT", InstanceField.Method value_MINIMUM_EXPONENT); + ("value_INFINITE_POWER", InstanceField.Method value_INFINITE_POWER); + ("value_SIGN_INDEX", InstanceField.Method value_SIGN_INDEX); + ("value_SMALLEST_POWER_OF_TEN", InstanceField.Method value_SMALLEST_POWER_OF_TEN); + ("value_LARGEST_POWER_OF_TEN", InstanceField.Method value_LARGEST_POWER_OF_TEN); ("from_u64", InstanceField.Method from_u64); ("from_u64_bits", InstanceField.Method from_u64_bits); ("pow10_fast_path", InstanceField.Method pow10_fast_path); @@ -383,79 +432,120 @@ Module num. (* const INFINITY: Self = f64::INFINITY; *) (* Ty.path "f64" *) - Definition value_INFINITY : Value.t := - M.run ltac:(M.monadic (M.get_constant "core::f64::INFINITY")). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "INFINITY", Ty.path "f64" |))). (* const NEG_INFINITY: Self = f64::NEG_INFINITY; *) (* Ty.path "f64" *) - Definition value_NEG_INFINITY : Value.t := - M.run ltac:(M.monadic (M.get_constant "core::f64::NEG_INFINITY")). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| Ty.path "f64", "NEG_INFINITY", Ty.path "f64" |))). (* const NAN: Self = f64::NAN; *) (* Ty.path "f64" *) - Definition value_NAN : Value.t := M.run ltac:(M.monadic (M.get_constant "core::f64::NAN")). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "NAN", Ty.path "f64" |))). (* const NEG_NAN: Self = -f64::NAN; *) (* Ty.path "f64" *) - Definition value_NEG_NAN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.neg (| M.read (| M.get_constant "core::f64::NAN" |) |) |))). + Definition value_NEG_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.neg (| + M.read (| get_associated_constant (| Ty.path "f64", "NAN", Ty.path "f64" |) |) + |) + |))). (* 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 IntegerKind.Usize 52 |))). + Definition value_MANTISSA_EXPLICIT_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 (-4) |))). + Definition value_MIN_EXPONENT_ROUND_TO_EVEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 23 |))). + Definition value_MAX_EXPONENT_ROUND_TO_EVEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I64 (-22) |))). + Definition value_MIN_EXPONENT_FAST_PATH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I64 22 |))). + Definition value_MAX_EXPONENT_FAST_PATH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I64 37 |))). + Definition value_MAX_EXPONENT_DISGUISED_FAST_PATH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 (-1023) |))). + Definition value_MINIMUM_EXPONENT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 2047 |))). + Definition value_INFINITE_POWER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + 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 IntegerKind.Usize 63 |))). + Definition value_SIGN_INDEX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + 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 IntegerKind.I32 (-342) |))). + Definition value_SMALLEST_POWER_OF_TEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + 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 IntegerKind.I32 308 |))). + Definition value_LARGEST_POWER_OF_TEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). (* fn from_u64(v: u64) -> Self { @@ -493,8 +583,10 @@ Module num. BinOp.le (| M.read (| v |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH", + Ty.path "u64" + |) |) |) |) @@ -563,7 +655,13 @@ Module num. (let exponent := M.alloc (| exponent |) in M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::num::dec2flt::float::pow10_fast_path::TABLE", + get_constant (| + "core::num::dec2flt::float::pow10_fast_path::TABLE", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "f64" ] + |), BinOp.bit_and (M.read (| exponent |)) (Value.Integer IntegerKind.Usize 31) |) |))) @@ -718,24 +816,24 @@ Module num. Self (* Instance *) [ - ("value_INFINITY", InstanceField.Constant value_INFINITY); - ("value_NEG_INFINITY", InstanceField.Constant value_NEG_INFINITY); - ("value_NAN", InstanceField.Constant value_NAN); - ("value_NEG_NAN", InstanceField.Constant value_NEG_NAN); - ("value_MANTISSA_EXPLICIT_BITS", InstanceField.Constant value_MANTISSA_EXPLICIT_BITS); + ("value_INFINITY", InstanceField.Method value_INFINITY); + ("value_NEG_INFINITY", InstanceField.Method value_NEG_INFINITY); + ("value_NAN", InstanceField.Method value_NAN); + ("value_NEG_NAN", InstanceField.Method value_NEG_NAN); + ("value_MANTISSA_EXPLICIT_BITS", InstanceField.Method value_MANTISSA_EXPLICIT_BITS); ("value_MIN_EXPONENT_ROUND_TO_EVEN", - InstanceField.Constant value_MIN_EXPONENT_ROUND_TO_EVEN); + InstanceField.Method value_MIN_EXPONENT_ROUND_TO_EVEN); ("value_MAX_EXPONENT_ROUND_TO_EVEN", - InstanceField.Constant value_MAX_EXPONENT_ROUND_TO_EVEN); - ("value_MIN_EXPONENT_FAST_PATH", InstanceField.Constant value_MIN_EXPONENT_FAST_PATH); - ("value_MAX_EXPONENT_FAST_PATH", InstanceField.Constant value_MAX_EXPONENT_FAST_PATH); + InstanceField.Method value_MAX_EXPONENT_ROUND_TO_EVEN); + ("value_MIN_EXPONENT_FAST_PATH", InstanceField.Method value_MIN_EXPONENT_FAST_PATH); + ("value_MAX_EXPONENT_FAST_PATH", InstanceField.Method value_MAX_EXPONENT_FAST_PATH); ("value_MAX_EXPONENT_DISGUISED_FAST_PATH", - InstanceField.Constant value_MAX_EXPONENT_DISGUISED_FAST_PATH); - ("value_MINIMUM_EXPONENT", InstanceField.Constant value_MINIMUM_EXPONENT); - ("value_INFINITE_POWER", InstanceField.Constant value_INFINITE_POWER); - ("value_SIGN_INDEX", InstanceField.Constant value_SIGN_INDEX); - ("value_SMALLEST_POWER_OF_TEN", InstanceField.Constant value_SMALLEST_POWER_OF_TEN); - ("value_LARGEST_POWER_OF_TEN", InstanceField.Constant value_LARGEST_POWER_OF_TEN); + InstanceField.Method value_MAX_EXPONENT_DISGUISED_FAST_PATH); + ("value_MINIMUM_EXPONENT", InstanceField.Method value_MINIMUM_EXPONENT); + ("value_INFINITE_POWER", InstanceField.Method value_INFINITE_POWER); + ("value_SIGN_INDEX", InstanceField.Method value_SIGN_INDEX); + ("value_SMALLEST_POWER_OF_TEN", InstanceField.Method value_SMALLEST_POWER_OF_TEN); + ("value_LARGEST_POWER_OF_TEN", InstanceField.Method value_LARGEST_POWER_OF_TEN); ("from_u64", InstanceField.Method from_u64); ("from_u64_bits", InstanceField.Method from_u64_bits); ("pow10_fast_path", InstanceField.Method pow10_fast_path); diff --git a/CoqOfRust/core/num/dec2flt/fpu.v b/CoqOfRust/core/num/dec2flt/fpu.v index e39e91f1d..e9f46a8ac 100644 --- a/CoqOfRust/core/num/dec2flt/fpu.v +++ b/CoqOfRust/core/num/dec2flt/fpu.v @@ -13,7 +13,7 @@ Module num. end. Global Instance Instance_IsFunction_set_precision : - M.IsFunction.Trait "core::num::dec2flt::fpu::fpu_precision::set_precision" set_precision. + M.IsFunction.C "core::num::dec2flt::fpu::fpu_precision::set_precision" set_precision. Admitted. Global Typeclasses Opaque set_precision. End fpu_precision. diff --git a/CoqOfRust/core/num/dec2flt/lemire.v b/CoqOfRust/core/num/dec2flt/lemire.v index bb76fe321..540d1dc34 100644 --- a/CoqOfRust/core/num/dec2flt/lemire.v +++ b/CoqOfRust/core/num/dec2flt/lemire.v @@ -129,7 +129,10 @@ Module num. |), [ M.read (| - M.get_constant "core::num::dec2flt::float::RawFloat::INFINITE_POWER" + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITE_POWER", + Ty.path "i32" + |) |) ] |) @@ -165,8 +168,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::SMALLEST_POWER_OF_TEN" + get_constant (| + "core::num::dec2flt::float::RawFloat::SMALLEST_POWER_OF_TEN", + Ty.path "i32" + |) |)) |))) |) @@ -192,8 +197,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::LARGEST_POWER_OF_TEN" + get_constant (| + "core::num::dec2flt::float::RawFloat::LARGEST_POWER_OF_TEN", + Ty.path "i32" + |) |)) |) |)) in @@ -240,8 +247,10 @@ Module num. M.read (| w |); BinOp.Wrap.add (| M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 3 |) @@ -338,8 +347,10 @@ Module num. M.cast (Ty.path "i32") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |)) |), Value.Integer IntegerKind.I32 3 @@ -365,8 +376,10 @@ Module num. M.cast (Ty.path "i32") (M.read (| lz |)) |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" + get_constant (| + "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT", + Ty.path "i32" + |) |) |) |) in @@ -476,8 +489,10 @@ Module num. BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |) |)) @@ -521,8 +536,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MIN_EXPONENT_ROUND_TO_EVEN" + get_constant (| + "core::num::dec2flt::float::RawFloat::MIN_EXPONENT_ROUND_TO_EVEN", + Ty.path "i32" + |) |)) |))) |), @@ -532,8 +549,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_ROUND_TO_EVEN" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_ROUND_TO_EVEN", + Ty.path "i32" + |) |)) |))) |), @@ -558,8 +577,10 @@ Module num. M.cast (Ty.path "i32") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |)) |), Value.Integer IntegerKind.I32 3 @@ -624,8 +645,10 @@ Module num. BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 2, M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |) |) @@ -642,8 +665,10 @@ Module num. BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |) |) @@ -674,8 +699,10 @@ Module num. BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |) |)) @@ -694,8 +721,10 @@ Module num. BinOp.ge (| M.read (| power2 |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::INFINITE_POWER" + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITE_POWER", + Ty.path "i32" + |) |) |) |)) in @@ -725,7 +754,7 @@ Module num. end. Global Instance Instance_IsFunction_compute_float : - M.IsFunction.Trait "core::num::dec2flt::lemire::compute_float" compute_float. + M.IsFunction.C "core::num::dec2flt::lemire::compute_float" compute_float. Admitted. Global Typeclasses Opaque compute_float. @@ -760,7 +789,7 @@ Module num. end. Global Instance Instance_IsFunction_power : - M.IsFunction.Trait "core::num::dec2flt::lemire::power" power. + M.IsFunction.C "core::num::dec2flt::lemire::power" power. Admitted. Global Typeclasses Opaque power. @@ -798,7 +827,7 @@ Module num. end. Global Instance Instance_IsFunction_full_multiplication : - M.IsFunction.Trait "core::num::dec2flt::lemire::full_multiplication" full_multiplication. + M.IsFunction.C "core::num::dec2flt::lemire::full_multiplication" full_multiplication. Admitted. Global Typeclasses Opaque full_multiplication. @@ -872,8 +901,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant - "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" + get_constant (| + "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE", + Ty.path "i32" + |) |)) |) |) @@ -929,8 +960,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant - "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE" + get_constant (| + "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE", + Ty.path "i32" + |) |)) |) |) @@ -1047,7 +1080,10 @@ Module num. M.cast (Ty.path "i64") (M.read (| - M.get_constant "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" + get_constant (| + "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE", + Ty.path "i32" + |) |)) |)) |) in @@ -1055,7 +1091,20 @@ Module num. None, M.SubPointer.get_array_field (| M.deref (| - M.read (| M.get_constant "core::num::dec2flt::table::POWER_OF_FIVE_128" |) + M.read (| + get_constant (| + "core::num::dec2flt::table::POWER_OF_FIVE_128", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 651 ] + [ Ty.tuple [ Ty.path "u64"; Ty.path "u64" ] ] + ] + |) + |) |), M.read (| index |) |), @@ -1201,9 +1250,7 @@ Module num. end. Global Instance Instance_IsFunction_compute_product_approx : - M.IsFunction.Trait - "core::num::dec2flt::lemire::compute_product_approx" - compute_product_approx. + M.IsFunction.C "core::num::dec2flt::lemire::compute_product_approx" compute_product_approx. Admitted. Global Typeclasses Opaque compute_product_approx. End lemire. diff --git a/CoqOfRust/core/num/dec2flt/mod.v b/CoqOfRust/core/num/dec2flt/mod.v index 33cec3b26..7bc44c75a 100644 --- a/CoqOfRust/core/num/dec2flt/mod.v +++ b/CoqOfRust/core/num/dec2flt/mod.v @@ -642,7 +642,7 @@ Module num. end. Global Instance Instance_IsFunction_pfe_empty : - M.IsFunction.Trait "core::num::dec2flt::pfe_empty" pfe_empty. + M.IsFunction.C "core::num::dec2flt::pfe_empty" pfe_empty. Admitted. Global Typeclasses Opaque pfe_empty. @@ -662,7 +662,7 @@ Module num. end. Global Instance Instance_IsFunction_pfe_invalid : - M.IsFunction.Trait "core::num::dec2flt::pfe_invalid" pfe_invalid. + M.IsFunction.C "core::num::dec2flt::pfe_invalid" pfe_invalid. Admitted. Global Typeclasses Opaque pfe_invalid. @@ -705,7 +705,10 @@ Module num. |) |)), M.read (| - M.get_constant "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |)) |) @@ -730,7 +733,7 @@ Module num. end. Global Instance Instance_IsFunction_biased_fp_to_float : - M.IsFunction.Trait "core::num::dec2flt::biased_fp_to_float" biased_fp_to_float. + M.IsFunction.C "core::num::dec2flt::biased_fp_to_float" biased_fp_to_float. Admitted. Global Typeclasses Opaque biased_fp_to_float. @@ -1347,7 +1350,7 @@ Module num. end. Global Instance Instance_IsFunction_dec2flt : - M.IsFunction.Trait "core::num::dec2flt::dec2flt" dec2flt. + M.IsFunction.C "core::num::dec2flt::dec2flt" dec2flt. Admitted. Global Typeclasses Opaque dec2flt. End dec2flt. diff --git a/CoqOfRust/core/num/dec2flt/number.v b/CoqOfRust/core/num/dec2flt/number.v index 3d6e18dc6..0f0438fb3 100644 --- a/CoqOfRust/core/num/dec2flt/number.v +++ b/CoqOfRust/core/num/dec2flt/number.v @@ -4,34 +4,34 @@ Require Import CoqOfRust.CoqOfRust. Module num. Module dec2flt. Module number. - Definition value_INT_POW10 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 - ] - |))). + Definition value_INT_POW10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_INT_POW10 : - (M.get_constant "core::num::dec2flt::number::INT_POW10") = value_INT_POW10. - Global Hint Rewrite Constant_value_INT_POW10 : constant_rewrites. + Global Instance Instance_IsConstant_value_INT_POW10 : + M.IsFunction.C "core::num::dec2flt::number::INT_POW10" value_INT_POW10. + Admitted. + Global Typeclasses Opaque value_INT_POW10. (* StructRecord { @@ -459,7 +459,10 @@ Module num. LogicalOp.and (| BinOp.le (| M.read (| - M.get_constant "core::num::dec2flt::float::RawFloat::MIN_EXPONENT_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MIN_EXPONENT_FAST_PATH", + Ty.path "i64" + |) |), M.read (| M.SubPointer.get_struct_record_field (| @@ -479,8 +482,10 @@ Module num. |) |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_DISGUISED_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_DISGUISED_FAST_PATH", + Ty.path "i64" + |) |) |))) |), @@ -494,7 +499,10 @@ Module num. |) |), M.read (| - M.get_constant "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH", + Ty.path "u64" + |) |) |))) |), @@ -513,7 +521,7 @@ Module num. end. Global Instance AssociatedFunction_is_fast_path : - M.IsAssociatedFunction.Trait Self "is_fast_path" is_fast_path. + M.IsAssociatedFunction.C Self "is_fast_path" is_fast_path. Admitted. Global Typeclasses Opaque is_fast_path. @@ -621,8 +629,10 @@ Module num. |) |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH", + Ty.path "i64" + |) |) |) |)) in @@ -779,8 +789,10 @@ Module num. |) |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH", + Ty.path "i64" + |) |) |) |) in @@ -834,8 +846,14 @@ Module num. |); M.read (| M.SubPointer.get_array_field (| - M.get_constant + get_constant (| "core::num::dec2flt::number::INT_POW10", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 + ] + [ Ty.path "u64" ] + |), M.cast (Ty.path "usize") (M.read (| shift |)) @@ -917,8 +935,10 @@ Module num. BinOp.gt (| M.read (| mantissa |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_MANTISSA_FAST_PATH", + Ty.path "u64" + |) |) |) |)) in @@ -983,8 +1003,10 @@ Module num. M.cast (Ty.path "usize") (M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH" + get_constant (| + "core::num::dec2flt::float::RawFloat::MAX_EXPONENT_FAST_PATH", + Ty.path "i64" + |) |)) ] |) @@ -1050,7 +1072,7 @@ Module num. end. Global Instance AssociatedFunction_try_fast_path : - M.IsAssociatedFunction.Trait Self "try_fast_path" try_fast_path. + M.IsAssociatedFunction.C Self "try_fast_path" try_fast_path. Admitted. Global Typeclasses Opaque try_fast_path. End Impl_core_num_dec2flt_number_Number. diff --git a/CoqOfRust/core/num/dec2flt/parse.v b/CoqOfRust/core/num/dec2flt/parse.v index fedf12e42..e8095043f 100644 --- a/CoqOfRust/core/num/dec2flt/parse.v +++ b/CoqOfRust/core/num/dec2flt/parse.v @@ -4,13 +4,13 @@ Require Import CoqOfRust.CoqOfRust. Module num. Module dec2flt. Module parse. - Definition value_MIN_19DIGIT_INT : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000000000000000000 |))). + Definition value_MIN_19DIGIT_INT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000000000000000000 |))). - Axiom Constant_value_MIN_19DIGIT_INT : - (M.get_constant "core::num::dec2flt::parse::MIN_19DIGIT_INT") = value_MIN_19DIGIT_INT. - Global Hint Rewrite Constant_value_MIN_19DIGIT_INT : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_19DIGIT_INT : + M.IsFunction.C "core::num::dec2flt::parse::MIN_19DIGIT_INT" value_MIN_19DIGIT_INT. + Admitted. + Global Typeclasses Opaque value_MIN_19DIGIT_INT. (* fn parse_8digits(mut v: u64) -> u64 { @@ -60,9 +60,17 @@ Module num. BinOp.bit_and (M.read (| v |)) (M.read (| - M.get_constant "core::num::dec2flt::parse::parse_8digits::MASK" + get_constant (| + "core::num::dec2flt::parse::parse_8digits::MASK", + Ty.path "u64" + |) |)); - M.read (| M.get_constant "core::num::dec2flt::parse::parse_8digits::MUL1" |) + M.read (| + get_constant (| + "core::num::dec2flt::parse::parse_8digits::MUL1", + Ty.path "u64" + |) + |) ] |) |) in @@ -75,9 +83,17 @@ Module num. 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" + get_constant (| + "core::num::dec2flt::parse::parse_8digits::MASK", + Ty.path "u64" + |) |)); - M.read (| M.get_constant "core::num::dec2flt::parse::parse_8digits::MUL2" |) + M.read (| + get_constant (| + "core::num::dec2flt::parse::parse_8digits::MUL2", + Ty.path "u64" + |) + |) ] |) |) in @@ -100,34 +116,34 @@ Module num. end. Global Instance Instance_IsFunction_parse_8digits : - M.IsFunction.Trait "core::num::dec2flt::parse::parse_8digits" parse_8digits. + M.IsFunction.C "core::num::dec2flt::parse::parse_8digits" parse_8digits. Admitted. Global Typeclasses Opaque parse_8digits. Module parse_8digits. - Definition value_MASK : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1095216660735 |))). + Definition value_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1095216660735 |))). - Axiom Constant_value_MASK : - (M.get_constant "core::num::dec2flt::parse::parse_8digits::MASK") = value_MASK. - Global Hint Rewrite Constant_value_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_MASK : + M.IsFunction.C "core::num::dec2flt::parse::parse_8digits::MASK" value_MASK. + Admitted. + Global Typeclasses Opaque value_MASK. - Definition value_MUL1 : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967296000100 |))). + Definition value_MUL1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967296000100 |))). - Axiom Constant_value_MUL1 : - (M.get_constant "core::num::dec2flt::parse::parse_8digits::MUL1") = value_MUL1. - Global Hint Rewrite Constant_value_MUL1 : constant_rewrites. + Global Instance Instance_IsConstant_value_MUL1 : + M.IsFunction.C "core::num::dec2flt::parse::parse_8digits::MUL1" value_MUL1. + Admitted. + Global Typeclasses Opaque value_MUL1. - Definition value_MUL2 : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 42949672960001 |))). + Definition value_MUL2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 42949672960001 |))). - Axiom Constant_value_MUL2 : - (M.get_constant "core::num::dec2flt::parse::parse_8digits::MUL2") = value_MUL2. - Global Hint Rewrite Constant_value_MUL2 : constant_rewrites. + Global Instance Instance_IsConstant_value_MUL2 : + M.IsFunction.C "core::num::dec2flt::parse::parse_8digits::MUL2" value_MUL2. + Admitted. + Global Typeclasses Opaque value_MUL2. End parse_8digits. (* @@ -436,7 +452,7 @@ Module num. end. Global Instance Instance_IsFunction_try_parse_digits : - M.IsFunction.Trait "core::num::dec2flt::parse::try_parse_digits" try_parse_digits. + M.IsFunction.C "core::num::dec2flt::parse::try_parse_digits" try_parse_digits. Admitted. Global Typeclasses Opaque try_parse_digits. @@ -488,7 +504,10 @@ Module num. BinOp.lt (| M.read (| M.deref (| M.read (| x |) |) |), M.read (| - M.get_constant "core::num::dec2flt::parse::MIN_19DIGIT_INT" + get_constant (| + "core::num::dec2flt::parse::MIN_19DIGIT_INT", + Ty.path "u64" + |) |) |) |)) in @@ -639,7 +658,7 @@ Module num. end. Global Instance Instance_IsFunction_try_parse_19digits : - M.IsFunction.Trait "core::num::dec2flt::parse::try_parse_19digits" try_parse_19digits. + M.IsFunction.C "core::num::dec2flt::parse::try_parse_19digits" try_parse_19digits. Admitted. Global Typeclasses Opaque try_parse_19digits. @@ -972,7 +991,7 @@ Module num. end. Global Instance Instance_IsFunction_parse_scientific : - M.IsFunction.Trait "core::num::dec2flt::parse::parse_scientific" parse_scientific. + M.IsFunction.C "core::num::dec2flt::parse::parse_scientific" parse_scientific. Admitted. Global Typeclasses Opaque parse_scientific. @@ -1895,8 +1914,10 @@ Module num. BinOp.ge (| M.read (| mantissa |), M.read (| - M.get_constant - "core::num::dec2flt::parse::MIN_19DIGIT_INT" + get_constant (| + "core::num::dec2flt::parse::MIN_19DIGIT_INT", + Ty.path "u64" + |) |) |) |)) in @@ -2095,7 +2116,7 @@ Module num. end. Global Instance Instance_IsFunction_parse_partial_number : - M.IsFunction.Trait "core::num::dec2flt::parse::parse_partial_number" parse_partial_number. + M.IsFunction.C "core::num::dec2flt::parse::parse_partial_number" parse_partial_number. Admitted. Global Typeclasses Opaque parse_partial_number. @@ -2212,7 +2233,7 @@ Module num. end. Global Instance Instance_IsFunction_parse_number : - M.IsFunction.Trait "core::num::dec2flt::parse::parse_number" parse_number. + M.IsFunction.C "core::num::dec2flt::parse::parse_number" parse_number. Admitted. Global Typeclasses Opaque parse_number. @@ -2462,7 +2483,10 @@ Module num. M.read (| γ0_1 |), Value.Integer IntegerKind.Usize 3 |) in - M.get_constant "core::num::dec2flt::float::RawFloat::INFINITY")); + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITY", + F + |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in @@ -2477,7 +2501,10 @@ Module num. M.read (| γ0_1 |), Value.Integer IntegerKind.Usize 8 |) in - M.get_constant "core::num::dec2flt::float::RawFloat::INFINITY")); + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITY", + F + |))); fun γ => ltac:(M.monadic (let γ0_0 := M.SubPointer.get_tuple_field (| γ, 0 |) in @@ -2492,7 +2519,7 @@ Module num. M.read (| γ0_1 |), Value.Integer IntegerKind.Usize 3 |) in - M.get_constant "core::num::dec2flt::float::RawFloat::NAN")); + get_constant (| "core::num::dec2flt::float::RawFloat::NAN", F |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -2548,32 +2575,34 @@ Module num. end. Global Instance Instance_IsFunction_parse_inf_nan : - M.IsFunction.Trait "core::num::dec2flt::parse::parse_inf_nan" parse_inf_nan. + M.IsFunction.C "core::num::dec2flt::parse::parse_inf_nan" parse_inf_nan. Admitted. Global Typeclasses Opaque parse_inf_nan. Module parse_inf_nan. - Definition value_INF_3 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4607561 |))). + Definition value_INF_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4607561 |))). - Axiom Constant_value_INF_3 : - (M.get_constant "core::num::dec2flt::parse::parse_inf_nan::INF_3") = value_INF_3. - Global Hint Rewrite Constant_value_INF_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_INF_3 : + M.IsFunction.C "core::num::dec2flt::parse::parse_inf_nan::INF_3" value_INF_3. + Admitted. + Global Typeclasses Opaque value_INF_3. - Definition value_INF_8 : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6436850368004902473 |))). + Definition value_INF_8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6436850368004902473 |))). - Axiom Constant_value_INF_8 : - (M.get_constant "core::num::dec2flt::parse::parse_inf_nan::INF_8") = value_INF_8. - Global Hint Rewrite Constant_value_INF_8 : constant_rewrites. + Global Instance Instance_IsConstant_value_INF_8 : + M.IsFunction.C "core::num::dec2flt::parse::parse_inf_nan::INF_8" value_INF_8. + Admitted. + Global Typeclasses Opaque value_INF_8. - Definition value_NAN : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5128526 |))). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5128526 |))). - Axiom Constant_value_NAN : - (M.get_constant "core::num::dec2flt::parse::parse_inf_nan::NAN") = value_NAN. - Global Hint Rewrite Constant_value_NAN : constant_rewrites. + Global Instance Instance_IsConstant_value_NAN : + M.IsFunction.C "core::num::dec2flt::parse::parse_inf_nan::NAN" value_NAN. + Admitted. + Global Typeclasses Opaque value_NAN. 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 1b360ee8f..a5f095128 100644 --- a/CoqOfRust/core/num/dec2flt/slow.v +++ b/CoqOfRust/core/num/dec2flt/slow.v @@ -129,8 +129,10 @@ Module num. BinOp.lt (| M.read (| n |), M.read (| - M.get_constant - "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS" + get_constant (| + "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS", + Ty.path "usize" + |) |) |) |)) in @@ -144,16 +146,23 @@ Module num. (Ty.path "usize") (M.read (| M.SubPointer.get_array_field (| - M.get_constant + get_constant (| "core::num::dec2flt::slow::parse_long_mantissa::POWERS", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 19 ] + [ Ty.path "u8" ] + |), M.read (| n |) |) |)) |))); fun γ => ltac:(M.monadic - (M.get_constant - "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT")) + (get_constant (| + "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT", + Ty.path "usize" + |))) ] |) |))) @@ -187,7 +196,10 @@ Module num. |), [ M.read (| - M.get_constant "core::num::dec2flt::float::RawFloat::INFINITE_POWER" + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITE_POWER", + Ty.path "i32" + |) |) ] |) @@ -372,8 +384,12 @@ Module num. |), UnOp.neg (| M.read (| - M.get_constant - "core::num::dec2flt::decimal::DECIMAL_POINT_RANGE" + get_associated_constant (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "DECIMAL_POINT_RANGE", + Ty.path "i32" + |) |) |) |) @@ -615,8 +631,12 @@ Module num. |) |), M.read (| - M.get_constant - "core::num::dec2flt::decimal::DECIMAL_POINT_RANGE" + get_associated_constant (| + Ty.path + "core::num::dec2flt::decimal::Decimal", + "DECIMAL_POINT_RANGE", + Ty.path "i32" + |) |) |) |)) in @@ -685,8 +705,10 @@ Module num. BinOp.gt (| BinOp.Wrap.add (| M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" + get_constant (| + "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT", + Ty.path "i32" + |) |), Value.Integer IntegerKind.I32 1 |), @@ -705,8 +727,10 @@ Module num. (BinOp.Wrap.sub (| BinOp.Wrap.add (| M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" + get_constant (| + "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT", + Ty.path "i32" + |) |), Value.Integer IntegerKind.I32 1 |), @@ -726,8 +750,10 @@ Module num. BinOp.gt (| M.read (| n |), M.read (| - M.get_constant - "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT" + get_constant (| + "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT", + Ty.path "usize" + |) |) |) |)) in @@ -741,8 +767,10 @@ Module num. M.write (| n, M.read (| - M.get_constant - "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT" + get_constant (| + "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT", + Ty.path "usize" + |) |) |) |) in @@ -805,13 +833,17 @@ Module num. BinOp.Wrap.sub (| M.read (| exp2 |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" + get_constant (| + "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT", + Ty.path "i32" + |) |) |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::INFINITE_POWER" + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITE_POWER", + Ty.path "i32" + |) |) |) |)) in @@ -837,8 +869,10 @@ Module num. M.borrow (| Pointer.Kind.MutRef, d |); BinOp.Wrap.add (| M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -874,8 +908,10 @@ Module num. Value.Integer IntegerKind.U64 1, BinOp.Wrap.add (| M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -940,13 +976,17 @@ Module num. BinOp.Wrap.sub (| M.read (| exp2 |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" + get_constant (| + "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT", + Ty.path "i32" + |) |) |), M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::INFINITE_POWER" + get_constant (| + "core::num::dec2flt::float::RawFloat::INFINITE_POWER", + Ty.path "i32" + |) |) |) |)) in @@ -971,7 +1011,10 @@ Module num. BinOp.Wrap.sub (| M.read (| exp2 |), M.read (| - M.get_constant "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT" + get_constant (| + "core::num::dec2flt::float::RawFloat::MINIMUM_EXPONENT", + Ty.path "i32" + |) |) |) |) in @@ -990,8 +1033,10 @@ Module num. BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |) |) @@ -1024,8 +1069,10 @@ Module num. BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, M.read (| - M.get_constant - "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS" + get_constant (| + "core::num::dec2flt::float::RawFloat::MANTISSA_EXPLICIT_BITS", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.U64 1 @@ -1043,58 +1090,60 @@ Module num. end. Global Instance Instance_IsFunction_parse_long_mantissa : - M.IsFunction.Trait "core::num::dec2flt::slow::parse_long_mantissa" parse_long_mantissa. + M.IsFunction.C "core::num::dec2flt::slow::parse_long_mantissa" parse_long_mantissa. Admitted. Global Typeclasses Opaque parse_long_mantissa. Module parse_long_mantissa. - Definition value_MAX_SHIFT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 60 |))). + Definition value_MAX_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 60 |))). - Axiom Constant_value_MAX_SHIFT : - (M.get_constant "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT") = - value_MAX_SHIFT. - Global Hint Rewrite Constant_value_MAX_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_SHIFT : + M.IsFunction.C "core::num::dec2flt::slow::parse_long_mantissa::MAX_SHIFT" value_MAX_SHIFT. + Admitted. + Global Typeclasses Opaque value_MAX_SHIFT. - Definition value_NUM_POWERS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). + Definition value_NUM_POWERS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). - Axiom Constant_value_NUM_POWERS : - (M.get_constant "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS") = + Global Instance Instance_IsConstant_value_NUM_POWERS : + M.IsFunction.C + "core::num::dec2flt::slow::parse_long_mantissa::NUM_POWERS" value_NUM_POWERS. - Global Hint Rewrite Constant_value_NUM_POWERS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_NUM_POWERS. - Definition value_POWERS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 - ] - |))). + Definition value_POWERS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_POWERS : - (M.get_constant "core::num::dec2flt::slow::parse_long_mantissa::POWERS") = value_POWERS. - Global Hint Rewrite Constant_value_POWERS : constant_rewrites. + Global Instance Instance_IsConstant_value_POWERS : + M.IsFunction.C "core::num::dec2flt::slow::parse_long_mantissa::POWERS" value_POWERS. + Admitted. + Global Typeclasses Opaque value_POWERS. End parse_long_mantissa. End slow. End dec2flt. diff --git a/CoqOfRust/core/num/dec2flt/table.v b/CoqOfRust/core/num/dec2flt/table.v index d61029607..6cf02dd03 100644 --- a/CoqOfRust/core/num/dec2flt/table.v +++ b/CoqOfRust/core/num/dec2flt/table.v @@ -4,3310 +4,3336 @@ Require Import CoqOfRust.CoqOfRust. Module num. Module dec2flt. Module table. - Definition value_SMALLEST_POWER_OF_FIVE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-342) |))). + Definition value_SMALLEST_POWER_OF_FIVE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-342) |))). - Axiom Constant_value_SMALLEST_POWER_OF_FIVE : - (M.get_constant "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE") = + Global Instance Instance_IsConstant_value_SMALLEST_POWER_OF_FIVE : + M.IsFunction.C + "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" value_SMALLEST_POWER_OF_FIVE. - Global Hint Rewrite Constant_value_SMALLEST_POWER_OF_FIVE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SMALLEST_POWER_OF_FIVE. - Definition value_LARGEST_POWER_OF_FIVE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). + Definition value_LARGEST_POWER_OF_FIVE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). - Axiom Constant_value_LARGEST_POWER_OF_FIVE : - (M.get_constant "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE") = + Global Instance Instance_IsConstant_value_LARGEST_POWER_OF_FIVE : + M.IsFunction.C + "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE" value_LARGEST_POWER_OF_FIVE. - Global Hint Rewrite Constant_value_LARGEST_POWER_OF_FIVE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LARGEST_POWER_OF_FIVE. - Definition value_N_POWERS_OF_FIVE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "usize") - (BinOp.Wrap.add (| - BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE" |), - M.read (| M.get_constant "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE" |) + Definition value_N_POWERS_OF_FIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "usize") + (BinOp.Wrap.add (| + BinOp.Wrap.sub (| + M.read (| + get_constant (| + "core::num::dec2flt::table::LARGEST_POWER_OF_FIVE", + Ty.path "i32" + |) |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + M.read (| + get_constant (| + "core::num::dec2flt::table::SMALLEST_POWER_OF_FIVE", + Ty.path "i32" + |) + |) + |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Axiom Constant_value_N_POWERS_OF_FIVE : - (M.get_constant "core::num::dec2flt::table::N_POWERS_OF_FIVE") = value_N_POWERS_OF_FIVE. - Global Hint Rewrite Constant_value_N_POWERS_OF_FIVE : constant_rewrites. + Global Instance Instance_IsConstant_value_N_POWERS_OF_FIVE : + M.IsFunction.C "core::num::dec2flt::table::N_POWERS_OF_FIVE" value_N_POWERS_OF_FIVE. + Admitted. + Global Typeclasses Opaque value_N_POWERS_OF_FIVE. - Definition value_POWER_OF_FIVE_128 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Tuple - [ - 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 - ] - ] - |) - |))). + Definition value_POWER_OF_FIVE_128 + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Tuple + [ + 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 + ] + ] + |) + |))). - Axiom Constant_value_POWER_OF_FIVE_128 : - (M.get_constant "core::num::dec2flt::table::POWER_OF_FIVE_128") = value_POWER_OF_FIVE_128. - Global Hint Rewrite Constant_value_POWER_OF_FIVE_128 : constant_rewrites. + Global Instance Instance_IsConstant_value_POWER_OF_FIVE_128 : + M.IsFunction.C "core::num::dec2flt::table::POWER_OF_FIVE_128" value_POWER_OF_FIVE_128. + Admitted. + Global Typeclasses Opaque value_POWER_OF_FIVE_128. End table. End dec2flt. End num. diff --git a/CoqOfRust/core/num/diy_float.v b/CoqOfRust/core/num/diy_float.v index f957ec26b..a160eaef3 100644 --- a/CoqOfRust/core/num/diy_float.v +++ b/CoqOfRust/core/num/diy_float.v @@ -180,7 +180,9 @@ Module num. "f" |) |)) - (M.read (| M.get_constant "core::num::diy_float::mul::MASK" |)) + (M.read (| + get_constant (| "core::num::diy_float::mul::MASK", Ty.path "u64" |) + |)) |) in let~ c : Ty.path "u64" := M.alloc (| @@ -205,7 +207,9 @@ Module num. "f" |) |)) - (M.read (| M.get_constant "core::num::diy_float::mul::MASK" |)) + (M.read (| + get_constant (| "core::num::diy_float::mul::MASK", Ty.path "u64" |) + |)) |) in let~ ac : Ty.path "u64" := M.alloc (| BinOp.Wrap.mul (| M.read (| a |), M.read (| c |) |) |) in @@ -223,11 +227,15 @@ Module num. 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" |)) + (M.read (| + get_constant (| "core::num::diy_float::mul::MASK", Ty.path "u64" |) + |)) |), BinOp.bit_and (M.read (| bc |)) - (M.read (| M.get_constant "core::num::diy_float::mul::MASK" |)) + (M.read (| + get_constant (| "core::num::diy_float::mul::MASK", Ty.path "u64" |) + |)) |), BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, @@ -279,7 +287,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_mul : M.IsAssociatedFunction.Trait Self "mul" mul. + Global Instance AssociatedFunction_mul : M.IsAssociatedFunction.C Self "mul" mul. Admitted. Global Typeclasses Opaque mul. @@ -656,7 +664,7 @@ Module num. end. Global Instance AssociatedFunction_normalize : - M.IsAssociatedFunction.Trait Self "normalize" normalize. + M.IsAssociatedFunction.C Self "normalize" normalize. Admitted. Global Typeclasses Opaque normalize. @@ -851,7 +859,7 @@ Module num. end. Global Instance AssociatedFunction_normalize_to : - M.IsAssociatedFunction.Trait Self "normalize_to" normalize_to. + M.IsAssociatedFunction.C Self "normalize_to" normalize_to. Admitted. Global Typeclasses Opaque normalize_to. End Impl_core_num_diy_float_Fp. diff --git a/CoqOfRust/core/num/error.v b/CoqOfRust/core/num/error.v index 6fb5362b3..67a733c4f 100644 --- a/CoqOfRust/core/num/error.v +++ b/CoqOfRust/core/num/error.v @@ -880,7 +880,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_kind : M.IsAssociatedFunction.Trait Self "kind" kind. + Global Instance AssociatedFunction_kind : M.IsAssociatedFunction.C Self "kind" kind. Admitted. Global Typeclasses Opaque kind. End Impl_core_num_error_ParseIntError. diff --git a/CoqOfRust/core/num/f128.v b/CoqOfRust/core/num/f128.v index 0554e697e..8ef8c965d 100644 --- a/CoqOfRust/core/num/f128.v +++ b/CoqOfRust/core/num/f128.v @@ -3,143 +3,203 @@ Require Import CoqOfRust.CoqOfRust. Module f128. Module consts. - Definition value_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PI : (M.get_constant "core::f128::consts::PI") = value_PI. - Global Hint Rewrite Constant_value_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_PI : M.IsFunction.C "core::f128::consts::PI" value_PI. + Admitted. + Global Typeclasses Opaque value_PI. - Definition value_TAU : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_TAU (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_TAU : (M.get_constant "core::f128::consts::TAU") = value_TAU. - Global Hint Rewrite Constant_value_TAU : constant_rewrites. + Global Instance Instance_IsConstant_value_TAU : + M.IsFunction.C "core::f128::consts::TAU" value_TAU. + Admitted. + Global Typeclasses Opaque value_TAU. - Definition value_PHI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PHI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PHI : (M.get_constant "core::f128::consts::PHI") = value_PHI. - Global Hint Rewrite Constant_value_PHI : constant_rewrites. + Global Instance Instance_IsConstant_value_PHI : + M.IsFunction.C "core::f128::consts::PHI" value_PHI. + Admitted. + Global Typeclasses Opaque value_PHI. - Definition value_EGAMMA : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_EGAMMA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_EGAMMA : (M.get_constant "core::f128::consts::EGAMMA") = value_EGAMMA. - Global Hint Rewrite Constant_value_EGAMMA : constant_rewrites. + Global Instance Instance_IsConstant_value_EGAMMA : + M.IsFunction.C "core::f128::consts::EGAMMA" value_EGAMMA. + Admitted. + Global Typeclasses Opaque value_EGAMMA. - Definition value_FRAC_PI_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_2 : - (M.get_constant "core::f128::consts::FRAC_PI_2") = value_FRAC_PI_2. - Global Hint Rewrite Constant_value_FRAC_PI_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_2 : + M.IsFunction.C "core::f128::consts::FRAC_PI_2" value_FRAC_PI_2. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_2. - Definition value_FRAC_PI_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_3 : - (M.get_constant "core::f128::consts::FRAC_PI_3") = value_FRAC_PI_3. - Global Hint Rewrite Constant_value_FRAC_PI_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_3 : + M.IsFunction.C "core::f128::consts::FRAC_PI_3" value_FRAC_PI_3. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_3. - Definition value_FRAC_PI_4 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_4 : - (M.get_constant "core::f128::consts::FRAC_PI_4") = value_FRAC_PI_4. - Global Hint Rewrite Constant_value_FRAC_PI_4 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_4 : + M.IsFunction.C "core::f128::consts::FRAC_PI_4" value_FRAC_PI_4. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_4. - Definition value_FRAC_PI_6 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_6 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_6 : - (M.get_constant "core::f128::consts::FRAC_PI_6") = value_FRAC_PI_6. - Global Hint Rewrite Constant_value_FRAC_PI_6 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_6 : + M.IsFunction.C "core::f128::consts::FRAC_PI_6" value_FRAC_PI_6. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_6. - Definition value_FRAC_PI_8 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_8 : - (M.get_constant "core::f128::consts::FRAC_PI_8") = value_FRAC_PI_8. - Global Hint Rewrite Constant_value_FRAC_PI_8 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_8 : + M.IsFunction.C "core::f128::consts::FRAC_PI_8" value_FRAC_PI_8. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_8. - Definition value_FRAC_1_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_PI : - (M.get_constant "core::f128::consts::FRAC_1_PI") = value_FRAC_1_PI. - Global Hint Rewrite Constant_value_FRAC_1_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_PI : + M.IsFunction.C "core::f128::consts::FRAC_1_PI" value_FRAC_1_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_PI. - Definition value_FRAC_1_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_PI : - (M.get_constant "core::f128::consts::FRAC_1_SQRT_PI") = value_FRAC_1_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_PI : + M.IsFunction.C "core::f128::consts::FRAC_1_SQRT_PI" value_FRAC_1_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_PI. - Definition value_FRAC_1_SQRT_2PI : Value.t := - M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2PI : - (M.get_constant "core::f128::consts::FRAC_1_SQRT_2PI") = value_FRAC_1_SQRT_2PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2PI : + M.IsFunction.C "core::f128::consts::FRAC_1_SQRT_2PI" value_FRAC_1_SQRT_2PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2PI. - Definition value_FRAC_2_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_PI : - (M.get_constant "core::f128::consts::FRAC_2_PI") = value_FRAC_2_PI. - Global Hint Rewrite Constant_value_FRAC_2_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_PI : + M.IsFunction.C "core::f128::consts::FRAC_2_PI" value_FRAC_2_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_PI. - Definition value_FRAC_2_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_SQRT_PI : - (M.get_constant "core::f128::consts::FRAC_2_SQRT_PI") = value_FRAC_2_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_2_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_SQRT_PI : + M.IsFunction.C "core::f128::consts::FRAC_2_SQRT_PI" value_FRAC_2_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_SQRT_PI. - Definition value_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_2 : (M.get_constant "core::f128::consts::SQRT_2") = value_SQRT_2. - Global Hint Rewrite Constant_value_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_2 : + M.IsFunction.C "core::f128::consts::SQRT_2" value_SQRT_2. + Admitted. + Global Typeclasses Opaque value_SQRT_2. - Definition value_FRAC_1_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2 : - (M.get_constant "core::f128::consts::FRAC_1_SQRT_2") = value_FRAC_1_SQRT_2. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2 : + M.IsFunction.C "core::f128::consts::FRAC_1_SQRT_2" value_FRAC_1_SQRT_2. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2. - Definition value_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_3 : (M.get_constant "core::f128::consts::SQRT_3") = value_SQRT_3. - Global Hint Rewrite Constant_value_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_3 : + M.IsFunction.C "core::f128::consts::SQRT_3" value_SQRT_3. + Admitted. + Global Typeclasses Opaque value_SQRT_3. - Definition value_FRAC_1_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_3 : - (M.get_constant "core::f128::consts::FRAC_1_SQRT_3") = value_FRAC_1_SQRT_3. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_3 : + M.IsFunction.C "core::f128::consts::FRAC_1_SQRT_3" value_FRAC_1_SQRT_3. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_3. - Definition value_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_E : (M.get_constant "core::f128::consts::E") = value_E. - Global Hint Rewrite Constant_value_E : constant_rewrites. + Global Instance Instance_IsConstant_value_E : M.IsFunction.C "core::f128::consts::E" value_E. + Admitted. + Global Typeclasses Opaque value_E. - Definition value_LOG2_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_10 : (M.get_constant "core::f128::consts::LOG2_10") = value_LOG2_10. - Global Hint Rewrite Constant_value_LOG2_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_10 : + M.IsFunction.C "core::f128::consts::LOG2_10" value_LOG2_10. + Admitted. + Global Typeclasses Opaque value_LOG2_10. - Definition value_LOG2_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_E : (M.get_constant "core::f128::consts::LOG2_E") = value_LOG2_E. - Global Hint Rewrite Constant_value_LOG2_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_E : + M.IsFunction.C "core::f128::consts::LOG2_E" value_LOG2_E. + Admitted. + Global Typeclasses Opaque value_LOG2_E. - Definition value_LOG10_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_2 : (M.get_constant "core::f128::consts::LOG10_2") = value_LOG10_2. - Global Hint Rewrite Constant_value_LOG10_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_2 : + M.IsFunction.C "core::f128::consts::LOG10_2" value_LOG10_2. + Admitted. + Global Typeclasses Opaque value_LOG10_2. - Definition value_LOG10_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_E : (M.get_constant "core::f128::consts::LOG10_E") = value_LOG10_E. - Global Hint Rewrite Constant_value_LOG10_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_E : + M.IsFunction.C "core::f128::consts::LOG10_E" value_LOG10_E. + Admitted. + Global Typeclasses Opaque value_LOG10_E. - Definition value_LN_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_2 : (M.get_constant "core::f128::consts::LN_2") = value_LN_2. - Global Hint Rewrite Constant_value_LN_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_2 : + M.IsFunction.C "core::f128::consts::LN_2" value_LN_2. + Admitted. + Global Typeclasses Opaque value_LN_2. - Definition value_LN_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_10 : (M.get_constant "core::f128::consts::LN_10") = value_LN_10. - Global Hint Rewrite Constant_value_LN_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_10 : + M.IsFunction.C "core::f128::consts::LN_10" value_LN_10. + Admitted. + Global Typeclasses Opaque value_LN_10. End consts. Module Impl_f128. @@ -147,211 +207,205 @@ Module f128. (* pub const RADIX: u32 = 2; *) (* Ty.path "u32" *) - Definition value_RADIX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). + Definition value_RADIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). Global Instance AssociatedConstant_value_RADIX : - M.IsAssociatedConstant.Trait Self "value_RADIX" value_RADIX. + M.IsAssociatedFunction.C Self "RADIX" value_RADIX. Admitted. Global Typeclasses Opaque value_RADIX. (* pub const MANTISSA_DIGITS: u32 = 113; *) (* Ty.path "u32" *) - Definition value_MANTISSA_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 113 |))). + Definition value_MANTISSA_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 113 |))). Global Instance AssociatedConstant_value_MANTISSA_DIGITS : - M.IsAssociatedConstant.Trait Self "value_MANTISSA_DIGITS" value_MANTISSA_DIGITS. + M.IsAssociatedFunction.C Self "MANTISSA_DIGITS" value_MANTISSA_DIGITS. Admitted. Global Typeclasses Opaque value_MANTISSA_DIGITS. (* pub const DIGITS: u32 = 33; *) (* Ty.path "u32" *) - Definition value_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 33 |))). + Definition value_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 33 |))). Global Instance AssociatedConstant_value_DIGITS : - M.IsAssociatedConstant.Trait Self "value_DIGITS" value_DIGITS. + M.IsAssociatedFunction.C Self "DIGITS" value_DIGITS. Admitted. Global Typeclasses Opaque value_DIGITS. (* pub const EPSILON: f128 = 1.92592994438723585305597794258492732e-34_f128; *) (* Ty.path "f128" *) - Definition value_EPSILON : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_EPSILON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_EPSILON : - M.IsAssociatedConstant.Trait Self "value_EPSILON" value_EPSILON. + M.IsAssociatedFunction.C Self "EPSILON" value_EPSILON. Admitted. Global Typeclasses Opaque value_EPSILON. (* pub const MIN: f128 = -1.18973149535723176508575932662800702e+4932_f128; *) (* Ty.path "f128" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MIN_POSITIVE: f128 = 3.36210314311209350626267781732175260e-4932_f128; *) (* Ty.path "f128" *) - Definition value_MIN_POSITIVE : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN_POSITIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_MIN_POSITIVE : - M.IsAssociatedConstant.Trait Self "value_MIN_POSITIVE" value_MIN_POSITIVE. + M.IsAssociatedFunction.C Self "MIN_POSITIVE" value_MIN_POSITIVE. Admitted. Global Typeclasses Opaque value_MIN_POSITIVE. (* pub const MAX: f128 = 1.18973149535723176508575932662800702e+4932_f128; *) (* Ty.path "f128" *) - Definition value_MAX : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const MIN_EXP: i32 = -16_381; *) (* Ty.path "i32" *) - Definition value_MIN_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-16381) |))). + Definition value_MIN_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-16381) |))). Global Instance AssociatedConstant_value_MIN_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_EXP" value_MIN_EXP. + M.IsAssociatedFunction.C Self "MIN_EXP" value_MIN_EXP. Admitted. Global Typeclasses Opaque value_MIN_EXP. (* pub const MAX_EXP: i32 = 16_384; *) (* Ty.path "i32" *) - Definition value_MAX_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 16384 |))). + Definition value_MAX_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 16384 |))). Global Instance AssociatedConstant_value_MAX_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_EXP" value_MAX_EXP. + M.IsAssociatedFunction.C Self "MAX_EXP" value_MAX_EXP. Admitted. Global Typeclasses Opaque value_MAX_EXP. (* pub const MIN_10_EXP: i32 = -4_931; *) (* Ty.path "i32" *) - Definition value_MIN_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-4931) |))). + Definition value_MIN_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-4931) |))). Global Instance AssociatedConstant_value_MIN_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_10_EXP" value_MIN_10_EXP. + M.IsAssociatedFunction.C Self "MIN_10_EXP" value_MIN_10_EXP. Admitted. Global Typeclasses Opaque value_MIN_10_EXP. (* pub const MAX_10_EXP: i32 = 4_932; *) (* Ty.path "i32" *) - Definition value_MAX_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 4932 |))). + Definition value_MAX_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 4932 |))). Global Instance AssociatedConstant_value_MAX_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_10_EXP" value_MAX_10_EXP. + M.IsAssociatedFunction.C Self "MAX_10_EXP" value_MAX_10_EXP. Admitted. Global Typeclasses Opaque value_MAX_10_EXP. (* pub const NAN: f128 = 0.0_f128 / 0.0_f128; *) (* Ty.path "f128" *) - Definition value_NAN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). - Global Instance AssociatedConstant_value_NAN : - M.IsAssociatedConstant.Trait Self "value_NAN" value_NAN. + Global Instance AssociatedConstant_value_NAN : M.IsAssociatedFunction.C Self "NAN" value_NAN. Admitted. Global Typeclasses Opaque value_NAN. (* pub const INFINITY: f128 = 1.0_f128 / 0.0_f128; *) (* Ty.path "f128" *) - Definition value_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_INFINITY : - M.IsAssociatedConstant.Trait Self "value_INFINITY" value_INFINITY. + M.IsAssociatedFunction.C Self "INFINITY" value_INFINITY. Admitted. Global Typeclasses Opaque value_INFINITY. (* pub const NEG_INFINITY: f128 = -1.0_f128 / 0.0_f128; *) (* Ty.path "f128" *) - Definition value_NEG_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_NEG_INFINITY : - M.IsAssociatedConstant.Trait Self "value_NEG_INFINITY" value_NEG_INFINITY. + M.IsAssociatedFunction.C Self "NEG_INFINITY" value_NEG_INFINITY. Admitted. Global Typeclasses Opaque value_NEG_INFINITY. (* pub(crate) const SIGN_MASK: u128 = 0x8000_0000_0000_0000_0000_0000_0000_0000; *) (* Ty.path "u128" *) - Definition value_SIGN_MASK : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.Integer IntegerKind.U128 170141183460469231731687303715884105728 |))). + Definition value_SIGN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U128 170141183460469231731687303715884105728 |))). Global Instance AssociatedConstant_value_SIGN_MASK : - M.IsAssociatedConstant.Trait Self "value_SIGN_MASK" value_SIGN_MASK. + M.IsAssociatedFunction.C Self "SIGN_MASK" value_SIGN_MASK. Admitted. Global Typeclasses Opaque value_SIGN_MASK. (* pub(crate) const EXP_MASK: u128 = 0x7fff_0000_0000_0000_0000_0000_0000_0000; *) (* Ty.path "u128" *) - Definition value_EXP_MASK : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.Integer IntegerKind.U128 170135991163610696904058773219554885632 |))). + Definition value_EXP_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U128 170135991163610696904058773219554885632 |))). Global Instance AssociatedConstant_value_EXP_MASK : - M.IsAssociatedConstant.Trait Self "value_EXP_MASK" value_EXP_MASK. + M.IsAssociatedFunction.C Self "EXP_MASK" value_EXP_MASK. Admitted. Global Typeclasses Opaque value_EXP_MASK. (* pub(crate) const MAN_MASK: u128 = 0x0000_ffff_ffff_ffff_ffff_ffff_ffff_ffff; *) (* Ty.path "u128" *) - Definition value_MAN_MASK : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.Integer IntegerKind.U128 5192296858534827628530496329220095 |))). + Definition value_MAN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.Integer IntegerKind.U128 5192296858534827628530496329220095 |))). Global Instance AssociatedConstant_value_MAN_MASK : - M.IsAssociatedConstant.Trait Self "value_MAN_MASK" value_MAN_MASK. + M.IsAssociatedFunction.C Self "MAN_MASK" value_MAN_MASK. Admitted. Global Typeclasses Opaque value_MAN_MASK. (* const TINY_BITS: u128 = 0x1; *) (* Ty.path "u128" *) - Definition value_TINY_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 1 |))). + Definition value_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 1 |))). Global Instance AssociatedConstant_value_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_TINY_BITS" value_TINY_BITS. + M.IsAssociatedFunction.C Self "TINY_BITS" value_TINY_BITS. Admitted. Global Typeclasses Opaque value_TINY_BITS. (* const NEG_TINY_BITS: u128 = Self::TINY_BITS | Self::SIGN_MASK; *) (* Ty.path "u128" *) - Definition value_NEG_TINY_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.bit_or - (M.read (| M.get_constant "core::f128::TINY_BITS" |)) - (M.read (| M.get_constant "core::f128::SIGN_MASK" |)) - |))). + Definition value_NEG_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.bit_or + (M.read (| get_associated_constant (| Ty.path "f128", "TINY_BITS", Ty.path "u128" |) |)) + (M.read (| get_associated_constant (| Ty.path "f128", "SIGN_MASK", Ty.path "u128" |) |)) + |))). Global Instance AssociatedConstant_value_NEG_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_NEG_TINY_BITS" value_NEG_TINY_BITS. + M.IsAssociatedFunction.C Self "NEG_TINY_BITS" value_NEG_TINY_BITS. Admitted. Global Typeclasses Opaque value_NEG_TINY_BITS. @@ -369,7 +423,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.Trait Self "is_nan" is_nan. + Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.C Self "is_nan" is_nan. Admitted. Global Typeclasses Opaque is_nan. @@ -384,16 +438,21 @@ Module f128. ltac:(M.monadic (let self := M.alloc (| self |) in BinOp.bit_or - (BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::f128::INFINITY" |) |)) (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::f128::NEG_INFINITY" |) + M.read (| get_associated_constant (| Ty.path "f128", "INFINITY", Ty.path "f128" |) |) + |)) + (BinOp.eq (| + M.read (| self |), + M.read (| + get_associated_constant (| Ty.path "f128", "NEG_INFINITY", Ty.path "f128" |) + |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_infinite : - M.IsAssociatedFunction.Trait Self "is_infinite" is_infinite. + M.IsAssociatedFunction.C Self "is_infinite" is_infinite. Admitted. Global Typeclasses Opaque is_infinite. @@ -415,13 +474,13 @@ Module f128. M.get_associated_function (| Ty.path "f128", "abs", [], [] |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::f128::INFINITY" |) + M.read (| get_associated_constant (| Ty.path "f128", "INFINITY", Ty.path "f128" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_finite : - M.IsAssociatedFunction.Trait Self "is_finite" is_finite. + M.IsAssociatedFunction.C Self "is_finite" is_finite. Admitted. Global Typeclasses Opaque is_finite. @@ -458,7 +517,7 @@ Module f128. end. Global Instance AssociatedFunction_is_subnormal : - M.IsAssociatedFunction.Trait Self "is_subnormal" is_subnormal. + M.IsAssociatedFunction.C Self "is_subnormal" is_subnormal. Admitted. Global Typeclasses Opaque is_subnormal. @@ -495,7 +554,7 @@ Module f128. end. Global Instance AssociatedFunction_is_normal : - M.IsAssociatedFunction.Trait Self "is_normal" is_normal. + M.IsAssociatedFunction.C Self "is_normal" is_normal. Admitted. Global Typeclasses Opaque is_normal. @@ -532,10 +591,14 @@ Module f128. [ BinOp.bit_and (M.read (| bits |)) - (M.read (| M.get_constant "core::f128::MAN_MASK" |)); + (M.read (| + get_associated_constant (| Ty.path "f128", "MAN_MASK", Ty.path "u128" |) + |)); BinOp.bit_and (M.read (| bits |)) - (M.read (| M.get_constant "core::f128::EXP_MASK" |)) + (M.read (| + get_associated_constant (| Ty.path "f128", "EXP_MASK", Ty.path "u128" |) + |)) ] |), [ @@ -598,8 +661,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_classify : - M.IsAssociatedFunction.Trait Self "classify" classify. + Global Instance AssociatedFunction_classify : M.IsAssociatedFunction.C Self "classify" classify. Admitted. Global Typeclasses Opaque classify. @@ -624,7 +686,7 @@ Module f128. end. Global Instance AssociatedFunction_is_sign_positive : - M.IsAssociatedFunction.Trait Self "is_sign_positive" is_sign_positive. + M.IsAssociatedFunction.C Self "is_sign_positive" is_sign_positive. Admitted. Global Typeclasses Opaque is_sign_positive. @@ -658,7 +720,7 @@ Module f128. end. Global Instance AssociatedFunction_is_sign_negative : - M.IsAssociatedFunction.Trait Self "is_sign_negative" is_sign_negative. + M.IsAssociatedFunction.C Self "is_sign_negative" is_sign_negative. Admitted. Global Typeclasses Opaque is_sign_negative. @@ -731,7 +793,15 @@ Module f128. [], [] |), - [ M.read (| M.get_constant "core::f128::INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f128", + "INFINITY", + Ty.path "f128" + |) + |) + ] |) |))) |) @@ -748,7 +818,11 @@ Module f128. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f128::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f128", "SIGN_MASK", Ty.path "u128" |) + |) + |)) |) in let~ next_bits : Ty.path "u128" := M.copy (| @@ -765,7 +839,11 @@ Module f128. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f128::TINY_BITS")); + get_associated_constant (| + Ty.path "f128", + "TINY_BITS", + Ty.path "u128" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -815,8 +893,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_next_up : - M.IsAssociatedFunction.Trait Self "next_up" next_up. + Global Instance AssociatedFunction_next_up : M.IsAssociatedFunction.C Self "next_up" next_up. Admitted. Global Typeclasses Opaque next_up. @@ -889,7 +966,15 @@ Module f128. [], [] |), - [ M.read (| M.get_constant "core::f128::NEG_INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f128", + "NEG_INFINITY", + Ty.path "f128" + |) + |) + ] |) |))) |) @@ -906,7 +991,11 @@ Module f128. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f128::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f128", "SIGN_MASK", Ty.path "u128" |) + |) + |)) |) in let~ next_bits : Ty.path "u128" := M.copy (| @@ -923,7 +1012,11 @@ Module f128. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f128::NEG_TINY_BITS")); + get_associated_constant (| + Ty.path "f128", + "NEG_TINY_BITS", + Ty.path "u128" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -974,7 +1067,7 @@ Module f128. end. Global Instance AssociatedFunction_next_down : - M.IsAssociatedFunction.Trait Self "next_down" next_down. + M.IsAssociatedFunction.C Self "next_down" next_down. Admitted. Global Typeclasses Opaque next_down. @@ -992,7 +1085,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.Trait Self "recip" recip. + Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.C Self "recip" recip. Admitted. Global Typeclasses Opaque recip. @@ -1010,13 +1103,13 @@ Module f128. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f128::to_degrees::PIS_IN_180" |) + M.read (| get_constant (| "core::f128::to_degrees::PIS_IN_180", Ty.path "f128" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_degrees : - M.IsAssociatedFunction.Trait Self "to_degrees" to_degrees. + M.IsAssociatedFunction.C Self "to_degrees" to_degrees. Admitted. Global Typeclasses Opaque to_degrees. @@ -1035,13 +1128,13 @@ Module f128. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f128::to_radians::RADS_PER_DEG" |) + M.read (| get_constant (| "core::f128::to_radians::RADS_PER_DEG", Ty.path "f128" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_radians : - M.IsAssociatedFunction.Trait Self "to_radians" to_radians. + M.IsAssociatedFunction.C Self "to_radians" to_radians. Admitted. Global Typeclasses Opaque to_radians. @@ -1064,7 +1157,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_max : M.IsAssociatedFunction.Trait Self "max" max. + Global Instance AssociatedFunction_max : M.IsAssociatedFunction.C Self "max" max. Admitted. Global Typeclasses Opaque max. @@ -1087,7 +1180,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_min : M.IsAssociatedFunction.Trait Self "min" min. + Global Instance AssociatedFunction_min : M.IsAssociatedFunction.C Self "min" min. Admitted. Global Typeclasses Opaque min. @@ -1212,8 +1305,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_maximum : - M.IsAssociatedFunction.Trait Self "maximum" maximum. + Global Instance AssociatedFunction_maximum : M.IsAssociatedFunction.C Self "maximum" maximum. Admitted. Global Typeclasses Opaque maximum. @@ -1339,8 +1431,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_minimum : - M.IsAssociatedFunction.Trait Self "minimum" minimum. + Global Instance AssociatedFunction_minimum : M.IsAssociatedFunction.C Self "minimum" minimum. Admitted. Global Typeclasses Opaque minimum. @@ -1413,12 +1504,22 @@ Module f128. LogicalOp.and (| BinOp.le (| M.read (| abs_a |), - M.read (| M.get_constant "core::f128::midpoint::HI" |) + M.read (| + get_constant (| + "core::f128::midpoint::HI", + Ty.path "f128" + |) + |) |), ltac:(M.monadic (BinOp.le (| M.read (| abs_b |), - M.read (| M.get_constant "core::f128::midpoint::HI" |) + M.read (| + get_constant (| + "core::f128::midpoint::HI", + Ty.path "f128" + |) + |) |))) |) |)) in @@ -1443,7 +1544,12 @@ Module f128. (M.alloc (| BinOp.lt (| M.read (| abs_a |), - M.read (| M.get_constant "core::f128::midpoint::LO" |) + M.read (| + get_constant (| + "core::f128::midpoint::LO", + Ty.path "f128" + |) + |) |) |)) in let _ := @@ -1474,7 +1580,10 @@ Module f128. BinOp.lt (| M.read (| abs_b |), M.read (| - M.get_constant "core::f128::midpoint::LO" + get_constant (| + "core::f128::midpoint::LO", + Ty.path "f128" + |) |) |) |)) in @@ -1518,8 +1627,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -1555,7 +1663,7 @@ Module f128. end. Global Instance AssociatedFunction_to_int_unchecked : - M.IsAssociatedFunction.Trait Self "to_int_unchecked" to_int_unchecked. + M.IsAssociatedFunction.C Self "to_int_unchecked" to_int_unchecked. Admitted. Global Typeclasses Opaque to_int_unchecked. @@ -1582,8 +1690,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_bits : - M.IsAssociatedFunction.Trait Self "to_bits" to_bits. + Global Instance AssociatedFunction_to_bits : M.IsAssociatedFunction.C Self "to_bits" to_bits. Admitted. Global Typeclasses Opaque to_bits. @@ -1612,7 +1719,7 @@ Module f128. end. Global Instance AssociatedFunction_from_bits : - M.IsAssociatedFunction.Trait Self "from_bits" from_bits. + M.IsAssociatedFunction.C Self "from_bits" from_bits. Admitted. Global Typeclasses Opaque from_bits. @@ -1641,7 +1748,7 @@ Module f128. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -1670,7 +1777,7 @@ Module f128. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -1699,7 +1806,7 @@ Module f128. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -1728,7 +1835,7 @@ Module f128. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -1757,7 +1864,7 @@ Module f128. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -1786,7 +1893,7 @@ Module f128. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -1908,7 +2015,7 @@ Module f128. end. Global Instance AssociatedFunction_total_cmp : - M.IsAssociatedFunction.Trait Self "total_cmp" total_cmp. + M.IsAssociatedFunction.C Self "total_cmp" total_cmp. Admitted. Global Typeclasses Opaque total_cmp. @@ -2005,7 +2112,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.Trait Self "clamp" clamp. + Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.C Self "clamp" clamp. Admitted. Global Typeclasses Opaque clamp. @@ -2042,7 +2149,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -2073,7 +2180,7 @@ Module f128. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f128::NAN")); + get_associated_constant (| Ty.path "f128", "NAN", Ty.path "f128" |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -2089,7 +2196,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -2113,8 +2220,7 @@ Module f128. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_copysign : - M.IsAssociatedFunction.Trait Self "copysign" copysign. + Global Instance AssociatedFunction_copysign : M.IsAssociatedFunction.C Self "copysign" copysign. Admitted. Global Typeclasses Opaque copysign. End Impl_f128. diff --git a/CoqOfRust/core/num/f16.v b/CoqOfRust/core/num/f16.v index a21394222..1fce4a5de 100644 --- a/CoqOfRust/core/num/f16.v +++ b/CoqOfRust/core/num/f16.v @@ -3,143 +3,203 @@ Require Import CoqOfRust.CoqOfRust. Module f16. Module consts. - Definition value_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PI : (M.get_constant "core::f16::consts::PI") = value_PI. - Global Hint Rewrite Constant_value_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_PI : M.IsFunction.C "core::f16::consts::PI" value_PI. + Admitted. + Global Typeclasses Opaque value_PI. - Definition value_TAU : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_TAU (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_TAU : (M.get_constant "core::f16::consts::TAU") = value_TAU. - Global Hint Rewrite Constant_value_TAU : constant_rewrites. + Global Instance Instance_IsConstant_value_TAU : + M.IsFunction.C "core::f16::consts::TAU" value_TAU. + Admitted. + Global Typeclasses Opaque value_TAU. - Definition value_PHI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PHI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PHI : (M.get_constant "core::f16::consts::PHI") = value_PHI. - Global Hint Rewrite Constant_value_PHI : constant_rewrites. + Global Instance Instance_IsConstant_value_PHI : + M.IsFunction.C "core::f16::consts::PHI" value_PHI. + Admitted. + Global Typeclasses Opaque value_PHI. - Definition value_EGAMMA : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_EGAMMA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_EGAMMA : (M.get_constant "core::f16::consts::EGAMMA") = value_EGAMMA. - Global Hint Rewrite Constant_value_EGAMMA : constant_rewrites. + Global Instance Instance_IsConstant_value_EGAMMA : + M.IsFunction.C "core::f16::consts::EGAMMA" value_EGAMMA. + Admitted. + Global Typeclasses Opaque value_EGAMMA. - Definition value_FRAC_PI_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_2 : - (M.get_constant "core::f16::consts::FRAC_PI_2") = value_FRAC_PI_2. - Global Hint Rewrite Constant_value_FRAC_PI_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_2 : + M.IsFunction.C "core::f16::consts::FRAC_PI_2" value_FRAC_PI_2. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_2. - Definition value_FRAC_PI_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_3 : - (M.get_constant "core::f16::consts::FRAC_PI_3") = value_FRAC_PI_3. - Global Hint Rewrite Constant_value_FRAC_PI_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_3 : + M.IsFunction.C "core::f16::consts::FRAC_PI_3" value_FRAC_PI_3. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_3. - Definition value_FRAC_PI_4 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_4 : - (M.get_constant "core::f16::consts::FRAC_PI_4") = value_FRAC_PI_4. - Global Hint Rewrite Constant_value_FRAC_PI_4 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_4 : + M.IsFunction.C "core::f16::consts::FRAC_PI_4" value_FRAC_PI_4. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_4. - Definition value_FRAC_PI_6 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_6 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_6 : - (M.get_constant "core::f16::consts::FRAC_PI_6") = value_FRAC_PI_6. - Global Hint Rewrite Constant_value_FRAC_PI_6 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_6 : + M.IsFunction.C "core::f16::consts::FRAC_PI_6" value_FRAC_PI_6. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_6. - Definition value_FRAC_PI_8 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_8 : - (M.get_constant "core::f16::consts::FRAC_PI_8") = value_FRAC_PI_8. - Global Hint Rewrite Constant_value_FRAC_PI_8 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_8 : + M.IsFunction.C "core::f16::consts::FRAC_PI_8" value_FRAC_PI_8. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_8. - Definition value_FRAC_1_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_PI : - (M.get_constant "core::f16::consts::FRAC_1_PI") = value_FRAC_1_PI. - Global Hint Rewrite Constant_value_FRAC_1_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_PI : + M.IsFunction.C "core::f16::consts::FRAC_1_PI" value_FRAC_1_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_PI. - Definition value_FRAC_1_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_PI : - (M.get_constant "core::f16::consts::FRAC_1_SQRT_PI") = value_FRAC_1_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_PI : + M.IsFunction.C "core::f16::consts::FRAC_1_SQRT_PI" value_FRAC_1_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_PI. - Definition value_FRAC_1_SQRT_2PI : Value.t := - M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2PI : - (M.get_constant "core::f16::consts::FRAC_1_SQRT_2PI") = value_FRAC_1_SQRT_2PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2PI : + M.IsFunction.C "core::f16::consts::FRAC_1_SQRT_2PI" value_FRAC_1_SQRT_2PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2PI. - Definition value_FRAC_2_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_PI : - (M.get_constant "core::f16::consts::FRAC_2_PI") = value_FRAC_2_PI. - Global Hint Rewrite Constant_value_FRAC_2_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_PI : + M.IsFunction.C "core::f16::consts::FRAC_2_PI" value_FRAC_2_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_PI. - Definition value_FRAC_2_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_SQRT_PI : - (M.get_constant "core::f16::consts::FRAC_2_SQRT_PI") = value_FRAC_2_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_2_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_SQRT_PI : + M.IsFunction.C "core::f16::consts::FRAC_2_SQRT_PI" value_FRAC_2_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_SQRT_PI. - Definition value_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_2 : (M.get_constant "core::f16::consts::SQRT_2") = value_SQRT_2. - Global Hint Rewrite Constant_value_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_2 : + M.IsFunction.C "core::f16::consts::SQRT_2" value_SQRT_2. + Admitted. + Global Typeclasses Opaque value_SQRT_2. - Definition value_FRAC_1_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2 : - (M.get_constant "core::f16::consts::FRAC_1_SQRT_2") = value_FRAC_1_SQRT_2. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2 : + M.IsFunction.C "core::f16::consts::FRAC_1_SQRT_2" value_FRAC_1_SQRT_2. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2. - Definition value_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_3 : (M.get_constant "core::f16::consts::SQRT_3") = value_SQRT_3. - Global Hint Rewrite Constant_value_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_3 : + M.IsFunction.C "core::f16::consts::SQRT_3" value_SQRT_3. + Admitted. + Global Typeclasses Opaque value_SQRT_3. - Definition value_FRAC_1_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_3 : - (M.get_constant "core::f16::consts::FRAC_1_SQRT_3") = value_FRAC_1_SQRT_3. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_3 : + M.IsFunction.C "core::f16::consts::FRAC_1_SQRT_3" value_FRAC_1_SQRT_3. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_3. - Definition value_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_E : (M.get_constant "core::f16::consts::E") = value_E. - Global Hint Rewrite Constant_value_E : constant_rewrites. + Global Instance Instance_IsConstant_value_E : M.IsFunction.C "core::f16::consts::E" value_E. + Admitted. + Global Typeclasses Opaque value_E. - Definition value_LOG2_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_10 : (M.get_constant "core::f16::consts::LOG2_10") = value_LOG2_10. - Global Hint Rewrite Constant_value_LOG2_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_10 : + M.IsFunction.C "core::f16::consts::LOG2_10" value_LOG2_10. + Admitted. + Global Typeclasses Opaque value_LOG2_10. - Definition value_LOG2_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_E : (M.get_constant "core::f16::consts::LOG2_E") = value_LOG2_E. - Global Hint Rewrite Constant_value_LOG2_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_E : + M.IsFunction.C "core::f16::consts::LOG2_E" value_LOG2_E. + Admitted. + Global Typeclasses Opaque value_LOG2_E. - Definition value_LOG10_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_2 : (M.get_constant "core::f16::consts::LOG10_2") = value_LOG10_2. - Global Hint Rewrite Constant_value_LOG10_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_2 : + M.IsFunction.C "core::f16::consts::LOG10_2" value_LOG10_2. + Admitted. + Global Typeclasses Opaque value_LOG10_2. - Definition value_LOG10_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_E : (M.get_constant "core::f16::consts::LOG10_E") = value_LOG10_E. - Global Hint Rewrite Constant_value_LOG10_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_E : + M.IsFunction.C "core::f16::consts::LOG10_E" value_LOG10_E. + Admitted. + Global Typeclasses Opaque value_LOG10_E. - Definition value_LN_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_2 : (M.get_constant "core::f16::consts::LN_2") = value_LN_2. - Global Hint Rewrite Constant_value_LN_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_2 : + M.IsFunction.C "core::f16::consts::LN_2" value_LN_2. + Admitted. + Global Typeclasses Opaque value_LN_2. - Definition value_LN_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_10 : (M.get_constant "core::f16::consts::LN_10") = value_LN_10. - Global Hint Rewrite Constant_value_LN_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_10 : + M.IsFunction.C "core::f16::consts::LN_10" value_LN_10. + Admitted. + Global Typeclasses Opaque value_LN_10. End consts. Module Impl_f16. @@ -147,205 +207,202 @@ Module f16. (* pub const RADIX: u32 = 2; *) (* Ty.path "u32" *) - Definition value_RADIX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). + Definition value_RADIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). Global Instance AssociatedConstant_value_RADIX : - M.IsAssociatedConstant.Trait Self "value_RADIX" value_RADIX. + M.IsAssociatedFunction.C Self "RADIX" value_RADIX. Admitted. Global Typeclasses Opaque value_RADIX. (* pub const MANTISSA_DIGITS: u32 = 11; *) (* Ty.path "u32" *) - Definition value_MANTISSA_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 11 |))). + Definition value_MANTISSA_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 11 |))). Global Instance AssociatedConstant_value_MANTISSA_DIGITS : - M.IsAssociatedConstant.Trait Self "value_MANTISSA_DIGITS" value_MANTISSA_DIGITS. + M.IsAssociatedFunction.C Self "MANTISSA_DIGITS" value_MANTISSA_DIGITS. Admitted. Global Typeclasses Opaque value_MANTISSA_DIGITS. (* pub const DIGITS: u32 = 3; *) (* Ty.path "u32" *) - Definition value_DIGITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 3 |))). + Definition value_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 3 |))). Global Instance AssociatedConstant_value_DIGITS : - M.IsAssociatedConstant.Trait Self "value_DIGITS" value_DIGITS. + M.IsAssociatedFunction.C Self "DIGITS" value_DIGITS. Admitted. Global Typeclasses Opaque value_DIGITS. (* pub const EPSILON: f16 = 9.7656e-4_f16; *) (* Ty.path "f16" *) - Definition value_EPSILON : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_EPSILON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_EPSILON : - M.IsAssociatedConstant.Trait Self "value_EPSILON" value_EPSILON. + M.IsAssociatedFunction.C Self "EPSILON" value_EPSILON. Admitted. Global Typeclasses Opaque value_EPSILON. (* pub const MIN: f16 = -6.5504e+4_f16; *) (* Ty.path "f16" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MIN_POSITIVE: f16 = 6.1035e-5_f16; *) (* Ty.path "f16" *) - Definition value_MIN_POSITIVE : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN_POSITIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_MIN_POSITIVE : - M.IsAssociatedConstant.Trait Self "value_MIN_POSITIVE" value_MIN_POSITIVE. + M.IsAssociatedFunction.C Self "MIN_POSITIVE" value_MIN_POSITIVE. Admitted. Global Typeclasses Opaque value_MIN_POSITIVE. (* pub const MAX: f16 = 6.5504e+4_f16; *) (* Ty.path "f16" *) - Definition value_MAX : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const MIN_EXP: i32 = -13; *) (* Ty.path "i32" *) - Definition value_MIN_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-13) |))). + Definition value_MIN_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-13) |))). Global Instance AssociatedConstant_value_MIN_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_EXP" value_MIN_EXP. + M.IsAssociatedFunction.C Self "MIN_EXP" value_MIN_EXP. Admitted. Global Typeclasses Opaque value_MIN_EXP. (* pub const MAX_EXP: i32 = 16; *) (* Ty.path "i32" *) - Definition value_MAX_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 16 |))). + Definition value_MAX_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 16 |))). Global Instance AssociatedConstant_value_MAX_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_EXP" value_MAX_EXP. + M.IsAssociatedFunction.C Self "MAX_EXP" value_MAX_EXP. Admitted. Global Typeclasses Opaque value_MAX_EXP. (* pub const MIN_10_EXP: i32 = -4; *) (* Ty.path "i32" *) - Definition value_MIN_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-4) |))). + Definition value_MIN_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-4) |))). Global Instance AssociatedConstant_value_MIN_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_10_EXP" value_MIN_10_EXP. + M.IsAssociatedFunction.C Self "MIN_10_EXP" value_MIN_10_EXP. Admitted. Global Typeclasses Opaque value_MIN_10_EXP. (* pub const MAX_10_EXP: i32 = 4; *) (* Ty.path "i32" *) - Definition value_MAX_10_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 4 |))). + Definition value_MAX_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 4 |))). Global Instance AssociatedConstant_value_MAX_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_10_EXP" value_MAX_10_EXP. + M.IsAssociatedFunction.C Self "MAX_10_EXP" value_MAX_10_EXP. Admitted. Global Typeclasses Opaque value_MAX_10_EXP. (* pub const NAN: f16 = 0.0_f16 / 0.0_f16; *) (* Ty.path "f16" *) - Definition value_NAN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). - Global Instance AssociatedConstant_value_NAN : - M.IsAssociatedConstant.Trait Self "value_NAN" value_NAN. + Global Instance AssociatedConstant_value_NAN : M.IsAssociatedFunction.C Self "NAN" value_NAN. Admitted. Global Typeclasses Opaque value_NAN. (* pub const INFINITY: f16 = 1.0_f16 / 0.0_f16; *) (* Ty.path "f16" *) - Definition value_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_INFINITY : - M.IsAssociatedConstant.Trait Self "value_INFINITY" value_INFINITY. + M.IsAssociatedFunction.C Self "INFINITY" value_INFINITY. Admitted. Global Typeclasses Opaque value_INFINITY. (* pub const NEG_INFINITY: f16 = -1.0_f16 / 0.0_f16; *) (* Ty.path "f16" *) - Definition value_NEG_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_NEG_INFINITY : - M.IsAssociatedConstant.Trait Self "value_NEG_INFINITY" value_NEG_INFINITY. + M.IsAssociatedFunction.C Self "NEG_INFINITY" value_NEG_INFINITY. Admitted. Global Typeclasses Opaque value_NEG_INFINITY. (* pub(crate) const SIGN_MASK: u16 = 0x8000; *) (* Ty.path "u16" *) - Definition value_SIGN_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 32768 |))). + Definition value_SIGN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 32768 |))). Global Instance AssociatedConstant_value_SIGN_MASK : - M.IsAssociatedConstant.Trait Self "value_SIGN_MASK" value_SIGN_MASK. + M.IsAssociatedFunction.C Self "SIGN_MASK" value_SIGN_MASK. Admitted. Global Typeclasses Opaque value_SIGN_MASK. (* pub(crate) const EXP_MASK: u16 = 0x7c00; *) (* Ty.path "u16" *) - Definition value_EXP_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 31744 |))). + Definition value_EXP_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 31744 |))). Global Instance AssociatedConstant_value_EXP_MASK : - M.IsAssociatedConstant.Trait Self "value_EXP_MASK" value_EXP_MASK. + M.IsAssociatedFunction.C Self "EXP_MASK" value_EXP_MASK. Admitted. Global Typeclasses Opaque value_EXP_MASK. (* pub(crate) const MAN_MASK: u16 = 0x03ff; *) (* Ty.path "u16" *) - Definition value_MAN_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 1023 |))). + Definition value_MAN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 1023 |))). Global Instance AssociatedConstant_value_MAN_MASK : - M.IsAssociatedConstant.Trait Self "value_MAN_MASK" value_MAN_MASK. + M.IsAssociatedFunction.C Self "MAN_MASK" value_MAN_MASK. Admitted. Global Typeclasses Opaque value_MAN_MASK. (* const TINY_BITS: u16 = 0x1; *) (* Ty.path "u16" *) - Definition value_TINY_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 1 |))). + Definition value_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 1 |))). Global Instance AssociatedConstant_value_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_TINY_BITS" value_TINY_BITS. + M.IsAssociatedFunction.C Self "TINY_BITS" value_TINY_BITS. Admitted. Global Typeclasses Opaque value_TINY_BITS. (* const NEG_TINY_BITS: u16 = Self::TINY_BITS | Self::SIGN_MASK; *) (* Ty.path "u16" *) - Definition value_NEG_TINY_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.bit_or - (M.read (| M.get_constant "core::f16::TINY_BITS" |)) - (M.read (| M.get_constant "core::f16::SIGN_MASK" |)) - |))). + Definition value_NEG_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.bit_or + (M.read (| get_associated_constant (| Ty.path "f16", "TINY_BITS", Ty.path "u16" |) |)) + (M.read (| get_associated_constant (| Ty.path "f16", "SIGN_MASK", Ty.path "u16" |) |)) + |))). Global Instance AssociatedConstant_value_NEG_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_NEG_TINY_BITS" value_NEG_TINY_BITS. + M.IsAssociatedFunction.C Self "NEG_TINY_BITS" value_NEG_TINY_BITS. Admitted. Global Typeclasses Opaque value_NEG_TINY_BITS. @@ -363,7 +420,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.Trait Self "is_nan" is_nan. + Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.C Self "is_nan" is_nan. Admitted. Global Typeclasses Opaque is_nan. @@ -378,16 +435,21 @@ Module f16. ltac:(M.monadic (let self := M.alloc (| self |) in BinOp.bit_or - (BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::f16::INFINITY" |) |)) (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::f16::NEG_INFINITY" |) + M.read (| get_associated_constant (| Ty.path "f16", "INFINITY", Ty.path "f16" |) |) + |)) + (BinOp.eq (| + M.read (| self |), + M.read (| + get_associated_constant (| Ty.path "f16", "NEG_INFINITY", Ty.path "f16" |) + |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_infinite : - M.IsAssociatedFunction.Trait Self "is_infinite" is_infinite. + M.IsAssociatedFunction.C Self "is_infinite" is_infinite. Admitted. Global Typeclasses Opaque is_infinite. @@ -409,13 +471,13 @@ Module f16. M.get_associated_function (| Ty.path "f16", "abs", [], [] |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::f16::INFINITY" |) + M.read (| get_associated_constant (| Ty.path "f16", "INFINITY", Ty.path "f16" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_finite : - M.IsAssociatedFunction.Trait Self "is_finite" is_finite. + M.IsAssociatedFunction.C Self "is_finite" is_finite. Admitted. Global Typeclasses Opaque is_finite. @@ -452,7 +514,7 @@ Module f16. end. Global Instance AssociatedFunction_is_subnormal : - M.IsAssociatedFunction.Trait Self "is_subnormal" is_subnormal. + M.IsAssociatedFunction.C Self "is_subnormal" is_subnormal. Admitted. Global Typeclasses Opaque is_subnormal. @@ -489,7 +551,7 @@ Module f16. end. Global Instance AssociatedFunction_is_normal : - M.IsAssociatedFunction.Trait Self "is_normal" is_normal. + M.IsAssociatedFunction.C Self "is_normal" is_normal. Admitted. Global Typeclasses Opaque is_normal. @@ -526,10 +588,14 @@ Module f16. [ BinOp.bit_and (M.read (| b |)) - (M.read (| M.get_constant "core::f16::MAN_MASK" |)); + (M.read (| + get_associated_constant (| Ty.path "f16", "MAN_MASK", Ty.path "u16" |) + |)); BinOp.bit_and (M.read (| b |)) - (M.read (| M.get_constant "core::f16::EXP_MASK" |)) + (M.read (| + get_associated_constant (| Ty.path "f16", "EXP_MASK", Ty.path "u16" |) + |)) ] |), [ @@ -592,8 +658,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_classify : - M.IsAssociatedFunction.Trait Self "classify" classify. + Global Instance AssociatedFunction_classify : M.IsAssociatedFunction.C Self "classify" classify. Admitted. Global Typeclasses Opaque classify. @@ -618,7 +683,7 @@ Module f16. end. Global Instance AssociatedFunction_is_sign_positive : - M.IsAssociatedFunction.Trait Self "is_sign_positive" is_sign_positive. + M.IsAssociatedFunction.C Self "is_sign_positive" is_sign_positive. Admitted. Global Typeclasses Opaque is_sign_positive. @@ -652,7 +717,7 @@ Module f16. end. Global Instance AssociatedFunction_is_sign_negative : - M.IsAssociatedFunction.Trait Self "is_sign_negative" is_sign_negative. + M.IsAssociatedFunction.C Self "is_sign_negative" is_sign_negative. Admitted. Global Typeclasses Opaque is_sign_negative. @@ -720,7 +785,15 @@ Module f16. [], [] |), - [ M.read (| M.get_constant "core::f16::INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f16", + "INFINITY", + Ty.path "f16" + |) + |) + ] |) |))) |) @@ -737,7 +810,11 @@ Module f16. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f16::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f16", "SIGN_MASK", Ty.path "u16" |) + |) + |)) |) in let~ next_bits : Ty.path "u16" := M.copy (| @@ -754,7 +831,11 @@ Module f16. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f16::TINY_BITS")); + get_associated_constant (| + Ty.path "f16", + "TINY_BITS", + Ty.path "u16" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -804,8 +885,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_next_up : - M.IsAssociatedFunction.Trait Self "next_up" next_up. + Global Instance AssociatedFunction_next_up : M.IsAssociatedFunction.C Self "next_up" next_up. Admitted. Global Typeclasses Opaque next_up. @@ -873,7 +953,15 @@ Module f16. [], [] |), - [ M.read (| M.get_constant "core::f16::NEG_INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f16", + "NEG_INFINITY", + Ty.path "f16" + |) + |) + ] |) |))) |) @@ -890,7 +978,11 @@ Module f16. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f16::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f16", "SIGN_MASK", Ty.path "u16" |) + |) + |)) |) in let~ next_bits : Ty.path "u16" := M.copy (| @@ -907,7 +999,11 @@ Module f16. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f16::NEG_TINY_BITS")); + get_associated_constant (| + Ty.path "f16", + "NEG_TINY_BITS", + Ty.path "u16" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -958,7 +1054,7 @@ Module f16. end. Global Instance AssociatedFunction_next_down : - M.IsAssociatedFunction.Trait Self "next_down" next_down. + M.IsAssociatedFunction.C Self "next_down" next_down. Admitted. Global Typeclasses Opaque next_down. @@ -976,7 +1072,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.Trait Self "recip" recip. + Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.C Self "recip" recip. Admitted. Global Typeclasses Opaque recip. @@ -994,13 +1090,13 @@ Module f16. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f16::to_degrees::PIS_IN_180" |) + M.read (| get_constant (| "core::f16::to_degrees::PIS_IN_180", Ty.path "f16" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_degrees : - M.IsAssociatedFunction.Trait Self "to_degrees" to_degrees. + M.IsAssociatedFunction.C Self "to_degrees" to_degrees. Admitted. Global Typeclasses Opaque to_degrees. @@ -1018,13 +1114,13 @@ Module f16. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f16::to_radians::RADS_PER_DEG" |) + M.read (| get_constant (| "core::f16::to_radians::RADS_PER_DEG", Ty.path "f16" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_radians : - M.IsAssociatedFunction.Trait Self "to_radians" to_radians. + M.IsAssociatedFunction.C Self "to_radians" to_radians. Admitted. Global Typeclasses Opaque to_radians. @@ -1047,7 +1143,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_max : M.IsAssociatedFunction.Trait Self "max" max. + Global Instance AssociatedFunction_max : M.IsAssociatedFunction.C Self "max" max. Admitted. Global Typeclasses Opaque max. @@ -1070,7 +1166,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_min : M.IsAssociatedFunction.Trait Self "min" min. + Global Instance AssociatedFunction_min : M.IsAssociatedFunction.C Self "min" min. Admitted. Global Typeclasses Opaque min. @@ -1195,8 +1291,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_maximum : - M.IsAssociatedFunction.Trait Self "maximum" maximum. + Global Instance AssociatedFunction_maximum : M.IsAssociatedFunction.C Self "maximum" maximum. Admitted. Global Typeclasses Opaque maximum. @@ -1322,8 +1417,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_minimum : - M.IsAssociatedFunction.Trait Self "minimum" minimum. + Global Instance AssociatedFunction_minimum : M.IsAssociatedFunction.C Self "minimum" minimum. Admitted. Global Typeclasses Opaque minimum. @@ -1396,12 +1490,19 @@ Module f16. LogicalOp.and (| BinOp.le (| M.read (| abs_a |), - M.read (| M.get_constant "core::f16::midpoint::HI" |) + M.read (| + get_constant (| "core::f16::midpoint::HI", Ty.path "f16" |) + |) |), ltac:(M.monadic (BinOp.le (| M.read (| abs_b |), - M.read (| M.get_constant "core::f16::midpoint::HI" |) + M.read (| + get_constant (| + "core::f16::midpoint::HI", + Ty.path "f16" + |) + |) |))) |) |)) in @@ -1426,7 +1527,12 @@ Module f16. (M.alloc (| BinOp.lt (| M.read (| abs_a |), - M.read (| M.get_constant "core::f16::midpoint::LO" |) + M.read (| + get_constant (| + "core::f16::midpoint::LO", + Ty.path "f16" + |) + |) |) |)) in let _ := @@ -1457,7 +1563,10 @@ Module f16. BinOp.lt (| M.read (| abs_b |), M.read (| - M.get_constant "core::f16::midpoint::LO" + get_constant (| + "core::f16::midpoint::LO", + Ty.path "f16" + |) |) |) |)) in @@ -1501,8 +1610,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -1538,7 +1646,7 @@ Module f16. end. Global Instance AssociatedFunction_to_int_unchecked : - M.IsAssociatedFunction.Trait Self "to_int_unchecked" to_int_unchecked. + M.IsAssociatedFunction.C Self "to_int_unchecked" to_int_unchecked. Admitted. Global Typeclasses Opaque to_int_unchecked. @@ -1565,8 +1673,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_bits : - M.IsAssociatedFunction.Trait Self "to_bits" to_bits. + Global Instance AssociatedFunction_to_bits : M.IsAssociatedFunction.C Self "to_bits" to_bits. Admitted. Global Typeclasses Opaque to_bits. @@ -1595,7 +1702,7 @@ Module f16. end. Global Instance AssociatedFunction_from_bits : - M.IsAssociatedFunction.Trait Self "from_bits" from_bits. + M.IsAssociatedFunction.C Self "from_bits" from_bits. Admitted. Global Typeclasses Opaque from_bits. @@ -1624,7 +1731,7 @@ Module f16. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -1653,7 +1760,7 @@ Module f16. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -1682,7 +1789,7 @@ Module f16. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -1711,7 +1818,7 @@ Module f16. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -1740,7 +1847,7 @@ Module f16. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -1769,7 +1876,7 @@ Module f16. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -1891,7 +1998,7 @@ Module f16. end. Global Instance AssociatedFunction_total_cmp : - M.IsAssociatedFunction.Trait Self "total_cmp" total_cmp. + M.IsAssociatedFunction.C Self "total_cmp" total_cmp. Admitted. Global Typeclasses Opaque total_cmp. @@ -1988,7 +2095,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.Trait Self "clamp" clamp. + Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.C Self "clamp" clamp. Admitted. Global Typeclasses Opaque clamp. @@ -2024,7 +2131,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -2055,7 +2162,7 @@ Module f16. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f16::NAN")); + get_associated_constant (| Ty.path "f16", "NAN", Ty.path "f16" |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -2071,7 +2178,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -2095,8 +2202,7 @@ Module f16. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_copysign : - M.IsAssociatedFunction.Trait Self "copysign" copysign. + Global Instance AssociatedFunction_copysign : M.IsAssociatedFunction.C Self "copysign" copysign. Admitted. Global Typeclasses Opaque copysign. End Impl_f16. diff --git a/CoqOfRust/core/num/f32.v b/CoqOfRust/core/num/f32.v index fefd5ee03..9f180ead3 100644 --- a/CoqOfRust/core/num/f32.v +++ b/CoqOfRust/core/num/f32.v @@ -2,231 +2,313 @@ Require Import CoqOfRust.CoqOfRust. Module f32. - Definition value_RADIX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::RADIX")). + Definition value_RADIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "RADIX", Ty.path "u32" |))). - Axiom Constant_value_RADIX : (M.get_constant "core::f32::RADIX") = value_RADIX. - Global Hint Rewrite Constant_value_RADIX : constant_rewrites. + Global Instance Instance_IsConstant_value_RADIX : M.IsFunction.C "core::f32::RADIX" value_RADIX. + Admitted. + Global Typeclasses Opaque value_RADIX. - Definition value_MANTISSA_DIGITS : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MANTISSA_DIGITS")). + Definition value_MANTISSA_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| Ty.path "f32", "MANTISSA_DIGITS", Ty.path "u32" |))). - Axiom Constant_value_MANTISSA_DIGITS : - (M.get_constant "core::f32::MANTISSA_DIGITS") = value_MANTISSA_DIGITS. - Global Hint Rewrite Constant_value_MANTISSA_DIGITS : constant_rewrites. + Global Instance Instance_IsConstant_value_MANTISSA_DIGITS : + M.IsFunction.C "core::f32::MANTISSA_DIGITS" value_MANTISSA_DIGITS. + Admitted. + Global Typeclasses Opaque value_MANTISSA_DIGITS. - Definition value_DIGITS : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::DIGITS")). + Definition value_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "DIGITS", Ty.path "u32" |))). - Axiom Constant_value_DIGITS : (M.get_constant "core::f32::DIGITS") = value_DIGITS. - Global Hint Rewrite Constant_value_DIGITS : constant_rewrites. + Global Instance Instance_IsConstant_value_DIGITS : + M.IsFunction.C "core::f32::DIGITS" value_DIGITS. + Admitted. + Global Typeclasses Opaque value_DIGITS. - Definition value_EPSILON : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::EPSILON")). + Definition value_EPSILON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "EPSILON", Ty.path "f32" |))). - Axiom Constant_value_EPSILON : (M.get_constant "core::f32::EPSILON") = value_EPSILON. - Global Hint Rewrite Constant_value_EPSILON : constant_rewrites. + Global Instance Instance_IsConstant_value_EPSILON : + M.IsFunction.C "core::f32::EPSILON" value_EPSILON. + Admitted. + Global Typeclasses Opaque value_EPSILON. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MIN", Ty.path "f32" |))). - Axiom Constant_value_MIN : (M.get_constant "core::f32::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::f32::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MIN_POSITIVE : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MIN_POSITIVE")). + Definition value_MIN_POSITIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MIN_POSITIVE", Ty.path "f32" |))). - Axiom Constant_value_MIN_POSITIVE : - (M.get_constant "core::f32::MIN_POSITIVE") = value_MIN_POSITIVE. - Global Hint Rewrite Constant_value_MIN_POSITIVE : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_POSITIVE : + M.IsFunction.C "core::f32::MIN_POSITIVE" value_MIN_POSITIVE. + Admitted. + Global Typeclasses Opaque value_MIN_POSITIVE. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MAX", Ty.path "f32" |))). - Axiom Constant_value_MAX : (M.get_constant "core::f32::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::f32::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. - Definition value_MIN_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MIN_EXP")). + Definition value_MIN_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MIN_EXP", Ty.path "i32" |))). - Axiom Constant_value_MIN_EXP : (M.get_constant "core::f32::MIN_EXP") = value_MIN_EXP. - Global Hint Rewrite Constant_value_MIN_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_EXP : + M.IsFunction.C "core::f32::MIN_EXP" value_MIN_EXP. + Admitted. + Global Typeclasses Opaque value_MIN_EXP. - Definition value_MAX_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MAX_EXP")). + Definition value_MAX_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MAX_EXP", Ty.path "i32" |))). - Axiom Constant_value_MAX_EXP : (M.get_constant "core::f32::MAX_EXP") = value_MAX_EXP. - Global Hint Rewrite Constant_value_MAX_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_EXP : + M.IsFunction.C "core::f32::MAX_EXP" value_MAX_EXP. + Admitted. + Global Typeclasses Opaque value_MAX_EXP. - Definition value_MIN_10_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MIN_10_EXP")). + Definition value_MIN_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MIN_10_EXP", Ty.path "i32" |))). - Axiom Constant_value_MIN_10_EXP : (M.get_constant "core::f32::MIN_10_EXP") = value_MIN_10_EXP. - Global Hint Rewrite Constant_value_MIN_10_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_10_EXP : + M.IsFunction.C "core::f32::MIN_10_EXP" value_MIN_10_EXP. + Admitted. + Global Typeclasses Opaque value_MIN_10_EXP. - Definition value_MAX_10_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::MAX_10_EXP")). + Definition value_MAX_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "MAX_10_EXP", Ty.path "i32" |))). - Axiom Constant_value_MAX_10_EXP : (M.get_constant "core::f32::MAX_10_EXP") = value_MAX_10_EXP. - Global Hint Rewrite Constant_value_MAX_10_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_10_EXP : + M.IsFunction.C "core::f32::MAX_10_EXP" value_MAX_10_EXP. + Admitted. + Global Typeclasses Opaque value_MAX_10_EXP. - Definition value_NAN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::NAN")). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "NAN", Ty.path "f32" |))). - Axiom Constant_value_NAN : (M.get_constant "core::f32::NAN") = value_NAN. - Global Hint Rewrite Constant_value_NAN : constant_rewrites. + Global Instance Instance_IsConstant_value_NAN : M.IsFunction.C "core::f32::NAN" value_NAN. + Admitted. + Global Typeclasses Opaque value_NAN. - Definition value_INFINITY : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::INFINITY")). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "INFINITY", Ty.path "f32" |))). - Axiom Constant_value_INFINITY : (M.get_constant "core::f32::INFINITY") = value_INFINITY. - Global Hint Rewrite Constant_value_INFINITY : constant_rewrites. + Global Instance Instance_IsConstant_value_INFINITY : + M.IsFunction.C "core::f32::INFINITY" value_INFINITY. + Admitted. + Global Typeclasses Opaque value_INFINITY. - Definition value_NEG_INFINITY : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f32::NEG_INFINITY")). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f32", "NEG_INFINITY", Ty.path "f32" |))). - Axiom Constant_value_NEG_INFINITY : - (M.get_constant "core::f32::NEG_INFINITY") = value_NEG_INFINITY. - Global Hint Rewrite Constant_value_NEG_INFINITY : constant_rewrites. + Global Instance Instance_IsConstant_value_NEG_INFINITY : + M.IsFunction.C "core::f32::NEG_INFINITY" value_NEG_INFINITY. + Admitted. + Global Typeclasses Opaque value_NEG_INFINITY. Module consts. - Definition value_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PI : (M.get_constant "core::f32::consts::PI") = value_PI. - Global Hint Rewrite Constant_value_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_PI : M.IsFunction.C "core::f32::consts::PI" value_PI. + Admitted. + Global Typeclasses Opaque value_PI. - Definition value_TAU : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_TAU (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_TAU : (M.get_constant "core::f32::consts::TAU") = value_TAU. - Global Hint Rewrite Constant_value_TAU : constant_rewrites. + Global Instance Instance_IsConstant_value_TAU : + M.IsFunction.C "core::f32::consts::TAU" value_TAU. + Admitted. + Global Typeclasses Opaque value_TAU. - Definition value_PHI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PHI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PHI : (M.get_constant "core::f32::consts::PHI") = value_PHI. - Global Hint Rewrite Constant_value_PHI : constant_rewrites. + Global Instance Instance_IsConstant_value_PHI : + M.IsFunction.C "core::f32::consts::PHI" value_PHI. + Admitted. + Global Typeclasses Opaque value_PHI. - Definition value_EGAMMA : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_EGAMMA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_EGAMMA : (M.get_constant "core::f32::consts::EGAMMA") = value_EGAMMA. - Global Hint Rewrite Constant_value_EGAMMA : constant_rewrites. + Global Instance Instance_IsConstant_value_EGAMMA : + M.IsFunction.C "core::f32::consts::EGAMMA" value_EGAMMA. + Admitted. + Global Typeclasses Opaque value_EGAMMA. - Definition value_FRAC_PI_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_2 : - (M.get_constant "core::f32::consts::FRAC_PI_2") = value_FRAC_PI_2. - Global Hint Rewrite Constant_value_FRAC_PI_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_2 : + M.IsFunction.C "core::f32::consts::FRAC_PI_2" value_FRAC_PI_2. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_2. - Definition value_FRAC_PI_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_3 : - (M.get_constant "core::f32::consts::FRAC_PI_3") = value_FRAC_PI_3. - Global Hint Rewrite Constant_value_FRAC_PI_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_3 : + M.IsFunction.C "core::f32::consts::FRAC_PI_3" value_FRAC_PI_3. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_3. - Definition value_FRAC_PI_4 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_4 : - (M.get_constant "core::f32::consts::FRAC_PI_4") = value_FRAC_PI_4. - Global Hint Rewrite Constant_value_FRAC_PI_4 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_4 : + M.IsFunction.C "core::f32::consts::FRAC_PI_4" value_FRAC_PI_4. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_4. - Definition value_FRAC_PI_6 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_6 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_6 : - (M.get_constant "core::f32::consts::FRAC_PI_6") = value_FRAC_PI_6. - Global Hint Rewrite Constant_value_FRAC_PI_6 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_6 : + M.IsFunction.C "core::f32::consts::FRAC_PI_6" value_FRAC_PI_6. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_6. - Definition value_FRAC_PI_8 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_8 : - (M.get_constant "core::f32::consts::FRAC_PI_8") = value_FRAC_PI_8. - Global Hint Rewrite Constant_value_FRAC_PI_8 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_8 : + M.IsFunction.C "core::f32::consts::FRAC_PI_8" value_FRAC_PI_8. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_8. - Definition value_FRAC_1_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_PI : - (M.get_constant "core::f32::consts::FRAC_1_PI") = value_FRAC_1_PI. - Global Hint Rewrite Constant_value_FRAC_1_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_PI : + M.IsFunction.C "core::f32::consts::FRAC_1_PI" value_FRAC_1_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_PI. - Definition value_FRAC_1_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_PI : - (M.get_constant "core::f32::consts::FRAC_1_SQRT_PI") = value_FRAC_1_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_PI : + M.IsFunction.C "core::f32::consts::FRAC_1_SQRT_PI" value_FRAC_1_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_PI. - Definition value_FRAC_1_SQRT_2PI : Value.t := - M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2PI : - (M.get_constant "core::f32::consts::FRAC_1_SQRT_2PI") = value_FRAC_1_SQRT_2PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2PI : + M.IsFunction.C "core::f32::consts::FRAC_1_SQRT_2PI" value_FRAC_1_SQRT_2PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2PI. - Definition value_FRAC_2_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_PI : - (M.get_constant "core::f32::consts::FRAC_2_PI") = value_FRAC_2_PI. - Global Hint Rewrite Constant_value_FRAC_2_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_PI : + M.IsFunction.C "core::f32::consts::FRAC_2_PI" value_FRAC_2_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_PI. - Definition value_FRAC_2_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_SQRT_PI : - (M.get_constant "core::f32::consts::FRAC_2_SQRT_PI") = value_FRAC_2_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_2_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_SQRT_PI : + M.IsFunction.C "core::f32::consts::FRAC_2_SQRT_PI" value_FRAC_2_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_SQRT_PI. - Definition value_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_2 : (M.get_constant "core::f32::consts::SQRT_2") = value_SQRT_2. - Global Hint Rewrite Constant_value_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_2 : + M.IsFunction.C "core::f32::consts::SQRT_2" value_SQRT_2. + Admitted. + Global Typeclasses Opaque value_SQRT_2. - Definition value_FRAC_1_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2 : - (M.get_constant "core::f32::consts::FRAC_1_SQRT_2") = value_FRAC_1_SQRT_2. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2 : + M.IsFunction.C "core::f32::consts::FRAC_1_SQRT_2" value_FRAC_1_SQRT_2. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2. - Definition value_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_3 : (M.get_constant "core::f32::consts::SQRT_3") = value_SQRT_3. - Global Hint Rewrite Constant_value_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_3 : + M.IsFunction.C "core::f32::consts::SQRT_3" value_SQRT_3. + Admitted. + Global Typeclasses Opaque value_SQRT_3. - Definition value_FRAC_1_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_3 : - (M.get_constant "core::f32::consts::FRAC_1_SQRT_3") = value_FRAC_1_SQRT_3. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_3 : + M.IsFunction.C "core::f32::consts::FRAC_1_SQRT_3" value_FRAC_1_SQRT_3. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_3. - Definition value_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_E : (M.get_constant "core::f32::consts::E") = value_E. - Global Hint Rewrite Constant_value_E : constant_rewrites. + Global Instance Instance_IsConstant_value_E : M.IsFunction.C "core::f32::consts::E" value_E. + Admitted. + Global Typeclasses Opaque value_E. - Definition value_LOG2_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_E : (M.get_constant "core::f32::consts::LOG2_E") = value_LOG2_E. - Global Hint Rewrite Constant_value_LOG2_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_E : + M.IsFunction.C "core::f32::consts::LOG2_E" value_LOG2_E. + Admitted. + Global Typeclasses Opaque value_LOG2_E. - Definition value_LOG2_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_10 : (M.get_constant "core::f32::consts::LOG2_10") = value_LOG2_10. - Global Hint Rewrite Constant_value_LOG2_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_10 : + M.IsFunction.C "core::f32::consts::LOG2_10" value_LOG2_10. + Admitted. + Global Typeclasses Opaque value_LOG2_10. - Definition value_LOG10_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_E : (M.get_constant "core::f32::consts::LOG10_E") = value_LOG10_E. - Global Hint Rewrite Constant_value_LOG10_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_E : + M.IsFunction.C "core::f32::consts::LOG10_E" value_LOG10_E. + Admitted. + Global Typeclasses Opaque value_LOG10_E. - Definition value_LOG10_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_2 : (M.get_constant "core::f32::consts::LOG10_2") = value_LOG10_2. - Global Hint Rewrite Constant_value_LOG10_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_2 : + M.IsFunction.C "core::f32::consts::LOG10_2" value_LOG10_2. + Admitted. + Global Typeclasses Opaque value_LOG10_2. - Definition value_LN_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_2 : (M.get_constant "core::f32::consts::LN_2") = value_LN_2. - Global Hint Rewrite Constant_value_LN_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_2 : + M.IsFunction.C "core::f32::consts::LN_2" value_LN_2. + Admitted. + Global Typeclasses Opaque value_LN_2. - Definition value_LN_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_10 : (M.get_constant "core::f32::consts::LN_10") = value_LN_10. - Global Hint Rewrite Constant_value_LN_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_10 : + M.IsFunction.C "core::f32::consts::LN_10" value_LN_10. + Admitted. + Global Typeclasses Opaque value_LN_10. End consts. Module Impl_f32. @@ -234,205 +316,202 @@ Module f32. (* pub const RADIX: u32 = 2; *) (* Ty.path "u32" *) - Definition value_RADIX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). + Definition value_RADIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). Global Instance AssociatedConstant_value_RADIX : - M.IsAssociatedConstant.Trait Self "value_RADIX" value_RADIX. + M.IsAssociatedFunction.C Self "RADIX" value_RADIX. Admitted. Global Typeclasses Opaque 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 IntegerKind.U32 24 |))). + Definition value_MANTISSA_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 24 |))). Global Instance AssociatedConstant_value_MANTISSA_DIGITS : - M.IsAssociatedConstant.Trait Self "value_MANTISSA_DIGITS" value_MANTISSA_DIGITS. + M.IsAssociatedFunction.C Self "MANTISSA_DIGITS" value_MANTISSA_DIGITS. Admitted. Global Typeclasses Opaque 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 IntegerKind.U32 6 |))). + Definition value_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 6 |))). Global Instance AssociatedConstant_value_DIGITS : - M.IsAssociatedConstant.Trait Self "value_DIGITS" value_DIGITS. + M.IsAssociatedFunction.C Self "DIGITS" value_DIGITS. Admitted. Global Typeclasses Opaque value_DIGITS. (* pub const EPSILON: f32 = 1.19209290e-07_f32; *) (* Ty.path "f32" *) - Definition value_EPSILON : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_EPSILON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_EPSILON : - M.IsAssociatedConstant.Trait Self "value_EPSILON" value_EPSILON. + M.IsAssociatedFunction.C Self "EPSILON" value_EPSILON. Admitted. Global Typeclasses Opaque value_EPSILON. (* pub const MIN: f32 = -3.40282347e+38_f32; *) (* Ty.path "f32" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MIN_POSITIVE: f32 = 1.17549435e-38_f32; *) (* Ty.path "f32" *) - Definition value_MIN_POSITIVE : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN_POSITIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_MIN_POSITIVE : - M.IsAssociatedConstant.Trait Self "value_MIN_POSITIVE" value_MIN_POSITIVE. + M.IsAssociatedFunction.C Self "MIN_POSITIVE" value_MIN_POSITIVE. Admitted. Global Typeclasses Opaque value_MIN_POSITIVE. (* pub const MAX: f32 = 3.40282347e+38_f32; *) (* Ty.path "f32" *) - Definition value_MAX : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const MIN_EXP: i32 = -125; *) (* Ty.path "i32" *) - Definition value_MIN_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-125) |))). + Definition value_MIN_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-125) |))). Global Instance AssociatedConstant_value_MIN_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_EXP" value_MIN_EXP. + M.IsAssociatedFunction.C Self "MIN_EXP" value_MIN_EXP. Admitted. Global Typeclasses Opaque 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 IntegerKind.I32 128 |))). + Definition value_MAX_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 128 |))). Global Instance AssociatedConstant_value_MAX_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_EXP" value_MAX_EXP. + M.IsAssociatedFunction.C Self "MAX_EXP" value_MAX_EXP. Admitted. Global Typeclasses Opaque value_MAX_EXP. (* 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 IntegerKind.I32 (-37) |))). + Definition value_MIN_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-37) |))). Global Instance AssociatedConstant_value_MIN_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_10_EXP" value_MIN_10_EXP. + M.IsAssociatedFunction.C Self "MIN_10_EXP" value_MIN_10_EXP. Admitted. Global Typeclasses Opaque value_MIN_10_EXP. (* 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 IntegerKind.I32 38 |))). + Definition value_MAX_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 38 |))). Global Instance AssociatedConstant_value_MAX_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_10_EXP" value_MAX_10_EXP. + M.IsAssociatedFunction.C Self "MAX_10_EXP" value_MAX_10_EXP. Admitted. Global Typeclasses Opaque value_MAX_10_EXP. (* pub const NAN: f32 = 0.0_f32 / 0.0_f32; *) (* Ty.path "f32" *) - Definition value_NAN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). - Global Instance AssociatedConstant_value_NAN : - M.IsAssociatedConstant.Trait Self "value_NAN" value_NAN. + Global Instance AssociatedConstant_value_NAN : M.IsAssociatedFunction.C Self "NAN" value_NAN. Admitted. Global Typeclasses Opaque value_NAN. (* pub const INFINITY: f32 = 1.0_f32 / 0.0_f32; *) (* Ty.path "f32" *) - Definition value_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_INFINITY : - M.IsAssociatedConstant.Trait Self "value_INFINITY" value_INFINITY. + M.IsAssociatedFunction.C Self "INFINITY" value_INFINITY. Admitted. Global Typeclasses Opaque value_INFINITY. (* pub const NEG_INFINITY: f32 = -1.0_f32 / 0.0_f32; *) (* Ty.path "f32" *) - Definition value_NEG_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_NEG_INFINITY : - M.IsAssociatedConstant.Trait Self "value_NEG_INFINITY" value_NEG_INFINITY. + M.IsAssociatedFunction.C Self "NEG_INFINITY" value_NEG_INFINITY. Admitted. Global Typeclasses Opaque value_NEG_INFINITY. (* const SIGN_MASK: u32 = 0x8000_0000; *) (* Ty.path "u32" *) - Definition value_SIGN_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2147483648 |))). + Definition value_SIGN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2147483648 |))). Global Instance AssociatedConstant_value_SIGN_MASK : - M.IsAssociatedConstant.Trait Self "value_SIGN_MASK" value_SIGN_MASK. + M.IsAssociatedFunction.C Self "SIGN_MASK" value_SIGN_MASK. Admitted. Global Typeclasses Opaque value_SIGN_MASK. (* const EXP_MASK: u32 = 0x7f80_0000; *) (* Ty.path "u32" *) - Definition value_EXP_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2139095040 |))). + Definition value_EXP_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2139095040 |))). Global Instance AssociatedConstant_value_EXP_MASK : - M.IsAssociatedConstant.Trait Self "value_EXP_MASK" value_EXP_MASK. + M.IsAssociatedFunction.C Self "EXP_MASK" value_EXP_MASK. Admitted. Global Typeclasses Opaque value_EXP_MASK. (* const MAN_MASK: u32 = 0x007f_ffff; *) (* Ty.path "u32" *) - Definition value_MAN_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 8388607 |))). + Definition value_MAN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 8388607 |))). Global Instance AssociatedConstant_value_MAN_MASK : - M.IsAssociatedConstant.Trait Self "value_MAN_MASK" value_MAN_MASK. + M.IsAssociatedFunction.C Self "MAN_MASK" value_MAN_MASK. Admitted. Global Typeclasses Opaque value_MAN_MASK. (* const TINY_BITS: u32 = 0x1; *) (* Ty.path "u32" *) - Definition value_TINY_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1 |))). + Definition value_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1 |))). Global Instance AssociatedConstant_value_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_TINY_BITS" value_TINY_BITS. + M.IsAssociatedFunction.C Self "TINY_BITS" value_TINY_BITS. Admitted. Global Typeclasses Opaque value_TINY_BITS. (* const NEG_TINY_BITS: u32 = Self::TINY_BITS | Self::SIGN_MASK; *) (* Ty.path "u32" *) - Definition value_NEG_TINY_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.bit_or - (M.read (| M.get_constant "core::f32::TINY_BITS" |)) - (M.read (| M.get_constant "core::f32::SIGN_MASK" |)) - |))). + Definition value_NEG_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.bit_or + (M.read (| get_associated_constant (| Ty.path "f32", "TINY_BITS", Ty.path "u32" |) |)) + (M.read (| get_associated_constant (| Ty.path "f32", "SIGN_MASK", Ty.path "u32" |) |)) + |))). Global Instance AssociatedConstant_value_NEG_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_NEG_TINY_BITS" value_NEG_TINY_BITS. + M.IsAssociatedFunction.C Self "NEG_TINY_BITS" value_NEG_TINY_BITS. Admitted. Global Typeclasses Opaque value_NEG_TINY_BITS. @@ -450,7 +529,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.Trait Self "is_nan" is_nan. + Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.C Self "is_nan" is_nan. Admitted. Global Typeclasses Opaque is_nan. @@ -468,16 +547,21 @@ Module f32. ltac:(M.monadic (let self := M.alloc (| self |) in 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.read (| get_associated_constant (| Ty.path "f32", "INFINITY", Ty.path "f32" |) |) + |)) + (BinOp.eq (| + M.read (| self |), + M.read (| + get_associated_constant (| Ty.path "f32", "NEG_INFINITY", Ty.path "f32" |) + |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_infinite : - M.IsAssociatedFunction.Trait Self "is_infinite" is_infinite. + M.IsAssociatedFunction.C Self "is_infinite" is_infinite. Admitted. Global Typeclasses Opaque is_infinite. @@ -499,13 +583,13 @@ Module f32. M.get_associated_function (| Ty.path "f32", "abs", [], [] |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::f32::INFINITY" |) + M.read (| get_associated_constant (| Ty.path "f32", "INFINITY", Ty.path "f32" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_finite : - M.IsAssociatedFunction.Trait Self "is_finite" is_finite. + M.IsAssociatedFunction.C Self "is_finite" is_finite. Admitted. Global Typeclasses Opaque is_finite. @@ -542,7 +626,7 @@ Module f32. end. Global Instance AssociatedFunction_is_subnormal : - M.IsAssociatedFunction.Trait Self "is_subnormal" is_subnormal. + M.IsAssociatedFunction.C Self "is_subnormal" is_subnormal. Admitted. Global Typeclasses Opaque is_subnormal. @@ -579,7 +663,7 @@ Module f32. end. Global Instance AssociatedFunction_is_normal : - M.IsAssociatedFunction.Trait Self "is_normal" is_normal. + M.IsAssociatedFunction.C Self "is_normal" is_normal. Admitted. Global Typeclasses Opaque is_normal. @@ -621,10 +705,14 @@ Module f32. [ BinOp.bit_and (M.read (| b |)) - (M.read (| M.get_constant "core::f32::MAN_MASK" |)); + (M.read (| + get_associated_constant (| Ty.path "f32", "MAN_MASK", Ty.path "u32" |) + |)); BinOp.bit_and (M.read (| b |)) - (M.read (| M.get_constant "core::f32::EXP_MASK" |)) + (M.read (| + get_associated_constant (| Ty.path "f32", "EXP_MASK", Ty.path "u32" |) + |)) ] |), [ @@ -687,8 +775,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_classify : - M.IsAssociatedFunction.Trait Self "classify" classify. + Global Instance AssociatedFunction_classify : M.IsAssociatedFunction.C Self "classify" classify. Admitted. Global Typeclasses Opaque classify. @@ -713,7 +800,7 @@ Module f32. end. Global Instance AssociatedFunction_is_sign_positive : - M.IsAssociatedFunction.Trait Self "is_sign_positive" is_sign_positive. + M.IsAssociatedFunction.C Self "is_sign_positive" is_sign_positive. Admitted. Global Typeclasses Opaque is_sign_positive. @@ -748,7 +835,7 @@ Module f32. end. Global Instance AssociatedFunction_is_sign_negative : - M.IsAssociatedFunction.Trait Self "is_sign_negative" is_sign_negative. + M.IsAssociatedFunction.C Self "is_sign_negative" is_sign_negative. Admitted. Global Typeclasses Opaque is_sign_negative. @@ -816,7 +903,15 @@ Module f32. [], [] |), - [ M.read (| M.get_constant "core::f32::INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f32", + "INFINITY", + Ty.path "f32" + |) + |) + ] |) |))) |) @@ -833,7 +928,11 @@ Module f32. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f32::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f32", "SIGN_MASK", Ty.path "u32" |) + |) + |)) |) in let~ next_bits : Ty.path "u32" := M.copy (| @@ -850,7 +949,11 @@ Module f32. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f32::TINY_BITS")); + get_associated_constant (| + Ty.path "f32", + "TINY_BITS", + Ty.path "u32" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -900,8 +1003,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_next_up : - M.IsAssociatedFunction.Trait Self "next_up" next_up. + Global Instance AssociatedFunction_next_up : M.IsAssociatedFunction.C Self "next_up" next_up. Admitted. Global Typeclasses Opaque next_up. @@ -969,7 +1071,15 @@ Module f32. [], [] |), - [ M.read (| M.get_constant "core::f32::NEG_INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f32", + "NEG_INFINITY", + Ty.path "f32" + |) + |) + ] |) |))) |) @@ -986,7 +1096,11 @@ Module f32. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f32::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f32", "SIGN_MASK", Ty.path "u32" |) + |) + |)) |) in let~ next_bits : Ty.path "u32" := M.copy (| @@ -1003,7 +1117,11 @@ Module f32. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f32::NEG_TINY_BITS")); + get_associated_constant (| + Ty.path "f32", + "NEG_TINY_BITS", + Ty.path "u32" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -1054,7 +1172,7 @@ Module f32. end. Global Instance AssociatedFunction_next_down : - M.IsAssociatedFunction.Trait Self "next_down" next_down. + M.IsAssociatedFunction.C Self "next_down" next_down. Admitted. Global Typeclasses Opaque next_down. @@ -1072,7 +1190,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.Trait Self "recip" recip. + Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.C Self "recip" recip. Admitted. Global Typeclasses Opaque recip. @@ -1090,13 +1208,13 @@ Module f32. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f32::to_degrees::PIS_IN_180" |) + M.read (| get_constant (| "core::f32::to_degrees::PIS_IN_180", Ty.path "f32" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_degrees : - M.IsAssociatedFunction.Trait Self "to_degrees" to_degrees. + M.IsAssociatedFunction.C Self "to_degrees" to_degrees. Admitted. Global Typeclasses Opaque to_degrees. @@ -1113,13 +1231,13 @@ Module f32. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f32::to_radians::RADS_PER_DEG" |) + M.read (| get_constant (| "core::f32::to_radians::RADS_PER_DEG", Ty.path "f32" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_radians : - M.IsAssociatedFunction.Trait Self "to_radians" to_radians. + M.IsAssociatedFunction.C Self "to_radians" to_radians. Admitted. Global Typeclasses Opaque to_radians. @@ -1142,7 +1260,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_max : M.IsAssociatedFunction.Trait Self "max" max. + Global Instance AssociatedFunction_max : M.IsAssociatedFunction.C Self "max" max. Admitted. Global Typeclasses Opaque max. @@ -1165,7 +1283,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_min : M.IsAssociatedFunction.Trait Self "min" min. + Global Instance AssociatedFunction_min : M.IsAssociatedFunction.C Self "min" min. Admitted. Global Typeclasses Opaque min. @@ -1290,8 +1408,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_maximum : - M.IsAssociatedFunction.Trait Self "maximum" maximum. + Global Instance AssociatedFunction_maximum : M.IsAssociatedFunction.C Self "maximum" maximum. Admitted. Global Typeclasses Opaque maximum. @@ -1417,8 +1534,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_minimum : - M.IsAssociatedFunction.Trait Self "minimum" minimum. + Global Instance AssociatedFunction_minimum : M.IsAssociatedFunction.C Self "minimum" minimum. Admitted. Global Typeclasses Opaque minimum. @@ -1481,8 +1597,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -1518,7 +1633,7 @@ Module f32. end. Global Instance AssociatedFunction_to_int_unchecked : - M.IsAssociatedFunction.Trait Self "to_int_unchecked" to_int_unchecked. + M.IsAssociatedFunction.C Self "to_int_unchecked" to_int_unchecked. Admitted. Global Typeclasses Opaque to_int_unchecked. @@ -1545,8 +1660,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_bits : - M.IsAssociatedFunction.Trait Self "to_bits" to_bits. + Global Instance AssociatedFunction_to_bits : M.IsAssociatedFunction.C Self "to_bits" to_bits. Admitted. Global Typeclasses Opaque to_bits. @@ -1575,7 +1689,7 @@ Module f32. end. Global Instance AssociatedFunction_from_bits : - M.IsAssociatedFunction.Trait Self "from_bits" from_bits. + M.IsAssociatedFunction.C Self "from_bits" from_bits. Admitted. Global Typeclasses Opaque from_bits. @@ -1604,7 +1718,7 @@ Module f32. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -1633,7 +1747,7 @@ Module f32. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -1662,7 +1776,7 @@ Module f32. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -1691,7 +1805,7 @@ Module f32. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -1720,7 +1834,7 @@ Module f32. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -1749,7 +1863,7 @@ Module f32. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -1871,7 +1985,7 @@ Module f32. end. Global Instance AssociatedFunction_total_cmp : - M.IsAssociatedFunction.Trait Self "total_cmp" total_cmp. + M.IsAssociatedFunction.C Self "total_cmp" total_cmp. Admitted. Global Typeclasses Opaque total_cmp. @@ -1968,7 +2082,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.Trait Self "clamp" clamp. + Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.C Self "clamp" clamp. Admitted. Global Typeclasses Opaque clamp. @@ -1991,7 +2105,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -2022,7 +2136,7 @@ Module f32. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f32::NAN")); + get_associated_constant (| Ty.path "f32", "NAN", Ty.path "f32" |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -2038,7 +2152,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -2062,8 +2176,7 @@ Module f32. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_copysign : - M.IsAssociatedFunction.Trait Self "copysign" copysign. + Global Instance AssociatedFunction_copysign : M.IsAssociatedFunction.C Self "copysign" copysign. Admitted. Global Typeclasses Opaque copysign. End Impl_f32. diff --git a/CoqOfRust/core/num/f64.v b/CoqOfRust/core/num/f64.v index a88eb19bb..3b364572a 100644 --- a/CoqOfRust/core/num/f64.v +++ b/CoqOfRust/core/num/f64.v @@ -2,231 +2,313 @@ Require Import CoqOfRust.CoqOfRust. Module f64. - Definition value_RADIX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::RADIX")). + Definition value_RADIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "RADIX", Ty.path "u32" |))). - Axiom Constant_value_RADIX : (M.get_constant "core::f64::RADIX") = value_RADIX. - Global Hint Rewrite Constant_value_RADIX : constant_rewrites. + Global Instance Instance_IsConstant_value_RADIX : M.IsFunction.C "core::f64::RADIX" value_RADIX. + Admitted. + Global Typeclasses Opaque value_RADIX. - Definition value_MANTISSA_DIGITS : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MANTISSA_DIGITS")). + Definition value_MANTISSA_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| Ty.path "f64", "MANTISSA_DIGITS", Ty.path "u32" |))). - Axiom Constant_value_MANTISSA_DIGITS : - (M.get_constant "core::f64::MANTISSA_DIGITS") = value_MANTISSA_DIGITS. - Global Hint Rewrite Constant_value_MANTISSA_DIGITS : constant_rewrites. + Global Instance Instance_IsConstant_value_MANTISSA_DIGITS : + M.IsFunction.C "core::f64::MANTISSA_DIGITS" value_MANTISSA_DIGITS. + Admitted. + Global Typeclasses Opaque value_MANTISSA_DIGITS. - Definition value_DIGITS : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::DIGITS")). + Definition value_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "DIGITS", Ty.path "u32" |))). - Axiom Constant_value_DIGITS : (M.get_constant "core::f64::DIGITS") = value_DIGITS. - Global Hint Rewrite Constant_value_DIGITS : constant_rewrites. + Global Instance Instance_IsConstant_value_DIGITS : + M.IsFunction.C "core::f64::DIGITS" value_DIGITS. + Admitted. + Global Typeclasses Opaque value_DIGITS. - Definition value_EPSILON : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::EPSILON")). + Definition value_EPSILON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "EPSILON", Ty.path "f64" |))). - Axiom Constant_value_EPSILON : (M.get_constant "core::f64::EPSILON") = value_EPSILON. - Global Hint Rewrite Constant_value_EPSILON : constant_rewrites. + Global Instance Instance_IsConstant_value_EPSILON : + M.IsFunction.C "core::f64::EPSILON" value_EPSILON. + Admitted. + Global Typeclasses Opaque value_EPSILON. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MIN", Ty.path "f64" |))). - Axiom Constant_value_MIN : (M.get_constant "core::f64::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::f64::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MIN_POSITIVE : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MIN_POSITIVE")). + Definition value_MIN_POSITIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MIN_POSITIVE", Ty.path "f64" |))). - Axiom Constant_value_MIN_POSITIVE : - (M.get_constant "core::f64::MIN_POSITIVE") = value_MIN_POSITIVE. - Global Hint Rewrite Constant_value_MIN_POSITIVE : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_POSITIVE : + M.IsFunction.C "core::f64::MIN_POSITIVE" value_MIN_POSITIVE. + Admitted. + Global Typeclasses Opaque value_MIN_POSITIVE. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MAX", Ty.path "f64" |))). - Axiom Constant_value_MAX : (M.get_constant "core::f64::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::f64::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. - Definition value_MIN_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MIN_EXP")). + Definition value_MIN_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MIN_EXP", Ty.path "i32" |))). - Axiom Constant_value_MIN_EXP : (M.get_constant "core::f64::MIN_EXP") = value_MIN_EXP. - Global Hint Rewrite Constant_value_MIN_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_EXP : + M.IsFunction.C "core::f64::MIN_EXP" value_MIN_EXP. + Admitted. + Global Typeclasses Opaque value_MIN_EXP. - Definition value_MAX_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MAX_EXP")). + Definition value_MAX_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MAX_EXP", Ty.path "i32" |))). - Axiom Constant_value_MAX_EXP : (M.get_constant "core::f64::MAX_EXP") = value_MAX_EXP. - Global Hint Rewrite Constant_value_MAX_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_EXP : + M.IsFunction.C "core::f64::MAX_EXP" value_MAX_EXP. + Admitted. + Global Typeclasses Opaque value_MAX_EXP. - Definition value_MIN_10_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MIN_10_EXP")). + Definition value_MIN_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MIN_10_EXP", Ty.path "i32" |))). - Axiom Constant_value_MIN_10_EXP : (M.get_constant "core::f64::MIN_10_EXP") = value_MIN_10_EXP. - Global Hint Rewrite Constant_value_MIN_10_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_10_EXP : + M.IsFunction.C "core::f64::MIN_10_EXP" value_MIN_10_EXP. + Admitted. + Global Typeclasses Opaque value_MIN_10_EXP. - Definition value_MAX_10_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::MAX_10_EXP")). + Definition value_MAX_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "MAX_10_EXP", Ty.path "i32" |))). - Axiom Constant_value_MAX_10_EXP : (M.get_constant "core::f64::MAX_10_EXP") = value_MAX_10_EXP. - Global Hint Rewrite Constant_value_MAX_10_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_10_EXP : + M.IsFunction.C "core::f64::MAX_10_EXP" value_MAX_10_EXP. + Admitted. + Global Typeclasses Opaque value_MAX_10_EXP. - Definition value_NAN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::NAN")). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "NAN", Ty.path "f64" |))). - Axiom Constant_value_NAN : (M.get_constant "core::f64::NAN") = value_NAN. - Global Hint Rewrite Constant_value_NAN : constant_rewrites. + Global Instance Instance_IsConstant_value_NAN : M.IsFunction.C "core::f64::NAN" value_NAN. + Admitted. + Global Typeclasses Opaque value_NAN. - Definition value_INFINITY : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::INFINITY")). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "INFINITY", Ty.path "f64" |))). - Axiom Constant_value_INFINITY : (M.get_constant "core::f64::INFINITY") = value_INFINITY. - Global Hint Rewrite Constant_value_INFINITY : constant_rewrites. + Global Instance Instance_IsConstant_value_INFINITY : + M.IsFunction.C "core::f64::INFINITY" value_INFINITY. + Admitted. + Global Typeclasses Opaque value_INFINITY. - Definition value_NEG_INFINITY : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::f64::NEG_INFINITY")). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "f64", "NEG_INFINITY", Ty.path "f64" |))). - Axiom Constant_value_NEG_INFINITY : - (M.get_constant "core::f64::NEG_INFINITY") = value_NEG_INFINITY. - Global Hint Rewrite Constant_value_NEG_INFINITY : constant_rewrites. + Global Instance Instance_IsConstant_value_NEG_INFINITY : + M.IsFunction.C "core::f64::NEG_INFINITY" value_NEG_INFINITY. + Admitted. + Global Typeclasses Opaque value_NEG_INFINITY. Module consts. - Definition value_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PI : (M.get_constant "core::f64::consts::PI") = value_PI. - Global Hint Rewrite Constant_value_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_PI : M.IsFunction.C "core::f64::consts::PI" value_PI. + Admitted. + Global Typeclasses Opaque value_PI. - Definition value_TAU : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_TAU (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_TAU : (M.get_constant "core::f64::consts::TAU") = value_TAU. - Global Hint Rewrite Constant_value_TAU : constant_rewrites. + Global Instance Instance_IsConstant_value_TAU : + M.IsFunction.C "core::f64::consts::TAU" value_TAU. + Admitted. + Global Typeclasses Opaque value_TAU. - Definition value_PHI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_PHI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_PHI : (M.get_constant "core::f64::consts::PHI") = value_PHI. - Global Hint Rewrite Constant_value_PHI : constant_rewrites. + Global Instance Instance_IsConstant_value_PHI : + M.IsFunction.C "core::f64::consts::PHI" value_PHI. + Admitted. + Global Typeclasses Opaque value_PHI. - Definition value_EGAMMA : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_EGAMMA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_EGAMMA : (M.get_constant "core::f64::consts::EGAMMA") = value_EGAMMA. - Global Hint Rewrite Constant_value_EGAMMA : constant_rewrites. + Global Instance Instance_IsConstant_value_EGAMMA : + M.IsFunction.C "core::f64::consts::EGAMMA" value_EGAMMA. + Admitted. + Global Typeclasses Opaque value_EGAMMA. - Definition value_FRAC_PI_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_2 : - (M.get_constant "core::f64::consts::FRAC_PI_2") = value_FRAC_PI_2. - Global Hint Rewrite Constant_value_FRAC_PI_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_2 : + M.IsFunction.C "core::f64::consts::FRAC_PI_2" value_FRAC_PI_2. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_2. - Definition value_FRAC_PI_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_3 : - (M.get_constant "core::f64::consts::FRAC_PI_3") = value_FRAC_PI_3. - Global Hint Rewrite Constant_value_FRAC_PI_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_3 : + M.IsFunction.C "core::f64::consts::FRAC_PI_3" value_FRAC_PI_3. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_3. - Definition value_FRAC_PI_4 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_4 : - (M.get_constant "core::f64::consts::FRAC_PI_4") = value_FRAC_PI_4. - Global Hint Rewrite Constant_value_FRAC_PI_4 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_4 : + M.IsFunction.C "core::f64::consts::FRAC_PI_4" value_FRAC_PI_4. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_4. - Definition value_FRAC_PI_6 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_6 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_6 : - (M.get_constant "core::f64::consts::FRAC_PI_6") = value_FRAC_PI_6. - Global Hint Rewrite Constant_value_FRAC_PI_6 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_6 : + M.IsFunction.C "core::f64::consts::FRAC_PI_6" value_FRAC_PI_6. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_6. - Definition value_FRAC_PI_8 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_PI_8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_PI_8 : - (M.get_constant "core::f64::consts::FRAC_PI_8") = value_FRAC_PI_8. - Global Hint Rewrite Constant_value_FRAC_PI_8 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_PI_8 : + M.IsFunction.C "core::f64::consts::FRAC_PI_8" value_FRAC_PI_8. + Admitted. + Global Typeclasses Opaque value_FRAC_PI_8. - Definition value_FRAC_1_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_PI : - (M.get_constant "core::f64::consts::FRAC_1_PI") = value_FRAC_1_PI. - Global Hint Rewrite Constant_value_FRAC_1_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_PI : + M.IsFunction.C "core::f64::consts::FRAC_1_PI" value_FRAC_1_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_PI. - Definition value_FRAC_1_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_PI : - (M.get_constant "core::f64::consts::FRAC_1_SQRT_PI") = value_FRAC_1_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_PI : + M.IsFunction.C "core::f64::consts::FRAC_1_SQRT_PI" value_FRAC_1_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_PI. - Definition value_FRAC_1_SQRT_2PI : Value.t := - M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2PI : - (M.get_constant "core::f64::consts::FRAC_1_SQRT_2PI") = value_FRAC_1_SQRT_2PI. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2PI : + M.IsFunction.C "core::f64::consts::FRAC_1_SQRT_2PI" value_FRAC_1_SQRT_2PI. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2PI. - Definition value_FRAC_2_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_PI : - (M.get_constant "core::f64::consts::FRAC_2_PI") = value_FRAC_2_PI. - Global Hint Rewrite Constant_value_FRAC_2_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_PI : + M.IsFunction.C "core::f64::consts::FRAC_2_PI" value_FRAC_2_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_PI. - Definition value_FRAC_2_SQRT_PI : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_2_SQRT_PI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_2_SQRT_PI : - (M.get_constant "core::f64::consts::FRAC_2_SQRT_PI") = value_FRAC_2_SQRT_PI. - Global Hint Rewrite Constant_value_FRAC_2_SQRT_PI : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_2_SQRT_PI : + M.IsFunction.C "core::f64::consts::FRAC_2_SQRT_PI" value_FRAC_2_SQRT_PI. + Admitted. + Global Typeclasses Opaque value_FRAC_2_SQRT_PI. - Definition value_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_2 : (M.get_constant "core::f64::consts::SQRT_2") = value_SQRT_2. - Global Hint Rewrite Constant_value_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_2 : + M.IsFunction.C "core::f64::consts::SQRT_2" value_SQRT_2. + Admitted. + Global Typeclasses Opaque value_SQRT_2. - Definition value_FRAC_1_SQRT_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_2 : - (M.get_constant "core::f64::consts::FRAC_1_SQRT_2") = value_FRAC_1_SQRT_2. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_2 : + M.IsFunction.C "core::f64::consts::FRAC_1_SQRT_2" value_FRAC_1_SQRT_2. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_2. - Definition value_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_SQRT_3 : (M.get_constant "core::f64::consts::SQRT_3") = value_SQRT_3. - Global Hint Rewrite Constant_value_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_SQRT_3 : + M.IsFunction.C "core::f64::consts::SQRT_3" value_SQRT_3. + Admitted. + Global Typeclasses Opaque value_SQRT_3. - Definition value_FRAC_1_SQRT_3 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_FRAC_1_SQRT_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_FRAC_1_SQRT_3 : - (M.get_constant "core::f64::consts::FRAC_1_SQRT_3") = value_FRAC_1_SQRT_3. - Global Hint Rewrite Constant_value_FRAC_1_SQRT_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_FRAC_1_SQRT_3 : + M.IsFunction.C "core::f64::consts::FRAC_1_SQRT_3" value_FRAC_1_SQRT_3. + Admitted. + Global Typeclasses Opaque value_FRAC_1_SQRT_3. - Definition value_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_E : (M.get_constant "core::f64::consts::E") = value_E. - Global Hint Rewrite Constant_value_E : constant_rewrites. + Global Instance Instance_IsConstant_value_E : M.IsFunction.C "core::f64::consts::E" value_E. + Admitted. + Global Typeclasses Opaque value_E. - Definition value_LOG2_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_10 : (M.get_constant "core::f64::consts::LOG2_10") = value_LOG2_10. - Global Hint Rewrite Constant_value_LOG2_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_10 : + M.IsFunction.C "core::f64::consts::LOG2_10" value_LOG2_10. + Admitted. + Global Typeclasses Opaque value_LOG2_10. - Definition value_LOG2_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG2_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG2_E : (M.get_constant "core::f64::consts::LOG2_E") = value_LOG2_E. - Global Hint Rewrite Constant_value_LOG2_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG2_E : + M.IsFunction.C "core::f64::consts::LOG2_E" value_LOG2_E. + Admitted. + Global Typeclasses Opaque value_LOG2_E. - Definition value_LOG10_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_2 : (M.get_constant "core::f64::consts::LOG10_2") = value_LOG10_2. - Global Hint Rewrite Constant_value_LOG10_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_2 : + M.IsFunction.C "core::f64::consts::LOG10_2" value_LOG10_2. + Admitted. + Global Typeclasses Opaque value_LOG10_2. - Definition value_LOG10_E : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LOG10_E (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LOG10_E : (M.get_constant "core::f64::consts::LOG10_E") = value_LOG10_E. - Global Hint Rewrite Constant_value_LOG10_E : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG10_E : + M.IsFunction.C "core::f64::consts::LOG10_E" value_LOG10_E. + Admitted. + Global Typeclasses Opaque value_LOG10_E. - Definition value_LN_2 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_2 : (M.get_constant "core::f64::consts::LN_2") = value_LN_2. - Global Hint Rewrite Constant_value_LN_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_2 : + M.IsFunction.C "core::f64::consts::LN_2" value_LN_2. + Admitted. + Global Typeclasses Opaque value_LN_2. - Definition value_LN_10 : Value.t := M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_LN_10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_LN_10 : (M.get_constant "core::f64::consts::LN_10") = value_LN_10. - Global Hint Rewrite Constant_value_LN_10 : constant_rewrites. + Global Instance Instance_IsConstant_value_LN_10 : + M.IsFunction.C "core::f64::consts::LN_10" value_LN_10. + Admitted. + Global Typeclasses Opaque value_LN_10. End consts. Module Impl_f64. @@ -234,205 +316,202 @@ Module f64. (* pub const RADIX: u32 = 2; *) (* Ty.path "u32" *) - Definition value_RADIX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). + Definition value_RADIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). Global Instance AssociatedConstant_value_RADIX : - M.IsAssociatedConstant.Trait Self "value_RADIX" value_RADIX. + M.IsAssociatedFunction.C Self "RADIX" value_RADIX. Admitted. Global Typeclasses Opaque 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 IntegerKind.U32 53 |))). + Definition value_MANTISSA_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 53 |))). Global Instance AssociatedConstant_value_MANTISSA_DIGITS : - M.IsAssociatedConstant.Trait Self "value_MANTISSA_DIGITS" value_MANTISSA_DIGITS. + M.IsAssociatedFunction.C Self "MANTISSA_DIGITS" value_MANTISSA_DIGITS. Admitted. Global Typeclasses Opaque 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 IntegerKind.U32 15 |))). + Definition value_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 15 |))). Global Instance AssociatedConstant_value_DIGITS : - M.IsAssociatedConstant.Trait Self "value_DIGITS" value_DIGITS. + M.IsAssociatedFunction.C Self "DIGITS" value_DIGITS. Admitted. Global Typeclasses Opaque value_DIGITS. (* pub const EPSILON: f64 = 2.2204460492503131e-16_f64; *) (* Ty.path "f64" *) - Definition value_EPSILON : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_EPSILON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_EPSILON : - M.IsAssociatedConstant.Trait Self "value_EPSILON" value_EPSILON. + M.IsAssociatedFunction.C Self "EPSILON" value_EPSILON. Admitted. Global Typeclasses Opaque value_EPSILON. (* pub const MIN: f64 = -1.7976931348623157e+308_f64; *) (* Ty.path "f64" *) - Definition value_MIN : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MIN_POSITIVE: f64 = 2.2250738585072014e-308_f64; *) (* Ty.path "f64" *) - Definition value_MIN_POSITIVE : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MIN_POSITIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). Global Instance AssociatedConstant_value_MIN_POSITIVE : - M.IsAssociatedConstant.Trait Self "value_MIN_POSITIVE" value_MIN_POSITIVE. + M.IsAssociatedFunction.C Self "MIN_POSITIVE" value_MIN_POSITIVE. Admitted. Global Typeclasses Opaque value_MIN_POSITIVE. (* pub const MAX: f64 = 1.7976931348623157e+308_f64; *) (* Ty.path "f64" *) - Definition value_MAX : Value.t := M.run ltac:(M.monadic UnsupportedLiteral). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic UnsupportedLiteral). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const MIN_EXP: i32 = -1021; *) (* Ty.path "i32" *) - Definition value_MIN_EXP : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-1021) |))). + Definition value_MIN_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-1021) |))). Global Instance AssociatedConstant_value_MIN_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_EXP" value_MIN_EXP. + M.IsAssociatedFunction.C Self "MIN_EXP" value_MIN_EXP. Admitted. Global Typeclasses Opaque 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 IntegerKind.I32 1024 |))). + Definition value_MAX_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 1024 |))). Global Instance AssociatedConstant_value_MAX_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_EXP" value_MAX_EXP. + M.IsAssociatedFunction.C Self "MAX_EXP" value_MAX_EXP. Admitted. Global Typeclasses Opaque value_MAX_EXP. (* 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 IntegerKind.I32 (-307) |))). + Definition value_MIN_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 (-307) |))). Global Instance AssociatedConstant_value_MIN_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MIN_10_EXP" value_MIN_10_EXP. + M.IsAssociatedFunction.C Self "MIN_10_EXP" value_MIN_10_EXP. Admitted. Global Typeclasses Opaque value_MIN_10_EXP. (* 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 IntegerKind.I32 308 |))). + Definition value_MAX_10_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 308 |))). Global Instance AssociatedConstant_value_MAX_10_EXP : - M.IsAssociatedConstant.Trait Self "value_MAX_10_EXP" value_MAX_10_EXP. + M.IsAssociatedFunction.C Self "MAX_10_EXP" value_MAX_10_EXP. Admitted. Global Typeclasses Opaque value_MAX_10_EXP. (* pub const NAN: f64 = 0.0_f64 / 0.0_f64; *) (* Ty.path "f64" *) - Definition value_NAN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NAN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). - Global Instance AssociatedConstant_value_NAN : - M.IsAssociatedConstant.Trait Self "value_NAN" value_NAN. + Global Instance AssociatedConstant_value_NAN : M.IsAssociatedFunction.C Self "NAN" value_NAN. Admitted. Global Typeclasses Opaque value_NAN. (* pub const INFINITY: f64 = 1.0_f64 / 0.0_f64; *) (* Ty.path "f64" *) - Definition value_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_INFINITY : - M.IsAssociatedConstant.Trait Self "value_INFINITY" value_INFINITY. + M.IsAssociatedFunction.C Self "INFINITY" value_INFINITY. Admitted. Global Typeclasses Opaque value_INFINITY. (* pub const NEG_INFINITY: f64 = -1.0_f64 / 0.0_f64; *) (* Ty.path "f64" *) - Definition value_NEG_INFINITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) - |))). + Definition value_NEG_INFINITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), M.read (| UnsupportedLiteral |) |) + |))). Global Instance AssociatedConstant_value_NEG_INFINITY : - M.IsAssociatedConstant.Trait Self "value_NEG_INFINITY" value_NEG_INFINITY. + M.IsAssociatedFunction.C Self "NEG_INFINITY" value_NEG_INFINITY. Admitted. Global Typeclasses Opaque value_NEG_INFINITY. (* const SIGN_MASK: u64 = 0x8000_0000_0000_0000; *) (* Ty.path "u64" *) - Definition value_SIGN_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9223372036854775808 |))). + Definition value_SIGN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9223372036854775808 |))). Global Instance AssociatedConstant_value_SIGN_MASK : - M.IsAssociatedConstant.Trait Self "value_SIGN_MASK" value_SIGN_MASK. + M.IsAssociatedFunction.C Self "SIGN_MASK" value_SIGN_MASK. Admitted. Global Typeclasses Opaque value_SIGN_MASK. (* const EXP_MASK: u64 = 0x7ff0_0000_0000_0000; *) (* Ty.path "u64" *) - Definition value_EXP_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9218868437227405312 |))). + Definition value_EXP_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9218868437227405312 |))). Global Instance AssociatedConstant_value_EXP_MASK : - M.IsAssociatedConstant.Trait Self "value_EXP_MASK" value_EXP_MASK. + M.IsAssociatedFunction.C Self "EXP_MASK" value_EXP_MASK. Admitted. Global Typeclasses Opaque value_EXP_MASK. (* const MAN_MASK: u64 = 0x000f_ffff_ffff_ffff; *) (* Ty.path "u64" *) - Definition value_MAN_MASK : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4503599627370495 |))). + Definition value_MAN_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4503599627370495 |))). Global Instance AssociatedConstant_value_MAN_MASK : - M.IsAssociatedConstant.Trait Self "value_MAN_MASK" value_MAN_MASK. + M.IsAssociatedFunction.C Self "MAN_MASK" value_MAN_MASK. Admitted. Global Typeclasses Opaque value_MAN_MASK. (* const TINY_BITS: u64 = 0x1; *) (* Ty.path "u64" *) - Definition value_TINY_BITS : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). Global Instance AssociatedConstant_value_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_TINY_BITS" value_TINY_BITS. + M.IsAssociatedFunction.C Self "TINY_BITS" value_TINY_BITS. Admitted. Global Typeclasses Opaque value_TINY_BITS. (* const NEG_TINY_BITS: u64 = Self::TINY_BITS | Self::SIGN_MASK; *) (* Ty.path "u64" *) - Definition value_NEG_TINY_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.bit_or - (M.read (| M.get_constant "core::f64::TINY_BITS" |)) - (M.read (| M.get_constant "core::f64::SIGN_MASK" |)) - |))). + Definition value_NEG_TINY_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.bit_or + (M.read (| get_associated_constant (| Ty.path "f64", "TINY_BITS", Ty.path "u64" |) |)) + (M.read (| get_associated_constant (| Ty.path "f64", "SIGN_MASK", Ty.path "u64" |) |)) + |))). Global Instance AssociatedConstant_value_NEG_TINY_BITS : - M.IsAssociatedConstant.Trait Self "value_NEG_TINY_BITS" value_NEG_TINY_BITS. + M.IsAssociatedFunction.C Self "NEG_TINY_BITS" value_NEG_TINY_BITS. Admitted. Global Typeclasses Opaque value_NEG_TINY_BITS. @@ -450,7 +529,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.Trait Self "is_nan" is_nan. + Global Instance AssociatedFunction_is_nan : M.IsAssociatedFunction.C Self "is_nan" is_nan. Admitted. Global Typeclasses Opaque is_nan. @@ -468,16 +547,21 @@ Module f64. ltac:(M.monadic (let self := M.alloc (| self |) in 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.read (| get_associated_constant (| Ty.path "f64", "INFINITY", Ty.path "f64" |) |) + |)) + (BinOp.eq (| + M.read (| self |), + M.read (| + get_associated_constant (| Ty.path "f64", "NEG_INFINITY", Ty.path "f64" |) + |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_infinite : - M.IsAssociatedFunction.Trait Self "is_infinite" is_infinite. + M.IsAssociatedFunction.C Self "is_infinite" is_infinite. Admitted. Global Typeclasses Opaque is_infinite. @@ -499,13 +583,13 @@ Module f64. M.get_associated_function (| Ty.path "f64", "abs", [], [] |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::f64::INFINITY" |) + M.read (| get_associated_constant (| Ty.path "f64", "INFINITY", Ty.path "f64" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_finite : - M.IsAssociatedFunction.Trait Self "is_finite" is_finite. + M.IsAssociatedFunction.C Self "is_finite" is_finite. Admitted. Global Typeclasses Opaque is_finite. @@ -542,7 +626,7 @@ Module f64. end. Global Instance AssociatedFunction_is_subnormal : - M.IsAssociatedFunction.Trait Self "is_subnormal" is_subnormal. + M.IsAssociatedFunction.C Self "is_subnormal" is_subnormal. Admitted. Global Typeclasses Opaque is_subnormal. @@ -579,7 +663,7 @@ Module f64. end. Global Instance AssociatedFunction_is_normal : - M.IsAssociatedFunction.Trait Self "is_normal" is_normal. + M.IsAssociatedFunction.C Self "is_normal" is_normal. Admitted. Global Typeclasses Opaque is_normal. @@ -621,10 +705,14 @@ Module f64. [ BinOp.bit_and (M.read (| b |)) - (M.read (| M.get_constant "core::f64::MAN_MASK" |)); + (M.read (| + get_associated_constant (| Ty.path "f64", "MAN_MASK", Ty.path "u64" |) + |)); BinOp.bit_and (M.read (| b |)) - (M.read (| M.get_constant "core::f64::EXP_MASK" |)) + (M.read (| + get_associated_constant (| Ty.path "f64", "EXP_MASK", Ty.path "u64" |) + |)) ] |), [ @@ -687,8 +775,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_classify : - M.IsAssociatedFunction.Trait Self "classify" classify. + Global Instance AssociatedFunction_classify : M.IsAssociatedFunction.C Self "classify" classify. Admitted. Global Typeclasses Opaque classify. @@ -713,7 +800,7 @@ Module f64. end. Global Instance AssociatedFunction_is_sign_positive : - M.IsAssociatedFunction.Trait Self "is_sign_positive" is_sign_positive. + M.IsAssociatedFunction.C Self "is_sign_positive" is_sign_positive. Admitted. Global Typeclasses Opaque is_sign_positive. @@ -736,7 +823,7 @@ Module f64. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -764,14 +851,16 @@ Module f64. |), [ M.read (| self |) ] |)) - (M.read (| M.get_constant "core::f64::SIGN_MASK" |)), + (M.read (| + get_associated_constant (| Ty.path "f64", "SIGN_MASK", Ty.path "u64" |) + |)), Value.Integer IntegerKind.U64 0 |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_sign_negative : - M.IsAssociatedFunction.Trait Self "is_sign_negative" is_sign_negative. + M.IsAssociatedFunction.C Self "is_sign_negative" is_sign_negative. Admitted. Global Typeclasses Opaque is_sign_negative. @@ -794,7 +883,7 @@ Module f64. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -862,7 +951,15 @@ Module f64. [], [] |), - [ M.read (| M.get_constant "core::f64::INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f64", + "INFINITY", + Ty.path "f64" + |) + |) + ] |) |))) |) @@ -879,7 +976,11 @@ Module f64. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f64::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f64", "SIGN_MASK", Ty.path "u64" |) + |) + |)) |) in let~ next_bits : Ty.path "u64" := M.copy (| @@ -896,7 +997,11 @@ Module f64. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f64::TINY_BITS")); + get_associated_constant (| + Ty.path "f64", + "TINY_BITS", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -946,8 +1051,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_next_up : - M.IsAssociatedFunction.Trait Self "next_up" next_up. + Global Instance AssociatedFunction_next_up : M.IsAssociatedFunction.C Self "next_up" next_up. Admitted. Global Typeclasses Opaque next_up. @@ -1015,7 +1119,15 @@ Module f64. [], [] |), - [ M.read (| M.get_constant "core::f64::NEG_INFINITY" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f64", + "NEG_INFINITY", + Ty.path "f64" + |) + |) + ] |) |))) |) @@ -1032,7 +1144,11 @@ Module f64. M.alloc (| BinOp.bit_and (M.read (| bits |)) - (UnOp.not (| M.read (| M.get_constant "core::f64::SIGN_MASK" |) |)) + (UnOp.not (| + M.read (| + get_associated_constant (| Ty.path "f64", "SIGN_MASK", Ty.path "u64" |) + |) + |)) |) in let~ next_bits : Ty.path "u64" := M.copy (| @@ -1049,7 +1165,11 @@ Module f64. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f64::NEG_TINY_BITS")); + get_associated_constant (| + Ty.path "f64", + "NEG_TINY_BITS", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -1100,7 +1220,7 @@ Module f64. end. Global Instance AssociatedFunction_next_down : - M.IsAssociatedFunction.Trait Self "next_down" next_down. + M.IsAssociatedFunction.C Self "next_down" next_down. Admitted. Global Typeclasses Opaque next_down. @@ -1118,7 +1238,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.Trait Self "recip" recip. + Global Instance AssociatedFunction_recip : M.IsAssociatedFunction.C Self "recip" recip. Admitted. Global Typeclasses Opaque recip. @@ -1139,14 +1259,14 @@ Module f64. M.read (| self |), BinOp.Wrap.div (| M.read (| UnsupportedLiteral |), - M.read (| M.get_constant "core::f64::consts::PI" |) + M.read (| get_constant (| "core::f64::consts::PI", Ty.path "f64" |) |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_degrees : - M.IsAssociatedFunction.Trait Self "to_degrees" to_degrees. + M.IsAssociatedFunction.C Self "to_degrees" to_degrees. Admitted. Global Typeclasses Opaque to_degrees. @@ -1163,13 +1283,13 @@ Module f64. (let self := M.alloc (| self |) in BinOp.Wrap.mul (| M.read (| self |), - M.read (| M.get_constant "core::f64::to_radians::RADS_PER_DEG" |) + M.read (| get_constant (| "core::f64::to_radians::RADS_PER_DEG", Ty.path "f64" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_radians : - M.IsAssociatedFunction.Trait Self "to_radians" to_radians. + M.IsAssociatedFunction.C Self "to_radians" to_radians. Admitted. Global Typeclasses Opaque to_radians. @@ -1192,7 +1312,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_max : M.IsAssociatedFunction.Trait Self "max" max. + Global Instance AssociatedFunction_max : M.IsAssociatedFunction.C Self "max" max. Admitted. Global Typeclasses Opaque max. @@ -1215,7 +1335,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_min : M.IsAssociatedFunction.Trait Self "min" min. + Global Instance AssociatedFunction_min : M.IsAssociatedFunction.C Self "min" min. Admitted. Global Typeclasses Opaque min. @@ -1340,8 +1460,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_maximum : - M.IsAssociatedFunction.Trait Self "maximum" maximum. + Global Instance AssociatedFunction_maximum : M.IsAssociatedFunction.C Self "maximum" maximum. Admitted. Global Typeclasses Opaque maximum. @@ -1467,8 +1586,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_minimum : - M.IsAssociatedFunction.Trait Self "minimum" minimum. + Global Instance AssociatedFunction_minimum : M.IsAssociatedFunction.C Self "minimum" minimum. Admitted. Global Typeclasses Opaque minimum. @@ -1541,12 +1659,19 @@ Module f64. LogicalOp.and (| BinOp.le (| M.read (| abs_a |), - M.read (| M.get_constant "core::f64::midpoint::HI" |) + M.read (| + get_constant (| "core::f64::midpoint::HI", Ty.path "f64" |) + |) |), ltac:(M.monadic (BinOp.le (| M.read (| abs_b |), - M.read (| M.get_constant "core::f64::midpoint::HI" |) + M.read (| + get_constant (| + "core::f64::midpoint::HI", + Ty.path "f64" + |) + |) |))) |) |)) in @@ -1571,7 +1696,12 @@ Module f64. (M.alloc (| BinOp.lt (| M.read (| abs_a |), - M.read (| M.get_constant "core::f64::midpoint::LO" |) + M.read (| + get_constant (| + "core::f64::midpoint::LO", + Ty.path "f64" + |) + |) |) |)) in let _ := @@ -1602,7 +1732,10 @@ Module f64. BinOp.lt (| M.read (| abs_b |), M.read (| - M.get_constant "core::f64::midpoint::LO" + get_constant (| + "core::f64::midpoint::LO", + Ty.path "f64" + |) |) |) |)) in @@ -1646,8 +1779,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -1683,7 +1815,7 @@ Module f64. end. Global Instance AssociatedFunction_to_int_unchecked : - M.IsAssociatedFunction.Trait Self "to_int_unchecked" to_int_unchecked. + M.IsAssociatedFunction.C Self "to_int_unchecked" to_int_unchecked. Admitted. Global Typeclasses Opaque to_int_unchecked. @@ -1710,8 +1842,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_bits : - M.IsAssociatedFunction.Trait Self "to_bits" to_bits. + Global Instance AssociatedFunction_to_bits : M.IsAssociatedFunction.C Self "to_bits" to_bits. Admitted. Global Typeclasses Opaque to_bits. @@ -1740,7 +1871,7 @@ Module f64. end. Global Instance AssociatedFunction_from_bits : - M.IsAssociatedFunction.Trait Self "from_bits" from_bits. + M.IsAssociatedFunction.C Self "from_bits" from_bits. Admitted. Global Typeclasses Opaque from_bits. @@ -1769,7 +1900,7 @@ Module f64. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -1798,7 +1929,7 @@ Module f64. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -1827,7 +1958,7 @@ Module f64. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -1856,7 +1987,7 @@ Module f64. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -1885,7 +2016,7 @@ Module f64. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -1914,7 +2045,7 @@ Module f64. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -2036,7 +2167,7 @@ Module f64. end. Global Instance AssociatedFunction_total_cmp : - M.IsAssociatedFunction.Trait Self "total_cmp" total_cmp. + M.IsAssociatedFunction.C Self "total_cmp" total_cmp. Admitted. Global Typeclasses Opaque total_cmp. @@ -2133,7 +2264,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.Trait Self "clamp" clamp. + Global Instance AssociatedFunction_clamp : M.IsAssociatedFunction.C Self "clamp" clamp. Admitted. Global Typeclasses Opaque clamp. @@ -2156,7 +2287,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -2187,7 +2318,7 @@ Module f64. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::f64::NAN")); + get_associated_constant (| Ty.path "f64", "NAN", Ty.path "f64" |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -2203,7 +2334,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -2227,8 +2358,7 @@ Module f64. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_copysign : - M.IsAssociatedFunction.Trait Self "copysign" copysign. + Global Instance AssociatedFunction_copysign : M.IsAssociatedFunction.C Self "copysign" copysign. Admitted. Global Typeclasses Opaque copysign. End Impl_f64. diff --git a/CoqOfRust/core/num/flt2dec/decoder.v b/CoqOfRust/core/num/flt2dec/decoder.v index 4a6896e37..3cd73bc23 100644 --- a/CoqOfRust/core/num/flt2dec/decoder.v +++ b/CoqOfRust/core/num/flt2dec/decoder.v @@ -750,7 +750,11 @@ Module num. *) Definition min_pos_norm_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::f32::MIN_POSITIVE" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| + get_associated_constant (| Ty.path "f32", "MIN_POSITIVE", Ty.path "f32" |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -773,7 +777,11 @@ Module num. *) Definition min_pos_norm_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::f64::MIN_POSITIVE" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| + get_associated_constant (| Ty.path "f64", "MIN_POSITIVE", Ty.path "f64" |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -1055,7 +1063,7 @@ Module num. end. Global Instance Instance_IsFunction_decode : - M.IsFunction.Trait "core::num::flt2dec::decoder::decode" decode. + M.IsFunction.C "core::num::flt2dec::decoder::decode" decode. Admitted. Global Typeclasses Opaque decode. End decoder. diff --git a/CoqOfRust/core/num/flt2dec/estimator.v b/CoqOfRust/core/num/flt2dec/estimator.v index e68e7da13..76b6805ce 100644 --- a/CoqOfRust/core/num/flt2dec/estimator.v +++ b/CoqOfRust/core/num/flt2dec/estimator.v @@ -56,7 +56,7 @@ Module num. end. Global Instance Instance_IsFunction_estimate_scaling_factor : - M.IsFunction.Trait + M.IsFunction.C "core::num::flt2dec::estimator::estimate_scaling_factor" estimate_scaling_factor. Admitted. diff --git a/CoqOfRust/core/num/flt2dec/mod.v b/CoqOfRust/core/num/flt2dec/mod.v index d09087087..d25b1d8ab 100644 --- a/CoqOfRust/core/num/flt2dec/mod.v +++ b/CoqOfRust/core/num/flt2dec/mod.v @@ -3,12 +3,13 @@ Require Import CoqOfRust.CoqOfRust. Module num. Module flt2dec. - Definition value_MAX_SIG_DIGITS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 17 |))). + Definition value_MAX_SIG_DIGITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 17 |))). - Axiom Constant_value_MAX_SIG_DIGITS : - (M.get_constant "core::num::flt2dec::MAX_SIG_DIGITS") = value_MAX_SIG_DIGITS. - Global Hint Rewrite Constant_value_MAX_SIG_DIGITS : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_SIG_DIGITS : + M.IsFunction.C "core::num::flt2dec::MAX_SIG_DIGITS" value_MAX_SIG_DIGITS. + Admitted. + Global Typeclasses Opaque value_MAX_SIG_DIGITS. (* pub fn round_up(d: &mut [u8]) -> Option { @@ -413,7 +414,7 @@ Module num. end. Global Instance Instance_IsFunction_round_up : - M.IsFunction.Trait "core::num::flt2dec::round_up" round_up. + M.IsFunction.C "core::num::flt2dec::round_up" round_up. Admitted. Global Typeclasses Opaque round_up. @@ -1898,7 +1899,7 @@ Module num. end. Global Instance Instance_IsFunction_digits_to_dec_str : - M.IsFunction.Trait "core::num::flt2dec::digits_to_dec_str" digits_to_dec_str. + M.IsFunction.C "core::num::flt2dec::digits_to_dec_str" digits_to_dec_str. Admitted. Global Typeclasses Opaque digits_to_dec_str. @@ -2700,7 +2701,7 @@ Module num. end. Global Instance Instance_IsFunction_digits_to_exp_str : - M.IsFunction.Trait "core::num::flt2dec::digits_to_exp_str" digits_to_exp_str. + M.IsFunction.C "core::num::flt2dec::digits_to_exp_str" digits_to_exp_str. Admitted. Global Typeclasses Opaque digits_to_exp_str. @@ -2991,7 +2992,7 @@ Module num. end. Global Instance Instance_IsFunction_determine_sign : - M.IsFunction.Trait "core::num::flt2dec::determine_sign" determine_sign. + M.IsFunction.C "core::num::flt2dec::determine_sign" determine_sign. Admitted. Global Typeclasses Opaque determine_sign. @@ -3144,7 +3145,12 @@ Module num. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| buf |) |) |) ] |), - M.read (| M.get_constant "core::num::flt2dec::MAX_SIG_DIGITS" |) + M.read (| + get_constant (| + "core::num::flt2dec::MAX_SIG_DIGITS", + Ty.path "usize" + |) + |) |) |) |)) in @@ -3960,7 +3966,7 @@ Module num. end. Global Instance Instance_IsFunction_to_shortest_str : - M.IsFunction.Trait "core::num::flt2dec::to_shortest_str" to_shortest_str. + M.IsFunction.C "core::num::flt2dec::to_shortest_str" to_shortest_str. Admitted. Global Typeclasses Opaque to_shortest_str. @@ -4112,7 +4118,12 @@ Module num. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| buf |) |) |) ] |), - M.read (| M.get_constant "core::num::flt2dec::MAX_SIG_DIGITS" |) + M.read (| + get_constant (| + "core::num::flt2dec::MAX_SIG_DIGITS", + Ty.path "usize" + |) + |) |) |) |)) in @@ -4980,7 +4991,7 @@ Module num. end. Global Instance Instance_IsFunction_to_shortest_exp_str : - M.IsFunction.Trait "core::num::flt2dec::to_shortest_exp_str" to_shortest_exp_str. + M.IsFunction.C "core::num::flt2dec::to_shortest_exp_str" to_shortest_exp_str. Admitted. Global Typeclasses Opaque to_shortest_exp_str. @@ -5028,7 +5039,7 @@ Module num. end. Global Instance Instance_IsFunction_estimate_max_buf_len : - M.IsFunction.Trait "core::num::flt2dec::estimate_max_buf_len" estimate_max_buf_len. + M.IsFunction.C "core::num::flt2dec::estimate_max_buf_len" estimate_max_buf_len. Admitted. Global Typeclasses Opaque estimate_max_buf_len. @@ -6226,7 +6237,13 @@ Module num. |) |) |); - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) ] ] |) @@ -6295,7 +6312,7 @@ Module num. end. Global Instance Instance_IsFunction_to_exact_exp_str : - M.IsFunction.Trait "core::num::flt2dec::to_exact_exp_str" to_exact_exp_str. + M.IsFunction.C "core::num::flt2dec::to_exact_exp_str" to_exact_exp_str. Admitted. Global Typeclasses Opaque to_exact_exp_str. @@ -7227,7 +7244,13 @@ Module num. M.cast (Ty.path "i16") (M.read (| frac_digits |)) |) |))); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |))) ] |) |) in @@ -7998,7 +8021,7 @@ Module num. end. Global Instance Instance_IsFunction_to_exact_fixed_str : - M.IsFunction.Trait "core::num::flt2dec::to_exact_fixed_str" to_exact_fixed_str. + M.IsFunction.C "core::num::flt2dec::to_exact_fixed_str" to_exact_fixed_str. Admitted. Global Typeclasses Opaque to_exact_fixed_str. End flt2dec. diff --git a/CoqOfRust/core/num/flt2dec/strategy/dragon.v b/CoqOfRust/core/num/flt2dec/strategy/dragon.v index 71b96665c..cc0a567ba 100644 --- a/CoqOfRust/core/num/flt2dec/strategy/dragon.v +++ b/CoqOfRust/core/num/flt2dec/strategy/dragon.v @@ -5,141 +5,141 @@ Module num. Module flt2dec. Module strategy. Module dragon. - Definition value_POW10 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_POW10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_POW10 : - (M.get_constant "core::num::flt2dec::strategy::dragon::POW10") = value_POW10. - Global Hint Rewrite Constant_value_POW10 : constant_rewrites. + Global Instance Instance_IsConstant_value_POW10 : + M.IsFunction.C "core::num::flt2dec::strategy::dragon::POW10" value_POW10. + Admitted. + Global Typeclasses Opaque value_POW10. - Definition value_POW5TO16 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ Value.Integer IntegerKind.U32 2264035265; Value.Integer IntegerKind.U32 35 ] - |) - |))). + Definition value_POW5TO16 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ Value.Integer IntegerKind.U32 2264035265; Value.Integer IntegerKind.U32 35 ] + |) + |))). - Axiom Constant_value_POW5TO16 : - (M.get_constant "core::num::flt2dec::strategy::dragon::POW5TO16") = value_POW5TO16. - Global Hint Rewrite Constant_value_POW5TO16 : constant_rewrites. + Global Instance Instance_IsConstant_value_POW5TO16 : + M.IsFunction.C "core::num::flt2dec::strategy::dragon::POW5TO16" value_POW5TO16. + Admitted. + Global Typeclasses Opaque value_POW5TO16. - Definition value_POW5TO32 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U32 2242703233; - Value.Integer IntegerKind.U32 762134875; - Value.Integer IntegerKind.U32 1262 - ] - |) - |))). + Definition value_POW5TO32 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U32 2242703233; + Value.Integer IntegerKind.U32 762134875; + Value.Integer IntegerKind.U32 1262 + ] + |) + |))). - Axiom Constant_value_POW5TO32 : - (M.get_constant "core::num::flt2dec::strategy::dragon::POW5TO32") = value_POW5TO32. - Global Hint Rewrite Constant_value_POW5TO32 : constant_rewrites. + Global Instance Instance_IsConstant_value_POW5TO32 : + M.IsFunction.C "core::num::flt2dec::strategy::dragon::POW5TO32" value_POW5TO32. + Admitted. + Global Typeclasses Opaque value_POW5TO32. - Definition value_POW5TO64 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_POW5TO64 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_POW5TO64 : - (M.get_constant "core::num::flt2dec::strategy::dragon::POW5TO64") = value_POW5TO64. - Global Hint Rewrite Constant_value_POW5TO64 : constant_rewrites. + Global Instance Instance_IsConstant_value_POW5TO64 : + M.IsFunction.C "core::num::flt2dec::strategy::dragon::POW5TO64" value_POW5TO64. + Admitted. + Global Typeclasses Opaque value_POW5TO64. - Definition value_POW5TO128 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_POW5TO128 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_POW5TO128 : - (M.get_constant "core::num::flt2dec::strategy::dragon::POW5TO128") = value_POW5TO128. - Global Hint Rewrite Constant_value_POW5TO128 : constant_rewrites. + Global Instance Instance_IsConstant_value_POW5TO128 : + M.IsFunction.C "core::num::flt2dec::strategy::dragon::POW5TO128" value_POW5TO128. + Admitted. + Global Typeclasses Opaque value_POW5TO128. - Definition value_POW5TO256 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_POW5TO256 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_POW5TO256 : - (M.get_constant "core::num::flt2dec::strategy::dragon::POW5TO256") = value_POW5TO256. - Global Hint Rewrite Constant_value_POW5TO256 : constant_rewrites. + Global Instance Instance_IsConstant_value_POW5TO256 : + M.IsFunction.C "core::num::flt2dec::strategy::dragon::POW5TO256" value_POW5TO256. + Admitted. + Global Typeclasses Opaque value_POW5TO256. (* pub fn mul_pow10(x: &mut Big, n: usize) -> &mut Big { @@ -278,8 +278,18 @@ Module num. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW10" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |), BinOp.bit_and @@ -347,8 +357,18 @@ Module num. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW10" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |), BinOp.bit_and @@ -416,8 +436,18 @@ Module num. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW10" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |), Value.Integer IntegerKind.Usize 8 @@ -483,8 +513,18 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW5TO16" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW5TO16", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 2 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -548,8 +588,18 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW5TO32" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW5TO32", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 3 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -613,8 +663,18 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW5TO64" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW5TO64", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 5 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -678,8 +738,18 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW5TO128" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW5TO128", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -743,8 +813,18 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW5TO256" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW5TO256", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 19 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -783,7 +863,7 @@ Module num. end. Global Instance Instance_IsFunction_mul_pow10 : - M.IsFunction.Trait "core::num::flt2dec::strategy::dragon::mul_pow10" mul_pow10. + M.IsFunction.C "core::num::flt2dec::strategy::dragon::mul_pow10" mul_pow10. Admitted. Global Typeclasses Opaque mul_pow10. @@ -824,7 +904,18 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::num::flt2dec::strategy::dragon::POW10" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -887,8 +978,18 @@ Module num. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant - "core::num::flt2dec::strategy::dragon::POW10" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |), M.read (| largest |) @@ -951,7 +1052,18 @@ Module num. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant "core::num::flt2dec::strategy::dragon::POW10" + get_constant (| + "core::num::flt2dec::strategy::dragon::POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ Ty.path "u32" ] + ] + |) |) |), M.read (| n |) @@ -970,7 +1082,7 @@ Module num. end. Global Instance Instance_IsFunction_div_2pow10 : - M.IsFunction.Trait "core::num::flt2dec::strategy::dragon::div_2pow10" div_2pow10. + M.IsFunction.C "core::num::flt2dec::strategy::dragon::div_2pow10" div_2pow10. Admitted. Global Typeclasses Opaque div_2pow10. @@ -1360,9 +1472,7 @@ Module num. end. Global Instance Instance_IsFunction_div_rem_upto_16 : - M.IsFunction.Trait - "core::num::flt2dec::strategy::dragon::div_rem_upto_16" - div_rem_upto_16. + M.IsFunction.C "core::num::flt2dec::strategy::dragon::div_rem_upto_16" div_rem_upto_16. Admitted. Global Typeclasses Opaque div_rem_upto_16. @@ -1835,7 +1945,12 @@ Module num. |) ] |), - M.read (| M.get_constant "core::num::flt2dec::MAX_SIG_DIGITS" |) + M.read (| + get_constant (| + "core::num::flt2dec::MAX_SIG_DIGITS", + Ty.path "usize" + |) + |) |) |) |)) in @@ -3240,9 +3355,7 @@ Module num. end. Global Instance Instance_IsFunction_format_shortest : - M.IsFunction.Trait - "core::num::flt2dec::strategy::dragon::format_shortest" - format_shortest. + M.IsFunction.C "core::num::flt2dec::strategy::dragon::format_shortest" format_shortest. Admitted. Global Typeclasses Opaque format_shortest. @@ -5964,7 +6077,7 @@ Module num. end. Global Instance Instance_IsFunction_format_exact : - M.IsFunction.Trait "core::num::flt2dec::strategy::dragon::format_exact" format_exact. + M.IsFunction.C "core::num::flt2dec::strategy::dragon::format_exact" format_exact. Admitted. Global Typeclasses Opaque format_exact. End dragon. diff --git a/CoqOfRust/core/num/flt2dec/strategy/grisu.v b/CoqOfRust/core/num/flt2dec/strategy/grisu.v index 9123be7c5..51350dc0d 100644 --- a/CoqOfRust/core/num/flt2dec/strategy/grisu.v +++ b/CoqOfRust/core/num/flt2dec/strategy/grisu.v @@ -5,536 +5,550 @@ Module num. Module flt2dec. Module strategy. Module grisu. - Definition value_ALPHA : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-60) |))). + Definition value_ALPHA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-60) |))). - Axiom Constant_value_ALPHA : - (M.get_constant "core::num::flt2dec::strategy::grisu::ALPHA") = value_ALPHA. - Global Hint Rewrite Constant_value_ALPHA : constant_rewrites. + Global Instance Instance_IsConstant_value_ALPHA : + M.IsFunction.C "core::num::flt2dec::strategy::grisu::ALPHA" value_ALPHA. + Admitted. + Global Typeclasses Opaque value_ALPHA. - Definition value_GAMMA : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-32) |))). + Definition value_GAMMA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-32) |))). - Axiom Constant_value_GAMMA : - (M.get_constant "core::num::flt2dec::strategy::grisu::GAMMA") = value_GAMMA. - Global Hint Rewrite Constant_value_GAMMA : constant_rewrites. + Global Instance Instance_IsConstant_value_GAMMA : + M.IsFunction.C "core::num::flt2dec::strategy::grisu::GAMMA" value_GAMMA. + Admitted. + Global Typeclasses Opaque value_GAMMA. - Definition value_CACHED_POW10 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Tuple - [ - Value.Integer IntegerKind.U64 16580792590934885855; - Value.Integer IntegerKind.I16 (-1087); - Value.Integer IntegerKind.I16 (-308) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12353653155963782858; - Value.Integer IntegerKind.I16 (-1060); - Value.Integer IntegerKind.I16 (-300) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 18408377700990114895; - Value.Integer IntegerKind.I16 (-1034); - Value.Integer IntegerKind.I16 (-292) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13715310171984221708; - Value.Integer IntegerKind.I16 (-1007); - Value.Integer IntegerKind.I16 (-284) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10218702384817765436; - Value.Integer IntegerKind.I16 (-980); - Value.Integer IntegerKind.I16 (-276) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15227053142812498563; - Value.Integer IntegerKind.I16 (-954); - Value.Integer IntegerKind.I16 (-268) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11345038669416679861; - Value.Integer IntegerKind.I16 (-927); - Value.Integer IntegerKind.I16 (-260) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16905424996341287883; - Value.Integer IntegerKind.I16 (-901); - Value.Integer IntegerKind.I16 (-252) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12595523146049147757; - Value.Integer IntegerKind.I16 (-874); - Value.Integer IntegerKind.I16 (-244) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9384396036005875287; - Value.Integer IntegerKind.I16 (-847); - Value.Integer IntegerKind.I16 (-236) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13983839803942852151; - Value.Integer IntegerKind.I16 (-821); - Value.Integer IntegerKind.I16 (-228) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10418772551374772303; - Value.Integer IntegerKind.I16 (-794); - Value.Integer IntegerKind.I16 (-220) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15525180923007089351; - Value.Integer IntegerKind.I16 (-768); - Value.Integer IntegerKind.I16 (-212) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11567161174868858868; - Value.Integer IntegerKind.I16 (-741); - Value.Integer IntegerKind.I16 (-204) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 17236413322193710309; - Value.Integer IntegerKind.I16 (-715); - Value.Integer IntegerKind.I16 (-196) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12842128665889583758; - Value.Integer IntegerKind.I16 (-688); - Value.Integer IntegerKind.I16 (-188) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9568131466127621947; - Value.Integer IntegerKind.I16 (-661); - Value.Integer IntegerKind.I16 (-180) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14257626930069360058; - Value.Integer IntegerKind.I16 (-635); - Value.Integer IntegerKind.I16 (-172) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10622759856335341974; - Value.Integer IntegerKind.I16 (-608); - Value.Integer IntegerKind.I16 (-164) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15829145694278690180; - Value.Integer IntegerKind.I16 (-582); - Value.Integer IntegerKind.I16 (-156) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11793632577567316726; - Value.Integer IntegerKind.I16 (-555); - Value.Integer IntegerKind.I16 (-148) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 17573882009934360870; - Value.Integer IntegerKind.I16 (-529); - Value.Integer IntegerKind.I16 (-140) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13093562431584567480; - Value.Integer IntegerKind.I16 (-502); - Value.Integer IntegerKind.I16 (-132) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9755464219737475723; - Value.Integer IntegerKind.I16 (-475); - Value.Integer IntegerKind.I16 (-124) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14536774485912137811; - Value.Integer IntegerKind.I16 (-449); - Value.Integer IntegerKind.I16 (-116) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10830740992659433045; - Value.Integer IntegerKind.I16 (-422); - Value.Integer IntegerKind.I16 (-108) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16139061738043178685; - Value.Integer IntegerKind.I16 (-396); - Value.Integer IntegerKind.I16 (-100) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12024538023802026127; - Value.Integer IntegerKind.I16 (-369); - Value.Integer IntegerKind.I16 (-92) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 17917957937422433684; - Value.Integer IntegerKind.I16 (-343); - Value.Integer IntegerKind.I16 (-84) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13349918974505688015; - Value.Integer IntegerKind.I16 (-316); - Value.Integer IntegerKind.I16 (-76) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9946464728195732843; - Value.Integer IntegerKind.I16 (-289); - Value.Integer IntegerKind.I16 (-68) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14821387422376473014; - Value.Integer IntegerKind.I16 (-263); - Value.Integer IntegerKind.I16 (-60) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11042794154864902060; - Value.Integer IntegerKind.I16 (-236); - Value.Integer IntegerKind.I16 (-52) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16455045573212060422; - Value.Integer IntegerKind.I16 (-210); - Value.Integer IntegerKind.I16 (-44) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12259964326927110867; - Value.Integer IntegerKind.I16 (-183); - Value.Integer IntegerKind.I16 (-36) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 18268770466636286478; - Value.Integer IntegerKind.I16 (-157); - Value.Integer IntegerKind.I16 (-28) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13611294676837538539; - Value.Integer IntegerKind.I16 (-130); - Value.Integer IntegerKind.I16 (-20) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10141204801825835212; - Value.Integer IntegerKind.I16 (-103); - Value.Integer IntegerKind.I16 (-12) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15111572745182864684; - Value.Integer IntegerKind.I16 (-77); - Value.Integer IntegerKind.I16 (-4) - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11258999068426240000; - Value.Integer IntegerKind.I16 (-50); - Value.Integer IntegerKind.I16 4 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16777216000000000000; - Value.Integer IntegerKind.I16 (-24); - Value.Integer IntegerKind.I16 12 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12500000000000000000; - Value.Integer IntegerKind.I16 3; - Value.Integer IntegerKind.I16 20 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9313225746154785156; - Value.Integer IntegerKind.I16 30; - Value.Integer IntegerKind.I16 28 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13877787807814456755; - Value.Integer IntegerKind.I16 56; - Value.Integer IntegerKind.I16 36 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10339757656912845936; - Value.Integer IntegerKind.I16 83; - Value.Integer IntegerKind.I16 44 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15407439555097886824; - Value.Integer IntegerKind.I16 109; - Value.Integer IntegerKind.I16 52 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11479437019748901445; - Value.Integer IntegerKind.I16 136; - Value.Integer IntegerKind.I16 60 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 17105694144590052135; - Value.Integer IntegerKind.I16 162; - Value.Integer IntegerKind.I16 68 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12744735289059618216; - Value.Integer IntegerKind.I16 189; - Value.Integer IntegerKind.I16 76 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9495567745759798747; - Value.Integer IntegerKind.I16 216; - Value.Integer IntegerKind.I16 84 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14149498560666738074; - Value.Integer IntegerKind.I16 242; - Value.Integer IntegerKind.I16 92 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10542197943230523224; - Value.Integer IntegerKind.I16 269; - Value.Integer IntegerKind.I16 100 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15709099088952724970; - Value.Integer IntegerKind.I16 295; - Value.Integer IntegerKind.I16 108 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11704190886730495818; - Value.Integer IntegerKind.I16 322; - Value.Integer IntegerKind.I16 116 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 17440603504673385349; - Value.Integer IntegerKind.I16 348; - Value.Integer IntegerKind.I16 124 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12994262207056124023; - Value.Integer IntegerKind.I16 375; - Value.Integer IntegerKind.I16 132 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9681479787123295682; - Value.Integer IntegerKind.I16 402; - Value.Integer IntegerKind.I16 140 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14426529090290212157; - Value.Integer IntegerKind.I16 428; - Value.Integer IntegerKind.I16 148 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10748601772107342003; - Value.Integer IntegerKind.I16 455; - Value.Integer IntegerKind.I16 156 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16016664761464807395; - Value.Integer IntegerKind.I16 481; - Value.Integer IntegerKind.I16 164 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11933345169920330789; - Value.Integer IntegerKind.I16 508; - Value.Integer IntegerKind.I16 172 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 17782069995880619868; - Value.Integer IntegerKind.I16 534; - Value.Integer IntegerKind.I16 180 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13248674568444952270; - Value.Integer IntegerKind.I16 561; - Value.Integer IntegerKind.I16 188 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9871031767461413346; - Value.Integer IntegerKind.I16 588; - Value.Integer IntegerKind.I16 196 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14708983551653345445; - Value.Integer IntegerKind.I16 614; - Value.Integer IntegerKind.I16 204 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10959046745042015199; - Value.Integer IntegerKind.I16 641; - Value.Integer IntegerKind.I16 212 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16330252207878254650; - Value.Integer IntegerKind.I16 667; - Value.Integer IntegerKind.I16 220 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12166986024289022870; - Value.Integer IntegerKind.I16 694; - Value.Integer IntegerKind.I16 228 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 18130221999122236476; - Value.Integer IntegerKind.I16 720; - Value.Integer IntegerKind.I16 236 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13508068024458167312; - Value.Integer IntegerKind.I16 747; - Value.Integer IntegerKind.I16 244 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10064294952495520794; - Value.Integer IntegerKind.I16 774; - Value.Integer IntegerKind.I16 252 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 14996968138956309548; - Value.Integer IntegerKind.I16 800; - Value.Integer IntegerKind.I16 260 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11173611982879273257; - Value.Integer IntegerKind.I16 827; - Value.Integer IntegerKind.I16 268 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16649979327439178909; - Value.Integer IntegerKind.I16 853; - Value.Integer IntegerKind.I16 276 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 12405201291620119593; - Value.Integer IntegerKind.I16 880; - Value.Integer IntegerKind.I16 284 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 9242595204427927429; - Value.Integer IntegerKind.I16 907; - Value.Integer IntegerKind.I16 292 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 13772540099066387757; - Value.Integer IntegerKind.I16 933; - Value.Integer IntegerKind.I16 300 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 10261342003245940623; - Value.Integer IntegerKind.I16 960; - Value.Integer IntegerKind.I16 308 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 15290591125556738113; - Value.Integer IntegerKind.I16 986; - Value.Integer IntegerKind.I16 316 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 11392378155556871081; - Value.Integer IntegerKind.I16 1013; - Value.Integer IntegerKind.I16 324 - ]; - Value.Tuple - [ - Value.Integer IntegerKind.U64 16975966327722178521; - Value.Integer IntegerKind.I16 1039; - Value.Integer IntegerKind.I16 332 - ] - ] - |) - |))). + Definition value_CACHED_POW10 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Tuple + [ + Value.Integer IntegerKind.U64 16580792590934885855; + Value.Integer IntegerKind.I16 (-1087); + Value.Integer IntegerKind.I16 (-308) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12353653155963782858; + Value.Integer IntegerKind.I16 (-1060); + Value.Integer IntegerKind.I16 (-300) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18408377700990114895; + Value.Integer IntegerKind.I16 (-1034); + Value.Integer IntegerKind.I16 (-292) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13715310171984221708; + Value.Integer IntegerKind.I16 (-1007); + Value.Integer IntegerKind.I16 (-284) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10218702384817765436; + Value.Integer IntegerKind.I16 (-980); + Value.Integer IntegerKind.I16 (-276) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15227053142812498563; + Value.Integer IntegerKind.I16 (-954); + Value.Integer IntegerKind.I16 (-268) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11345038669416679861; + Value.Integer IntegerKind.I16 (-927); + Value.Integer IntegerKind.I16 (-260) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16905424996341287883; + Value.Integer IntegerKind.I16 (-901); + Value.Integer IntegerKind.I16 (-252) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12595523146049147757; + Value.Integer IntegerKind.I16 (-874); + Value.Integer IntegerKind.I16 (-244) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9384396036005875287; + Value.Integer IntegerKind.I16 (-847); + Value.Integer IntegerKind.I16 (-236) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13983839803942852151; + Value.Integer IntegerKind.I16 (-821); + Value.Integer IntegerKind.I16 (-228) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10418772551374772303; + Value.Integer IntegerKind.I16 (-794); + Value.Integer IntegerKind.I16 (-220) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15525180923007089351; + Value.Integer IntegerKind.I16 (-768); + Value.Integer IntegerKind.I16 (-212) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11567161174868858868; + Value.Integer IntegerKind.I16 (-741); + Value.Integer IntegerKind.I16 (-204) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17236413322193710309; + Value.Integer IntegerKind.I16 (-715); + Value.Integer IntegerKind.I16 (-196) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12842128665889583758; + Value.Integer IntegerKind.I16 (-688); + Value.Integer IntegerKind.I16 (-188) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9568131466127621947; + Value.Integer IntegerKind.I16 (-661); + Value.Integer IntegerKind.I16 (-180) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14257626930069360058; + Value.Integer IntegerKind.I16 (-635); + Value.Integer IntegerKind.I16 (-172) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10622759856335341974; + Value.Integer IntegerKind.I16 (-608); + Value.Integer IntegerKind.I16 (-164) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15829145694278690180; + Value.Integer IntegerKind.I16 (-582); + Value.Integer IntegerKind.I16 (-156) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11793632577567316726; + Value.Integer IntegerKind.I16 (-555); + Value.Integer IntegerKind.I16 (-148) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17573882009934360870; + Value.Integer IntegerKind.I16 (-529); + Value.Integer IntegerKind.I16 (-140) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13093562431584567480; + Value.Integer IntegerKind.I16 (-502); + Value.Integer IntegerKind.I16 (-132) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9755464219737475723; + Value.Integer IntegerKind.I16 (-475); + Value.Integer IntegerKind.I16 (-124) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14536774485912137811; + Value.Integer IntegerKind.I16 (-449); + Value.Integer IntegerKind.I16 (-116) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10830740992659433045; + Value.Integer IntegerKind.I16 (-422); + Value.Integer IntegerKind.I16 (-108) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16139061738043178685; + Value.Integer IntegerKind.I16 (-396); + Value.Integer IntegerKind.I16 (-100) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12024538023802026127; + Value.Integer IntegerKind.I16 (-369); + Value.Integer IntegerKind.I16 (-92) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17917957937422433684; + Value.Integer IntegerKind.I16 (-343); + Value.Integer IntegerKind.I16 (-84) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13349918974505688015; + Value.Integer IntegerKind.I16 (-316); + Value.Integer IntegerKind.I16 (-76) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9946464728195732843; + Value.Integer IntegerKind.I16 (-289); + Value.Integer IntegerKind.I16 (-68) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14821387422376473014; + Value.Integer IntegerKind.I16 (-263); + Value.Integer IntegerKind.I16 (-60) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11042794154864902060; + Value.Integer IntegerKind.I16 (-236); + Value.Integer IntegerKind.I16 (-52) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16455045573212060422; + Value.Integer IntegerKind.I16 (-210); + Value.Integer IntegerKind.I16 (-44) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12259964326927110867; + Value.Integer IntegerKind.I16 (-183); + Value.Integer IntegerKind.I16 (-36) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18268770466636286478; + Value.Integer IntegerKind.I16 (-157); + Value.Integer IntegerKind.I16 (-28) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13611294676837538539; + Value.Integer IntegerKind.I16 (-130); + Value.Integer IntegerKind.I16 (-20) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10141204801825835212; + Value.Integer IntegerKind.I16 (-103); + Value.Integer IntegerKind.I16 (-12) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15111572745182864684; + Value.Integer IntegerKind.I16 (-77); + Value.Integer IntegerKind.I16 (-4) + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11258999068426240000; + Value.Integer IntegerKind.I16 (-50); + Value.Integer IntegerKind.I16 4 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16777216000000000000; + Value.Integer IntegerKind.I16 (-24); + Value.Integer IntegerKind.I16 12 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12500000000000000000; + Value.Integer IntegerKind.I16 3; + Value.Integer IntegerKind.I16 20 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9313225746154785156; + Value.Integer IntegerKind.I16 30; + Value.Integer IntegerKind.I16 28 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13877787807814456755; + Value.Integer IntegerKind.I16 56; + Value.Integer IntegerKind.I16 36 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10339757656912845936; + Value.Integer IntegerKind.I16 83; + Value.Integer IntegerKind.I16 44 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15407439555097886824; + Value.Integer IntegerKind.I16 109; + Value.Integer IntegerKind.I16 52 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11479437019748901445; + Value.Integer IntegerKind.I16 136; + Value.Integer IntegerKind.I16 60 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17105694144590052135; + Value.Integer IntegerKind.I16 162; + Value.Integer IntegerKind.I16 68 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12744735289059618216; + Value.Integer IntegerKind.I16 189; + Value.Integer IntegerKind.I16 76 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9495567745759798747; + Value.Integer IntegerKind.I16 216; + Value.Integer IntegerKind.I16 84 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14149498560666738074; + Value.Integer IntegerKind.I16 242; + Value.Integer IntegerKind.I16 92 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10542197943230523224; + Value.Integer IntegerKind.I16 269; + Value.Integer IntegerKind.I16 100 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15709099088952724970; + Value.Integer IntegerKind.I16 295; + Value.Integer IntegerKind.I16 108 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11704190886730495818; + Value.Integer IntegerKind.I16 322; + Value.Integer IntegerKind.I16 116 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17440603504673385349; + Value.Integer IntegerKind.I16 348; + Value.Integer IntegerKind.I16 124 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12994262207056124023; + Value.Integer IntegerKind.I16 375; + Value.Integer IntegerKind.I16 132 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9681479787123295682; + Value.Integer IntegerKind.I16 402; + Value.Integer IntegerKind.I16 140 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14426529090290212157; + Value.Integer IntegerKind.I16 428; + Value.Integer IntegerKind.I16 148 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10748601772107342003; + Value.Integer IntegerKind.I16 455; + Value.Integer IntegerKind.I16 156 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16016664761464807395; + Value.Integer IntegerKind.I16 481; + Value.Integer IntegerKind.I16 164 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11933345169920330789; + Value.Integer IntegerKind.I16 508; + Value.Integer IntegerKind.I16 172 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 17782069995880619868; + Value.Integer IntegerKind.I16 534; + Value.Integer IntegerKind.I16 180 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13248674568444952270; + Value.Integer IntegerKind.I16 561; + Value.Integer IntegerKind.I16 188 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9871031767461413346; + Value.Integer IntegerKind.I16 588; + Value.Integer IntegerKind.I16 196 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14708983551653345445; + Value.Integer IntegerKind.I16 614; + Value.Integer IntegerKind.I16 204 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10959046745042015199; + Value.Integer IntegerKind.I16 641; + Value.Integer IntegerKind.I16 212 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16330252207878254650; + Value.Integer IntegerKind.I16 667; + Value.Integer IntegerKind.I16 220 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12166986024289022870; + Value.Integer IntegerKind.I16 694; + Value.Integer IntegerKind.I16 228 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 18130221999122236476; + Value.Integer IntegerKind.I16 720; + Value.Integer IntegerKind.I16 236 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13508068024458167312; + Value.Integer IntegerKind.I16 747; + Value.Integer IntegerKind.I16 244 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10064294952495520794; + Value.Integer IntegerKind.I16 774; + Value.Integer IntegerKind.I16 252 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 14996968138956309548; + Value.Integer IntegerKind.I16 800; + Value.Integer IntegerKind.I16 260 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11173611982879273257; + Value.Integer IntegerKind.I16 827; + Value.Integer IntegerKind.I16 268 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16649979327439178909; + Value.Integer IntegerKind.I16 853; + Value.Integer IntegerKind.I16 276 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 12405201291620119593; + Value.Integer IntegerKind.I16 880; + Value.Integer IntegerKind.I16 284 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 9242595204427927429; + Value.Integer IntegerKind.I16 907; + Value.Integer IntegerKind.I16 292 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 13772540099066387757; + Value.Integer IntegerKind.I16 933; + Value.Integer IntegerKind.I16 300 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 10261342003245940623; + Value.Integer IntegerKind.I16 960; + Value.Integer IntegerKind.I16 308 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 15290591125556738113; + Value.Integer IntegerKind.I16 986; + Value.Integer IntegerKind.I16 316 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 11392378155556871081; + Value.Integer IntegerKind.I16 1013; + Value.Integer IntegerKind.I16 324 + ]; + Value.Tuple + [ + Value.Integer IntegerKind.U64 16975966327722178521; + Value.Integer IntegerKind.I16 1039; + Value.Integer IntegerKind.I16 332 + ] + ] + |) + |))). - Axiom Constant_value_CACHED_POW10 : - (M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10") = value_CACHED_POW10. - Global Hint Rewrite Constant_value_CACHED_POW10 : constant_rewrites. + Global Instance Instance_IsConstant_value_CACHED_POW10 : + M.IsFunction.C "core::num::flt2dec::strategy::grisu::CACHED_POW10" value_CACHED_POW10. + Admitted. + Global Typeclasses Opaque value_CACHED_POW10. - Definition value_CACHED_POW10_FIRST_E : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-1087) |))). + Definition value_CACHED_POW10_FIRST_E + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 (-1087) |))). - Axiom Constant_value_CACHED_POW10_FIRST_E : - (M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E") = + Global Instance Instance_IsConstant_value_CACHED_POW10_FIRST_E : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E" value_CACHED_POW10_FIRST_E. - Global Hint Rewrite Constant_value_CACHED_POW10_FIRST_E : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_CACHED_POW10_FIRST_E. - Definition value_CACHED_POW10_LAST_E : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 1039 |))). + Definition value_CACHED_POW10_LAST_E + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I16 1039 |))). - Axiom Constant_value_CACHED_POW10_LAST_E : - (M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10_LAST_E") = + Global Instance Instance_IsConstant_value_CACHED_POW10_LAST_E : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::CACHED_POW10_LAST_E" value_CACHED_POW10_LAST_E. - Global Hint Rewrite Constant_value_CACHED_POW10_LAST_E : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_CACHED_POW10_LAST_E. (* pub fn cached_power(alpha: i16, gamma: i16) -> (i16, Fp) { @@ -559,7 +573,10 @@ Module num. M.cast (Ty.path "i32") (M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E" + get_constant (| + "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E", + Ty.path "i16" + |) |)) |) in let~ range : Ty.path "i32" := @@ -583,7 +600,19 @@ Module num. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10" + get_constant (| + "core::num::flt2dec::strategy::grisu::CACHED_POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 81 ] + [ Ty.tuple [ Ty.path "u64"; Ty.path "i16"; Ty.path "i16" ] + ] + ] + |) |) |) |) @@ -598,10 +627,16 @@ Module num. (Ty.path "i32") (BinOp.Wrap.sub (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10_LAST_E" + get_constant (| + "core::num::flt2dec::strategy::grisu::CACHED_POW10_LAST_E", + Ty.path "i16" + |) |), M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E" + get_constant (| + "core::num::flt2dec::strategy::grisu::CACHED_POW10_FIRST_E", + Ty.path "i16" + |) |) |)) |) in @@ -623,7 +658,18 @@ Module num. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::CACHED_POW10" + get_constant (| + "core::num::flt2dec::strategy::grisu::CACHED_POW10", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 81 ] + [ Ty.tuple [ Ty.path "u64"; Ty.path "i16"; Ty.path "i16" ] ] + ] + |) |) |), M.cast (Ty.path "usize") (M.read (| idx |)) @@ -719,7 +765,7 @@ Module num. end. Global Instance Instance_IsFunction_cached_power : - M.IsFunction.Trait "core::num::flt2dec::strategy::grisu::cached_power" cached_power. + M.IsFunction.C "core::num::flt2dec::strategy::grisu::cached_power" cached_power. Admitted. Global Typeclasses Opaque cached_power. @@ -824,8 +870,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4", + Ty.path "u32" + |) |) |) |)) in @@ -843,8 +891,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2", + Ty.path "u32" + |) |) |) |)) in @@ -865,8 +915,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1", + Ty.path "u32" + |) |) |) |)) in @@ -889,8 +941,10 @@ Module num. [ Value.Integer IntegerKind.U8 1; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1", + Ty.path "u32" + |) |) ] |))) @@ -910,8 +964,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3", + Ty.path "u32" + |) |) |) |)) in @@ -925,8 +981,10 @@ Module num. [ Value.Integer IntegerKind.U8 2; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2", + Ty.path "u32" + |) |) ] |))); @@ -937,8 +995,10 @@ Module num. [ Value.Integer IntegerKind.U8 3; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3", + Ty.path "u32" + |) |) ] |))) @@ -960,8 +1020,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6", + Ty.path "u32" + |) |) |) |)) in @@ -982,8 +1044,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5", + Ty.path "u32" + |) |) |) |)) in @@ -997,8 +1061,10 @@ Module num. [ Value.Integer IntegerKind.U8 4; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4", + Ty.path "u32" + |) |) ] |))); @@ -1009,8 +1075,10 @@ Module num. [ Value.Integer IntegerKind.U8 5; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5", + Ty.path "u32" + |) |) ] |))) @@ -1030,8 +1098,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8", + Ty.path "u32" + |) |) |) |)) in @@ -1052,8 +1122,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7", + Ty.path "u32" + |) |) |) |)) in @@ -1067,8 +1139,10 @@ Module num. [ Value.Integer IntegerKind.U8 6; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6", + Ty.path "u32" + |) |) ] |))); @@ -1079,8 +1153,10 @@ Module num. [ Value.Integer IntegerKind.U8 7; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7", + Ty.path "u32" + |) |) ] |))) @@ -1100,8 +1176,10 @@ Module num. BinOp.lt (| M.read (| x |), M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9", + Ty.path "u32" + |) |) |) |)) in @@ -1115,8 +1193,10 @@ Module num. [ Value.Integer IntegerKind.U8 8; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8", + Ty.path "u32" + |) |) ] |))); @@ -1127,8 +1207,10 @@ Module num. [ Value.Integer IntegerKind.U8 9; M.read (| - M.get_constant - "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9" + get_constant (| + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9", + Ty.path "u32" + |) |) ] |))) @@ -1145,85 +1227,102 @@ Module num. end. Global Instance Instance_IsFunction_max_pow10_no_more_than : - M.IsFunction.Trait + M.IsFunction.C "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than" max_pow10_no_more_than. Admitted. Global Typeclasses Opaque max_pow10_no_more_than. Module max_pow10_no_more_than. - Definition value_X9 : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000000 |))). + Definition value_X9 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000000 |))). - Axiom Constant_value_X9 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9") = + Global Instance Instance_IsConstant_value_X9 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X9" value_X9. - Global Hint Rewrite Constant_value_X9 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X9. - Definition value_X8 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100000000 |))). + Definition value_X8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100000000 |))). - Axiom Constant_value_X8 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8") = + Global Instance Instance_IsConstant_value_X8 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X8" value_X8. - Global Hint Rewrite Constant_value_X8 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X8. - Definition value_X7 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10000000 |))). + Definition value_X7 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10000000 |))). - Axiom Constant_value_X7 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7") = + Global Instance Instance_IsConstant_value_X7 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X7" value_X7. - Global Hint Rewrite Constant_value_X7 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X7. - Definition value_X6 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000 |))). + Definition value_X6 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000 |))). - Axiom Constant_value_X6 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6") = + Global Instance Instance_IsConstant_value_X6 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X6" value_X6. - Global Hint Rewrite Constant_value_X6 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X6. - Definition value_X5 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100000 |))). + Definition value_X5 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100000 |))). - Axiom Constant_value_X5 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5") = + Global Instance Instance_IsConstant_value_X5 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X5" value_X5. - Global Hint Rewrite Constant_value_X5 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X5. - Definition value_X4 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10000 |))). + Definition value_X4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10000 |))). - Axiom Constant_value_X4 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4") = + Global Instance Instance_IsConstant_value_X4 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X4" value_X4. - Global Hint Rewrite Constant_value_X4 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X4. - Definition value_X3 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000 |))). + Definition value_X3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000 |))). - Axiom Constant_value_X3 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3") = + Global Instance Instance_IsConstant_value_X3 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X3" value_X3. - Global Hint Rewrite Constant_value_X3 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X3. - Definition value_X2 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100 |))). + Definition value_X2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 100 |))). - Axiom Constant_value_X2 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2") = + Global Instance Instance_IsConstant_value_X2 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X2" value_X2. - Global Hint Rewrite Constant_value_X2 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X2. - Definition value_X1 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10 |))). + Definition value_X1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10 |))). - Axiom Constant_value_X1 : - (M.get_constant "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1") = + Global Instance Instance_IsConstant_value_X1 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::max_pow10_no_more_than::X1" value_X1. - Global Hint Rewrite Constant_value_X1 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_X1. End max_pow10_no_more_than. (* @@ -1841,7 +1940,10 @@ Module num. ] |), M.read (| - M.get_constant "core::num::flt2dec::MAX_SIG_DIGITS" + get_constant (| + "core::num::flt2dec::MAX_SIG_DIGITS", + Ty.path "usize" + |) |) |) |) @@ -2080,7 +2182,10 @@ Module num. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::ALPHA" + get_constant (| + "core::num::flt2dec::strategy::grisu::ALPHA", + Ty.path "i16" + |) |), M.read (| M.SubPointer.get_struct_record_field (| @@ -2095,7 +2200,10 @@ Module num. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::GAMMA" + get_constant (| + "core::num::flt2dec::strategy::grisu::GAMMA", + Ty.path "i16" + |) |), M.read (| M.SubPointer.get_struct_record_field (| @@ -3533,7 +3641,7 @@ Module num. end. Global Instance Instance_IsFunction_format_shortest_opt : - M.IsFunction.Trait + M.IsFunction.C "core::num::flt2dec::strategy::grisu::format_shortest_opt" format_shortest_opt. Admitted. @@ -4037,7 +4145,7 @@ Module num. end. Global Instance Instance_IsFunction_round_and_weed : - M.IsFunction.Trait + M.IsFunction.C "core::num::flt2dec::strategy::grisu::format_shortest_opt::round_and_weed" round_and_weed. Admitted. @@ -4167,7 +4275,7 @@ Module num. end. Global Instance Instance_IsFunction_format_shortest : - M.IsFunction.Trait "core::num::flt2dec::strategy::grisu::format_shortest" format_shortest. + M.IsFunction.C "core::num::flt2dec::strategy::grisu::format_shortest" format_shortest. Admitted. Global Typeclasses Opaque format_shortest. @@ -4663,7 +4771,10 @@ Module num. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::ALPHA" + get_constant (| + "core::num::flt2dec::strategy::grisu::ALPHA", + Ty.path "i16" + |) |), M.read (| M.SubPointer.get_struct_record_field (| @@ -4678,7 +4789,10 @@ Module num. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "core::num::flt2dec::strategy::grisu::GAMMA" + get_constant (| + "core::num::flt2dec::strategy::grisu::GAMMA", + Ty.path "i16" + |) |), M.read (| M.SubPointer.get_struct_record_field (| @@ -4818,8 +4932,14 @@ Module num. M.read (| vint |), M.read (| M.SubPointer.get_array_field (| - M.get_constant + get_constant (| "core::num::flt2dec::strategy::grisu::format_exact_opt::POW10_UP_TO_9", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 + ] + [ Ty.path "u32" ] + |), BinOp.Wrap.sub (| M.read (| requested_digits |), Value.Integer IntegerKind.Usize 1 @@ -6076,37 +6196,39 @@ Module num. end. Global Instance Instance_IsFunction_format_exact_opt : - M.IsFunction.Trait - "core::num::flt2dec::strategy::grisu::format_exact_opt" - format_exact_opt. + M.IsFunction.C "core::num::flt2dec::strategy::grisu::format_exact_opt" format_exact_opt. Admitted. Global Typeclasses Opaque format_exact_opt. Module format_exact_opt. - Definition value_POW10_UP_TO_9 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 - ] - |))). + Definition value_POW10_UP_TO_9 + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_POW10_UP_TO_9 : - (M.get_constant - "core::num::flt2dec::strategy::grisu::format_exact_opt::POW10_UP_TO_9") = + Global Instance Instance_IsConstant_value_POW10_UP_TO_9 : + M.IsFunction.C + "core::num::flt2dec::strategy::grisu::format_exact_opt::POW10_UP_TO_9" value_POW10_UP_TO_9. - Global Hint Rewrite Constant_value_POW10_UP_TO_9 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_POW10_UP_TO_9. (* unsafe fn possibly_round( @@ -6897,7 +7019,7 @@ Module num. end. Global Instance Instance_IsFunction_possibly_round : - M.IsFunction.Trait + M.IsFunction.C "core::num::flt2dec::strategy::grisu::format_exact_opt::possibly_round" possibly_round. Admitted. @@ -7031,7 +7153,7 @@ Module num. end. Global Instance Instance_IsFunction_format_exact : - M.IsFunction.Trait "core::num::flt2dec::strategy::grisu::format_exact" format_exact. + M.IsFunction.C "core::num::flt2dec::strategy::grisu::format_exact" format_exact. Admitted. Global Typeclasses Opaque format_exact. End grisu. diff --git a/CoqOfRust/core/num/fmt.v b/CoqOfRust/core/num/fmt.v index 186e91290..491355875 100644 --- a/CoqOfRust/core/num/fmt.v +++ b/CoqOfRust/core/num/fmt.v @@ -661,7 +661,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -1207,7 +1207,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_write : M.IsAssociatedFunction.Trait Self "write" write. + Global Instance AssociatedFunction_write : M.IsAssociatedFunction.C Self "write" write. Admitted. Global Typeclasses Opaque write. End Impl_core_num_fmt_Part. @@ -1492,7 +1492,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -1983,7 +1983,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_write : M.IsAssociatedFunction.Trait Self "write" write. + Global Instance AssociatedFunction_write : M.IsAssociatedFunction.C Self "write" write. Admitted. Global Typeclasses Opaque write. End Impl_core_num_fmt_Formatted. diff --git a/CoqOfRust/core/num/int_log10.v b/CoqOfRust/core/num/int_log10.v index f5922cf2e..5d0042d67 100644 --- a/CoqOfRust/core/num/int_log10.v +++ b/CoqOfRust/core/num/int_log10.v @@ -35,11 +35,11 @@ Module num. BinOp.bit_and (BinOp.Wrap.add (| M.read (| val |), - M.read (| M.get_constant "core::num::int_log10::u8::C1" |) + M.read (| get_constant (| "core::num::int_log10::u8::C1", Ty.path "u32" |) |) |)) (BinOp.Wrap.add (| M.read (| val |), - M.read (| M.get_constant "core::num::int_log10::u8::C2" |) + M.read (| get_constant (| "core::num::int_log10::u8::C2", Ty.path "u32" |) |) |)), Value.Integer IntegerKind.I32 8 |) @@ -48,36 +48,35 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u8 : M.IsFunction.Trait "core::num::int_log10::u8" u8. + Global Instance Instance_IsFunction_u8 : M.IsFunction.C "core::num::int_log10::u8" u8. Admitted. Global Typeclasses Opaque u8. Module u8. - Definition value_C1 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 768, - Value.Integer IntegerKind.U32 10 - |) - |))). + Definition value_C1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 768, Value.Integer IntegerKind.U32 10 |) + |))). - Axiom Constant_value_C1 : (M.get_constant "core::num::int_log10::u8::C1") = value_C1. - Global Hint Rewrite Constant_value_C1 : constant_rewrites. + Global Instance Instance_IsConstant_value_C1 : + M.IsFunction.C "core::num::int_log10::u8::C1" value_C1. + Admitted. + Global Typeclasses Opaque value_C1. - Definition value_C2 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 512, - Value.Integer IntegerKind.U32 100 - |) - |))). + Definition value_C2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 512, + Value.Integer IntegerKind.U32 100 + |) + |))). - Axiom Constant_value_C2 : (M.get_constant "core::num::int_log10::u8::C2") = value_C2. - Global Hint Rewrite Constant_value_C2 : constant_rewrites. + Global Instance Instance_IsConstant_value_C2 : + M.IsFunction.C "core::num::int_log10::u8::C2" value_C2. + Admitted. + Global Typeclasses Opaque value_C2. End u8. (* @@ -110,20 +109,28 @@ Module num. (BinOp.bit_and (BinOp.Wrap.add (| M.read (| val |), - M.read (| M.get_constant "core::num::int_log10::less_than_5::C1" |) + M.read (| + get_constant (| "core::num::int_log10::less_than_5::C1", Ty.path "u32" |) + |) |)) (BinOp.Wrap.add (| M.read (| val |), - M.read (| M.get_constant "core::num::int_log10::less_than_5::C2" |) + M.read (| + get_constant (| "core::num::int_log10::less_than_5::C2", Ty.path "u32" |) + |) |))) (BinOp.bit_and (BinOp.Wrap.add (| M.read (| val |), - M.read (| M.get_constant "core::num::int_log10::less_than_5::C3" |) + M.read (| + get_constant (| "core::num::int_log10::less_than_5::C3", Ty.path "u32" |) + |) |)) (BinOp.Wrap.add (| M.read (| val |), - M.read (| M.get_constant "core::num::int_log10::less_than_5::C4" |) + M.read (| + get_constant (| "core::num::int_log10::less_than_5::C4", Ty.path "u32" |) + |) |))), Value.Integer IntegerKind.I32 17 |))) @@ -131,62 +138,66 @@ Module num. end. Global Instance Instance_IsFunction_less_than_5 : - M.IsFunction.Trait "core::num::int_log10::less_than_5" less_than_5. + M.IsFunction.C "core::num::int_log10::less_than_5" less_than_5. Admitted. Global Typeclasses Opaque less_than_5. Module less_than_5. - Definition value_C1 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 393216, - Value.Integer IntegerKind.U32 10 - |) - |))). + Definition value_C1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 393216, + Value.Integer IntegerKind.U32 10 + |) + |))). - Axiom Constant_value_C1 : (M.get_constant "core::num::int_log10::less_than_5::C1") = value_C1. - Global Hint Rewrite Constant_value_C1 : constant_rewrites. + Global Instance Instance_IsConstant_value_C1 : + M.IsFunction.C "core::num::int_log10::less_than_5::C1" value_C1. + Admitted. + Global Typeclasses Opaque value_C1. - Definition value_C2 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 524288, - Value.Integer IntegerKind.U32 100 - |) - |))). + Definition value_C2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 524288, + Value.Integer IntegerKind.U32 100 + |) + |))). - Axiom Constant_value_C2 : (M.get_constant "core::num::int_log10::less_than_5::C2") = value_C2. - Global Hint Rewrite Constant_value_C2 : constant_rewrites. + Global Instance Instance_IsConstant_value_C2 : + M.IsFunction.C "core::num::int_log10::less_than_5::C2" value_C2. + Admitted. + Global Typeclasses Opaque value_C2. - Definition value_C3 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 917504, - Value.Integer IntegerKind.U32 1000 - |) - |))). + Definition value_C3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 917504, + Value.Integer IntegerKind.U32 1000 + |) + |))). - Axiom Constant_value_C3 : (M.get_constant "core::num::int_log10::less_than_5::C3") = value_C3. - Global Hint Rewrite Constant_value_C3 : constant_rewrites. + Global Instance Instance_IsConstant_value_C3 : + M.IsFunction.C "core::num::int_log10::less_than_5::C3" value_C3. + Admitted. + Global Typeclasses Opaque value_C3. - Definition value_C4 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 524288, - Value.Integer IntegerKind.U32 10000 - |) - |))). + Definition value_C4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 524288, + Value.Integer IntegerKind.U32 10000 + |) + |))). - Axiom Constant_value_C4 : (M.get_constant "core::num::int_log10::less_than_5::C4") = value_C4. - Global Hint Rewrite Constant_value_C4 : constant_rewrites. + Global Instance Instance_IsConstant_value_C4 : + M.IsFunction.C "core::num::int_log10::less_than_5::C4" value_C4. + Admitted. + Global Typeclasses Opaque value_C4. End less_than_5. (* @@ -207,7 +218,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u16 : M.IsFunction.Trait "core::num::int_log10::u16" u16. + Global Instance Instance_IsFunction_u16 : M.IsFunction.C "core::num::int_log10::u16" u16. Admitted. Global Typeclasses Opaque u16. @@ -278,7 +289,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u32 : M.IsFunction.Trait "core::num::int_log10::u32" u32. + Global Instance Instance_IsFunction_u32 : M.IsFunction.C "core::num::int_log10::u32" u32. Admitted. Global Typeclasses Opaque u32. @@ -392,7 +403,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u64 : M.IsFunction.Trait "core::num::int_log10::u64" u64. + Global Instance Instance_IsFunction_u64 : M.IsFunction.C "core::num::int_log10::u64" u64. Admitted. Global Typeclasses Opaque u64. @@ -538,7 +549,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u128 : M.IsFunction.Trait "core::num::int_log10::u128" u128. + Global Instance Instance_IsFunction_u128 : M.IsFunction.C "core::num::int_log10::u128" u128. Admitted. Global Typeclasses Opaque u128. @@ -560,8 +571,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_usize : - M.IsFunction.Trait "core::num::int_log10::usize" usize. + Global Instance Instance_IsFunction_usize : M.IsFunction.C "core::num::int_log10::usize" usize. Admitted. Global Typeclasses Opaque usize. @@ -583,7 +593,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i8 : M.IsFunction.Trait "core::num::int_log10::i8" i8. + Global Instance Instance_IsFunction_i8 : M.IsFunction.C "core::num::int_log10::i8" i8. Admitted. Global Typeclasses Opaque i8. @@ -605,7 +615,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i16 : M.IsFunction.Trait "core::num::int_log10::i16" i16. + Global Instance Instance_IsFunction_i16 : M.IsFunction.C "core::num::int_log10::i16" i16. Admitted. Global Typeclasses Opaque i16. @@ -627,7 +637,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i32 : M.IsFunction.Trait "core::num::int_log10::i32" i32. + Global Instance Instance_IsFunction_i32 : M.IsFunction.C "core::num::int_log10::i32" i32. Admitted. Global Typeclasses Opaque i32. @@ -649,7 +659,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i64 : M.IsFunction.Trait "core::num::int_log10::i64" i64. + Global Instance Instance_IsFunction_i64 : M.IsFunction.C "core::num::int_log10::i64" i64. Admitted. Global Typeclasses Opaque i64. @@ -671,7 +681,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i128 : M.IsFunction.Trait "core::num::int_log10::i128" i128. + Global Instance Instance_IsFunction_i128 : M.IsFunction.C "core::num::int_log10::i128" i128. Admitted. Global Typeclasses Opaque i128. @@ -721,7 +731,7 @@ Module num. end. Global Instance Instance_IsFunction_panic_for_nonpositive_argument : - M.IsFunction.Trait + M.IsFunction.C "core::num::int_log10::panic_for_nonpositive_argument" panic_for_nonpositive_argument. Admitted. diff --git a/CoqOfRust/core/num/int_sqrt.v b/CoqOfRust/core/num/int_sqrt.v index a2111f3e6..f55f2854c 100644 --- a/CoqOfRust/core/num/int_sqrt.v +++ b/CoqOfRust/core/num/int_sqrt.v @@ -3,64 +3,99 @@ Require Import CoqOfRust.CoqOfRust. Module num. Module int_sqrt. - Definition value_U8_ISQRT_WITH_REMAINDER : Value.t := - M.run_constant - ltac:(M.monadic - (let~ result : - Ty.apply - (Ty.path "array") - [ Value.Integer IntegerKind.Usize 256 ] - [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] := - M.alloc (| - repeat (| - Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ], - Value.Integer IntegerKind.Usize 256 - |) - |) in - let~ n : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in - let~ isqrt_n : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in - let~ _ : Ty.tuple [] := - M.loop (| - Ty.tuple [], - ltac:(M.monadic - (M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.lt (| - M.read (| n |), - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| - Ty.apply - (Ty.path "slice") - [] - [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ], - "len", - [], + Definition value_U8_ISQRT_WITH_REMAINDER + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (let~ result : + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] := + M.alloc (| + repeat (| + Value.Tuple [ Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ], + Value.Integer IntegerKind.Usize 256 + |) + |) in + let~ n : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ isqrt_n : Ty.path "usize" := M.alloc (| Value.Integer IntegerKind.Usize 0 |) in + let~ _ : Ty.tuple [] := + M.loop (| + Ty.tuple [], + ltac:(M.monadic + (M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.lt (| + M.read (| n |), + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| + Ty.apply + (Ty.path "slice") [] - |), - [ M.borrow (| Pointer.Kind.Ref, result |) ] - |) + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ], + "len", + [], + [] + |), + [ M.borrow (| Pointer.Kind.Ref, result |) ] |) - |)) in - let _ := - M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ : Ty.tuple [] := - M.alloc (| - M.write (| - M.SubPointer.get_array_field (| result, M.read (| n |) |), - Value.Tuple - [ - M.cast (Ty.path "u8") (M.read (| isqrt_n |)); - M.cast - (Ty.path "u8") - (BinOp.Wrap.sub (| + |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + let~ _ : Ty.tuple [] := + M.alloc (| + M.write (| + M.SubPointer.get_array_field (| result, M.read (| n |) |), + Value.Tuple + [ + M.cast (Ty.path "u8") (M.read (| isqrt_n |)); + M.cast + (Ty.path "u8") + (BinOp.Wrap.sub (| + M.read (| n |), + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| + Ty.path "usize", + "pow", + [], + [] + |), + [ M.read (| isqrt_n |); Value.Integer IntegerKind.U32 2 ] + |) + |)) + ] + |) + |) in + let~ _ : Ty.tuple [] := + M.alloc (| + let β := n in + M.write (| + β, + BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) + |) + |) in + M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.eq (| M.read (| n |), M.call_closure (| Ty.path "usize", @@ -70,89 +105,56 @@ Module num. [], [] |), - [ M.read (| isqrt_n |); Value.Integer IntegerKind.U32 2 ] - |) - |)) - ] - |) - |) in - let~ _ : Ty.tuple [] := - M.alloc (| - let β := n in - M.write (| - β, - BinOp.Wrap.add (| M.read (| β |), Value.Integer IntegerKind.Usize 1 |) - |) - |) in - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.eq (| - M.read (| n |), - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| - Ty.path "usize", - "pow", - [], - [] - |), - [ - BinOp.Wrap.add (| - M.read (| isqrt_n |), - Value.Integer IntegerKind.Usize 1 - |); - Value.Integer IntegerKind.U32 2 - ] - |) - |) - |)) in - let _ := - M.is_constant_or_break_match (| - M.read (| γ |), - Value.Bool true - |) in - let~ _ : Ty.tuple [] := - M.alloc (| - let β := isqrt_n in - M.write (| - β, - BinOp.Wrap.add (| - M.read (| β |), - Value.Integer IntegerKind.Usize 1 + [ + BinOp.Wrap.add (| + M.read (| isqrt_n |), + Value.Integer IntegerKind.Usize 1 + |); + Value.Integer IntegerKind.U32 2 + ] |) |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |))); - fun γ => - ltac:(M.monadic - (M.alloc (| - M.never_to_any (| - M.read (| + |)) in + let _ := + M.is_constant_or_break_match (| + M.read (| γ |), + Value.Bool true + |) in let~ _ : Ty.tuple [] := - M.alloc (| M.never_to_any (| M.read (| M.break (||) |) |) |) in - M.alloc (| Value.Tuple [] |) - |) + M.alloc (| + let β := isqrt_n in + M.write (| + β, + BinOp.Wrap.add (| + M.read (| β |), + Value.Integer IntegerKind.Usize 1 + |) + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |))); + fun γ => + ltac:(M.monadic + (M.alloc (| + M.never_to_any (| + M.read (| + let~ _ : Ty.tuple [] := + M.alloc (| M.never_to_any (| M.read (| M.break (||) |) |) |) in + M.alloc (| Value.Tuple [] |) |) - |))) - ] - |))) - |) in - result)). + |) + |))) + ] + |))) + |) in + result)). - Axiom Constant_value_U8_ISQRT_WITH_REMAINDER : - (M.get_constant "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER") = - value_U8_ISQRT_WITH_REMAINDER. - Global Hint Rewrite Constant_value_U8_ISQRT_WITH_REMAINDER : constant_rewrites. + Global Instance Instance_IsConstant_value_U8_ISQRT_WITH_REMAINDER : + M.IsFunction.C "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER" value_U8_ISQRT_WITH_REMAINDER. + Admitted. + Global Typeclasses Opaque value_U8_ISQRT_WITH_REMAINDER. (* pub const fn u8(n: u8) -> u8 { @@ -167,7 +169,13 @@ Module num. M.read (| M.SubPointer.get_tuple_field (| M.SubPointer.get_array_field (| - M.get_constant "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + get_constant (| + "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + |), M.cast (Ty.path "usize") (M.read (| n |)) |), 0 @@ -176,7 +184,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u8 : M.IsFunction.Trait "core::num::int_sqrt::u8" u8. + Global Instance Instance_IsFunction_u8 : M.IsFunction.C "core::num::int_sqrt::u8" u8. Admitted. Global Typeclasses Opaque u8. @@ -280,7 +288,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i8 : M.IsFunction.Trait "core::num::int_sqrt::i8" i8. + Global Instance Instance_IsFunction_i8 : M.IsFunction.C "core::num::int_sqrt::i8" i8. Admitted. Global Typeclasses Opaque i8. @@ -384,7 +392,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i16 : M.IsFunction.Trait "core::num::int_sqrt::i16" i16. + Global Instance Instance_IsFunction_i16 : M.IsFunction.C "core::num::int_sqrt::i16" i16. Admitted. Global Typeclasses Opaque i16. @@ -488,7 +496,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i32 : M.IsFunction.Trait "core::num::int_sqrt::i32" i32. + Global Instance Instance_IsFunction_i32 : M.IsFunction.C "core::num::int_sqrt::i32" i32. Admitted. Global Typeclasses Opaque i32. @@ -592,7 +600,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i64 : M.IsFunction.Trait "core::num::int_sqrt::i64" i64. + Global Instance Instance_IsFunction_i64 : M.IsFunction.C "core::num::int_sqrt::i64" i64. Admitted. Global Typeclasses Opaque i64. @@ -696,7 +704,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_i128 : M.IsFunction.Trait "core::num::int_sqrt::i128" i128. + Global Instance Instance_IsFunction_i128 : M.IsFunction.C "core::num::int_sqrt::i128" i128. Admitted. Global Typeclasses Opaque i128. @@ -794,13 +802,21 @@ Module num. M.alloc (| BinOp.Wrap.shr (| M.read (| n |), - M.read (| M.get_constant "core::num::int_sqrt::u16_stages::N_SHIFT" |) + M.read (| + get_constant (| "core::num::int_sqrt::u16_stages::N_SHIFT", Ty.path "u32" |) + |) |) |) in M.match_operator (| None, M.SubPointer.get_array_field (| - M.get_constant "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + get_constant (| + "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + |), M.cast (Ty.path "usize") (M.read (| n |)) |), [ @@ -916,7 +932,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant "core::num::int_sqrt::u16_stages::LOWER_HALF_1_BITS" + get_constant (| + "core::num::int_sqrt::u16_stages::LOWER_HALF_1_BITS", + Ty.path "u16" + |) |)) |) in let~ numerator : Ty.path "u16" := @@ -925,13 +944,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u16") (M.read (| r |)), M.read (| - M.get_constant "core::num::int_sqrt::u16_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u16_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant "core::num::int_sqrt::u16_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u16_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) |) in @@ -954,7 +979,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant "core::num::int_sqrt::u16_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u16_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -1025,67 +1053,72 @@ Module num. end. Global Instance Instance_IsFunction_u16_stages : - M.IsFunction.Trait "core::num::int_sqrt::u16_stages" u16_stages. + M.IsFunction.C "core::num::int_sqrt::u16_stages" u16_stages. Admitted. Global Typeclasses Opaque u16_stages. Module u16_stages. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 16, Value.Integer IntegerKind.U32 8 |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 16, Value.Integer IntegerKind.U32 8 |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u16_stages::N_SHIFT") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u16_stages::N_SHIFT" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u16_stages::HALF_BITS") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u16_stages::HALF_BITS" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u16_stages::QUARTER_BITS") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u16_stages::QUARTER_BITS" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u16_stages::HALF_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u16_stages::HALF_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u16_stages::LOWER_HALF_1_BITS") = - value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C "core::num::int_sqrt::u16_stages::LOWER_HALF_1_BITS" value_LOWER_HALF_1_BITS. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. End u16_stages. (* @@ -1183,13 +1216,21 @@ Module num. M.alloc (| BinOp.Wrap.shr (| M.read (| n |), - M.read (| M.get_constant "core::num::int_sqrt::u32_stages::N_SHIFT" |) + M.read (| + get_constant (| "core::num::int_sqrt::u32_stages::N_SHIFT", Ty.path "u32" |) + |) |) |) in M.match_operator (| None, M.SubPointer.get_array_field (| - M.get_constant "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + get_constant (| + "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + |), M.cast (Ty.path "usize") (M.read (| n |)) |), [ @@ -1309,7 +1350,10 @@ Module num. (BinOp.Wrap.shr (| M.read (| n |), M.read (| - M.get_constant "core::num::int_sqrt::u32_stages::N_SHIFT'1" + get_constant (| + "core::num::int_sqrt::u32_stages::N_SHIFT'1", + Ty.path "u32" + |) |) |)) |) in @@ -1318,7 +1362,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS" + get_constant (| + "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS", + Ty.path "u16" + |) |)) |) in let~ numerator : Ty.path "u16" := @@ -1327,13 +1374,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u16") (M.read (| r |)), M.read (| - M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) |) in @@ -1360,7 +1413,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -1382,14 +1438,19 @@ Module num. (BinOp.Wrap.shl (| M.read (| u |), M.read (| - M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.bit_and (M.read (| lo |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u32_stages::LOWEST_QUARTER_1_BITS" + get_constant (| + "core::num::int_sqrt::u32_stages::LOWEST_QUARTER_1_BITS", + Ty.path "u16" + |) |))); BinOp.Wrap.mul (| M.read (| q |), M.read (| q |) |) ] @@ -1562,8 +1623,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS'1" + get_constant (| + "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS'1", + Ty.path "u32" + |) |)) |) in let~ numerator : Ty.path "u32" := @@ -1572,15 +1635,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u32") (M.read (| r |)), M.read (| - M.get_constant - "core::num::int_sqrt::u32_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant - "core::num::int_sqrt::u32_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) |) in @@ -1606,8 +1673,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant - "core::num::int_sqrt::u32_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u32_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -1685,145 +1754,164 @@ Module num. end. Global Instance Instance_IsFunction_u32_stages : - M.IsFunction.Trait "core::num::int_sqrt::u32_stages" u32_stages. + M.IsFunction.C "core::num::int_sqrt::u32_stages" u32_stages. Admitted. Global Typeclasses Opaque u32_stages. Module u32_stages. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 32, Value.Integer IntegerKind.U32 8 |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 32, Value.Integer IntegerKind.U32 8 |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u32_stages::N_SHIFT") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u32_stages::N_SHIFT" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 32, - M.read (| M.get_constant "core::num::BITS" |) - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 32, + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |) + |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u32_stages::N_SHIFT'1") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u32_stages::N_SHIFT'1" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::HALF_BITS") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u32_stages::HALF_BITS" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u32_stages::QUARTER_BITS" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u32_stages::HALF_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u32_stages::HALF_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS") = - value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS" value_LOWER_HALF_1_BITS. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. - Definition value_LOWEST_QUARTER_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWEST_QUARTER_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u32_stages::QUARTER_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWEST_QUARTER_1_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::LOWEST_QUARTER_1_BITS") = + Global Instance Instance_IsConstant_value_LOWEST_QUARTER_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u32_stages::LOWEST_QUARTER_1_BITS" value_LOWEST_QUARTER_1_BITS. - Global Hint Rewrite Constant_value_LOWEST_QUARTER_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWEST_QUARTER_1_BITS. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::HALF_BITS'1") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u32_stages::HALF_BITS'1" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::QUARTER_BITS'1") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u32_stages::QUARTER_BITS'1" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - M.read (| M.get_constant "core::num::int_sqrt::u32_stages::HALF_BITS'1" |) - |), - Value.Integer IntegerKind.U32 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.read (| + get_constant (| "core::num::int_sqrt::u32_stages::HALF_BITS'1", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U32 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS'1") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u32_stages::LOWER_HALF_1_BITS'1" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. End u32_stages. (* @@ -1922,13 +2010,21 @@ Module num. M.alloc (| BinOp.Wrap.shr (| M.read (| n |), - M.read (| M.get_constant "core::num::int_sqrt::u64_stages::N_SHIFT" |) + M.read (| + get_constant (| "core::num::int_sqrt::u64_stages::N_SHIFT", Ty.path "u32" |) + |) |) |) in M.match_operator (| None, M.SubPointer.get_array_field (| - M.get_constant "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + get_constant (| + "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + |), M.cast (Ty.path "usize") (M.read (| n |)) |), [ @@ -2048,7 +2144,10 @@ Module num. (BinOp.Wrap.shr (| M.read (| n |), M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::N_SHIFT'1" + get_constant (| + "core::num::int_sqrt::u64_stages::N_SHIFT'1", + Ty.path "u32" + |) |) |)) |) in @@ -2057,7 +2156,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS" + get_constant (| + "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS", + Ty.path "u16" + |) |)) |) in let~ numerator : Ty.path "u16" := @@ -2066,13 +2168,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u16") (M.read (| r |)), M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) |) in @@ -2099,7 +2207,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -2121,14 +2232,19 @@ Module num. (BinOp.Wrap.shl (| M.read (| u |), M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.bit_and (M.read (| lo |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS" + get_constant (| + "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS", + Ty.path "u16" + |) |))); BinOp.Wrap.mul (| M.read (| q |), M.read (| q |) |) ] @@ -2306,7 +2422,10 @@ Module num. (BinOp.Wrap.shr (| M.read (| n |), M.read (| - M.get_constant "core::num::int_sqrt::u64_stages::N_SHIFT'2" + get_constant (| + "core::num::int_sqrt::u64_stages::N_SHIFT'2", + Ty.path "u32" + |) |) |)) |) in @@ -2315,8 +2434,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'1" + get_constant (| + "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'1", + Ty.path "u32" + |) |)) |) in let~ numerator : Ty.path "u32" := @@ -2325,15 +2446,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u32") (M.read (| r |)), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) |) in @@ -2366,8 +2491,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -2389,15 +2516,19 @@ Module num. (BinOp.Wrap.shl (| M.read (| u |), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) (BinOp.bit_and (M.read (| lo |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS'1" + get_constant (| + "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS'1", + Ty.path "u32" + |) |))); BinOp.Wrap.mul (| M.read (| q |), M.read (| q |) |) ] @@ -2584,8 +2715,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'2" + get_constant (| + "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'2", + Ty.path "u64" + |) |)) |) in let~ numerator : Ty.path "u64" := @@ -2594,15 +2727,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u64") (M.read (| r |)), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)) |) in @@ -2628,8 +2765,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant - "core::num::int_sqrt::u64_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -2710,223 +2849,259 @@ Module num. end. Global Instance Instance_IsFunction_u64_stages : - M.IsFunction.Trait "core::num::int_sqrt::u64_stages" u64_stages. + M.IsFunction.C "core::num::int_sqrt::u64_stages" u64_stages. Admitted. Global Typeclasses Opaque u64_stages. Module u64_stages. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 64, Value.Integer IntegerKind.U32 8 |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 64, Value.Integer IntegerKind.U32 8 |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u64_stages::N_SHIFT") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u64_stages::N_SHIFT" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 64, - M.read (| M.get_constant "core::num::BITS" |) - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 64, + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |) + |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u64_stages::N_SHIFT'1") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u64_stages::N_SHIFT'1" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::HALF_BITS") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::HALF_BITS" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::QUARTER_BITS" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u64_stages::HALF_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u64_stages::HALF_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS") = - value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS" value_LOWER_HALF_1_BITS. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. - Definition value_LOWEST_QUARTER_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWEST_QUARTER_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u64_stages::QUARTER_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWEST_QUARTER_1_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS") = + Global Instance Instance_IsConstant_value_LOWEST_QUARTER_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS" value_LOWEST_QUARTER_1_BITS. - Global Hint Rewrite Constant_value_LOWEST_QUARTER_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWEST_QUARTER_1_BITS. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 64, - M.read (| M.get_constant "core::num::BITS" |) - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 64, + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |) + |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u64_stages::N_SHIFT'2") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u64_stages::N_SHIFT'2" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::HALF_BITS'1") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::HALF_BITS'1" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS'1") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::QUARTER_BITS'1" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - M.read (| M.get_constant "core::num::int_sqrt::u64_stages::HALF_BITS'1" |) - |), - Value.Integer IntegerKind.U32 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.read (| + get_constant (| "core::num::int_sqrt::u64_stages::HALF_BITS'1", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U32 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'1") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'1" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. - Definition value_LOWEST_QUARTER_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - M.read (| M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS'1" |) - |), - Value.Integer IntegerKind.U32 1 - |) - |))). + Definition value_LOWEST_QUARTER_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.read (| + get_constant (| + "core::num::int_sqrt::u64_stages::QUARTER_BITS'1", + Ty.path "u32" + |) + |) + |), + Value.Integer IntegerKind.U32 1 + |) + |))). - Axiom Constant_value_LOWEST_QUARTER_1_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS'1") = + Global Instance Instance_IsConstant_value_LOWEST_QUARTER_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u64_stages::LOWEST_QUARTER_1_BITS'1" value_LOWEST_QUARTER_1_BITS. - Global Hint Rewrite Constant_value_LOWEST_QUARTER_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWEST_QUARTER_1_BITS. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::HALF_BITS'2") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::HALF_BITS'2" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::QUARTER_BITS'2") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u64_stages::QUARTER_BITS'2" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U64 1, - M.read (| M.get_constant "core::num::int_sqrt::u64_stages::HALF_BITS'2" |) - |), - Value.Integer IntegerKind.U64 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| + get_constant (| "core::num::int_sqrt::u64_stages::HALF_BITS'2", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U64 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'2") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u64_stages::LOWER_HALF_1_BITS'2" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. End u64_stages. (* @@ -3026,13 +3201,21 @@ Module num. M.alloc (| BinOp.Wrap.shr (| M.read (| n |), - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT" |) + M.read (| + get_constant (| "core::num::int_sqrt::u128_stages::N_SHIFT", Ty.path "u32" |) + |) |) |) in M.match_operator (| None, M.SubPointer.get_array_field (| - M.get_constant "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + get_constant (| + "core::num::int_sqrt::U8_ISQRT_WITH_REMAINDER", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + |), M.cast (Ty.path "usize") (M.read (| n |)) |), [ @@ -3152,7 +3335,10 @@ Module num. (BinOp.Wrap.shr (| M.read (| n |), M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT'1" + get_constant (| + "core::num::int_sqrt::u128_stages::N_SHIFT'1", + Ty.path "u32" + |) |) |)) |) in @@ -3161,7 +3347,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS", + Ty.path "u16" + |) |)) |) in let~ numerator : Ty.path "u16" := @@ -3170,13 +3359,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u16") (M.read (| r |)), M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) |) in @@ -3203,7 +3398,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -3225,14 +3423,19 @@ Module num. (BinOp.Wrap.shl (| M.read (| u |), M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS", + Ty.path "u32" + |) |) |)) (BinOp.bit_and (M.read (| lo |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS", + Ty.path "u16" + |) |))); BinOp.Wrap.mul (| M.read (| q |), M.read (| q |) |) ] @@ -3410,7 +3613,10 @@ Module num. (BinOp.Wrap.shr (| M.read (| n |), M.read (| - M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT'2" + get_constant (| + "core::num::int_sqrt::u128_stages::N_SHIFT'2", + Ty.path "u32" + |) |) |)) |) in @@ -3419,8 +3625,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'1" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'1", + Ty.path "u32" + |) |)) |) in let~ numerator : Ty.path "u32" := @@ -3429,15 +3637,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u32") (M.read (| r |)), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) |) in @@ -3470,8 +3682,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -3493,15 +3707,19 @@ Module num. (BinOp.Wrap.shl (| M.read (| u |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'1" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'1", + Ty.path "u32" + |) |) |)) (BinOp.bit_and (M.read (| lo |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'1" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'1", + Ty.path "u32" + |) |))); BinOp.Wrap.mul (| M.read (| q |), M.read (| q |) |) ] @@ -3693,8 +3911,10 @@ Module num. (BinOp.Wrap.shr (| M.read (| n |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::N_SHIFT'3" + get_constant (| + "core::num::int_sqrt::u128_stages::N_SHIFT'3", + Ty.path "u32" + |) |) |)) |) in @@ -3703,8 +3923,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'2" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'2", + Ty.path "u64" + |) |)) |) in let~ numerator : Ty.path "u64" := @@ -3713,15 +3935,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u64") (M.read (| r |)), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)) |) in @@ -3754,8 +3980,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -3777,15 +4005,19 @@ Module num. (BinOp.Wrap.shl (| M.read (| u |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'2" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'2", + Ty.path "u32" + |) |) |)) (BinOp.bit_and (M.read (| lo |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'2" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'2", + Ty.path "u64" + |) |))); BinOp.Wrap.mul (| M.read (| q |), M.read (| q |) |) ] @@ -3985,8 +4217,10 @@ Module num. BinOp.bit_and (M.read (| n |)) (M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'3" + get_constant (| + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'3", + Ty.path "u128" + |) |)) |) in let~ numerator : Ty.path "u128" := @@ -3995,15 +4229,19 @@ Module num. (BinOp.Wrap.shl (| M.cast (Ty.path "u128") (M.read (| r |)), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'3" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'3", + Ty.path "u32" + |) |) |)) (BinOp.Wrap.shr (| M.read (| lo |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'3" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'3", + Ty.path "u32" + |) |) |)) |) in @@ -4029,8 +4267,10 @@ Module num. (BinOp.Wrap.shl (| M.read (| s |), M.read (| - M.get_constant - "core::num::int_sqrt::u128_stages::QUARTER_BITS'3" + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'3", + Ty.path "u32" + |) |) |)), M.read (| q |) @@ -4118,304 +4358,356 @@ Module num. end. Global Instance Instance_IsFunction_u128_stages : - M.IsFunction.Trait "core::num::int_sqrt::u128_stages" u128_stages. + M.IsFunction.C "core::num::int_sqrt::u128_stages" u128_stages. Admitted. Global Typeclasses Opaque u128_stages. Module u128_stages. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 128, - Value.Integer IntegerKind.U32 8 - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| Value.Integer IntegerKind.U32 128, Value.Integer IntegerKind.U32 8 |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u128_stages::N_SHIFT" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 128, - M.read (| M.get_constant "core::num::BITS" |) - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 128, + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |) + |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT'1") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u128_stages::N_SHIFT'1" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::HALF_BITS" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::QUARTER_BITS" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u128_stages::HALF_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. - Definition value_LOWEST_QUARTER_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U16 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS" |) - |), - Value.Integer IntegerKind.U16 1 - |) - |))). + Definition value_LOWEST_QUARTER_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U16 1, + M.read (| + get_constant (| "core::num::int_sqrt::u128_stages::QUARTER_BITS", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U16 1 + |) + |))). - Axiom Constant_value_LOWEST_QUARTER_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS") = + Global Instance Instance_IsConstant_value_LOWEST_QUARTER_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS" value_LOWEST_QUARTER_1_BITS. - Global Hint Rewrite Constant_value_LOWEST_QUARTER_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWEST_QUARTER_1_BITS. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 128, - M.read (| M.get_constant "core::num::BITS" |) - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 128, + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |) + |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT'2") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u128_stages::N_SHIFT'2" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS'1") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::HALF_BITS'1" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS'1") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::QUARTER_BITS'1" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS'1" |) - |), - Value.Integer IntegerKind.U32 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.read (| + get_constant (| "core::num::int_sqrt::u128_stages::HALF_BITS'1", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U32 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'1") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'1" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. - Definition value_LOWEST_QUARTER_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS'1" |) - |), - Value.Integer IntegerKind.U32 1 - |) - |))). + Definition value_LOWEST_QUARTER_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U32 1, + M.read (| + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'1", + Ty.path "u32" + |) + |) + |), + Value.Integer IntegerKind.U32 1 + |) + |))). - Axiom Constant_value_LOWEST_QUARTER_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'1") = + Global Instance Instance_IsConstant_value_LOWEST_QUARTER_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'1" value_LOWEST_QUARTER_1_BITS. - Global Hint Rewrite Constant_value_LOWEST_QUARTER_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWEST_QUARTER_1_BITS. - Definition value_N_SHIFT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - Value.Integer IntegerKind.U32 128, - M.read (| M.get_constant "core::num::BITS" |) - |) - |))). + Definition value_N_SHIFT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + Value.Integer IntegerKind.U32 128, + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |) + |) + |))). - Axiom Constant_value_N_SHIFT : - (M.get_constant "core::num::int_sqrt::u128_stages::N_SHIFT'3") = value_N_SHIFT. - Global Hint Rewrite Constant_value_N_SHIFT : constant_rewrites. + Global Instance Instance_IsConstant_value_N_SHIFT : + M.IsFunction.C "core::num::int_sqrt::u128_stages::N_SHIFT'3" value_N_SHIFT. + Admitted. + Global Typeclasses Opaque value_N_SHIFT. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS'2") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::HALF_BITS'2" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS'2") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::QUARTER_BITS'2" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U64 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS'2" |) - |), - Value.Integer IntegerKind.U64 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| + get_constant (| "core::num::int_sqrt::u128_stages::HALF_BITS'2", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U64 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'2") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'2" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. - Definition value_LOWEST_QUARTER_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U64 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS'2" |) - |), - Value.Integer IntegerKind.U64 1 - |) - |))). + Definition value_LOWEST_QUARTER_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U64 1, + M.read (| + get_constant (| + "core::num::int_sqrt::u128_stages::QUARTER_BITS'2", + Ty.path "u32" + |) + |) + |), + Value.Integer IntegerKind.U64 1 + |) + |))). - Axiom Constant_value_LOWEST_QUARTER_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'2") = + Global Instance Instance_IsConstant_value_LOWEST_QUARTER_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWEST_QUARTER_1_BITS'2" value_LOWEST_QUARTER_1_BITS. - Global Hint Rewrite Constant_value_LOWEST_QUARTER_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWEST_QUARTER_1_BITS. - Definition value_HALF_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 1 - |) - |))). + Definition value_HALF_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |) + |))). - Axiom Constant_value_HALF_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS'3") = value_HALF_BITS. - Global Hint Rewrite Constant_value_HALF_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_HALF_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::HALF_BITS'3" value_HALF_BITS. + Admitted. + Global Typeclasses Opaque value_HALF_BITS. - Definition value_QUARTER_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::BITS" |), - Value.Integer IntegerKind.I32 2 - |) - |))). + Definition value_QUARTER_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 2 + |) + |))). - Axiom Constant_value_QUARTER_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::QUARTER_BITS'3") = value_QUARTER_BITS. - Global Hint Rewrite Constant_value_QUARTER_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_QUARTER_BITS : + M.IsFunction.C "core::num::int_sqrt::u128_stages::QUARTER_BITS'3" value_QUARTER_BITS. + Admitted. + Global Typeclasses Opaque value_QUARTER_BITS. - Definition value_LOWER_HALF_1_BITS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U128 1, - M.read (| M.get_constant "core::num::int_sqrt::u128_stages::HALF_BITS'3" |) - |), - Value.Integer IntegerKind.U128 1 - |) - |))). + Definition value_LOWER_HALF_1_BITS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| + Value.Integer IntegerKind.U128 1, + M.read (| + get_constant (| "core::num::int_sqrt::u128_stages::HALF_BITS'3", Ty.path "u32" |) + |) + |), + Value.Integer IntegerKind.U128 1 + |) + |))). - Axiom Constant_value_LOWER_HALF_1_BITS : - (M.get_constant "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'3") = + Global Instance Instance_IsConstant_value_LOWER_HALF_1_BITS : + M.IsFunction.C + "core::num::int_sqrt::u128_stages::LOWER_HALF_1_BITS'3" value_LOWER_HALF_1_BITS. - Global Hint Rewrite Constant_value_LOWER_HALF_1_BITS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWER_HALF_1_BITS. End u128_stages. (* @@ -4481,7 +4773,11 @@ Module num. (M.alloc (| BinOp.le (| M.read (| n |), - M.cast (Ty.path "u16") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u16") + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4505,7 +4801,10 @@ Module num. [ M.read (| n |) ] |)) (M.read (| - M.get_constant "core::num::int_sqrt::u16::EVEN_MAKING_BITMASK" + get_constant (| + "core::num::int_sqrt::u16::EVEN_MAKING_BITMASK", + Ty.path "u32" + |) |)) |) in let~ _ : Ty.tuple [] := @@ -4540,19 +4839,22 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u16 : M.IsFunction.Trait "core::num::int_sqrt::u16" u16. + Global Instance Instance_IsFunction_u16 : M.IsFunction.C "core::num::int_sqrt::u16" u16. Admitted. Global Typeclasses Opaque u16. Module u16. - Definition value_EVEN_MAKING_BITMASK : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). + Definition value_EVEN_MAKING_BITMASK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). - Axiom Constant_value_EVEN_MAKING_BITMASK : - (M.get_constant "core::num::int_sqrt::u16::EVEN_MAKING_BITMASK") = - value_EVEN_MAKING_BITMASK. - Global Hint Rewrite Constant_value_EVEN_MAKING_BITMASK : constant_rewrites. + Global Instance Instance_IsConstant_value_EVEN_MAKING_BITMASK : + M.IsFunction.C "core::num::int_sqrt::u16::EVEN_MAKING_BITMASK" value_EVEN_MAKING_BITMASK. + Admitted. + Global Typeclasses Opaque value_EVEN_MAKING_BITMASK. End u16. (* @@ -4618,7 +4920,11 @@ Module num. (M.alloc (| BinOp.le (| M.read (| n |), - M.cast (Ty.path "u32") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u32") + (M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4642,7 +4948,10 @@ Module num. [ M.read (| n |) ] |)) (M.read (| - M.get_constant "core::num::int_sqrt::u32::EVEN_MAKING_BITMASK" + get_constant (| + "core::num::int_sqrt::u32::EVEN_MAKING_BITMASK", + Ty.path "u32" + |) |)) |) in let~ _ : Ty.tuple [] := @@ -4677,19 +4986,22 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u32 : M.IsFunction.Trait "core::num::int_sqrt::u32" u32. + Global Instance Instance_IsFunction_u32 : M.IsFunction.C "core::num::int_sqrt::u32" u32. Admitted. Global Typeclasses Opaque u32. Module u32. - Definition value_EVEN_MAKING_BITMASK : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). + Definition value_EVEN_MAKING_BITMASK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). - Axiom Constant_value_EVEN_MAKING_BITMASK : - (M.get_constant "core::num::int_sqrt::u32::EVEN_MAKING_BITMASK") = - value_EVEN_MAKING_BITMASK. - Global Hint Rewrite Constant_value_EVEN_MAKING_BITMASK : constant_rewrites. + Global Instance Instance_IsConstant_value_EVEN_MAKING_BITMASK : + M.IsFunction.C "core::num::int_sqrt::u32::EVEN_MAKING_BITMASK" value_EVEN_MAKING_BITMASK. + Admitted. + Global Typeclasses Opaque value_EVEN_MAKING_BITMASK. End u32. (* @@ -4755,7 +5067,11 @@ Module num. (M.alloc (| BinOp.le (| M.read (| n |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4779,7 +5095,10 @@ Module num. [ M.read (| n |) ] |)) (M.read (| - M.get_constant "core::num::int_sqrt::u64::EVEN_MAKING_BITMASK" + get_constant (| + "core::num::int_sqrt::u64::EVEN_MAKING_BITMASK", + Ty.path "u32" + |) |)) |) in let~ _ : Ty.tuple [] := @@ -4814,19 +5133,22 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u64 : M.IsFunction.Trait "core::num::int_sqrt::u64" u64. + Global Instance Instance_IsFunction_u64 : M.IsFunction.C "core::num::int_sqrt::u64" u64. Admitted. Global Typeclasses Opaque u64. Module u64. - Definition value_EVEN_MAKING_BITMASK : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). + Definition value_EVEN_MAKING_BITMASK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). - Axiom Constant_value_EVEN_MAKING_BITMASK : - (M.get_constant "core::num::int_sqrt::u64::EVEN_MAKING_BITMASK") = - value_EVEN_MAKING_BITMASK. - Global Hint Rewrite Constant_value_EVEN_MAKING_BITMASK : constant_rewrites. + Global Instance Instance_IsConstant_value_EVEN_MAKING_BITMASK : + M.IsFunction.C "core::num::int_sqrt::u64::EVEN_MAKING_BITMASK" value_EVEN_MAKING_BITMASK. + Admitted. + Global Typeclasses Opaque value_EVEN_MAKING_BITMASK. End u64. (* @@ -4892,7 +5214,11 @@ Module num. (M.alloc (| BinOp.le (| M.read (| n |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4916,7 +5242,10 @@ Module num. [ M.read (| n |) ] |)) (M.read (| - M.get_constant "core::num::int_sqrt::u128::EVEN_MAKING_BITMASK" + get_constant (| + "core::num::int_sqrt::u128::EVEN_MAKING_BITMASK", + Ty.path "u32" + |) |)) |) in let~ _ : Ty.tuple [] := @@ -4951,19 +5280,22 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_u128 : M.IsFunction.Trait "core::num::int_sqrt::u128" u128. + Global Instance Instance_IsFunction_u128 : M.IsFunction.C "core::num::int_sqrt::u128" u128. Admitted. Global Typeclasses Opaque u128. Module u128. - Definition value_EVEN_MAKING_BITMASK : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). + Definition value_EVEN_MAKING_BITMASK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 1 |) |))). - Axiom Constant_value_EVEN_MAKING_BITMASK : - (M.get_constant "core::num::int_sqrt::u128::EVEN_MAKING_BITMASK") = - value_EVEN_MAKING_BITMASK. - Global Hint Rewrite Constant_value_EVEN_MAKING_BITMASK : constant_rewrites. + Global Instance Instance_IsConstant_value_EVEN_MAKING_BITMASK : + M.IsFunction.C "core::num::int_sqrt::u128::EVEN_MAKING_BITMASK" value_EVEN_MAKING_BITMASK. + Admitted. + Global Typeclasses Opaque value_EVEN_MAKING_BITMASK. End u128. (* @@ -5012,9 +5344,7 @@ Module num. end. Global Instance Instance_IsFunction_panic_for_negative_argument : - M.IsFunction.Trait - "core::num::int_sqrt::panic_for_negative_argument" - panic_for_negative_argument. + M.IsFunction.C "core::num::int_sqrt::panic_for_negative_argument" panic_for_negative_argument. Admitted. Global Typeclasses Opaque panic_for_negative_argument. End int_sqrt. diff --git a/CoqOfRust/core/num/links/mod.v b/CoqOfRust/core/num/links/mod.v index a446bef0d..956761483 100644 --- a/CoqOfRust/core/num/links/mod.v +++ b/CoqOfRust/core/num/links/mod.v @@ -1,8 +1,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. +Require Import core.intrinsics.links.mod. Require Import core.num.mod. -Require Import core.intrinsics. -Require Import core.links.intrinsics. Module Impl_u64. Definition Self : Set := U64.t. @@ -30,6 +29,22 @@ End Impl_u64. Module Impl_usize. Definition Self : Set := Usize.t. + (* pub const MIN: Self *) + Instance run_min : + Run.Trait num.Impl_usize.value_MIN [] [] [] (Ref.t Pointer.Kind.Raw Self). + Proof. + constructor. + run_symbolic. + Defined. + + (* pub const MAX: Self *) + Instance run_max : + Run.Trait num.Impl_usize.value_MAX [] [] [] (Ref.t Pointer.Kind.Raw Self). + Proof. + constructor. + run_symbolic. + Defined. + (* pub const fn saturating_add(self, rhs: Self) -> Self *) Instance run_saturating_add (self rhs: Self) : Run.Trait num.Impl_usize.saturating_add [] [] [ φ self; φ rhs ] Self. diff --git a/CoqOfRust/core/num/mod.v b/CoqOfRust/core/num/mod.v index 550f4bcb6..36a686a7a 100644 --- a/CoqOfRust/core/num/mod.v +++ b/CoqOfRust/core/num/mod.v @@ -7,41 +7,41 @@ Module num. (* pub const MIN: Self = !Self::MAX; *) (* Ty.path "i8" *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.not (| M.read (| M.get_constant "core::num::MAX" |) |) |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.not (| + M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |) + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self; *) (* Ty.path "i8" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "i8") - (BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::MAX" |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "i8") + (BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$UnsignedT>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -60,7 +60,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -83,7 +83,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -106,7 +106,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -129,7 +129,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -152,7 +152,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -175,7 +175,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -194,7 +194,7 @@ Module num. end. Global Instance AssociatedFunction_cast_unsigned : - M.IsAssociatedFunction.Trait Self "cast_unsigned" cast_unsigned. + M.IsAssociatedFunction.C Self "cast_unsigned" cast_unsigned. Admitted. Global Typeclasses Opaque cast_unsigned. @@ -220,7 +220,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -246,7 +246,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -271,7 +271,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -296,7 +296,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -325,8 +325,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -351,8 +350,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -381,7 +379,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -406,7 +404,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -471,7 +469,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -532,7 +530,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -606,7 +604,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -671,7 +669,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_unsigned : - M.IsAssociatedFunction.Trait Self "checked_add_unsigned" checked_add_unsigned. + M.IsAssociatedFunction.C Self "checked_add_unsigned" checked_add_unsigned. Admitted. Global Typeclasses Opaque checked_add_unsigned. @@ -732,7 +730,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_unsigned : - M.IsAssociatedFunction.Trait Self "strict_add_unsigned" strict_add_unsigned. + M.IsAssociatedFunction.C Self "strict_add_unsigned" strict_add_unsigned. Admitted. Global Typeclasses Opaque strict_add_unsigned. @@ -797,7 +795,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -858,7 +856,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -932,7 +930,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -997,7 +995,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_unsigned : - M.IsAssociatedFunction.Trait Self "checked_sub_unsigned" checked_sub_unsigned. + M.IsAssociatedFunction.C Self "checked_sub_unsigned" checked_sub_unsigned. Admitted. Global Typeclasses Opaque checked_sub_unsigned. @@ -1058,7 +1056,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub_unsigned : - M.IsAssociatedFunction.Trait Self "strict_sub_unsigned" strict_sub_unsigned. + M.IsAssociatedFunction.C Self "strict_sub_unsigned" strict_sub_unsigned. Admitted. Global Typeclasses Opaque strict_sub_unsigned. @@ -1123,7 +1121,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -1184,7 +1182,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -1258,7 +1256,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -1298,7 +1296,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i8", + "MIN", + Ty.path "i8" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -1336,7 +1340,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -1397,7 +1401,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -1437,7 +1441,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i8", + "MIN", + Ty.path "i8" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -1469,7 +1479,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -1530,7 +1540,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -1570,7 +1580,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i8", + "MIN", + Ty.path "i8" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -1608,7 +1624,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -1669,7 +1685,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -1709,7 +1725,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i8", + "MIN", + Ty.path "i8" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -1741,7 +1763,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -1802,7 +1824,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -1866,7 +1888,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -1938,7 +1960,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_neg : - M.IsAssociatedFunction.Trait Self "unchecked_neg" unchecked_neg. + M.IsAssociatedFunction.C Self "unchecked_neg" unchecked_neg. Admitted. Global Typeclasses Opaque unchecked_neg. @@ -1998,7 +2020,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -2031,7 +2053,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2055,7 +2079,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -2116,7 +2140,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -2193,7 +2217,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -2226,7 +2250,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2245,7 +2271,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -2278,7 +2304,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2302,7 +2330,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -2363,7 +2391,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -2440,7 +2468,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -2477,7 +2505,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2497,7 +2527,9 @@ Module num. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) ] @@ -2510,7 +2542,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -2564,7 +2596,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -2614,7 +2646,7 @@ Module num. end. Global Instance AssociatedFunction_strict_abs : - M.IsAssociatedFunction.Trait Self "strict_abs" strict_abs. + M.IsAssociatedFunction.C Self "strict_abs" strict_abs. Admitted. Global Typeclasses Opaque strict_abs. @@ -2871,7 +2903,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -3038,7 +3070,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -3126,7 +3158,12 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::checked_isqrt::MAX_RESULT" |) + M.read (| + get_constant (| + "core::num::checked_isqrt::MAX_RESULT", + Ty.path "i8" + |) + |) |) ] |) @@ -3142,7 +3179,7 @@ Module num. end. Global Instance AssociatedFunction_checked_isqrt : - M.IsAssociatedFunction.Trait Self "checked_isqrt" checked_isqrt. + M.IsAssociatedFunction.C Self "checked_isqrt" checked_isqrt. Admitted. Global Typeclasses Opaque checked_isqrt. @@ -3166,7 +3203,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -3210,7 +3247,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |))) ] |) |))) @@ -3218,7 +3255,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_add_unsigned" saturating_add_unsigned. + M.IsAssociatedFunction.C Self "saturating_add_unsigned" saturating_add_unsigned. Admitted. Global Typeclasses Opaque saturating_add_unsigned. @@ -3242,7 +3279,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -3286,7 +3323,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |))) ] |) |))) @@ -3294,7 +3331,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_sub_unsigned" saturating_sub_unsigned. + M.IsAssociatedFunction.C Self "saturating_sub_unsigned" saturating_sub_unsigned. Admitted. Global Typeclasses Opaque saturating_sub_unsigned. @@ -3317,7 +3354,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -3367,7 +3404,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -3432,8 +3469,10 @@ Module num. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |))) ] |))) ] @@ -3443,7 +3482,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -3487,7 +3526,7 @@ Module num. let _result := M.copy (| γ0_0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |))) ] |) |))) @@ -3495,7 +3534,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -3551,11 +3590,11 @@ Module num. |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MIN")); + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |))) ] |) |))) @@ -3563,7 +3602,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -3587,7 +3626,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -3611,7 +3650,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_add_unsigned" wrapping_add_unsigned. + M.IsAssociatedFunction.C Self "wrapping_add_unsigned" wrapping_add_unsigned. Admitted. Global Typeclasses Opaque wrapping_add_unsigned. @@ -3635,7 +3674,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -3659,7 +3698,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_sub_unsigned" wrapping_sub_unsigned. + M.IsAssociatedFunction.C Self "wrapping_sub_unsigned" wrapping_sub_unsigned. Admitted. Global Typeclasses Opaque wrapping_sub_unsigned. @@ -3683,7 +3722,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -3714,7 +3753,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -3745,7 +3784,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -3776,7 +3815,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -3807,7 +3846,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -3830,7 +3869,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -3857,7 +3896,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -3866,7 +3905,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -3893,7 +3932,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -3902,7 +3941,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -3952,7 +3991,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -3977,7 +4016,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -4310,7 +4349,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -4351,7 +4390,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -4417,7 +4456,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -4468,7 +4507,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_add_unsigned" overflowing_add_unsigned. + M.IsAssociatedFunction.C Self "overflowing_add_unsigned" overflowing_add_unsigned. Admitted. Global Typeclasses Opaque overflowing_add_unsigned. @@ -4509,7 +4548,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -4575,7 +4614,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -4626,7 +4665,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_sub_unsigned" overflowing_sub_unsigned. + M.IsAssociatedFunction.C Self "overflowing_sub_unsigned" overflowing_sub_unsigned. Admitted. Global Typeclasses Opaque overflowing_sub_unsigned. @@ -4667,7 +4706,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -4704,7 +4743,9 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |) |)) (BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |)) ] @@ -4726,7 +4767,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -4763,7 +4804,9 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |) |)) (BinOp.eq (| M.read (| rhs |), Value.Integer IntegerKind.I8 (-1) |)) ] @@ -4791,7 +4834,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -4833,7 +4876,9 @@ Module num. Value.Integer IntegerKind.I8 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |) |) ] |))); @@ -4851,7 +4896,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -4893,7 +4938,9 @@ Module num. Value.Integer IntegerKind.I8 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |) |) ] |))); @@ -4917,7 +4964,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -4951,14 +4998,22 @@ Module num. [ BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - Value.Tuple [ M.read (| M.get_constant "core::num::MIN" |); Value.Bool true ] + Value.Tuple + [ + M.read (| + get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) + |); + Value.Bool true + ] |))); fun γ => ltac:(M.monadic @@ -4972,7 +5027,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -4994,13 +5049,16 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -5022,13 +5080,16 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -5049,13 +5110,16 @@ Module num. M.get_associated_function (| Ty.path "i8", "wrapping_abs", [], [] |), [ M.read (| self |) ] |); - BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::num::MIN" |) |) + BinOp.eq (| + M.read (| self |), + M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -5285,7 +5349,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -5585,7 +5649,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -5645,7 +5709,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -5741,7 +5805,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -5806,7 +5870,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -5845,7 +5909,7 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |) |) @@ -5871,7 +5935,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -5908,7 +5972,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -5934,8 +6000,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -6062,7 +6127,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -6238,7 +6303,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -6357,7 +6422,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -6419,7 +6484,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -6481,7 +6546,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -6539,7 +6604,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -6579,7 +6644,9 @@ Module num. M.alloc (| BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |), M.read (| @@ -6608,7 +6675,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -6659,7 +6726,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -6705,7 +6772,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -6775,8 +6842,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -6837,7 +6903,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -6852,7 +6918,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -6867,7 +6933,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -6896,7 +6962,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -6925,7 +6991,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -6957,7 +7023,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -6986,7 +7052,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -7015,7 +7081,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -7046,7 +7112,7 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -7057,12 +7123,14 @@ Module num. *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. @@ -7073,12 +7141,14 @@ Module num. *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -7105,8 +7175,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -7297,7 +7366,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.I8 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |) |) |) in let~ src : @@ -8327,7 +8396,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_i8. @@ -8337,41 +8406,41 @@ Module num. (* pub const MIN: Self = !Self::MAX; *) (* Ty.path "i16" *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.not (| M.read (| M.get_constant "core::num::MAX" |) |) |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.not (| + M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |) + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self; *) (* Ty.path "i16" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "i16") - (BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::MAX" |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "i16") + (BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$UnsignedT>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -8390,7 +8459,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -8413,7 +8482,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -8436,7 +8505,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -8459,7 +8528,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -8482,7 +8551,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -8505,7 +8574,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -8524,7 +8593,7 @@ Module num. end. Global Instance AssociatedFunction_cast_unsigned : - M.IsAssociatedFunction.Trait Self "cast_unsigned" cast_unsigned. + M.IsAssociatedFunction.C Self "cast_unsigned" cast_unsigned. Admitted. Global Typeclasses Opaque cast_unsigned. @@ -8550,7 +8619,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -8576,7 +8645,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -8601,7 +8670,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -8626,7 +8695,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -8655,8 +8724,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -8681,8 +8749,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -8711,7 +8778,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -8736,7 +8803,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -8801,7 +8868,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -8862,7 +8929,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -8936,7 +9003,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -9001,7 +9068,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_unsigned : - M.IsAssociatedFunction.Trait Self "checked_add_unsigned" checked_add_unsigned. + M.IsAssociatedFunction.C Self "checked_add_unsigned" checked_add_unsigned. Admitted. Global Typeclasses Opaque checked_add_unsigned. @@ -9062,7 +9129,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_unsigned : - M.IsAssociatedFunction.Trait Self "strict_add_unsigned" strict_add_unsigned. + M.IsAssociatedFunction.C Self "strict_add_unsigned" strict_add_unsigned. Admitted. Global Typeclasses Opaque strict_add_unsigned. @@ -9127,7 +9194,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -9188,7 +9255,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -9262,7 +9329,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -9327,7 +9394,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_unsigned : - M.IsAssociatedFunction.Trait Self "checked_sub_unsigned" checked_sub_unsigned. + M.IsAssociatedFunction.C Self "checked_sub_unsigned" checked_sub_unsigned. Admitted. Global Typeclasses Opaque checked_sub_unsigned. @@ -9388,7 +9455,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub_unsigned : - M.IsAssociatedFunction.Trait Self "strict_sub_unsigned" strict_sub_unsigned. + M.IsAssociatedFunction.C Self "strict_sub_unsigned" strict_sub_unsigned. Admitted. Global Typeclasses Opaque strict_sub_unsigned. @@ -9453,7 +9520,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -9514,7 +9581,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -9588,7 +9655,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -9628,7 +9695,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -9666,7 +9739,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -9727,7 +9800,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -9767,7 +9840,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -9799,7 +9878,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -9860,7 +9939,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -9900,7 +9979,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -9938,7 +10023,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -9999,7 +10084,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -10039,7 +10124,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -10071,7 +10162,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -10132,7 +10223,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -10196,7 +10287,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -10268,7 +10359,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_neg : - M.IsAssociatedFunction.Trait Self "unchecked_neg" unchecked_neg. + M.IsAssociatedFunction.C Self "unchecked_neg" unchecked_neg. Admitted. Global Typeclasses Opaque unchecked_neg. @@ -10328,7 +10419,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -10361,7 +10452,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10385,7 +10478,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -10446,7 +10539,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -10523,7 +10616,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -10556,7 +10649,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10575,7 +10670,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -10608,7 +10703,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10632,7 +10729,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -10693,7 +10790,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -10770,7 +10867,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -10807,7 +10904,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -10827,7 +10926,9 @@ Module num. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) ] @@ -10840,7 +10941,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -10894,7 +10995,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -10944,7 +11045,7 @@ Module num. end. Global Instance AssociatedFunction_strict_abs : - M.IsAssociatedFunction.Trait Self "strict_abs" strict_abs. + M.IsAssociatedFunction.C Self "strict_abs" strict_abs. Admitted. Global Typeclasses Opaque strict_abs. @@ -11201,7 +11302,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -11368,7 +11469,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -11456,7 +11557,12 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::checked_isqrt::MAX_RESULT" |) + M.read (| + get_constant (| + "core::num::checked_isqrt::MAX_RESULT", + Ty.path "i16" + |) + |) |) ] |) @@ -11472,7 +11578,7 @@ Module num. end. Global Instance AssociatedFunction_checked_isqrt : - M.IsAssociatedFunction.Trait Self "checked_isqrt" checked_isqrt. + M.IsAssociatedFunction.C Self "checked_isqrt" checked_isqrt. Admitted. Global Typeclasses Opaque checked_isqrt. @@ -11496,7 +11602,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -11540,7 +11646,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |))) ] |) |))) @@ -11548,7 +11654,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_add_unsigned" saturating_add_unsigned. + M.IsAssociatedFunction.C Self "saturating_add_unsigned" saturating_add_unsigned. Admitted. Global Typeclasses Opaque saturating_add_unsigned. @@ -11572,7 +11678,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -11616,7 +11722,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |))) ] |) |))) @@ -11624,7 +11730,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_sub_unsigned" saturating_sub_unsigned. + M.IsAssociatedFunction.C Self "saturating_sub_unsigned" saturating_sub_unsigned. Admitted. Global Typeclasses Opaque saturating_sub_unsigned. @@ -11647,7 +11753,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -11697,7 +11803,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -11762,8 +11868,10 @@ Module num. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |))) ] |))) ] @@ -11773,7 +11881,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -11817,7 +11925,7 @@ Module num. let _result := M.copy (| γ0_0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |))) ] |) |))) @@ -11825,7 +11933,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -11881,11 +11989,11 @@ Module num. |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MIN")); + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |))) ] |) |))) @@ -11893,7 +12001,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -11917,7 +12025,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -11941,7 +12049,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_add_unsigned" wrapping_add_unsigned. + M.IsAssociatedFunction.C Self "wrapping_add_unsigned" wrapping_add_unsigned. Admitted. Global Typeclasses Opaque wrapping_add_unsigned. @@ -11965,7 +12073,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -11989,7 +12097,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_sub_unsigned" wrapping_sub_unsigned. + M.IsAssociatedFunction.C Self "wrapping_sub_unsigned" wrapping_sub_unsigned. Admitted. Global Typeclasses Opaque wrapping_sub_unsigned. @@ -12013,7 +12121,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -12044,7 +12152,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -12075,7 +12183,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -12106,7 +12214,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -12137,7 +12245,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -12161,7 +12269,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -12188,7 +12296,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -12197,7 +12305,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -12224,7 +12332,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -12233,7 +12341,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -12283,7 +12391,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -12308,7 +12416,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -12641,7 +12749,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -12682,7 +12790,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -12748,7 +12856,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -12799,7 +12907,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_add_unsigned" overflowing_add_unsigned. + M.IsAssociatedFunction.C Self "overflowing_add_unsigned" overflowing_add_unsigned. Admitted. Global Typeclasses Opaque overflowing_add_unsigned. @@ -12840,7 +12948,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -12906,7 +13014,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -12957,7 +13065,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_sub_unsigned" overflowing_sub_unsigned. + M.IsAssociatedFunction.C Self "overflowing_sub_unsigned" overflowing_sub_unsigned. Admitted. Global Typeclasses Opaque overflowing_sub_unsigned. @@ -12998,7 +13106,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -13035,7 +13143,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -13060,7 +13174,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -13097,7 +13211,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MIN", + Ty.path "i16" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -13128,7 +13248,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -13170,7 +13290,9 @@ Module num. Value.Integer IntegerKind.I16 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) + |) |) ] |))); @@ -13188,7 +13310,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -13230,7 +13352,9 @@ Module num. Value.Integer IntegerKind.I16 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) + |) |) ] |))); @@ -13254,7 +13378,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -13288,14 +13412,22 @@ Module num. [ BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) + |) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - Value.Tuple [ M.read (| M.get_constant "core::num::MIN" |); Value.Bool true ] + Value.Tuple + [ + M.read (| + get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) + |); + Value.Bool true + ] |))); fun γ => ltac:(M.monadic @@ -13309,7 +13441,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -13331,13 +13463,16 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -13359,13 +13494,16 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -13386,13 +13524,16 @@ Module num. M.get_associated_function (| Ty.path "i16", "wrapping_abs", [], [] |), [ M.read (| self |) ] |); - BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::num::MIN" |) |) + BinOp.eq (| + M.read (| self |), + M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -13622,7 +13763,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -13922,7 +14063,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -13982,7 +14123,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -14078,7 +14219,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -14143,7 +14284,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -14182,7 +14323,7 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |) |) @@ -14208,7 +14349,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -14245,7 +14386,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -14271,8 +14414,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -14402,7 +14544,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -14581,7 +14723,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -14700,7 +14842,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -14762,7 +14904,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -14824,7 +14966,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -14882,7 +15024,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -14922,7 +15064,9 @@ Module num. M.alloc (| BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |), M.read (| @@ -14951,7 +15095,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -15002,7 +15146,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -15048,7 +15192,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -15118,8 +15262,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -15180,7 +15323,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -15195,7 +15338,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -15210,7 +15353,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -15239,7 +15382,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -15268,7 +15411,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -15300,7 +15443,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -15329,7 +15472,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -15358,7 +15501,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -15389,7 +15532,7 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -15400,12 +15543,14 @@ Module num. *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. @@ -15416,12 +15561,14 @@ Module num. *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -15448,8 +15595,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -15640,7 +15786,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.I16 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |) |) |) in let~ src : @@ -16670,7 +16816,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_i16. @@ -16680,41 +16826,41 @@ Module num. (* pub const MIN: Self = !Self::MAX; *) (* Ty.path "i32" *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.not (| M.read (| M.get_constant "core::num::MAX" |) |) |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.not (| + M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |) + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self; *) (* Ty.path "i32" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "i32") - (BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::MAX" |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "i32") + (BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$UnsignedT>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -16733,7 +16879,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -16756,7 +16902,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -16779,7 +16925,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -16802,7 +16948,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -16825,7 +16971,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -16848,7 +16994,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -16867,7 +17013,7 @@ Module num. end. Global Instance AssociatedFunction_cast_unsigned : - M.IsAssociatedFunction.Trait Self "cast_unsigned" cast_unsigned. + M.IsAssociatedFunction.C Self "cast_unsigned" cast_unsigned. Admitted. Global Typeclasses Opaque cast_unsigned. @@ -16893,7 +17039,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -16919,7 +17065,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -16944,7 +17090,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -16969,7 +17115,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -16998,8 +17144,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -17024,8 +17169,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -17054,7 +17198,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -17079,7 +17223,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -17144,7 +17288,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -17205,7 +17349,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -17279,7 +17423,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -17344,7 +17488,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_unsigned : - M.IsAssociatedFunction.Trait Self "checked_add_unsigned" checked_add_unsigned. + M.IsAssociatedFunction.C Self "checked_add_unsigned" checked_add_unsigned. Admitted. Global Typeclasses Opaque checked_add_unsigned. @@ -17405,7 +17549,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_unsigned : - M.IsAssociatedFunction.Trait Self "strict_add_unsigned" strict_add_unsigned. + M.IsAssociatedFunction.C Self "strict_add_unsigned" strict_add_unsigned. Admitted. Global Typeclasses Opaque strict_add_unsigned. @@ -17470,7 +17614,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -17531,7 +17675,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -17605,7 +17749,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -17670,7 +17814,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_unsigned : - M.IsAssociatedFunction.Trait Self "checked_sub_unsigned" checked_sub_unsigned. + M.IsAssociatedFunction.C Self "checked_sub_unsigned" checked_sub_unsigned. Admitted. Global Typeclasses Opaque checked_sub_unsigned. @@ -17731,7 +17875,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub_unsigned : - M.IsAssociatedFunction.Trait Self "strict_sub_unsigned" strict_sub_unsigned. + M.IsAssociatedFunction.C Self "strict_sub_unsigned" strict_sub_unsigned. Admitted. Global Typeclasses Opaque strict_sub_unsigned. @@ -17796,7 +17940,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -17857,7 +18001,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -17931,7 +18075,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -17971,7 +18115,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MIN", + Ty.path "i32" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -18009,7 +18159,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -18070,7 +18220,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -18110,7 +18260,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MIN", + Ty.path "i32" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -18142,7 +18298,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -18203,7 +18359,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -18243,7 +18399,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MIN", + Ty.path "i32" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -18281,7 +18443,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -18342,7 +18504,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -18382,7 +18544,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MIN", + Ty.path "i32" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -18414,7 +18582,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -18475,7 +18643,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -18539,7 +18707,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -18611,7 +18779,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_neg : - M.IsAssociatedFunction.Trait Self "unchecked_neg" unchecked_neg. + M.IsAssociatedFunction.C Self "unchecked_neg" unchecked_neg. Admitted. Global Typeclasses Opaque unchecked_neg. @@ -18671,7 +18839,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -18704,7 +18872,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -18728,7 +18898,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -18789,7 +18959,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -18866,7 +19036,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -18899,7 +19069,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -18918,7 +19090,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -18951,7 +19123,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -18975,7 +19149,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -19036,7 +19210,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -19113,7 +19287,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -19150,7 +19324,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -19170,7 +19346,9 @@ Module num. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) ] @@ -19183,7 +19361,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -19237,7 +19415,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -19287,7 +19465,7 @@ Module num. end. Global Instance AssociatedFunction_strict_abs : - M.IsAssociatedFunction.Trait Self "strict_abs" strict_abs. + M.IsAssociatedFunction.C Self "strict_abs" strict_abs. Admitted. Global Typeclasses Opaque strict_abs. @@ -19544,7 +19722,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -19711,7 +19889,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -19799,7 +19977,12 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::checked_isqrt::MAX_RESULT" |) + M.read (| + get_constant (| + "core::num::checked_isqrt::MAX_RESULT", + Ty.path "i32" + |) + |) |) ] |) @@ -19815,7 +19998,7 @@ Module num. end. Global Instance AssociatedFunction_checked_isqrt : - M.IsAssociatedFunction.Trait Self "checked_isqrt" checked_isqrt. + M.IsAssociatedFunction.C Self "checked_isqrt" checked_isqrt. Admitted. Global Typeclasses Opaque checked_isqrt. @@ -19839,7 +20022,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -19883,7 +20066,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |))) ] |) |))) @@ -19891,7 +20074,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_add_unsigned" saturating_add_unsigned. + M.IsAssociatedFunction.C Self "saturating_add_unsigned" saturating_add_unsigned. Admitted. Global Typeclasses Opaque saturating_add_unsigned. @@ -19915,7 +20098,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -19959,7 +20142,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |))) ] |) |))) @@ -19967,7 +20150,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_sub_unsigned" saturating_sub_unsigned. + M.IsAssociatedFunction.C Self "saturating_sub_unsigned" saturating_sub_unsigned. Admitted. Global Typeclasses Opaque saturating_sub_unsigned. @@ -19990,7 +20173,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -20040,7 +20223,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -20105,8 +20288,10 @@ Module num. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |))) ] |))) ] @@ -20116,7 +20301,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -20160,7 +20345,7 @@ Module num. let _result := M.copy (| γ0_0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |))) ] |) |))) @@ -20168,7 +20353,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -20224,11 +20409,11 @@ Module num. |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MIN")); + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |))) ] |) |))) @@ -20236,7 +20421,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -20260,7 +20445,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -20284,7 +20469,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_add_unsigned" wrapping_add_unsigned. + M.IsAssociatedFunction.C Self "wrapping_add_unsigned" wrapping_add_unsigned. Admitted. Global Typeclasses Opaque wrapping_add_unsigned. @@ -20308,7 +20493,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -20332,7 +20517,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_sub_unsigned" wrapping_sub_unsigned. + M.IsAssociatedFunction.C Self "wrapping_sub_unsigned" wrapping_sub_unsigned. Admitted. Global Typeclasses Opaque wrapping_sub_unsigned. @@ -20356,7 +20541,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -20387,7 +20572,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -20418,7 +20603,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -20449,7 +20634,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -20480,7 +20665,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -20504,7 +20689,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -20531,7 +20716,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -20540,7 +20725,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -20567,7 +20752,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -20576,7 +20761,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -20626,7 +20811,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -20651,7 +20836,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -20984,7 +21169,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -21025,7 +21210,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -21091,7 +21276,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -21142,7 +21327,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_add_unsigned" overflowing_add_unsigned. + M.IsAssociatedFunction.C Self "overflowing_add_unsigned" overflowing_add_unsigned. Admitted. Global Typeclasses Opaque overflowing_add_unsigned. @@ -21183,7 +21368,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -21249,7 +21434,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -21300,7 +21485,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_sub_unsigned" overflowing_sub_unsigned. + M.IsAssociatedFunction.C Self "overflowing_sub_unsigned" overflowing_sub_unsigned. Admitted. Global Typeclasses Opaque overflowing_sub_unsigned. @@ -21341,7 +21526,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -21378,7 +21563,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MIN", + Ty.path "i32" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -21403,7 +21594,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -21440,7 +21631,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MIN", + Ty.path "i32" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -21471,7 +21668,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -21513,7 +21710,9 @@ Module num. Value.Integer IntegerKind.I32 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) + |) |) ] |))); @@ -21531,7 +21730,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -21573,7 +21772,9 @@ Module num. Value.Integer IntegerKind.I32 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) + |) |) ] |))); @@ -21597,7 +21798,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -21631,14 +21832,22 @@ Module num. [ BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) + |) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - Value.Tuple [ M.read (| M.get_constant "core::num::MIN" |); Value.Bool true ] + Value.Tuple + [ + M.read (| + get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) + |); + Value.Bool true + ] |))); fun γ => ltac:(M.monadic @@ -21652,7 +21861,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -21674,13 +21883,16 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -21702,13 +21914,16 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -21729,13 +21944,16 @@ Module num. M.get_associated_function (| Ty.path "i32", "wrapping_abs", [], [] |), [ M.read (| self |) ] |); - BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::num::MIN" |) |) + BinOp.eq (| + M.read (| self |), + M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -21965,7 +22183,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -22265,7 +22483,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -22325,7 +22543,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -22421,7 +22639,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -22486,7 +22704,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -22525,7 +22743,7 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |) |) @@ -22551,7 +22769,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -22588,7 +22806,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -22614,8 +22834,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -22745,7 +22964,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -22924,7 +23143,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -23043,7 +23262,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -23105,7 +23324,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -23167,7 +23386,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -23225,7 +23444,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -23265,7 +23484,9 @@ Module num. M.alloc (| BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |), M.read (| @@ -23294,7 +23515,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -23345,7 +23566,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -23391,7 +23612,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -23461,8 +23682,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -23523,7 +23743,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -23538,7 +23758,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -23553,7 +23773,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -23582,7 +23802,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -23611,7 +23831,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -23643,7 +23863,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -23672,7 +23892,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -23701,7 +23921,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -23732,7 +23952,7 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -23743,12 +23963,14 @@ Module num. *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. @@ -23759,12 +23981,14 @@ Module num. *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -23791,8 +24015,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -23983,7 +24206,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.I32 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |) |) |) in let~ src : @@ -25013,7 +25236,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_i32. @@ -25023,41 +25246,41 @@ Module num. (* pub const MIN: Self = !Self::MAX; *) (* Ty.path "i64" *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.not (| M.read (| M.get_constant "core::num::MAX" |) |) |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.not (| + M.read (| get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) |) + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self; *) (* Ty.path "i64" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "i64") - (BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::MAX" |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "i64") + (BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$UnsignedT>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -25076,7 +25299,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -25099,7 +25322,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -25122,7 +25345,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -25145,7 +25368,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -25168,7 +25391,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -25191,7 +25414,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -25210,7 +25433,7 @@ Module num. end. Global Instance AssociatedFunction_cast_unsigned : - M.IsAssociatedFunction.Trait Self "cast_unsigned" cast_unsigned. + M.IsAssociatedFunction.C Self "cast_unsigned" cast_unsigned. Admitted. Global Typeclasses Opaque cast_unsigned. @@ -25236,7 +25459,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -25262,7 +25485,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -25287,7 +25510,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -25312,7 +25535,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -25341,8 +25564,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -25367,8 +25589,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -25397,7 +25618,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -25422,7 +25643,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -25487,7 +25708,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -25548,7 +25769,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -25622,7 +25843,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -25687,7 +25908,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_unsigned : - M.IsAssociatedFunction.Trait Self "checked_add_unsigned" checked_add_unsigned. + M.IsAssociatedFunction.C Self "checked_add_unsigned" checked_add_unsigned. Admitted. Global Typeclasses Opaque checked_add_unsigned. @@ -25748,7 +25969,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_unsigned : - M.IsAssociatedFunction.Trait Self "strict_add_unsigned" strict_add_unsigned. + M.IsAssociatedFunction.C Self "strict_add_unsigned" strict_add_unsigned. Admitted. Global Typeclasses Opaque strict_add_unsigned. @@ -25813,7 +26034,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -25874,7 +26095,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -25948,7 +26169,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -26013,7 +26234,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_unsigned : - M.IsAssociatedFunction.Trait Self "checked_sub_unsigned" checked_sub_unsigned. + M.IsAssociatedFunction.C Self "checked_sub_unsigned" checked_sub_unsigned. Admitted. Global Typeclasses Opaque checked_sub_unsigned. @@ -26074,7 +26295,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub_unsigned : - M.IsAssociatedFunction.Trait Self "strict_sub_unsigned" strict_sub_unsigned. + M.IsAssociatedFunction.C Self "strict_sub_unsigned" strict_sub_unsigned. Admitted. Global Typeclasses Opaque strict_sub_unsigned. @@ -26139,7 +26360,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -26200,7 +26421,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -26274,7 +26495,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -26314,7 +26535,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MIN", + Ty.path "i64" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -26352,7 +26579,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -26413,7 +26640,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -26453,7 +26680,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MIN", + Ty.path "i64" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -26485,7 +26718,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -26546,7 +26779,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -26586,7 +26819,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MIN", + Ty.path "i64" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -26624,7 +26863,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -26685,7 +26924,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -26725,7 +26964,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MIN", + Ty.path "i64" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -26757,7 +27002,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -26818,7 +27063,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -26882,7 +27127,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -26954,7 +27199,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_neg : - M.IsAssociatedFunction.Trait Self "unchecked_neg" unchecked_neg. + M.IsAssociatedFunction.C Self "unchecked_neg" unchecked_neg. Admitted. Global Typeclasses Opaque unchecked_neg. @@ -27014,7 +27259,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -27047,7 +27292,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -27071,7 +27318,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -27132,7 +27379,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -27209,7 +27456,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -27242,7 +27489,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -27261,7 +27510,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -27294,7 +27543,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -27318,7 +27569,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -27379,7 +27630,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -27456,7 +27707,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -27493,7 +27744,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -27513,7 +27766,9 @@ Module num. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) ] @@ -27526,7 +27781,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -27580,7 +27835,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -27630,7 +27885,7 @@ Module num. end. Global Instance AssociatedFunction_strict_abs : - M.IsAssociatedFunction.Trait Self "strict_abs" strict_abs. + M.IsAssociatedFunction.C Self "strict_abs" strict_abs. Admitted. Global Typeclasses Opaque strict_abs. @@ -27887,7 +28142,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -28054,7 +28309,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -28142,7 +28397,12 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::checked_isqrt::MAX_RESULT" |) + M.read (| + get_constant (| + "core::num::checked_isqrt::MAX_RESULT", + Ty.path "i64" + |) + |) |) ] |) @@ -28158,7 +28418,7 @@ Module num. end. Global Instance AssociatedFunction_checked_isqrt : - M.IsAssociatedFunction.Trait Self "checked_isqrt" checked_isqrt. + M.IsAssociatedFunction.C Self "checked_isqrt" checked_isqrt. Admitted. Global Typeclasses Opaque checked_isqrt. @@ -28182,7 +28442,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -28226,7 +28486,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |))) ] |) |))) @@ -28234,7 +28494,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_add_unsigned" saturating_add_unsigned. + M.IsAssociatedFunction.C Self "saturating_add_unsigned" saturating_add_unsigned. Admitted. Global Typeclasses Opaque saturating_add_unsigned. @@ -28258,7 +28518,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -28302,7 +28562,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |))) ] |) |))) @@ -28310,7 +28570,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_sub_unsigned" saturating_sub_unsigned. + M.IsAssociatedFunction.C Self "saturating_sub_unsigned" saturating_sub_unsigned. Admitted. Global Typeclasses Opaque saturating_sub_unsigned. @@ -28333,7 +28593,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -28383,7 +28643,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -28448,8 +28708,10 @@ Module num. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |))) ] |))) ] @@ -28459,7 +28721,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -28503,7 +28765,7 @@ Module num. let _result := M.copy (| γ0_0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |))) ] |) |))) @@ -28511,7 +28773,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -28567,11 +28829,11 @@ Module num. |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MIN")); + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |))) ] |) |))) @@ -28579,7 +28841,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -28603,7 +28865,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -28627,7 +28889,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_add_unsigned" wrapping_add_unsigned. + M.IsAssociatedFunction.C Self "wrapping_add_unsigned" wrapping_add_unsigned. Admitted. Global Typeclasses Opaque wrapping_add_unsigned. @@ -28651,7 +28913,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -28675,7 +28937,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_sub_unsigned" wrapping_sub_unsigned. + M.IsAssociatedFunction.C Self "wrapping_sub_unsigned" wrapping_sub_unsigned. Admitted. Global Typeclasses Opaque wrapping_sub_unsigned. @@ -28699,7 +28961,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -28730,7 +28992,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -28761,7 +29023,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -28792,7 +29054,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -28823,7 +29085,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -28847,7 +29109,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -28874,7 +29136,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -28883,7 +29145,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -28910,7 +29172,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -28919,7 +29181,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -28969,7 +29231,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -28994,7 +29256,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -29327,7 +29589,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -29368,7 +29630,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -29434,7 +29696,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -29485,7 +29747,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_add_unsigned" overflowing_add_unsigned. + M.IsAssociatedFunction.C Self "overflowing_add_unsigned" overflowing_add_unsigned. Admitted. Global Typeclasses Opaque overflowing_add_unsigned. @@ -29526,7 +29788,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -29592,7 +29854,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -29643,7 +29905,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_sub_unsigned" overflowing_sub_unsigned. + M.IsAssociatedFunction.C Self "overflowing_sub_unsigned" overflowing_sub_unsigned. Admitted. Global Typeclasses Opaque overflowing_sub_unsigned. @@ -29684,7 +29946,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -29721,7 +29983,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MIN", + Ty.path "i64" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -29746,7 +30014,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -29783,7 +30051,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MIN", + Ty.path "i64" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -29814,7 +30088,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -29856,7 +30130,9 @@ Module num. Value.Integer IntegerKind.I64 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) + |) |) ] |))); @@ -29874,7 +30150,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -29916,7 +30192,9 @@ Module num. Value.Integer IntegerKind.I64 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) + |) |) ] |))); @@ -29940,7 +30218,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -29974,14 +30252,22 @@ Module num. [ BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) + |) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - Value.Tuple [ M.read (| M.get_constant "core::num::MIN" |); Value.Bool true ] + Value.Tuple + [ + M.read (| + get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) + |); + Value.Bool true + ] |))); fun γ => ltac:(M.monadic @@ -29995,7 +30281,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -30017,13 +30303,16 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -30045,13 +30334,16 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -30072,13 +30364,16 @@ Module num. M.get_associated_function (| Ty.path "i64", "wrapping_abs", [], [] |), [ M.read (| self |) ] |); - BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::num::MIN" |) |) + BinOp.eq (| + M.read (| self |), + M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -30308,7 +30603,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -30608,7 +30903,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -30668,7 +30963,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -30764,7 +31059,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -30829,7 +31124,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -30868,7 +31163,7 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |) |) @@ -30894,7 +31189,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -30931,7 +31226,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -30957,8 +31254,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -31088,7 +31384,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -31267,7 +31563,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -31386,7 +31682,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -31448,7 +31744,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -31510,7 +31806,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -31568,7 +31864,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -31608,7 +31904,9 @@ Module num. M.alloc (| BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |), M.read (| @@ -31637,7 +31935,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -31688,7 +31986,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -31734,7 +32032,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -31804,8 +32102,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -31866,7 +32163,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -31881,7 +32178,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -31896,7 +32193,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -31925,7 +32222,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -31954,7 +32251,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -31986,7 +32283,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -32015,7 +32312,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -32044,7 +32341,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -32075,7 +32372,7 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -32086,12 +32383,14 @@ Module num. *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. @@ -32102,12 +32401,14 @@ Module num. *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -32168,8 +32469,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -32360,7 +32660,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.I64 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |) |) |) in let~ src : @@ -33390,7 +33690,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_i64. @@ -33400,41 +33700,41 @@ Module num. (* pub const MIN: Self = !Self::MAX; *) (* Ty.path "i128" *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.not (| M.read (| M.get_constant "core::num::MAX" |) |) |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.not (| + M.read (| get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |) |) + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self; *) (* Ty.path "i128" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "i128") - (BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::MAX" |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "i128") + (BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$UnsignedT>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -33453,7 +33753,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -33476,7 +33776,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -33499,7 +33799,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -33522,7 +33822,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -33545,7 +33845,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -33568,7 +33868,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -33587,7 +33887,7 @@ Module num. end. Global Instance AssociatedFunction_cast_unsigned : - M.IsAssociatedFunction.Trait Self "cast_unsigned" cast_unsigned. + M.IsAssociatedFunction.C Self "cast_unsigned" cast_unsigned. Admitted. Global Typeclasses Opaque cast_unsigned. @@ -33613,7 +33913,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -33639,7 +33939,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -33664,7 +33964,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -33689,7 +33989,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -33718,8 +34018,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -33744,8 +34043,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -33774,7 +34072,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -33799,7 +34097,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -33864,7 +34162,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -33925,7 +34223,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -33999,7 +34297,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -34069,7 +34367,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_unsigned : - M.IsAssociatedFunction.Trait Self "checked_add_unsigned" checked_add_unsigned. + M.IsAssociatedFunction.C Self "checked_add_unsigned" checked_add_unsigned. Admitted. Global Typeclasses Opaque checked_add_unsigned. @@ -34135,7 +34433,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_unsigned : - M.IsAssociatedFunction.Trait Self "strict_add_unsigned" strict_add_unsigned. + M.IsAssociatedFunction.C Self "strict_add_unsigned" strict_add_unsigned. Admitted. Global Typeclasses Opaque strict_add_unsigned. @@ -34200,7 +34498,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -34261,7 +34559,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -34335,7 +34633,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -34405,7 +34703,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_unsigned : - M.IsAssociatedFunction.Trait Self "checked_sub_unsigned" checked_sub_unsigned. + M.IsAssociatedFunction.C Self "checked_sub_unsigned" checked_sub_unsigned. Admitted. Global Typeclasses Opaque checked_sub_unsigned. @@ -34471,7 +34769,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub_unsigned : - M.IsAssociatedFunction.Trait Self "strict_sub_unsigned" strict_sub_unsigned. + M.IsAssociatedFunction.C Self "strict_sub_unsigned" strict_sub_unsigned. Admitted. Global Typeclasses Opaque strict_sub_unsigned. @@ -34536,7 +34834,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -34597,7 +34895,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -34671,7 +34969,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -34711,7 +35009,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -34749,7 +35053,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -34810,7 +35114,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -34850,7 +35154,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -34882,7 +35192,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -34943,7 +35253,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -34983,7 +35293,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -35021,7 +35337,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -35082,7 +35398,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -35122,7 +35438,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -35154,7 +35476,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -35215,7 +35537,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -35279,7 +35601,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -35351,7 +35673,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_neg : - M.IsAssociatedFunction.Trait Self "unchecked_neg" unchecked_neg. + M.IsAssociatedFunction.C Self "unchecked_neg" unchecked_neg. Admitted. Global Typeclasses Opaque unchecked_neg. @@ -35411,7 +35733,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -35444,7 +35766,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35468,7 +35792,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -35529,7 +35853,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -35606,7 +35930,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -35639,7 +35963,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35658,7 +35984,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -35691,7 +36017,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35715,7 +36043,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -35776,7 +36104,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -35853,7 +36181,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -35890,7 +36218,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -35910,7 +36240,9 @@ Module num. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) ] @@ -35923,7 +36255,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -35977,7 +36309,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -36027,7 +36359,7 @@ Module num. end. Global Instance AssociatedFunction_strict_abs : - M.IsAssociatedFunction.Trait Self "strict_abs" strict_abs. + M.IsAssociatedFunction.C Self "strict_abs" strict_abs. Admitted. Global Typeclasses Opaque strict_abs. @@ -36284,7 +36616,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -36451,7 +36783,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -36539,7 +36871,12 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::checked_isqrt::MAX_RESULT" |) + M.read (| + get_constant (| + "core::num::checked_isqrt::MAX_RESULT", + Ty.path "i128" + |) + |) |) ] |) @@ -36555,7 +36892,7 @@ Module num. end. Global Instance AssociatedFunction_checked_isqrt : - M.IsAssociatedFunction.Trait Self "checked_isqrt" checked_isqrt. + M.IsAssociatedFunction.C Self "checked_isqrt" checked_isqrt. Admitted. Global Typeclasses Opaque checked_isqrt. @@ -36579,7 +36916,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -36623,7 +36960,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |))) ] |) |))) @@ -36631,7 +36968,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_add_unsigned" saturating_add_unsigned. + M.IsAssociatedFunction.C Self "saturating_add_unsigned" saturating_add_unsigned. Admitted. Global Typeclasses Opaque saturating_add_unsigned. @@ -36655,7 +36992,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -36699,7 +37036,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |))) ] |) |))) @@ -36707,7 +37044,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_sub_unsigned" saturating_sub_unsigned. + M.IsAssociatedFunction.C Self "saturating_sub_unsigned" saturating_sub_unsigned. Admitted. Global Typeclasses Opaque saturating_sub_unsigned. @@ -36730,7 +37067,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -36780,7 +37117,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -36848,8 +37185,10 @@ Module num. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |))) ] |))) ] @@ -36859,7 +37198,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -36903,7 +37242,7 @@ Module num. let _result := M.copy (| γ0_0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |))) ] |) |))) @@ -36911,7 +37250,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -36967,11 +37306,11 @@ Module num. |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MIN")); + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |))) ] |) |))) @@ -36979,7 +37318,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -37003,7 +37342,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -37027,7 +37366,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_add_unsigned" wrapping_add_unsigned. + M.IsAssociatedFunction.C Self "wrapping_add_unsigned" wrapping_add_unsigned. Admitted. Global Typeclasses Opaque wrapping_add_unsigned. @@ -37051,7 +37390,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -37075,7 +37414,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_sub_unsigned" wrapping_sub_unsigned. + M.IsAssociatedFunction.C Self "wrapping_sub_unsigned" wrapping_sub_unsigned. Admitted. Global Typeclasses Opaque wrapping_sub_unsigned. @@ -37099,7 +37438,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -37130,7 +37469,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -37161,7 +37500,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -37192,7 +37531,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -37223,7 +37562,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -37247,7 +37586,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -37274,7 +37613,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -37283,7 +37622,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -37310,7 +37649,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -37319,7 +37658,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -37369,7 +37708,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -37394,7 +37733,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -37727,7 +38066,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -37772,7 +38111,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -37838,7 +38177,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -37889,7 +38228,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_add_unsigned" overflowing_add_unsigned. + M.IsAssociatedFunction.C Self "overflowing_add_unsigned" overflowing_add_unsigned. Admitted. Global Typeclasses Opaque overflowing_add_unsigned. @@ -37934,7 +38273,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -38000,7 +38339,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -38051,7 +38390,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_sub_unsigned" overflowing_sub_unsigned. + M.IsAssociatedFunction.C Self "overflowing_sub_unsigned" overflowing_sub_unsigned. Admitted. Global Typeclasses Opaque overflowing_sub_unsigned. @@ -38096,7 +38435,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -38133,7 +38472,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -38158,7 +38503,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -38195,7 +38540,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -38226,7 +38577,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -38268,7 +38619,9 @@ Module num. Value.Integer IntegerKind.I128 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) + |) |) ] |))); @@ -38286,7 +38639,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -38328,7 +38681,9 @@ Module num. Value.Integer IntegerKind.I128 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) + |) |) ] |))); @@ -38352,7 +38707,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -38386,14 +38741,26 @@ Module num. [ BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MIN", + Ty.path "i128" + |) + |) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - Value.Tuple [ M.read (| M.get_constant "core::num::MIN" |); Value.Bool true ] + Value.Tuple + [ + M.read (| + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) + |); + Value.Bool true + ] |))); fun γ => ltac:(M.monadic @@ -38407,7 +38774,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -38429,13 +38796,16 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -38457,13 +38827,16 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -38484,13 +38857,16 @@ Module num. M.get_associated_function (| Ty.path "i128", "wrapping_abs", [], [] |), [ M.read (| self |) ] |); - BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::num::MIN" |) |) + BinOp.eq (| + M.read (| self |), + M.read (| get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -38720,7 +39096,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -39020,7 +39396,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -39080,7 +39456,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -39176,7 +39552,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -39241,7 +39617,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -39280,7 +39656,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -39306,7 +39684,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -39343,7 +39721,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -39369,8 +39749,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -39500,7 +39879,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -39679,7 +40058,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -39798,7 +40177,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -39860,7 +40239,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -39922,7 +40301,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -39980,7 +40359,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -40020,7 +40399,9 @@ Module num. M.alloc (| BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |), M.read (| @@ -40049,7 +40430,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -40100,7 +40481,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -40146,7 +40527,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -40216,8 +40597,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -40278,7 +40658,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -40293,7 +40673,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -40308,7 +40688,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -40337,7 +40717,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -40366,7 +40746,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -40398,7 +40778,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -40427,7 +40807,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -40456,7 +40836,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -40487,7 +40867,7 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -40498,12 +40878,14 @@ Module num. *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. @@ -40514,12 +40896,14 @@ Module num. *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -40580,8 +40964,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -40772,7 +41155,9 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.I128 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) + |) |) |) in let~ src : @@ -41802,7 +42187,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_i128. @@ -41812,41 +42197,41 @@ Module num. (* pub const MIN: Self = !Self::MAX; *) (* Ty.path "isize" *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| UnOp.not (| M.read (| M.get_constant "core::num::MAX" |) |) |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + UnOp.not (| + M.read (| get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) |) + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self; *) (* Ty.path "isize" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.cast - (Ty.path "isize") - (BinOp.Wrap.shr (| - M.read (| M.get_constant "core::num::MAX" |), - Value.Integer IntegerKind.I32 1 - |)) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.cast + (Ty.path "isize") + (BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |), + Value.Integer IntegerKind.I32 1 + |)) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$UnsignedT>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -41865,7 +42250,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -41888,7 +42273,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -41911,7 +42296,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -41934,7 +42319,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -41957,7 +42342,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -41980,7 +42365,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -41999,7 +42384,7 @@ Module num. end. Global Instance AssociatedFunction_cast_unsigned : - M.IsAssociatedFunction.Trait Self "cast_unsigned" cast_unsigned. + M.IsAssociatedFunction.C Self "cast_unsigned" cast_unsigned. Admitted. Global Typeclasses Opaque cast_unsigned. @@ -42025,7 +42410,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -42051,7 +42436,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -42076,7 +42461,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -42101,7 +42486,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -42130,8 +42515,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -42156,8 +42540,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -42186,7 +42569,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -42211,7 +42594,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -42276,7 +42659,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -42337,7 +42720,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -42411,7 +42794,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -42481,7 +42864,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_unsigned : - M.IsAssociatedFunction.Trait Self "checked_add_unsigned" checked_add_unsigned. + M.IsAssociatedFunction.C Self "checked_add_unsigned" checked_add_unsigned. Admitted. Global Typeclasses Opaque checked_add_unsigned. @@ -42547,7 +42930,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_unsigned : - M.IsAssociatedFunction.Trait Self "strict_add_unsigned" strict_add_unsigned. + M.IsAssociatedFunction.C Self "strict_add_unsigned" strict_add_unsigned. Admitted. Global Typeclasses Opaque strict_add_unsigned. @@ -42612,7 +42995,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -42673,7 +43056,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -42747,7 +43130,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -42817,7 +43200,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_unsigned : - M.IsAssociatedFunction.Trait Self "checked_sub_unsigned" checked_sub_unsigned. + M.IsAssociatedFunction.C Self "checked_sub_unsigned" checked_sub_unsigned. Admitted. Global Typeclasses Opaque checked_sub_unsigned. @@ -42883,7 +43266,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub_unsigned : - M.IsAssociatedFunction.Trait Self "strict_sub_unsigned" strict_sub_unsigned. + M.IsAssociatedFunction.C Self "strict_sub_unsigned" strict_sub_unsigned. Admitted. Global Typeclasses Opaque strict_sub_unsigned. @@ -42948,7 +43331,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -43009,7 +43392,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -43083,7 +43466,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -43123,7 +43506,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -43161,7 +43550,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -43222,7 +43611,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -43262,7 +43651,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -43294,7 +43689,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -43355,7 +43750,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -43395,7 +43790,13 @@ Module num. (LogicalOp.and (| BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -43433,7 +43834,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -43494,7 +43895,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -43534,7 +43935,13 @@ Module num. (BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -43566,7 +43973,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -43627,7 +44034,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -43691,7 +44098,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -43763,7 +44170,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_neg : - M.IsAssociatedFunction.Trait Self "unchecked_neg" unchecked_neg. + M.IsAssociatedFunction.C Self "unchecked_neg" unchecked_neg. Admitted. Global Typeclasses Opaque unchecked_neg. @@ -43823,7 +44230,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -43856,7 +44263,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -43885,7 +44294,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -43946,7 +44355,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -44023,7 +44432,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -44056,7 +44465,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44075,7 +44486,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -44108,7 +44519,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44137,7 +44550,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -44198,7 +44611,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -44275,7 +44688,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -44312,7 +44725,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -44332,7 +44747,9 @@ Module num. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) ] @@ -44345,7 +44762,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -44399,7 +44816,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -44449,7 +44866,7 @@ Module num. end. Global Instance AssociatedFunction_strict_abs : - M.IsAssociatedFunction.Trait Self "strict_abs" strict_abs. + M.IsAssociatedFunction.C Self "strict_abs" strict_abs. Admitted. Global Typeclasses Opaque strict_abs. @@ -44706,7 +45123,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -44873,7 +45290,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -44961,7 +45378,12 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::checked_isqrt::MAX_RESULT" |) + M.read (| + get_constant (| + "core::num::checked_isqrt::MAX_RESULT", + Ty.path "isize" + |) + |) |) ] |) @@ -44977,7 +45399,7 @@ Module num. end. Global Instance AssociatedFunction_checked_isqrt : - M.IsAssociatedFunction.Trait Self "checked_isqrt" checked_isqrt. + M.IsAssociatedFunction.C Self "checked_isqrt" checked_isqrt. Admitted. Global Typeclasses Opaque checked_isqrt. @@ -45001,7 +45423,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -45045,7 +45467,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |))) ] |) |))) @@ -45053,7 +45475,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_add_unsigned" saturating_add_unsigned. + M.IsAssociatedFunction.C Self "saturating_add_unsigned" saturating_add_unsigned. Admitted. Global Typeclasses Opaque saturating_add_unsigned. @@ -45077,7 +45499,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -45121,7 +45543,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |))) ] |) |))) @@ -45129,7 +45551,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_unsigned : - M.IsAssociatedFunction.Trait Self "saturating_sub_unsigned" saturating_sub_unsigned. + M.IsAssociatedFunction.C Self "saturating_sub_unsigned" saturating_sub_unsigned. Admitted. Global Typeclasses Opaque saturating_sub_unsigned. @@ -45152,7 +45574,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -45202,7 +45624,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -45270,8 +45692,10 @@ Module num. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MIN")) + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |))) ] |))) ] @@ -45281,7 +45705,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -45325,7 +45749,7 @@ Module num. let _result := M.copy (| γ0_0 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |))) ] |) |))) @@ -45333,7 +45757,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -45389,11 +45813,11 @@ Module num. |) |) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MIN")); + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |))) ] |) |))) @@ -45401,7 +45825,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -45425,7 +45849,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -45449,7 +45873,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_add_unsigned" wrapping_add_unsigned. + M.IsAssociatedFunction.C Self "wrapping_add_unsigned" wrapping_add_unsigned. Admitted. Global Typeclasses Opaque wrapping_add_unsigned. @@ -45473,7 +45897,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -45497,7 +45921,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_unsigned : - M.IsAssociatedFunction.Trait Self "wrapping_sub_unsigned" wrapping_sub_unsigned. + M.IsAssociatedFunction.C Self "wrapping_sub_unsigned" wrapping_sub_unsigned. Admitted. Global Typeclasses Opaque wrapping_sub_unsigned. @@ -45521,7 +45945,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -45552,7 +45976,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -45583,7 +46007,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -45614,7 +46038,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -45645,7 +46069,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -45671,7 +46095,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -45698,7 +46122,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -45707,7 +46131,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -45734,7 +46158,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -45743,7 +46167,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -45793,7 +46217,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -45818,7 +46242,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -46151,7 +46575,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -46197,7 +46621,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -46268,7 +46692,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -46320,7 +46744,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_add_unsigned" overflowing_add_unsigned. + M.IsAssociatedFunction.C Self "overflowing_add_unsigned" overflowing_add_unsigned. Admitted. Global Typeclasses Opaque overflowing_add_unsigned. @@ -46366,7 +46790,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -46437,7 +46861,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -46489,7 +46913,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_unsigned : - M.IsAssociatedFunction.Trait Self "overflowing_sub_unsigned" overflowing_sub_unsigned. + M.IsAssociatedFunction.C Self "overflowing_sub_unsigned" overflowing_sub_unsigned. Admitted. Global Typeclasses Opaque overflowing_sub_unsigned. @@ -46535,7 +46959,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -46572,7 +46996,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -46597,7 +47027,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -46634,7 +47064,13 @@ Module num. BinOp.bit_and (BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |)) (BinOp.eq (| M.read (| rhs |), @@ -46665,7 +47101,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -46708,7 +47144,9 @@ Module num. Value.Integer IntegerKind.Isize 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) + |) |) ] |))); @@ -46726,7 +47164,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -46769,7 +47207,9 @@ Module num. Value.Integer IntegerKind.Isize 0; BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) + |) |) ] |))); @@ -46793,7 +47233,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -46827,14 +47267,26 @@ Module num. [ BinOp.eq (| M.read (| self |), - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MIN", + Ty.path "isize" + |) + |) |) ] |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| - Value.Tuple [ M.read (| M.get_constant "core::num::MIN" |); Value.Bool true ] + Value.Tuple + [ + M.read (| + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) + |); + Value.Bool true + ] |))); fun γ => ltac:(M.monadic @@ -46848,7 +47300,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -46870,13 +47322,16 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -46898,13 +47353,16 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -46925,13 +47383,16 @@ Module num. M.get_associated_function (| Ty.path "isize", "wrapping_abs", [], [] |), [ M.read (| self |) ] |); - BinOp.eq (| M.read (| self |), M.read (| M.get_constant "core::num::MIN" |) |) + BinOp.eq (| + M.read (| self |), + M.read (| get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -47162,7 +47623,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -47462,7 +47923,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -47522,7 +47983,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -47618,7 +48079,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -47683,7 +48144,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -47722,7 +48183,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -47748,7 +48211,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -47785,7 +48248,9 @@ Module num. BinOp.Wrap.shr (| BinOp.bit_xor (M.read (| self |)) (M.read (| rhs |)), BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |) |) @@ -47811,8 +48276,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -47945,7 +48409,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -48127,7 +48591,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -48246,7 +48710,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -48308,7 +48772,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -48370,7 +48834,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -48428,7 +48892,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -48468,7 +48932,9 @@ Module num. M.alloc (| BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 1 |), M.read (| @@ -48497,7 +48963,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -48548,7 +49014,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -48594,7 +49060,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -48664,8 +49130,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -48729,7 +49194,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -48744,7 +49209,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -48759,7 +49224,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -48788,7 +49253,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -48817,7 +49282,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -48849,7 +49314,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -48878,7 +49343,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -48907,7 +49372,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -48938,7 +49403,7 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. @@ -48949,12 +49414,14 @@ Module num. *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. @@ -48965,12 +49432,14 @@ Module num. *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -49031,8 +49500,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -49093,56 +49561,53 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_isize. - Definition value_ASCII_CASE_MASK : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 32 |))). + Definition value_ASCII_CASE_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 32 |))). - Axiom Constant_value_ASCII_CASE_MASK : - (M.get_constant "core::num::ASCII_CASE_MASK") = value_ASCII_CASE_MASK. - Global Hint Rewrite Constant_value_ASCII_CASE_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_ASCII_CASE_MASK : + M.IsFunction.C "core::num::ASCII_CASE_MASK" value_ASCII_CASE_MASK. + Admitted. + Global Typeclasses Opaque value_ASCII_CASE_MASK. 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 IntegerKind.U8 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u8" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U8 0 |) |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U8 0 |) |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = Self::MAX.count_ones(); *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "u8", "count_ones", [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "u8", "count_ones", [], [] |), + [ M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |) ] + |) + |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -49174,7 +49639,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -49197,7 +49662,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -49229,7 +49694,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -49261,7 +49726,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -49284,7 +49749,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -49307,7 +49772,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -49326,7 +49791,7 @@ Module num. end. Global Instance AssociatedFunction_cast_signed : - M.IsAssociatedFunction.Trait Self "cast_signed" cast_signed. + M.IsAssociatedFunction.C Self "cast_signed" cast_signed. Admitted. Global Typeclasses Opaque cast_signed. @@ -49359,7 +49824,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -49392,7 +49857,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -49420,7 +49885,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -49448,7 +49913,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -49477,8 +49942,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -49503,8 +49967,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -49533,7 +49996,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -49558,7 +50021,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -49644,7 +50107,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -49705,7 +50168,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -49779,7 +50242,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -49844,7 +50307,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_signed : - M.IsAssociatedFunction.Trait Self "checked_add_signed" checked_add_signed. + M.IsAssociatedFunction.C Self "checked_add_signed" checked_add_signed. Admitted. Global Typeclasses Opaque checked_add_signed. @@ -49905,7 +50368,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_signed : - M.IsAssociatedFunction.Trait Self "strict_add_signed" strict_add_signed. + M.IsAssociatedFunction.C Self "strict_add_signed" strict_add_signed. Admitted. Global Typeclasses Opaque strict_add_signed. @@ -49965,7 +50428,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -50026,7 +50489,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -50100,7 +50563,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -50162,7 +50625,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_signed : - M.IsAssociatedFunction.Trait Self "checked_sub_signed" checked_sub_signed. + M.IsAssociatedFunction.C Self "checked_sub_signed" checked_sub_signed. Admitted. Global Typeclasses Opaque checked_sub_signed. @@ -50222,7 +50685,7 @@ Module num. end. Global Instance AssociatedFunction_checked_signed_diff : - M.IsAssociatedFunction.Trait Self "checked_signed_diff" checked_signed_diff. + M.IsAssociatedFunction.C Self "checked_signed_diff" checked_signed_diff. Admitted. Global Typeclasses Opaque checked_signed_diff. @@ -50287,7 +50750,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -50348,7 +50811,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -50422,7 +50885,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -50485,7 +50948,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -50505,7 +50968,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -50562,7 +51025,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -50582,7 +51045,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -50645,7 +51108,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -50665,7 +51128,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -50722,7 +51185,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -50742,7 +51205,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -50861,7 +51324,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -50923,7 +51386,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -50985,7 +51448,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -51082,7 +51545,13 @@ Module num. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "u8", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 128 |) |)) in @@ -51219,7 +51688,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -51291,7 +51760,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -51363,7 +51832,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -51427,7 +51896,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -51487,7 +51956,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -51520,7 +51989,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -51544,7 +52015,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -51605,7 +52076,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -51682,7 +52153,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -51715,7 +52186,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -51734,7 +52207,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -51767,7 +52240,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -51791,7 +52266,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -51852,7 +52327,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -51929,7 +52404,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -51962,7 +52437,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -51981,7 +52458,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -52238,7 +52715,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -52405,7 +52882,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -52429,7 +52906,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -52499,7 +52976,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u8", + "MAX", + Ty.path "u8" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))) ] @@ -52513,7 +52994,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_signed : - M.IsAssociatedFunction.Trait Self "saturating_add_signed" saturating_add_signed. + M.IsAssociatedFunction.C Self "saturating_add_signed" saturating_add_signed. Admitted. Global Typeclasses Opaque saturating_add_signed. @@ -52537,7 +53018,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -52608,7 +53089,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u8", + "MAX", + Ty.path "u8" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))) ] @@ -52622,7 +53107,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_signed : - M.IsAssociatedFunction.Trait Self "saturating_sub_signed" saturating_sub_signed. + M.IsAssociatedFunction.C Self "saturating_sub_signed" saturating_sub_signed. Admitted. Global Typeclasses Opaque saturating_sub_signed. @@ -52664,7 +53149,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |))) ] |) |))) @@ -52672,7 +53157,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -52697,7 +53182,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -52739,7 +53224,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |))) ] |) |))) @@ -52747,7 +53232,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -52771,7 +53256,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -52795,7 +53280,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_signed : - M.IsAssociatedFunction.Trait Self "wrapping_add_signed" wrapping_add_signed. + M.IsAssociatedFunction.C Self "wrapping_add_signed" wrapping_add_signed. Admitted. Global Typeclasses Opaque wrapping_add_signed. @@ -52819,7 +53304,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -52843,7 +53328,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_signed : - M.IsAssociatedFunction.Trait Self "wrapping_sub_signed" wrapping_sub_signed. + M.IsAssociatedFunction.C Self "wrapping_sub_signed" wrapping_sub_signed. Admitted. Global Typeclasses Opaque wrapping_sub_signed. @@ -52867,7 +53352,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -52887,7 +53372,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -52907,7 +53392,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -52927,7 +53412,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -52947,7 +53432,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -52970,7 +53455,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -52997,7 +53482,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -53006,7 +53491,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -53033,7 +53518,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -53042,7 +53527,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -53375,7 +53860,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -53416,7 +53901,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -53482,7 +53967,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -53531,7 +54016,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_signed : - M.IsAssociatedFunction.Trait Self "overflowing_add_signed" overflowing_add_signed. + M.IsAssociatedFunction.C Self "overflowing_add_signed" overflowing_add_signed. Admitted. Global Typeclasses Opaque overflowing_add_signed. @@ -53572,7 +54057,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -53638,7 +54123,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -53688,7 +54173,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_signed : - M.IsAssociatedFunction.Trait Self "overflowing_sub_signed" overflowing_sub_signed. + M.IsAssociatedFunction.C Self "overflowing_sub_signed" overflowing_sub_signed. Admitted. Global Typeclasses Opaque overflowing_sub_signed. @@ -53782,8 +54267,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -53824,7 +54308,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -53845,7 +54329,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -53866,7 +54350,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -53887,7 +54371,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -53908,7 +54392,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -53935,7 +54419,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -53957,13 +54441,16 @@ Module num. M.get_associated_function (| Ty.path "u8", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -53985,13 +54472,16 @@ Module num. M.get_associated_function (| Ty.path "u8", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -54221,7 +54711,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -54521,7 +55011,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -54573,7 +55063,7 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::isqrt::MAX_RESULT" |) + M.read (| get_constant (| "core::num::isqrt::MAX_RESULT", Ty.path "u8" |) |) |) ] |) @@ -54584,7 +55074,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -54604,7 +55094,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -54624,7 +55114,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -54644,7 +55134,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -54692,8 +55182,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -54740,7 +55229,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -54828,7 +55317,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -54876,7 +55365,7 @@ Module num. end. Global Instance AssociatedFunction_is_multiple_of : - M.IsAssociatedFunction.Trait Self "is_multiple_of" is_multiple_of. + M.IsAssociatedFunction.C Self "is_multiple_of" is_multiple_of. Admitted. Global Typeclasses Opaque is_multiple_of. @@ -54902,7 +55391,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -54966,7 +55455,10 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr (| M.read (| M.get_constant "core::num::MAX" |), M.read (| z |) |) + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |), + M.read (| z |) + |) |) |))) |))) @@ -54974,7 +55466,7 @@ Module num. end. Global Instance AssociatedFunction_one_less_than_next_power_of_two : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "one_less_than_next_power_of_two" one_less_than_next_power_of_two. @@ -55008,7 +55500,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. @@ -55047,7 +55539,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -55086,7 +55578,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_next_power_of_two : - M.IsAssociatedFunction.Trait Self "wrapping_next_power_of_two" wrapping_next_power_of_two. + M.IsAssociatedFunction.C Self "wrapping_next_power_of_two" wrapping_next_power_of_two. Admitted. Global Typeclasses Opaque wrapping_next_power_of_two. @@ -55115,7 +55607,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -55144,7 +55636,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -55176,7 +55668,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -55205,7 +55697,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -55234,7 +55726,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -55265,31 +55757,35 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. (* pub const fn min_value() -> Self { Self::MIN } *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. (* pub const fn max_value() -> Self { Self::MAX } *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -55334,7 +55830,7 @@ Module num. end. Global Instance AssociatedFunction_widening_mul : - M.IsAssociatedFunction.Trait Self "widening_mul" widening_mul. + M.IsAssociatedFunction.C Self "widening_mul" widening_mul. Admitted. Global Typeclasses Opaque widening_mul. @@ -55389,7 +55885,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_mul : - M.IsAssociatedFunction.Trait Self "carrying_mul" carrying_mul. + M.IsAssociatedFunction.C Self "carrying_mul" carrying_mul. Admitted. Global Typeclasses Opaque carrying_mul. @@ -55416,8 +55912,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -55438,8 +55933,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ascii : - M.IsAssociatedFunction.Trait Self "is_ascii" is_ascii. + Global Instance AssociatedFunction_is_ascii : M.IsAssociatedFunction.C Self "is_ascii" is_ascii. Admitted. Global Typeclasses Opaque is_ascii. @@ -55469,8 +55963,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ascii : - M.IsAssociatedFunction.Trait Self "as_ascii" as_ascii. + Global Instance AssociatedFunction_as_ascii : M.IsAssociatedFunction.C Self "as_ascii" as_ascii. Admitted. Global Typeclasses Opaque as_ascii. @@ -55495,13 +55988,13 @@ Module num. M.get_associated_function (| Ty.path "u8", "is_ascii_lowercase", [], [] |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |)), - M.read (| M.get_constant "core::num::ASCII_CASE_MASK" |) + M.read (| get_constant (| "core::num::ASCII_CASE_MASK", Ty.path "u8" |) |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "to_ascii_uppercase" to_ascii_uppercase. + M.IsAssociatedFunction.C Self "to_ascii_uppercase" to_ascii_uppercase. Admitted. Global Typeclasses Opaque to_ascii_uppercase. @@ -55526,13 +56019,13 @@ Module num. M.get_associated_function (| Ty.path "u8", "is_ascii_uppercase", [], [] |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |)), - M.read (| M.get_constant "core::num::ASCII_CASE_MASK" |) + M.read (| get_constant (| "core::num::ASCII_CASE_MASK", Ty.path "u8" |) |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_to_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "to_ascii_lowercase" to_ascii_lowercase. + M.IsAssociatedFunction.C Self "to_ascii_lowercase" to_ascii_lowercase. Admitted. Global Typeclasses Opaque to_ascii_lowercase. @@ -55552,12 +56045,12 @@ Module num. (let self := M.alloc (| self |) in BinOp.bit_xor (M.read (| M.deref (| M.read (| self |) |) |)) - (M.read (| M.get_constant "core::num::ASCII_CASE_MASK" |)))) + (M.read (| get_constant (| "core::num::ASCII_CASE_MASK", Ty.path "u8" |) |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_ascii_change_case_unchecked : - M.IsAssociatedFunction.Trait Self "ascii_change_case_unchecked" ascii_change_case_unchecked. + M.IsAssociatedFunction.C Self "ascii_change_case_unchecked" ascii_change_case_unchecked. Admitted. Global Typeclasses Opaque ascii_change_case_unchecked. @@ -55588,7 +56081,7 @@ Module num. end. Global Instance AssociatedFunction_eq_ignore_ascii_case : - M.IsAssociatedFunction.Trait Self "eq_ignore_ascii_case" eq_ignore_ascii_case. + M.IsAssociatedFunction.C Self "eq_ignore_ascii_case" eq_ignore_ascii_case. Admitted. Global Typeclasses Opaque eq_ignore_ascii_case. @@ -55620,7 +56113,7 @@ Module num. end. Global Instance AssociatedFunction_make_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "make_ascii_uppercase" make_ascii_uppercase. + M.IsAssociatedFunction.C Self "make_ascii_uppercase" make_ascii_uppercase. Admitted. Global Typeclasses Opaque make_ascii_uppercase. @@ -55652,7 +56145,7 @@ Module num. end. Global Instance AssociatedFunction_make_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "make_ascii_lowercase" make_ascii_lowercase. + M.IsAssociatedFunction.C Self "make_ascii_lowercase" make_ascii_lowercase. Admitted. Global Typeclasses Opaque make_ascii_lowercase. @@ -55694,7 +56187,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_alphabetic : - M.IsAssociatedFunction.Trait Self "is_ascii_alphabetic" is_ascii_alphabetic. + M.IsAssociatedFunction.C Self "is_ascii_alphabetic" is_ascii_alphabetic. Admitted. Global Typeclasses Opaque is_ascii_alphabetic. @@ -55722,7 +56215,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "is_ascii_uppercase" is_ascii_uppercase. + M.IsAssociatedFunction.C Self "is_ascii_uppercase" is_ascii_uppercase. Admitted. Global Typeclasses Opaque is_ascii_uppercase. @@ -55750,7 +56243,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "is_ascii_lowercase" is_ascii_lowercase. + M.IsAssociatedFunction.C Self "is_ascii_lowercase" is_ascii_lowercase. Admitted. Global Typeclasses Opaque is_ascii_lowercase. @@ -55800,7 +56293,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_alphanumeric : - M.IsAssociatedFunction.Trait Self "is_ascii_alphanumeric" is_ascii_alphanumeric. + M.IsAssociatedFunction.C Self "is_ascii_alphanumeric" is_ascii_alphanumeric. Admitted. Global Typeclasses Opaque is_ascii_alphanumeric. @@ -55828,7 +56321,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_digit : - M.IsAssociatedFunction.Trait Self "is_ascii_digit" is_ascii_digit. + M.IsAssociatedFunction.C Self "is_ascii_digit" is_ascii_digit. Admitted. Global Typeclasses Opaque is_ascii_digit. @@ -55856,7 +56349,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_octdigit : - M.IsAssociatedFunction.Trait Self "is_ascii_octdigit" is_ascii_octdigit. + M.IsAssociatedFunction.C Self "is_ascii_octdigit" is_ascii_octdigit. Admitted. Global Typeclasses Opaque is_ascii_octdigit. @@ -55906,7 +56399,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_hexdigit : - M.IsAssociatedFunction.Trait Self "is_ascii_hexdigit" is_ascii_hexdigit. + M.IsAssociatedFunction.C Self "is_ascii_hexdigit" is_ascii_hexdigit. Admitted. Global Typeclasses Opaque is_ascii_hexdigit. @@ -55970,7 +56463,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_punctuation : - M.IsAssociatedFunction.Trait Self "is_ascii_punctuation" is_ascii_punctuation. + M.IsAssociatedFunction.C Self "is_ascii_punctuation" is_ascii_punctuation. Admitted. Global Typeclasses Opaque is_ascii_punctuation. @@ -55998,7 +56491,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_graphic : - M.IsAssociatedFunction.Trait Self "is_ascii_graphic" is_ascii_graphic. + M.IsAssociatedFunction.C Self "is_ascii_graphic" is_ascii_graphic. Admitted. Global Typeclasses Opaque is_ascii_graphic. @@ -56078,7 +56571,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_whitespace : - M.IsAssociatedFunction.Trait Self "is_ascii_whitespace" is_ascii_whitespace. + M.IsAssociatedFunction.C Self "is_ascii_whitespace" is_ascii_whitespace. Admitted. Global Typeclasses Opaque is_ascii_whitespace. @@ -56127,7 +56620,7 @@ Module num. end. Global Instance AssociatedFunction_is_ascii_control : - M.IsAssociatedFunction.Trait Self "is_ascii_control" is_ascii_control. + M.IsAssociatedFunction.C Self "is_ascii_control" is_ascii_control. Admitted. Global Typeclasses Opaque is_ascii_control. @@ -56150,7 +56643,7 @@ Module num. end. Global Instance AssociatedFunction_escape_ascii : - M.IsAssociatedFunction.Trait Self "escape_ascii" escape_ascii. + M.IsAssociatedFunction.C Self "escape_ascii" escape_ascii. Admitted. Global Typeclasses Opaque escape_ascii. @@ -56173,7 +56666,7 @@ Module num. end. Global Instance AssociatedFunction_is_utf8_char_boundary : - M.IsAssociatedFunction.Trait Self "is_utf8_char_boundary" is_utf8_char_boundary. + M.IsAssociatedFunction.C Self "is_utf8_char_boundary" is_utf8_char_boundary. Admitted. Global Typeclasses Opaque is_utf8_char_boundary. (* @@ -56364,7 +56857,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.U8 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |) |) |) in let~ src : @@ -57394,7 +57887,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_u8. @@ -57404,39 +57897,35 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u16" *) - Definition value_MIN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u16" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U16 0 |) |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U16 0 |) |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = Self::MAX.count_ones(); *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "u16", "count_ones", [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "u16", "count_ones", [], [] |), + [ M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |) ] + |) + |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -57468,7 +57957,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -57491,7 +57980,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -57523,7 +58012,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -57555,7 +58044,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -57578,7 +58067,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -57601,7 +58090,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -57620,7 +58109,7 @@ Module num. end. Global Instance AssociatedFunction_cast_signed : - M.IsAssociatedFunction.Trait Self "cast_signed" cast_signed. + M.IsAssociatedFunction.C Self "cast_signed" cast_signed. Admitted. Global Typeclasses Opaque cast_signed. @@ -57653,7 +58142,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -57686,7 +58175,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -57714,7 +58203,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -57742,7 +58231,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -57771,8 +58260,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -57797,8 +58285,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -57827,7 +58314,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -57852,7 +58339,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -57938,7 +58425,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -57999,7 +58486,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -58073,7 +58560,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -58138,7 +58625,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_signed : - M.IsAssociatedFunction.Trait Self "checked_add_signed" checked_add_signed. + M.IsAssociatedFunction.C Self "checked_add_signed" checked_add_signed. Admitted. Global Typeclasses Opaque checked_add_signed. @@ -58199,7 +58686,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_signed : - M.IsAssociatedFunction.Trait Self "strict_add_signed" strict_add_signed. + M.IsAssociatedFunction.C Self "strict_add_signed" strict_add_signed. Admitted. Global Typeclasses Opaque strict_add_signed. @@ -58259,7 +58746,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -58320,7 +58807,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -58394,7 +58881,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -58456,7 +58943,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_signed : - M.IsAssociatedFunction.Trait Self "checked_sub_signed" checked_sub_signed. + M.IsAssociatedFunction.C Self "checked_sub_signed" checked_sub_signed. Admitted. Global Typeclasses Opaque checked_sub_signed. @@ -58516,7 +59003,7 @@ Module num. end. Global Instance AssociatedFunction_checked_signed_diff : - M.IsAssociatedFunction.Trait Self "checked_signed_diff" checked_signed_diff. + M.IsAssociatedFunction.C Self "checked_signed_diff" checked_signed_diff. Admitted. Global Typeclasses Opaque checked_signed_diff. @@ -58581,7 +59068,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -58642,7 +59129,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -58716,7 +59203,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -58779,7 +59266,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -58799,7 +59286,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -58856,7 +59343,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -58876,7 +59363,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -58939,7 +59426,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -58959,7 +59446,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -59016,7 +59503,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -59036,7 +59523,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -59155,7 +59642,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -59217,7 +59704,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -59279,7 +59766,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -59376,7 +59863,13 @@ Module num. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "u16", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 128 |) |)) in @@ -59513,7 +60006,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -59585,7 +60078,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -59657,7 +60150,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -59721,7 +60214,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -59781,7 +60274,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -59814,7 +60307,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -59838,7 +60333,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -59899,7 +60394,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -59976,7 +60471,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -60009,7 +60504,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -60028,7 +60525,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -60061,7 +60558,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -60085,7 +60584,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -60146,7 +60645,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -60223,7 +60722,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -60256,7 +60755,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -60275,7 +60776,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -60532,7 +61033,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -60699,7 +61200,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -60723,7 +61224,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -60793,7 +61294,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u16", + "MAX", + Ty.path "u16" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))) ] @@ -60807,7 +61312,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_signed : - M.IsAssociatedFunction.Trait Self "saturating_add_signed" saturating_add_signed. + M.IsAssociatedFunction.C Self "saturating_add_signed" saturating_add_signed. Admitted. Global Typeclasses Opaque saturating_add_signed. @@ -60831,7 +61336,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -60902,7 +61407,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u16", + "MAX", + Ty.path "u16" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))) ] @@ -60916,7 +61425,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_signed : - M.IsAssociatedFunction.Trait Self "saturating_sub_signed" saturating_sub_signed. + M.IsAssociatedFunction.C Self "saturating_sub_signed" saturating_sub_signed. Admitted. Global Typeclasses Opaque saturating_sub_signed. @@ -60958,7 +61467,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |))) ] |) |))) @@ -60966,7 +61475,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -60991,7 +61500,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -61033,7 +61542,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |))) ] |) |))) @@ -61041,7 +61550,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -61065,7 +61574,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -61089,7 +61598,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_signed : - M.IsAssociatedFunction.Trait Self "wrapping_add_signed" wrapping_add_signed. + M.IsAssociatedFunction.C Self "wrapping_add_signed" wrapping_add_signed. Admitted. Global Typeclasses Opaque wrapping_add_signed. @@ -61113,7 +61622,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -61137,7 +61646,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_signed : - M.IsAssociatedFunction.Trait Self "wrapping_sub_signed" wrapping_sub_signed. + M.IsAssociatedFunction.C Self "wrapping_sub_signed" wrapping_sub_signed. Admitted. Global Typeclasses Opaque wrapping_sub_signed. @@ -61161,7 +61670,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -61181,7 +61690,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -61201,7 +61710,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -61221,7 +61730,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -61241,7 +61750,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -61265,7 +61774,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -61292,7 +61801,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -61301,7 +61810,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -61328,7 +61837,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -61337,7 +61846,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -61670,7 +62179,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -61711,7 +62220,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -61777,7 +62286,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -61826,7 +62335,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_signed : - M.IsAssociatedFunction.Trait Self "overflowing_add_signed" overflowing_add_signed. + M.IsAssociatedFunction.C Self "overflowing_add_signed" overflowing_add_signed. Admitted. Global Typeclasses Opaque overflowing_add_signed. @@ -61867,7 +62376,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -61933,7 +62442,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -61983,7 +62492,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_signed : - M.IsAssociatedFunction.Trait Self "overflowing_sub_signed" overflowing_sub_signed. + M.IsAssociatedFunction.C Self "overflowing_sub_signed" overflowing_sub_signed. Admitted. Global Typeclasses Opaque overflowing_sub_signed. @@ -62077,8 +62586,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -62119,7 +62627,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -62140,7 +62648,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -62161,7 +62669,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -62182,7 +62690,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -62203,7 +62711,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -62230,7 +62738,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -62252,13 +62760,16 @@ Module num. M.get_associated_function (| Ty.path "u16", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -62280,13 +62791,16 @@ Module num. M.get_associated_function (| Ty.path "u16", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -62516,7 +63030,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -62816,7 +63330,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -62868,7 +63382,9 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::isqrt::MAX_RESULT" |) + M.read (| + get_constant (| "core::num::isqrt::MAX_RESULT", Ty.path "u16" |) + |) |) ] |) @@ -62879,7 +63395,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -62899,7 +63415,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -62919,7 +63435,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -62939,7 +63455,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -62987,8 +63503,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -63035,7 +63550,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -63123,7 +63638,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -63171,7 +63686,7 @@ Module num. end. Global Instance AssociatedFunction_is_multiple_of : - M.IsAssociatedFunction.Trait Self "is_multiple_of" is_multiple_of. + M.IsAssociatedFunction.C Self "is_multiple_of" is_multiple_of. Admitted. Global Typeclasses Opaque is_multiple_of. @@ -63197,7 +63712,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -63261,7 +63776,10 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr (| M.read (| M.get_constant "core::num::MAX" |), M.read (| z |) |) + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |), + M.read (| z |) + |) |) |))) |))) @@ -63269,7 +63787,7 @@ Module num. end. Global Instance AssociatedFunction_one_less_than_next_power_of_two : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "one_less_than_next_power_of_two" one_less_than_next_power_of_two. @@ -63303,7 +63821,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. @@ -63342,7 +63860,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -63381,7 +63899,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_next_power_of_two : - M.IsAssociatedFunction.Trait Self "wrapping_next_power_of_two" wrapping_next_power_of_two. + M.IsAssociatedFunction.C Self "wrapping_next_power_of_two" wrapping_next_power_of_two. Admitted. Global Typeclasses Opaque wrapping_next_power_of_two. @@ -63410,7 +63928,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -63439,7 +63957,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -63471,7 +63989,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -63500,7 +64018,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -63529,7 +64047,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -63560,31 +64078,35 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. (* pub const fn min_value() -> Self { Self::MIN } *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. (* pub const fn max_value() -> Self { Self::MAX } *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -63629,7 +64151,7 @@ Module num. end. Global Instance AssociatedFunction_widening_mul : - M.IsAssociatedFunction.Trait Self "widening_mul" widening_mul. + M.IsAssociatedFunction.C Self "widening_mul" widening_mul. Admitted. Global Typeclasses Opaque widening_mul. @@ -63684,7 +64206,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_mul : - M.IsAssociatedFunction.Trait Self "carrying_mul" carrying_mul. + M.IsAssociatedFunction.C Self "carrying_mul" carrying_mul. Admitted. Global Typeclasses Opaque carrying_mul. @@ -63711,8 +64233,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -63740,7 +64261,7 @@ Module num. end. Global Instance AssociatedFunction_is_utf16_surrogate : - M.IsAssociatedFunction.Trait Self "is_utf16_surrogate" is_utf16_surrogate. + M.IsAssociatedFunction.C Self "is_utf16_surrogate" is_utf16_surrogate. Admitted. Global Typeclasses Opaque is_utf16_surrogate. (* @@ -63931,7 +64452,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.U16 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |) |) |) in let~ src : @@ -64961,7 +65482,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_u16. @@ -64971,39 +65492,35 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u32" *) - Definition value_MIN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u32" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 0 |) |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U32 0 |) |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = Self::MAX.count_ones(); *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "u32", "count_ones", [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "u32", "count_ones", [], [] |), + [ M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |) ] + |) + |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -65035,7 +65552,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -65058,7 +65575,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -65090,7 +65607,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -65122,7 +65639,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -65145,7 +65662,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -65168,7 +65685,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -65187,7 +65704,7 @@ Module num. end. Global Instance AssociatedFunction_cast_signed : - M.IsAssociatedFunction.Trait Self "cast_signed" cast_signed. + M.IsAssociatedFunction.C Self "cast_signed" cast_signed. Admitted. Global Typeclasses Opaque cast_signed. @@ -65220,7 +65737,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -65253,7 +65770,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -65281,7 +65798,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -65309,7 +65826,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -65338,8 +65855,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -65364,8 +65880,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -65394,7 +65909,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -65419,7 +65934,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -65505,7 +66020,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -65566,7 +66081,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -65640,7 +66155,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -65705,7 +66220,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_signed : - M.IsAssociatedFunction.Trait Self "checked_add_signed" checked_add_signed. + M.IsAssociatedFunction.C Self "checked_add_signed" checked_add_signed. Admitted. Global Typeclasses Opaque checked_add_signed. @@ -65766,7 +66281,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_signed : - M.IsAssociatedFunction.Trait Self "strict_add_signed" strict_add_signed. + M.IsAssociatedFunction.C Self "strict_add_signed" strict_add_signed. Admitted. Global Typeclasses Opaque strict_add_signed. @@ -65826,7 +66341,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -65887,7 +66402,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -65961,7 +66476,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -66023,7 +66538,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_signed : - M.IsAssociatedFunction.Trait Self "checked_sub_signed" checked_sub_signed. + M.IsAssociatedFunction.C Self "checked_sub_signed" checked_sub_signed. Admitted. Global Typeclasses Opaque checked_sub_signed. @@ -66083,7 +66598,7 @@ Module num. end. Global Instance AssociatedFunction_checked_signed_diff : - M.IsAssociatedFunction.Trait Self "checked_signed_diff" checked_signed_diff. + M.IsAssociatedFunction.C Self "checked_signed_diff" checked_signed_diff. Admitted. Global Typeclasses Opaque checked_signed_diff. @@ -66148,7 +66663,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -66209,7 +66724,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -66283,7 +66798,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -66346,7 +66861,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -66366,7 +66881,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -66423,7 +66938,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -66443,7 +66958,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -66506,7 +67021,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -66526,7 +67041,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -66583,7 +67098,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -66603,7 +67118,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -66722,7 +67237,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -66784,7 +67299,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -66846,7 +67361,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -66943,7 +67458,13 @@ Module num. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "u32", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 128 |) |)) in @@ -67080,7 +67601,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -67152,7 +67673,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -67224,7 +67745,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -67288,7 +67809,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -67348,7 +67869,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -67381,7 +67902,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -67405,7 +67928,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -67466,7 +67989,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -67543,7 +68066,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -67576,7 +68099,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -67595,7 +68120,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -67628,7 +68153,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -67652,7 +68179,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -67713,7 +68240,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -67790,7 +68317,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -67823,7 +68350,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -67842,7 +68371,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -68099,7 +68628,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -68266,7 +68795,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -68290,7 +68819,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -68360,7 +68889,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u32", + "MAX", + Ty.path "u32" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))) ] @@ -68374,7 +68907,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_signed : - M.IsAssociatedFunction.Trait Self "saturating_add_signed" saturating_add_signed. + M.IsAssociatedFunction.C Self "saturating_add_signed" saturating_add_signed. Admitted. Global Typeclasses Opaque saturating_add_signed. @@ -68398,7 +68931,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -68469,7 +69002,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u32", + "MAX", + Ty.path "u32" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 0 |))) ] @@ -68483,7 +69020,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_signed : - M.IsAssociatedFunction.Trait Self "saturating_sub_signed" saturating_sub_signed. + M.IsAssociatedFunction.C Self "saturating_sub_signed" saturating_sub_signed. Admitted. Global Typeclasses Opaque saturating_sub_signed. @@ -68525,7 +69062,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |))) ] |) |))) @@ -68533,7 +69070,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -68558,7 +69095,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -68600,7 +69137,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |))) ] |) |))) @@ -68608,7 +69145,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -68632,7 +69169,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -68656,7 +69193,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_signed : - M.IsAssociatedFunction.Trait Self "wrapping_add_signed" wrapping_add_signed. + M.IsAssociatedFunction.C Self "wrapping_add_signed" wrapping_add_signed. Admitted. Global Typeclasses Opaque wrapping_add_signed. @@ -68680,7 +69217,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -68704,7 +69241,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_signed : - M.IsAssociatedFunction.Trait Self "wrapping_sub_signed" wrapping_sub_signed. + M.IsAssociatedFunction.C Self "wrapping_sub_signed" wrapping_sub_signed. Admitted. Global Typeclasses Opaque wrapping_sub_signed. @@ -68728,7 +69265,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -68748,7 +69285,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -68768,7 +69305,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -68788,7 +69325,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -68808,7 +69345,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -68832,7 +69369,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -68859,7 +69396,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -68868,7 +69405,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -68895,7 +69432,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -68904,7 +69441,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -69237,7 +69774,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -69278,7 +69815,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -69344,7 +69881,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -69393,7 +69930,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_signed : - M.IsAssociatedFunction.Trait Self "overflowing_add_signed" overflowing_add_signed. + M.IsAssociatedFunction.C Self "overflowing_add_signed" overflowing_add_signed. Admitted. Global Typeclasses Opaque overflowing_add_signed. @@ -69434,7 +69971,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -69500,7 +70037,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -69550,7 +70087,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_signed : - M.IsAssociatedFunction.Trait Self "overflowing_sub_signed" overflowing_sub_signed. + M.IsAssociatedFunction.C Self "overflowing_sub_signed" overflowing_sub_signed. Admitted. Global Typeclasses Opaque overflowing_sub_signed. @@ -69644,8 +70181,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -69686,7 +70222,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -69707,7 +70243,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -69728,7 +70264,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -69749,7 +70285,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -69770,7 +70306,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -69797,7 +70333,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -69819,13 +70355,16 @@ Module num. M.get_associated_function (| Ty.path "u32", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -69847,13 +70386,16 @@ Module num. M.get_associated_function (| Ty.path "u32", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -70083,7 +70625,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -70383,7 +70925,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -70435,7 +70977,9 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::isqrt::MAX_RESULT" |) + M.read (| + get_constant (| "core::num::isqrt::MAX_RESULT", Ty.path "u32" |) + |) |) ] |) @@ -70446,7 +70990,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -70466,7 +71010,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -70486,7 +71030,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -70506,7 +71050,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -70554,8 +71098,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -70602,7 +71145,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -70690,7 +71233,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -70738,7 +71281,7 @@ Module num. end. Global Instance AssociatedFunction_is_multiple_of : - M.IsAssociatedFunction.Trait Self "is_multiple_of" is_multiple_of. + M.IsAssociatedFunction.C Self "is_multiple_of" is_multiple_of. Admitted. Global Typeclasses Opaque is_multiple_of. @@ -70764,7 +71307,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -70828,7 +71371,10 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr (| M.read (| M.get_constant "core::num::MAX" |), M.read (| z |) |) + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |), + M.read (| z |) + |) |) |))) |))) @@ -70836,7 +71382,7 @@ Module num. end. Global Instance AssociatedFunction_one_less_than_next_power_of_two : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "one_less_than_next_power_of_two" one_less_than_next_power_of_two. @@ -70870,7 +71416,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. @@ -70909,7 +71455,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -70948,7 +71494,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_next_power_of_two : - M.IsAssociatedFunction.Trait Self "wrapping_next_power_of_two" wrapping_next_power_of_two. + M.IsAssociatedFunction.C Self "wrapping_next_power_of_two" wrapping_next_power_of_two. Admitted. Global Typeclasses Opaque wrapping_next_power_of_two. @@ -70977,7 +71523,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -71006,7 +71552,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -71038,7 +71584,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -71067,7 +71613,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -71096,7 +71642,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -71127,31 +71673,35 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. (* pub const fn min_value() -> Self { Self::MIN } *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. (* pub const fn max_value() -> Self { Self::MAX } *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -71196,7 +71746,7 @@ Module num. end. Global Instance AssociatedFunction_widening_mul : - M.IsAssociatedFunction.Trait Self "widening_mul" widening_mul. + M.IsAssociatedFunction.C Self "widening_mul" widening_mul. Admitted. Global Typeclasses Opaque widening_mul. @@ -71251,7 +71801,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_mul : - M.IsAssociatedFunction.Trait Self "carrying_mul" carrying_mul. + M.IsAssociatedFunction.C Self "carrying_mul" carrying_mul. Admitted. Global Typeclasses Opaque carrying_mul. @@ -71278,8 +71828,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -71470,7 +72019,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.U32 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) |) |) |) in let~ src : @@ -72482,7 +73031,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_u32. @@ -72492,39 +73041,35 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u64" *) - Definition value_MIN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u64" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U64 0 |) |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U64 0 |) |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = Self::MAX.count_ones(); *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "u64", "count_ones", [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "u64", "count_ones", [], [] |), + [ M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |) ] + |) + |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -72556,7 +73101,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -72579,7 +73124,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -72611,7 +73156,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -72643,7 +73188,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -72666,7 +73211,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -72689,7 +73234,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -72708,7 +73253,7 @@ Module num. end. Global Instance AssociatedFunction_cast_signed : - M.IsAssociatedFunction.Trait Self "cast_signed" cast_signed. + M.IsAssociatedFunction.C Self "cast_signed" cast_signed. Admitted. Global Typeclasses Opaque cast_signed. @@ -72741,7 +73286,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -72774,7 +73319,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -72802,7 +73347,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -72830,7 +73375,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -72859,8 +73404,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -72885,8 +73429,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -72915,7 +73458,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -72940,7 +73483,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -73026,7 +73569,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -73087,7 +73630,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -73161,7 +73704,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -73226,7 +73769,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_signed : - M.IsAssociatedFunction.Trait Self "checked_add_signed" checked_add_signed. + M.IsAssociatedFunction.C Self "checked_add_signed" checked_add_signed. Admitted. Global Typeclasses Opaque checked_add_signed. @@ -73287,7 +73830,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_signed : - M.IsAssociatedFunction.Trait Self "strict_add_signed" strict_add_signed. + M.IsAssociatedFunction.C Self "strict_add_signed" strict_add_signed. Admitted. Global Typeclasses Opaque strict_add_signed. @@ -73347,7 +73890,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -73408,7 +73951,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -73482,7 +74025,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -73544,7 +74087,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_signed : - M.IsAssociatedFunction.Trait Self "checked_sub_signed" checked_sub_signed. + M.IsAssociatedFunction.C Self "checked_sub_signed" checked_sub_signed. Admitted. Global Typeclasses Opaque checked_sub_signed. @@ -73604,7 +74147,7 @@ Module num. end. Global Instance AssociatedFunction_checked_signed_diff : - M.IsAssociatedFunction.Trait Self "checked_signed_diff" checked_signed_diff. + M.IsAssociatedFunction.C Self "checked_signed_diff" checked_signed_diff. Admitted. Global Typeclasses Opaque checked_signed_diff. @@ -73669,7 +74212,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -73730,7 +74273,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -73804,7 +74347,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -73867,7 +74410,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -73887,7 +74430,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -73944,7 +74487,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -73964,7 +74507,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -74027,7 +74570,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -74047,7 +74590,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -74104,7 +74647,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -74124,7 +74667,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -74243,7 +74786,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -74305,7 +74848,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -74367,7 +74910,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -74464,7 +75007,13 @@ Module num. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "u64", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 128 |) |)) in @@ -74601,7 +75150,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -74673,7 +75222,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -74745,7 +75294,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -74809,7 +75358,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -74869,7 +75418,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -74902,7 +75451,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -74926,7 +75477,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -74987,7 +75538,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -75064,7 +75615,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -75097,7 +75648,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -75116,7 +75669,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -75149,7 +75702,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -75173,7 +75728,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -75234,7 +75789,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -75311,7 +75866,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -75344,7 +75899,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -75363,7 +75920,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -75620,7 +76177,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -75787,7 +76344,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -75811,7 +76368,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -75881,7 +76438,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))) ] @@ -75895,7 +76456,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_signed : - M.IsAssociatedFunction.Trait Self "saturating_add_signed" saturating_add_signed. + M.IsAssociatedFunction.C Self "saturating_add_signed" saturating_add_signed. Admitted. Global Typeclasses Opaque saturating_add_signed. @@ -75919,7 +76480,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -75990,7 +76551,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))) ] @@ -76004,7 +76569,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_signed : - M.IsAssociatedFunction.Trait Self "saturating_sub_signed" saturating_sub_signed. + M.IsAssociatedFunction.C Self "saturating_sub_signed" saturating_sub_signed. Admitted. Global Typeclasses Opaque saturating_sub_signed. @@ -76046,7 +76611,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |))) ] |) |))) @@ -76054,7 +76619,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -76079,7 +76644,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -76121,7 +76686,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |))) ] |) |))) @@ -76129,7 +76694,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -76153,7 +76718,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -76177,7 +76742,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_signed : - M.IsAssociatedFunction.Trait Self "wrapping_add_signed" wrapping_add_signed. + M.IsAssociatedFunction.C Self "wrapping_add_signed" wrapping_add_signed. Admitted. Global Typeclasses Opaque wrapping_add_signed. @@ -76201,7 +76766,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -76225,7 +76790,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_signed : - M.IsAssociatedFunction.Trait Self "wrapping_sub_signed" wrapping_sub_signed. + M.IsAssociatedFunction.C Self "wrapping_sub_signed" wrapping_sub_signed. Admitted. Global Typeclasses Opaque wrapping_sub_signed. @@ -76249,7 +76814,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -76269,7 +76834,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -76289,7 +76854,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -76309,7 +76874,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -76329,7 +76894,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -76353,7 +76918,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -76380,7 +76945,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -76389,7 +76954,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -76416,7 +76981,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -76425,7 +76990,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -76758,7 +77323,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -76799,7 +77364,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -76865,7 +77430,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -76914,7 +77479,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_signed : - M.IsAssociatedFunction.Trait Self "overflowing_add_signed" overflowing_add_signed. + M.IsAssociatedFunction.C Self "overflowing_add_signed" overflowing_add_signed. Admitted. Global Typeclasses Opaque overflowing_add_signed. @@ -76955,7 +77520,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -77021,7 +77586,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -77071,7 +77636,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_signed : - M.IsAssociatedFunction.Trait Self "overflowing_sub_signed" overflowing_sub_signed. + M.IsAssociatedFunction.C Self "overflowing_sub_signed" overflowing_sub_signed. Admitted. Global Typeclasses Opaque overflowing_sub_signed. @@ -77165,8 +77730,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -77207,7 +77771,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -77228,7 +77792,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -77249,7 +77813,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -77270,7 +77834,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -77291,7 +77855,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -77318,7 +77882,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -77340,13 +77904,16 @@ Module num. M.get_associated_function (| Ty.path "u64", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -77368,13 +77935,16 @@ Module num. M.get_associated_function (| Ty.path "u64", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -77604,7 +78174,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -77904,7 +78474,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -77956,7 +78526,9 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::isqrt::MAX_RESULT" |) + M.read (| + get_constant (| "core::num::isqrt::MAX_RESULT", Ty.path "u64" |) + |) |) ] |) @@ -77967,7 +78539,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -77987,7 +78559,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -78007,7 +78579,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -78027,7 +78599,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -78075,8 +78647,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -78123,7 +78694,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -78211,7 +78782,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -78259,7 +78830,7 @@ Module num. end. Global Instance AssociatedFunction_is_multiple_of : - M.IsAssociatedFunction.Trait Self "is_multiple_of" is_multiple_of. + M.IsAssociatedFunction.C Self "is_multiple_of" is_multiple_of. Admitted. Global Typeclasses Opaque is_multiple_of. @@ -78285,7 +78856,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -78349,7 +78920,10 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr (| M.read (| M.get_constant "core::num::MAX" |), M.read (| z |) |) + BinOp.Wrap.shr (| + M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |), + M.read (| z |) + |) |) |))) |))) @@ -78357,7 +78931,7 @@ Module num. end. Global Instance AssociatedFunction_one_less_than_next_power_of_two : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "one_less_than_next_power_of_two" one_less_than_next_power_of_two. @@ -78391,7 +78965,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. @@ -78430,7 +79004,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -78469,7 +79043,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_next_power_of_two : - M.IsAssociatedFunction.Trait Self "wrapping_next_power_of_two" wrapping_next_power_of_two. + M.IsAssociatedFunction.C Self "wrapping_next_power_of_two" wrapping_next_power_of_two. Admitted. Global Typeclasses Opaque wrapping_next_power_of_two. @@ -78498,7 +79072,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -78527,7 +79101,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -78559,7 +79133,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -78588,7 +79162,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -78617,7 +79191,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -78648,31 +79222,35 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. (* pub const fn min_value() -> Self { Self::MIN } *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. (* pub const fn max_value() -> Self { Self::MAX } *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -78717,7 +79295,7 @@ Module num. end. Global Instance AssociatedFunction_widening_mul : - M.IsAssociatedFunction.Trait Self "widening_mul" widening_mul. + M.IsAssociatedFunction.C Self "widening_mul" widening_mul. Admitted. Global Typeclasses Opaque widening_mul. @@ -78772,7 +79350,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_mul : - M.IsAssociatedFunction.Trait Self "carrying_mul" carrying_mul. + M.IsAssociatedFunction.C Self "carrying_mul" carrying_mul. Admitted. Global Typeclasses Opaque carrying_mul. @@ -78799,8 +79377,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -78991,7 +79568,7 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.U64 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |) |) |) |) in let~ src : @@ -80021,7 +80598,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_u64. @@ -80031,39 +80608,35 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "u128" *) - Definition value_MIN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "u128" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U128 0 |) |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.U128 0 |) |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = Self::MAX.count_ones(); *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "u128", "count_ones", [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "u128", "count_ones", [], [] |), + [ M.read (| get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) |) ] + |) + |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -80095,7 +80668,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -80118,7 +80691,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -80150,7 +80723,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -80182,7 +80755,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -80205,7 +80778,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -80228,7 +80801,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -80247,7 +80820,7 @@ Module num. end. Global Instance AssociatedFunction_cast_signed : - M.IsAssociatedFunction.Trait Self "cast_signed" cast_signed. + M.IsAssociatedFunction.C Self "cast_signed" cast_signed. Admitted. Global Typeclasses Opaque cast_signed. @@ -80280,7 +80853,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -80313,7 +80886,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -80341,7 +80914,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -80369,7 +80942,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -80398,8 +80971,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -80424,8 +80996,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -80454,7 +81025,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -80479,7 +81050,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -80565,7 +81136,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -80626,7 +81197,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -80700,7 +81271,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -80765,7 +81336,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_signed : - M.IsAssociatedFunction.Trait Self "checked_add_signed" checked_add_signed. + M.IsAssociatedFunction.C Self "checked_add_signed" checked_add_signed. Admitted. Global Typeclasses Opaque checked_add_signed. @@ -80826,7 +81397,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_signed : - M.IsAssociatedFunction.Trait Self "strict_add_signed" strict_add_signed. + M.IsAssociatedFunction.C Self "strict_add_signed" strict_add_signed. Admitted. Global Typeclasses Opaque strict_add_signed. @@ -80886,7 +81457,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -80947,7 +81518,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -81021,7 +81592,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -81083,7 +81654,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_signed : - M.IsAssociatedFunction.Trait Self "checked_sub_signed" checked_sub_signed. + M.IsAssociatedFunction.C Self "checked_sub_signed" checked_sub_signed. Admitted. Global Typeclasses Opaque checked_sub_signed. @@ -81143,7 +81714,7 @@ Module num. end. Global Instance AssociatedFunction_checked_signed_diff : - M.IsAssociatedFunction.Trait Self "checked_signed_diff" checked_signed_diff. + M.IsAssociatedFunction.C Self "checked_signed_diff" checked_signed_diff. Admitted. Global Typeclasses Opaque checked_signed_diff. @@ -81208,7 +81779,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -81269,7 +81840,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -81343,7 +81914,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -81406,7 +81977,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -81426,7 +81997,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -81483,7 +82054,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -81503,7 +82074,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -81566,7 +82137,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -81586,7 +82157,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -81643,7 +82214,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -81663,7 +82234,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -81782,7 +82353,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -81844,7 +82415,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -81906,7 +82477,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -82003,7 +82574,13 @@ Module num. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "u128", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 128 |) |)) in @@ -82140,7 +82717,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -82215,7 +82792,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -82290,7 +82867,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -82354,7 +82931,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -82414,7 +82991,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -82447,7 +83024,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -82471,7 +83050,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -82532,7 +83111,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -82609,7 +83188,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -82642,7 +83221,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -82661,7 +83242,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -82694,7 +83275,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -82718,7 +83301,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -82779,7 +83362,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -82856,7 +83439,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -82889,7 +83472,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -82908,7 +83493,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -83165,7 +83750,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -83332,7 +83917,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -83356,7 +83941,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -83429,7 +84014,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u128", + "MAX", + Ty.path "u128" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 0 |))) ] @@ -83443,7 +84032,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_signed : - M.IsAssociatedFunction.Trait Self "saturating_add_signed" saturating_add_signed. + M.IsAssociatedFunction.C Self "saturating_add_signed" saturating_add_signed. Admitted. Global Typeclasses Opaque saturating_add_signed. @@ -83467,7 +84056,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -83538,7 +84127,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "u128", + "MAX", + Ty.path "u128" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 0 |))) ] @@ -83552,7 +84145,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_signed : - M.IsAssociatedFunction.Trait Self "saturating_sub_signed" saturating_sub_signed. + M.IsAssociatedFunction.C Self "saturating_sub_signed" saturating_sub_signed. Admitted. Global Typeclasses Opaque saturating_sub_signed. @@ -83594,7 +84187,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |))) ] |) |))) @@ -83602,7 +84195,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -83627,7 +84220,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -83669,7 +84262,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |))) ] |) |))) @@ -83677,7 +84270,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -83701,7 +84294,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -83725,7 +84318,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_signed : - M.IsAssociatedFunction.Trait Self "wrapping_add_signed" wrapping_add_signed. + M.IsAssociatedFunction.C Self "wrapping_add_signed" wrapping_add_signed. Admitted. Global Typeclasses Opaque wrapping_add_signed. @@ -83749,7 +84342,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -83773,7 +84366,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_signed : - M.IsAssociatedFunction.Trait Self "wrapping_sub_signed" wrapping_sub_signed. + M.IsAssociatedFunction.C Self "wrapping_sub_signed" wrapping_sub_signed. Admitted. Global Typeclasses Opaque wrapping_sub_signed. @@ -83797,7 +84390,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -83817,7 +84410,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -83837,7 +84430,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -83857,7 +84450,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -83877,7 +84470,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -83901,7 +84494,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -83928,7 +84521,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -83937,7 +84530,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -83964,7 +84557,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -83973,7 +84566,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -84306,7 +84899,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -84351,7 +84944,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -84417,7 +85010,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -84466,7 +85059,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_signed : - M.IsAssociatedFunction.Trait Self "overflowing_add_signed" overflowing_add_signed. + M.IsAssociatedFunction.C Self "overflowing_add_signed" overflowing_add_signed. Admitted. Global Typeclasses Opaque overflowing_add_signed. @@ -84511,7 +85104,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -84577,7 +85170,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -84627,7 +85220,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_signed : - M.IsAssociatedFunction.Trait Self "overflowing_sub_signed" overflowing_sub_signed. + M.IsAssociatedFunction.C Self "overflowing_sub_signed" overflowing_sub_signed. Admitted. Global Typeclasses Opaque overflowing_sub_signed. @@ -84721,8 +85314,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -84767,7 +85359,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -84788,7 +85380,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -84809,7 +85401,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -84830,7 +85422,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -84851,7 +85443,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -84878,7 +85470,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -84900,13 +85492,16 @@ Module num. M.get_associated_function (| Ty.path "u128", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -84928,13 +85523,16 @@ Module num. M.get_associated_function (| Ty.path "u128", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -85164,7 +85762,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -85464,7 +86062,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -85516,7 +86114,9 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::isqrt::MAX_RESULT" |) + M.read (| + get_constant (| "core::num::isqrt::MAX_RESULT", Ty.path "u128" |) + |) |) ] |) @@ -85527,7 +86127,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -85547,7 +86147,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -85567,7 +86167,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -85587,7 +86187,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -85635,8 +86235,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -85683,7 +86282,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -85771,7 +86370,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -85819,7 +86418,7 @@ Module num. end. Global Instance AssociatedFunction_is_multiple_of : - M.IsAssociatedFunction.Trait Self "is_multiple_of" is_multiple_of. + M.IsAssociatedFunction.C Self "is_multiple_of" is_multiple_of. Admitted. Global Typeclasses Opaque is_multiple_of. @@ -85845,7 +86444,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -85909,7 +86508,12 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr (| M.read (| M.get_constant "core::num::MAX" |), M.read (| z |) |) + BinOp.Wrap.shr (| + M.read (| + get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) + |), + M.read (| z |) + |) |) |))) |))) @@ -85917,7 +86521,7 @@ Module num. end. Global Instance AssociatedFunction_one_less_than_next_power_of_two : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "one_less_than_next_power_of_two" one_less_than_next_power_of_two. @@ -85951,7 +86555,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. @@ -85990,7 +86594,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -86029,7 +86633,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_next_power_of_two : - M.IsAssociatedFunction.Trait Self "wrapping_next_power_of_two" wrapping_next_power_of_two. + M.IsAssociatedFunction.C Self "wrapping_next_power_of_two" wrapping_next_power_of_two. Admitted. Global Typeclasses Opaque wrapping_next_power_of_two. @@ -86058,7 +86662,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -86087,7 +86691,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -86119,7 +86723,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -86148,7 +86752,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -86177,7 +86781,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -86208,31 +86812,35 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. (* pub const fn min_value() -> Self { Self::MIN } *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u128", "MIN", Ty.path "u128" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. (* pub const fn max_value() -> Self { Self::MAX } *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -86259,8 +86867,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -86451,7 +87058,9 @@ Module num. M.alloc (| BinOp.gt (| Value.Integer IntegerKind.U128 0, - M.read (| M.get_constant "core::num::MIN" |) + M.read (| + get_associated_constant (| Ty.path "u128", "MIN", Ty.path "u128" |) + |) |) |) in let~ src : @@ -87481,7 +88090,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_u128. @@ -87491,39 +88100,35 @@ Module num. (* pub const MIN: Self = 0; *) (* Ty.path "usize" *) - Definition value_MIN : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = !0; *) (* Ty.path "usize" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.Usize 0 |) |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| UnOp.not (| Value.Integer IntegerKind.Usize 0 |) |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = Self::MAX.count_ones(); *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u32", - M.get_associated_function (| Ty.path "usize", "count_ones", [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - |))). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u32", + M.get_associated_function (| Ty.path "usize", "count_ones", [], [] |), + [ M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |) ] + |) + |))). - Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + Global Instance AssociatedConstant_value_BITS : M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -87555,7 +88160,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -87578,7 +88183,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -87610,7 +88215,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -87642,7 +88247,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -87665,7 +88270,7 @@ Module num. end. Global Instance AssociatedFunction_leading_ones : - M.IsAssociatedFunction.Trait Self "leading_ones" leading_ones. + M.IsAssociatedFunction.C Self "leading_ones" leading_ones. Admitted. Global Typeclasses Opaque leading_ones. @@ -87688,7 +88293,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_ones : - M.IsAssociatedFunction.Trait Self "trailing_ones" trailing_ones. + M.IsAssociatedFunction.C Self "trailing_ones" trailing_ones. Admitted. Global Typeclasses Opaque trailing_ones. @@ -87707,7 +88312,7 @@ Module num. end. Global Instance AssociatedFunction_cast_signed : - M.IsAssociatedFunction.Trait Self "cast_signed" cast_signed. + M.IsAssociatedFunction.C Self "cast_signed" cast_signed. Admitted. Global Typeclasses Opaque cast_signed. @@ -87740,7 +88345,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -87777,7 +88382,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -87802,7 +88407,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -87827,7 +88432,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -87856,8 +88461,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -87882,8 +88486,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -87912,7 +88515,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -87937,7 +88540,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -88023,7 +88626,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -88084,7 +88687,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add : - M.IsAssociatedFunction.Trait Self "strict_add" strict_add. + M.IsAssociatedFunction.C Self "strict_add" strict_add. Admitted. Global Typeclasses Opaque strict_add. @@ -88158,7 +88761,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -88223,7 +88826,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add_signed : - M.IsAssociatedFunction.Trait Self "checked_add_signed" checked_add_signed. + M.IsAssociatedFunction.C Self "checked_add_signed" checked_add_signed. Admitted. Global Typeclasses Opaque checked_add_signed. @@ -88284,7 +88887,7 @@ Module num. end. Global Instance AssociatedFunction_strict_add_signed : - M.IsAssociatedFunction.Trait Self "strict_add_signed" strict_add_signed. + M.IsAssociatedFunction.C Self "strict_add_signed" strict_add_signed. Admitted. Global Typeclasses Opaque strict_add_signed. @@ -88344,7 +88947,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -88405,7 +89008,7 @@ Module num. end. Global Instance AssociatedFunction_strict_sub : - M.IsAssociatedFunction.Trait Self "strict_sub" strict_sub. + M.IsAssociatedFunction.C Self "strict_sub" strict_sub. Admitted. Global Typeclasses Opaque strict_sub. @@ -88479,7 +89082,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_sub : - M.IsAssociatedFunction.Trait Self "unchecked_sub" unchecked_sub. + M.IsAssociatedFunction.C Self "unchecked_sub" unchecked_sub. Admitted. Global Typeclasses Opaque unchecked_sub. @@ -88541,7 +89144,7 @@ Module num. end. Global Instance AssociatedFunction_checked_sub_signed : - M.IsAssociatedFunction.Trait Self "checked_sub_signed" checked_sub_signed. + M.IsAssociatedFunction.C Self "checked_sub_signed" checked_sub_signed. Admitted. Global Typeclasses Opaque checked_sub_signed. @@ -88601,7 +89204,7 @@ Module num. end. Global Instance AssociatedFunction_checked_signed_diff : - M.IsAssociatedFunction.Trait Self "checked_signed_diff" checked_signed_diff. + M.IsAssociatedFunction.C Self "checked_signed_diff" checked_signed_diff. Admitted. Global Typeclasses Opaque checked_signed_diff. @@ -88666,7 +89269,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -88727,7 +89330,7 @@ Module num. end. Global Instance AssociatedFunction_strict_mul : - M.IsAssociatedFunction.Trait Self "strict_mul" strict_mul. + M.IsAssociatedFunction.C Self "strict_mul" strict_mul. Admitted. Global Typeclasses Opaque strict_mul. @@ -88801,7 +89404,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -88864,7 +89467,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -88884,7 +89487,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div : - M.IsAssociatedFunction.Trait Self "strict_div" strict_div. + M.IsAssociatedFunction.C Self "strict_div" strict_div. Admitted. Global Typeclasses Opaque strict_div. @@ -88941,7 +89544,7 @@ Module num. end. Global Instance AssociatedFunction_checked_div_euclid : - M.IsAssociatedFunction.Trait Self "checked_div_euclid" checked_div_euclid. + M.IsAssociatedFunction.C Self "checked_div_euclid" checked_div_euclid. Admitted. Global Typeclasses Opaque checked_div_euclid. @@ -88961,7 +89564,7 @@ Module num. end. Global Instance AssociatedFunction_strict_div_euclid : - M.IsAssociatedFunction.Trait Self "strict_div_euclid" strict_div_euclid. + M.IsAssociatedFunction.C Self "strict_div_euclid" strict_div_euclid. Admitted. Global Typeclasses Opaque strict_div_euclid. @@ -89024,7 +89627,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -89044,7 +89647,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem : - M.IsAssociatedFunction.Trait Self "strict_rem" strict_rem. + M.IsAssociatedFunction.C Self "strict_rem" strict_rem. Admitted. Global Typeclasses Opaque strict_rem. @@ -89101,7 +89704,7 @@ Module num. end. Global Instance AssociatedFunction_checked_rem_euclid : - M.IsAssociatedFunction.Trait Self "checked_rem_euclid" checked_rem_euclid. + M.IsAssociatedFunction.C Self "checked_rem_euclid" checked_rem_euclid. Admitted. Global Typeclasses Opaque checked_rem_euclid. @@ -89121,7 +89724,7 @@ Module num. end. Global Instance AssociatedFunction_strict_rem_euclid : - M.IsAssociatedFunction.Trait Self "strict_rem_euclid" strict_rem_euclid. + M.IsAssociatedFunction.C Self "strict_rem_euclid" strict_rem_euclid. Admitted. Global Typeclasses Opaque strict_rem_euclid. @@ -89240,7 +89843,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.Trait Self "ilog" ilog. + Global Instance AssociatedFunction_ilog : M.IsAssociatedFunction.C Self "ilog" ilog. Admitted. Global Typeclasses Opaque ilog. @@ -89302,7 +89905,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -89364,7 +89967,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -89461,7 +90064,13 @@ Module num. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| + get_associated_constant (| + Ty.path "usize", + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 128 |) |)) in @@ -89598,7 +90207,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog : - M.IsAssociatedFunction.Trait Self "checked_ilog" checked_ilog. + M.IsAssociatedFunction.C Self "checked_ilog" checked_ilog. Admitted. Global Typeclasses Opaque checked_ilog. @@ -89673,7 +90282,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog2 : - M.IsAssociatedFunction.Trait Self "checked_ilog2" checked_ilog2. + M.IsAssociatedFunction.C Self "checked_ilog2" checked_ilog2. Admitted. Global Typeclasses Opaque checked_ilog2. @@ -89748,7 +90357,7 @@ Module num. end. Global Instance AssociatedFunction_checked_ilog10 : - M.IsAssociatedFunction.Trait Self "checked_ilog10" checked_ilog10. + M.IsAssociatedFunction.C Self "checked_ilog10" checked_ilog10. Admitted. Global Typeclasses Opaque checked_ilog10. @@ -89812,7 +90421,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -89872,7 +90481,7 @@ Module num. end. Global Instance AssociatedFunction_strict_neg : - M.IsAssociatedFunction.Trait Self "strict_neg" strict_neg. + M.IsAssociatedFunction.C Self "strict_neg" strict_neg. Admitted. Global Typeclasses Opaque strict_neg. @@ -89905,7 +90514,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -89934,7 +90545,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -89995,7 +90606,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shl : - M.IsAssociatedFunction.Trait Self "strict_shl" strict_shl. + M.IsAssociatedFunction.C Self "strict_shl" strict_shl. Admitted. Global Typeclasses Opaque strict_shl. @@ -90072,7 +90683,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shl : - M.IsAssociatedFunction.Trait Self "unchecked_shl" unchecked_shl. + M.IsAssociatedFunction.C Self "unchecked_shl" unchecked_shl. Admitted. Global Typeclasses Opaque unchecked_shl. @@ -90105,7 +90716,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -90124,7 +90737,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shl : - M.IsAssociatedFunction.Trait Self "unbounded_shl" unbounded_shl. + M.IsAssociatedFunction.C Self "unbounded_shl" unbounded_shl. Admitted. Global Typeclasses Opaque unbounded_shl. @@ -90157,7 +90770,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -90186,7 +90801,7 @@ Module num. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -90247,7 +90862,7 @@ Module num. end. Global Instance AssociatedFunction_strict_shr : - M.IsAssociatedFunction.Trait Self "strict_shr" strict_shr. + M.IsAssociatedFunction.C Self "strict_shr" strict_shr. Admitted. Global Typeclasses Opaque strict_shr. @@ -90324,7 +90939,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_shr : - M.IsAssociatedFunction.Trait Self "unchecked_shr" unchecked_shr. + M.IsAssociatedFunction.C Self "unchecked_shr" unchecked_shr. Admitted. Global Typeclasses Opaque unchecked_shr. @@ -90357,7 +90972,9 @@ Module num. (M.alloc (| BinOp.lt (| M.read (| rhs |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -90376,7 +90993,7 @@ Module num. end. Global Instance AssociatedFunction_unbounded_shr : - M.IsAssociatedFunction.Trait Self "unbounded_shr" unbounded_shr. + M.IsAssociatedFunction.C Self "unbounded_shr" unbounded_shr. Admitted. Global Typeclasses Opaque unbounded_shr. @@ -90633,7 +91250,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -90800,7 +91417,7 @@ Module num. end. Global Instance AssociatedFunction_strict_pow : - M.IsAssociatedFunction.Trait Self "strict_pow" strict_pow. + M.IsAssociatedFunction.C Self "strict_pow" strict_pow. Admitted. Global Typeclasses Opaque strict_pow. @@ -90824,7 +91441,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -90897,7 +91514,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] @@ -90911,7 +91532,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add_signed : - M.IsAssociatedFunction.Trait Self "saturating_add_signed" saturating_add_signed. + M.IsAssociatedFunction.C Self "saturating_add_signed" saturating_add_signed. Admitted. Global Typeclasses Opaque saturating_add_signed. @@ -90935,7 +91556,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -91006,7 +91627,11 @@ Module num. M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 0 |))) ] @@ -91020,7 +91645,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_sub_signed : - M.IsAssociatedFunction.Trait Self "saturating_sub_signed" saturating_sub_signed. + M.IsAssociatedFunction.C Self "saturating_sub_signed" saturating_sub_signed. Admitted. Global Typeclasses Opaque saturating_sub_signed. @@ -91062,7 +91687,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))) ] |) |))) @@ -91070,7 +91695,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -91095,7 +91720,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_div : - M.IsAssociatedFunction.Trait Self "saturating_div" saturating_div. + M.IsAssociatedFunction.C Self "saturating_div" saturating_div. Admitted. Global Typeclasses Opaque saturating_div. @@ -91137,7 +91762,7 @@ Module num. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::num::MAX")) + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))) ] |) |))) @@ -91145,7 +91770,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. @@ -91169,7 +91794,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -91193,7 +91818,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_add_signed : - M.IsAssociatedFunction.Trait Self "wrapping_add_signed" wrapping_add_signed. + M.IsAssociatedFunction.C Self "wrapping_add_signed" wrapping_add_signed. Admitted. Global Typeclasses Opaque wrapping_add_signed. @@ -91217,7 +91842,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -91241,7 +91866,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_sub_signed : - M.IsAssociatedFunction.Trait Self "wrapping_sub_signed" wrapping_sub_signed. + M.IsAssociatedFunction.C Self "wrapping_sub_signed" wrapping_sub_signed. Admitted. Global Typeclasses Opaque wrapping_sub_signed. @@ -91265,7 +91890,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -91285,7 +91910,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div : - M.IsAssociatedFunction.Trait Self "wrapping_div" wrapping_div. + M.IsAssociatedFunction.C Self "wrapping_div" wrapping_div. Admitted. Global Typeclasses Opaque wrapping_div. @@ -91305,7 +91930,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_div_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_div_euclid" wrapping_div_euclid. + M.IsAssociatedFunction.C Self "wrapping_div_euclid" wrapping_div_euclid. Admitted. Global Typeclasses Opaque wrapping_div_euclid. @@ -91325,7 +91950,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem : - M.IsAssociatedFunction.Trait Self "wrapping_rem" wrapping_rem. + M.IsAssociatedFunction.C Self "wrapping_rem" wrapping_rem. Admitted. Global Typeclasses Opaque wrapping_rem. @@ -91345,7 +91970,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_rem_euclid : - M.IsAssociatedFunction.Trait Self "wrapping_rem_euclid" wrapping_rem_euclid. + M.IsAssociatedFunction.C Self "wrapping_rem_euclid" wrapping_rem_euclid. Admitted. Global Typeclasses Opaque wrapping_rem_euclid. @@ -91371,7 +91996,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -91398,7 +92023,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -91407,7 +92032,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shl : - M.IsAssociatedFunction.Trait Self "wrapping_shl" wrapping_shl. + M.IsAssociatedFunction.C Self "wrapping_shl" wrapping_shl. Admitted. Global Typeclasses Opaque wrapping_shl. @@ -91434,7 +92059,7 @@ Module num. BinOp.bit_and (M.read (| rhs |)) (BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::BITS" |), + M.read (| get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) |), Value.Integer IntegerKind.U32 1 |)) ] @@ -91443,7 +92068,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_shr : - M.IsAssociatedFunction.Trait Self "wrapping_shr" wrapping_shr. + M.IsAssociatedFunction.C Self "wrapping_shr" wrapping_shr. Admitted. Global Typeclasses Opaque wrapping_shr. @@ -91776,7 +92401,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_pow : - M.IsAssociatedFunction.Trait Self "wrapping_pow" wrapping_pow. + M.IsAssociatedFunction.C Self "wrapping_pow" wrapping_pow. Admitted. Global Typeclasses Opaque wrapping_pow. @@ -91822,7 +92447,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add : - M.IsAssociatedFunction.Trait Self "overflowing_add" overflowing_add. + M.IsAssociatedFunction.C Self "overflowing_add" overflowing_add. Admitted. Global Typeclasses Opaque overflowing_add. @@ -91893,7 +92518,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_add : - M.IsAssociatedFunction.Trait Self "carrying_add" carrying_add. + M.IsAssociatedFunction.C Self "carrying_add" carrying_add. Admitted. Global Typeclasses Opaque carrying_add. @@ -91942,7 +92567,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_add_signed : - M.IsAssociatedFunction.Trait Self "overflowing_add_signed" overflowing_add_signed. + M.IsAssociatedFunction.C Self "overflowing_add_signed" overflowing_add_signed. Admitted. Global Typeclasses Opaque overflowing_add_signed. @@ -91988,7 +92613,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub : - M.IsAssociatedFunction.Trait Self "overflowing_sub" overflowing_sub. + M.IsAssociatedFunction.C Self "overflowing_sub" overflowing_sub. Admitted. Global Typeclasses Opaque overflowing_sub. @@ -92059,7 +92684,7 @@ Module num. end. Global Instance AssociatedFunction_borrowing_sub : - M.IsAssociatedFunction.Trait Self "borrowing_sub" borrowing_sub. + M.IsAssociatedFunction.C Self "borrowing_sub" borrowing_sub. Admitted. Global Typeclasses Opaque borrowing_sub. @@ -92109,7 +92734,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_sub_signed : - M.IsAssociatedFunction.Trait Self "overflowing_sub_signed" overflowing_sub_signed. + M.IsAssociatedFunction.C Self "overflowing_sub_signed" overflowing_sub_signed. Admitted. Global Typeclasses Opaque overflowing_sub_signed. @@ -92203,8 +92828,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -92250,7 +92874,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_mul : - M.IsAssociatedFunction.Trait Self "overflowing_mul" overflowing_mul. + M.IsAssociatedFunction.C Self "overflowing_mul" overflowing_mul. Admitted. Global Typeclasses Opaque overflowing_mul. @@ -92271,7 +92895,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div : - M.IsAssociatedFunction.Trait Self "overflowing_div" overflowing_div. + M.IsAssociatedFunction.C Self "overflowing_div" overflowing_div. Admitted. Global Typeclasses Opaque overflowing_div. @@ -92292,7 +92916,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_div_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_div_euclid" overflowing_div_euclid. + M.IsAssociatedFunction.C Self "overflowing_div_euclid" overflowing_div_euclid. Admitted. Global Typeclasses Opaque overflowing_div_euclid. @@ -92313,7 +92937,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem : - M.IsAssociatedFunction.Trait Self "overflowing_rem" overflowing_rem. + M.IsAssociatedFunction.C Self "overflowing_rem" overflowing_rem. Admitted. Global Typeclasses Opaque overflowing_rem. @@ -92334,7 +92958,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_rem_euclid : - M.IsAssociatedFunction.Trait Self "overflowing_rem_euclid" overflowing_rem_euclid. + M.IsAssociatedFunction.C Self "overflowing_rem_euclid" overflowing_rem_euclid. Admitted. Global Typeclasses Opaque overflowing_rem_euclid. @@ -92361,7 +92985,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -92383,13 +93007,16 @@ Module num. M.get_associated_function (| Ty.path "usize", "wrapping_shl", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shl : - M.IsAssociatedFunction.Trait Self "overflowing_shl" overflowing_shl. + M.IsAssociatedFunction.C Self "overflowing_shl" overflowing_shl. Admitted. Global Typeclasses Opaque overflowing_shl. @@ -92411,13 +93038,16 @@ Module num. M.get_associated_function (| Ty.path "usize", "wrapping_shr", [], [] |), [ M.read (| self |); M.read (| rhs |) ] |); - BinOp.ge (| M.read (| rhs |), M.read (| M.get_constant "core::num::BITS" |) |) + BinOp.ge (| + M.read (| rhs |), + M.read (| get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |) |) + |) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_shr : - M.IsAssociatedFunction.Trait Self "overflowing_shr" overflowing_shr. + M.IsAssociatedFunction.C Self "overflowing_shr" overflowing_shr. Admitted. Global Typeclasses Opaque overflowing_shr. @@ -92648,7 +93278,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_pow : - M.IsAssociatedFunction.Trait Self "overflowing_pow" overflowing_pow. + M.IsAssociatedFunction.C Self "overflowing_pow" overflowing_pow. Admitted. Global Typeclasses Opaque overflowing_pow. @@ -92948,7 +93578,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. @@ -92999,7 +93629,9 @@ Module num. [ BinOp.le (| M.read (| result |), - M.read (| M.get_constant "core::num::isqrt::MAX_RESULT" |) + M.read (| + get_constant (| "core::num::isqrt::MAX_RESULT", Ty.path "usize" |) + |) |) ] |) @@ -93010,7 +93642,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -93030,7 +93662,7 @@ Module num. end. Global Instance AssociatedFunction_div_euclid : - M.IsAssociatedFunction.Trait Self "div_euclid" div_euclid. + M.IsAssociatedFunction.C Self "div_euclid" div_euclid. Admitted. Global Typeclasses Opaque div_euclid. @@ -93050,7 +93682,7 @@ Module num. end. Global Instance AssociatedFunction_rem_euclid : - M.IsAssociatedFunction.Trait Self "rem_euclid" rem_euclid. + M.IsAssociatedFunction.C Self "rem_euclid" rem_euclid. Admitted. Global Typeclasses Opaque rem_euclid. @@ -93070,7 +93702,7 @@ Module num. end. Global Instance AssociatedFunction_div_floor : - M.IsAssociatedFunction.Trait Self "div_floor" div_floor. + M.IsAssociatedFunction.C Self "div_floor" div_floor. Admitted. Global Typeclasses Opaque div_floor. @@ -93118,8 +93750,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + Global Instance AssociatedFunction_div_ceil : M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. @@ -93166,7 +93797,7 @@ Module num. end. Global Instance AssociatedFunction_next_multiple_of : - M.IsAssociatedFunction.Trait Self "next_multiple_of" next_multiple_of. + M.IsAssociatedFunction.C Self "next_multiple_of" next_multiple_of. Admitted. Global Typeclasses Opaque next_multiple_of. @@ -93254,7 +93885,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_multiple_of : - M.IsAssociatedFunction.Trait Self "checked_next_multiple_of" checked_next_multiple_of. + M.IsAssociatedFunction.C Self "checked_next_multiple_of" checked_next_multiple_of. Admitted. Global Typeclasses Opaque checked_next_multiple_of. @@ -93302,7 +93933,7 @@ Module num. end. Global Instance AssociatedFunction_is_multiple_of : - M.IsAssociatedFunction.Trait Self "is_multiple_of" is_multiple_of. + M.IsAssociatedFunction.C Self "is_multiple_of" is_multiple_of. Admitted. Global Typeclasses Opaque is_multiple_of. @@ -93328,7 +93959,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -93396,7 +94027,12 @@ Module num. |) |) in M.alloc (| - BinOp.Wrap.shr (| M.read (| M.get_constant "core::num::MAX" |), M.read (| z |) |) + BinOp.Wrap.shr (| + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |), + M.read (| z |) + |) |) |))) |))) @@ -93404,7 +94040,7 @@ Module num. end. Global Instance AssociatedFunction_one_less_than_next_power_of_two : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "one_less_than_next_power_of_two" one_less_than_next_power_of_two. @@ -93438,7 +94074,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. @@ -93477,7 +94113,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -93516,7 +94152,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_next_power_of_two : - M.IsAssociatedFunction.Trait Self "wrapping_next_power_of_two" wrapping_next_power_of_two. + M.IsAssociatedFunction.C Self "wrapping_next_power_of_two" wrapping_next_power_of_two. Admitted. Global Typeclasses Opaque wrapping_next_power_of_two. @@ -93545,7 +94181,7 @@ Module num. end. Global Instance AssociatedFunction_to_be_bytes : - M.IsAssociatedFunction.Trait Self "to_be_bytes" to_be_bytes. + M.IsAssociatedFunction.C Self "to_be_bytes" to_be_bytes. Admitted. Global Typeclasses Opaque to_be_bytes. @@ -93574,7 +94210,7 @@ Module num. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -93606,7 +94242,7 @@ Module num. end. Global Instance AssociatedFunction_to_ne_bytes : - M.IsAssociatedFunction.Trait Self "to_ne_bytes" to_ne_bytes. + M.IsAssociatedFunction.C Self "to_ne_bytes" to_ne_bytes. Admitted. Global Typeclasses Opaque to_ne_bytes. @@ -93635,7 +94271,7 @@ Module num. end. Global Instance AssociatedFunction_from_be_bytes : - M.IsAssociatedFunction.Trait Self "from_be_bytes" from_be_bytes. + M.IsAssociatedFunction.C Self "from_be_bytes" from_be_bytes. Admitted. Global Typeclasses Opaque from_be_bytes. @@ -93664,7 +94300,7 @@ Module num. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -93695,31 +94331,35 @@ Module num. end. Global Instance AssociatedFunction_from_ne_bytes : - M.IsAssociatedFunction.Trait Self "from_ne_bytes" from_ne_bytes. + M.IsAssociatedFunction.C Self "from_ne_bytes" from_ne_bytes. Admitted. Global Typeclasses Opaque from_ne_bytes. (* pub const fn min_value() -> Self { Self::MIN } *) Definition min_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "usize", "MIN", Ty.path "usize" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_min_value : - M.IsAssociatedFunction.Trait Self "min_value" min_value. + M.IsAssociatedFunction.C Self "min_value" min_value. Admitted. Global Typeclasses Opaque min_value. (* pub const fn max_value() -> Self { Self::MAX } *) Definition max_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::num::MAX" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -93764,7 +94404,7 @@ Module num. end. Global Instance AssociatedFunction_widening_mul : - M.IsAssociatedFunction.Trait Self "widening_mul" widening_mul. + M.IsAssociatedFunction.C Self "widening_mul" widening_mul. Admitted. Global Typeclasses Opaque widening_mul. @@ -93819,7 +94459,7 @@ Module num. end. Global Instance AssociatedFunction_carrying_mul : - M.IsAssociatedFunction.Trait Self "carrying_mul" carrying_mul. + M.IsAssociatedFunction.C Self "carrying_mul" carrying_mul. Admitted. Global Typeclasses Opaque carrying_mul. @@ -93846,8 +94486,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + Global Instance AssociatedFunction_midpoint : M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. (* @@ -93869,7 +94508,7 @@ Module num. end. Global Instance AssociatedFunction_repeat_u8 : - M.IsAssociatedFunction.Trait Self "repeat_u8" repeat_u8. + M.IsAssociatedFunction.C Self "repeat_u8" repeat_u8. Admitted. Global Typeclasses Opaque repeat_u8. @@ -93971,7 +94610,7 @@ Module num. end. Global Instance AssociatedFunction_repeat_u16 : - M.IsAssociatedFunction.Trait Self "repeat_u16" repeat_u16. + M.IsAssociatedFunction.C Self "repeat_u16" repeat_u16. Admitted. Global Typeclasses Opaque repeat_u16. (* @@ -94032,7 +94671,7 @@ Module num. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. End Impl_usize. @@ -94795,7 +95434,7 @@ Module num. end. Global Instance Instance_IsFunction_can_not_overflow : - M.IsFunction.Trait "core::num::can_not_overflow" can_not_overflow. + M.IsFunction.C "core::num::can_not_overflow" can_not_overflow. Admitted. Global Typeclasses Opaque can_not_overflow. @@ -94822,7 +95461,7 @@ Module num. end. Global Instance Instance_IsFunction_from_str_radix_panic : - M.IsFunction.Trait "core::num::from_str_radix_panic" from_str_radix_panic. + M.IsFunction.C "core::num::from_str_radix_panic" from_str_radix_panic. Admitted. Global Typeclasses Opaque from_str_radix_panic. diff --git a/CoqOfRust/core/num/nonzero.v b/CoqOfRust/core/num/nonzero.v index 93fa601f6..7ee16f7dc 100644 --- a/CoqOfRust/core/num/nonzero.v +++ b/CoqOfRust/core/num/nonzero.v @@ -2742,7 +2742,7 @@ Module num. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -2866,7 +2866,7 @@ Module num. Global Instance AssociatedFunction_new_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_unchecked" (new_unchecked T). + M.IsAssociatedFunction.C (Self T) "new_unchecked" (new_unchecked T). Admitted. Global Typeclasses Opaque new_unchecked. @@ -2966,7 +2966,7 @@ Module num. Global Instance AssociatedFunction_from_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut" (from_mut T). + M.IsAssociatedFunction.C (Self T) "from_mut" (from_mut T). Admitted. Global Typeclasses Opaque from_mut. @@ -3124,7 +3124,7 @@ Module num. Global Instance AssociatedFunction_from_mut_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut_unchecked" (from_mut_unchecked T). + M.IsAssociatedFunction.C (Self T) "from_mut_unchecked" (from_mut_unchecked T). Admitted. Global Typeclasses Opaque from_mut_unchecked. @@ -3171,7 +3171,7 @@ Module num. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. End Impl_core_num_nonzero_NonZero_T. @@ -3186,10 +3186,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -3231,7 +3232,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -3273,7 +3274,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -3321,7 +3322,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -3376,7 +3377,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -3431,7 +3432,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -3484,7 +3485,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -3537,7 +3538,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -3589,8 +3590,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -3642,8 +3642,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -3695,7 +3694,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -3747,87 +3746,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(1).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U8 1 ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U8 1 ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -3923,7 +3918,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -3977,7 +3972,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -4025,7 +4020,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -4123,7 +4118,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -4139,7 +4134,13 @@ Module num. (let self := M.alloc (| self |) in BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::nonzero::BITS" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u8" ], + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |), M.call_closure (| @@ -4156,7 +4157,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -4189,7 +4190,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -4249,7 +4250,7 @@ Module num. end. Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -4291,7 +4292,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -4348,7 +4349,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -4456,7 +4457,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -4520,7 +4521,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -4577,7 +4578,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -4673,7 +4674,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -4728,7 +4729,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. (* @@ -4791,7 +4792,7 @@ Module num. end. Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. End Impl_core_num_nonzero_NonZero_u8. @@ -5201,10 +5202,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -5246,7 +5248,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -5288,7 +5290,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -5336,7 +5338,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -5391,7 +5393,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -5446,7 +5448,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -5499,7 +5501,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -5552,7 +5554,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -5604,8 +5606,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -5657,8 +5658,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -5710,7 +5710,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -5762,87 +5762,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(1).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U16 1 ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U16 1 ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -5938,7 +5934,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -5992,7 +5988,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -6040,7 +6036,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -6138,7 +6134,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -6154,7 +6150,13 @@ Module num. (let self := M.alloc (| self |) in BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::nonzero::BITS" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u16" ], + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |), M.call_closure (| @@ -6171,7 +6173,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -6204,7 +6206,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -6264,7 +6266,7 @@ Module num. end. Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -6306,7 +6308,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -6363,7 +6365,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -6471,7 +6473,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -6535,7 +6537,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -6592,7 +6594,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -6688,7 +6690,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -6743,7 +6745,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. (* @@ -6806,7 +6808,7 @@ Module num. end. Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. End Impl_core_num_nonzero_NonZero_u16. @@ -7216,10 +7218,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -7261,7 +7264,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -7303,7 +7306,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -7351,7 +7354,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -7406,7 +7409,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -7461,7 +7464,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -7514,7 +7517,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -7567,7 +7570,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -7619,8 +7622,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -7672,8 +7674,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -7725,7 +7726,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -7777,87 +7778,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(1).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U32 1 ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U32 1 ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -7953,7 +7950,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -8007,7 +8004,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -8055,7 +8052,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -8153,7 +8150,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -8169,7 +8166,13 @@ Module num. (let self := M.alloc (| self |) in BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::nonzero::BITS" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u32" ], + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |), M.call_closure (| @@ -8186,7 +8189,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -8219,7 +8222,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -8279,7 +8282,7 @@ Module num. end. Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -8321,7 +8324,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -8378,7 +8381,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -8486,7 +8489,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -8550,7 +8553,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -8607,7 +8610,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -8703,7 +8706,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -8758,7 +8761,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. (* @@ -8821,7 +8824,7 @@ Module num. end. Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. End Impl_core_num_nonzero_NonZero_u32. @@ -9231,10 +9234,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -9276,7 +9280,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -9318,7 +9322,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -9366,7 +9370,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -9421,7 +9425,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -9476,7 +9480,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -9529,7 +9533,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -9582,7 +9586,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -9634,8 +9638,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -9687,8 +9690,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -9740,7 +9742,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -9792,87 +9794,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(1).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U64 1 ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U64 1 ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -9968,7 +9966,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -10022,7 +10020,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -10070,7 +10068,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -10168,7 +10166,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -10184,7 +10182,13 @@ Module num. (let self := M.alloc (| self |) in BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::nonzero::BITS" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u64" ], + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |), M.call_closure (| @@ -10201,7 +10205,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -10234,7 +10238,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -10294,7 +10298,7 @@ Module num. end. Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -10336,7 +10340,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -10393,7 +10397,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -10501,7 +10505,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -10565,7 +10569,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -10622,7 +10626,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -10718,7 +10722,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -10773,7 +10777,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. (* @@ -10836,7 +10840,7 @@ Module num. end. Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. End Impl_core_num_nonzero_NonZero_u64. @@ -11246,10 +11250,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -11291,7 +11296,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -11333,7 +11338,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -11381,7 +11386,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -11436,7 +11441,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -11491,7 +11496,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -11544,7 +11549,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -11597,7 +11602,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -11649,8 +11654,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -11702,8 +11706,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -11755,7 +11758,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -11807,87 +11810,84 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(1).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U128 1 ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U128 1 ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) |) + ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -11986,7 +11986,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -12040,7 +12040,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -12088,7 +12088,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -12189,7 +12189,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -12205,7 +12205,13 @@ Module num. (let self := M.alloc (| self |) in BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::nonzero::BITS" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "u128" ], + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |), M.call_closure (| @@ -12222,7 +12228,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -12255,7 +12261,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -12315,7 +12321,7 @@ Module num. end. Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -12357,7 +12363,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -12414,7 +12420,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -12525,7 +12531,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -12589,7 +12595,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -12646,7 +12652,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -12745,7 +12751,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -12800,7 +12806,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. (* @@ -12863,7 +12869,7 @@ Module num. end. Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. End Impl_core_num_nonzero_NonZero_u128. @@ -13273,10 +13279,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -13318,7 +13325,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -13360,7 +13367,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -13408,7 +13415,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -13463,7 +13470,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -13518,7 +13525,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -13571,7 +13578,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -13624,7 +13631,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -13676,8 +13683,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -13729,8 +13735,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -13782,7 +13787,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -13834,87 +13839,87 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(1).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 1 ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 1 ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "new", + [], + [] + |), + [ + M.read (| + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) + |) + ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -14013,7 +14018,7 @@ Module num. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -14067,7 +14072,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -14115,7 +14120,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_add : - M.IsAssociatedFunction.Trait Self "unchecked_add" unchecked_add. + M.IsAssociatedFunction.C Self "unchecked_add" unchecked_add. Admitted. Global Typeclasses Opaque unchecked_add. @@ -14216,7 +14221,7 @@ Module num. end. Global Instance AssociatedFunction_checked_next_power_of_two : - M.IsAssociatedFunction.Trait Self "checked_next_power_of_two" checked_next_power_of_two. + M.IsAssociatedFunction.C Self "checked_next_power_of_two" checked_next_power_of_two. Admitted. Global Typeclasses Opaque checked_next_power_of_two. @@ -14232,7 +14237,13 @@ Module num. (let self := M.alloc (| self |) in BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::num::nonzero::BITS" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "usize" ], + "BITS", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |), M.call_closure (| @@ -14249,7 +14260,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.Trait Self "ilog2" ilog2. + Global Instance AssociatedFunction_ilog2 : M.IsAssociatedFunction.C Self "ilog2" ilog2. Admitted. Global Typeclasses Opaque ilog2. @@ -14282,7 +14293,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.Trait Self "ilog10" ilog10. + Global Instance AssociatedFunction_ilog10 : M.IsAssociatedFunction.C Self "ilog10" ilog10. Admitted. Global Typeclasses Opaque ilog10. @@ -14342,7 +14353,7 @@ Module num. end. Global Instance AssociatedFunction_midpoint : - M.IsAssociatedFunction.Trait Self "midpoint" midpoint. + M.IsAssociatedFunction.C Self "midpoint" midpoint. Admitted. Global Typeclasses Opaque midpoint. @@ -14384,7 +14395,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -14441,7 +14452,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.Trait Self "isqrt" isqrt. + Global Instance AssociatedFunction_isqrt : M.IsAssociatedFunction.C Self "isqrt" isqrt. Admitted. Global Typeclasses Opaque isqrt. @@ -14552,7 +14563,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -14616,7 +14627,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -14673,7 +14684,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -14772,7 +14783,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -14827,7 +14838,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. (* @@ -14890,7 +14901,7 @@ Module num. end. Global Instance AssociatedFunction_div_ceil : - M.IsAssociatedFunction.Trait Self "div_ceil" div_ceil. + M.IsAssociatedFunction.C Self "div_ceil" div_ceil. Admitted. Global Typeclasses Opaque div_ceil. End Impl_core_num_nonzero_NonZero_usize. @@ -15301,10 +15312,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -15343,7 +15355,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -15382,7 +15394,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -15430,7 +15442,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -15485,7 +15497,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -15540,7 +15552,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -15593,7 +15605,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -15646,7 +15658,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -15698,8 +15710,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -15751,8 +15762,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -15804,7 +15814,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -15856,87 +15866,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(<$Int>::MIN).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MIN" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -15981,7 +15987,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -16069,7 +16075,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -16142,7 +16148,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -16188,7 +16194,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -16234,7 +16240,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -16280,7 +16286,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -16314,7 +16320,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -16348,7 +16354,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -16448,7 +16454,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -16518,7 +16524,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -16582,14 +16588,18 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::nonzero::MAX" + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ], + "MAX", + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i8" ] + |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -16642,7 +16652,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -16750,7 +16760,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -16814,7 +16824,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -16871,7 +16881,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -16967,7 +16977,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -17022,7 +17032,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. End Impl_core_num_nonzero_NonZero_i8. @@ -17300,10 +17310,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -17342,7 +17353,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -17381,7 +17392,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -17429,7 +17440,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -17484,7 +17495,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -17539,7 +17550,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -17592,7 +17603,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -17645,7 +17656,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -17697,8 +17708,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -17750,8 +17760,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -17803,7 +17812,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -17855,87 +17864,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(<$Int>::MIN).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MIN" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -17980,7 +17985,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -18068,7 +18073,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -18141,7 +18146,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -18187,7 +18192,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -18233,7 +18238,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -18279,7 +18284,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -18313,7 +18318,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -18347,7 +18352,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -18447,7 +18452,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -18517,7 +18522,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -18581,14 +18586,18 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::nonzero::MAX" + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ], + "MAX", + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i16" ] + |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -18641,7 +18650,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -18749,7 +18758,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -18813,7 +18822,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -18870,7 +18879,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -18966,7 +18975,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -19021,7 +19030,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. End Impl_core_num_nonzero_NonZero_i16. @@ -19299,10 +19308,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -19341,7 +19351,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -19380,7 +19390,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -19428,7 +19438,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -19483,7 +19493,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -19538,7 +19548,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -19591,7 +19601,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -19644,7 +19654,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -19696,8 +19706,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -19749,8 +19758,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -19802,7 +19810,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -19854,87 +19862,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(<$Int>::MIN).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MIN" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], - M.get_associated_function (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], - "unwrap", - [], + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] ], + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -19979,7 +19983,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -20067,7 +20071,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -20140,7 +20144,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -20186,7 +20190,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -20232,7 +20236,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -20278,7 +20282,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -20312,7 +20316,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -20346,7 +20350,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -20446,7 +20450,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -20516,7 +20520,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -20580,14 +20584,18 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::nonzero::MAX" + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ], + "MAX", + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i32" ] + |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -20640,7 +20648,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -20748,7 +20756,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -20812,7 +20820,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -20869,7 +20877,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -20965,7 +20973,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -21020,7 +21028,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. End Impl_core_num_nonzero_NonZero_i32. @@ -21298,10 +21306,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -21340,7 +21349,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -21379,7 +21388,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -21427,7 +21436,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -21482,7 +21491,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -21537,7 +21546,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -21590,7 +21599,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -21643,7 +21652,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -21695,8 +21704,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -21748,8 +21756,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -21801,7 +21808,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -21853,87 +21860,83 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(<$Int>::MIN).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MIN" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) |) ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -21978,7 +21981,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -22066,7 +22069,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -22139,7 +22142,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -22185,7 +22188,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -22231,7 +22234,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -22277,7 +22280,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -22311,7 +22314,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -22345,7 +22348,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -22445,7 +22448,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -22515,7 +22518,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -22579,14 +22582,18 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::nonzero::MAX" + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ], + "MAX", + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i64" ] + |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -22639,7 +22646,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -22747,7 +22754,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -22811,7 +22818,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -22868,7 +22875,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -22964,7 +22971,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -23019,7 +23026,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. End Impl_core_num_nonzero_NonZero_i64. @@ -23297,10 +23304,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -23339,7 +23347,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -23378,7 +23386,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -23426,7 +23434,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -23481,7 +23489,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -23536,7 +23544,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -23589,7 +23597,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -23642,7 +23650,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -23694,8 +23702,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -23747,8 +23754,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -23800,7 +23806,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -23852,87 +23858,85 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(<$Int>::MIN).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MIN" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) |) + ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], + "new", + [], + [] + |), + [ M.read (| get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |) |) + ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -23977,7 +23981,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -24068,7 +24072,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -24144,7 +24148,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -24190,7 +24194,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -24236,7 +24240,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -24282,7 +24286,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -24316,7 +24320,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -24350,7 +24354,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -24450,7 +24454,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -24523,7 +24527,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -24587,14 +24591,18 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::nonzero::MAX" + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ], + "MAX", + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "i128" ] + |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -24647,7 +24655,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -24758,7 +24766,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -24822,7 +24830,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -24879,7 +24887,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -24978,7 +24986,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -25033,7 +25041,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. End Impl_core_num_nonzero_NonZero_i128. @@ -25311,10 +25319,11 @@ Module num. (* pub const BITS: u32 = <$Int>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -25353,7 +25362,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -25392,7 +25401,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -25440,7 +25449,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -25495,7 +25504,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -25550,7 +25559,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -25603,7 +25612,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -25656,7 +25665,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -25708,8 +25717,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -25761,8 +25769,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -25814,7 +25821,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -25866,87 +25873,91 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. (* pub const MIN: Self = Self::new(<$Int>::MIN).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], - M.get_associated_function (| + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MIN" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], + "new", + [], + [] + |), + [ + M.read (| + get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) + |) + ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self::new(<$Int>::MAX).unwrap(); *) (* Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], - M.get_associated_function (| + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], + M.get_associated_function (| + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] ], + "unwrap", + [], + [] + |), + [ + M.call_closure (| Ty.apply (Ty.path "core::option::Option") [] [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] ], - "unwrap", - [], - [] - |), - [ - M.call_closure (| - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] ], - M.get_associated_function (| - Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], - "new", - [], - [] - |), - [ M.read (| M.get_constant "core::num::MAX" |) ] - |) - ] - |) - |))). + M.get_associated_function (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], + "new", + [], + [] + |), + [ + M.read (| + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) + |) + ] + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -25991,7 +26002,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -26082,7 +26093,7 @@ Module num. end. Global Instance AssociatedFunction_checked_abs : - M.IsAssociatedFunction.Trait Self "checked_abs" checked_abs. + M.IsAssociatedFunction.C Self "checked_abs" checked_abs. Admitted. Global Typeclasses Opaque checked_abs. @@ -26158,7 +26169,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_abs : - M.IsAssociatedFunction.Trait Self "overflowing_abs" overflowing_abs. + M.IsAssociatedFunction.C Self "overflowing_abs" overflowing_abs. Admitted. Global Typeclasses Opaque overflowing_abs. @@ -26204,7 +26215,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_abs : - M.IsAssociatedFunction.Trait Self "saturating_abs" saturating_abs. + M.IsAssociatedFunction.C Self "saturating_abs" saturating_abs. Admitted. Global Typeclasses Opaque saturating_abs. @@ -26250,7 +26261,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_abs : - M.IsAssociatedFunction.Trait Self "wrapping_abs" wrapping_abs. + M.IsAssociatedFunction.C Self "wrapping_abs" wrapping_abs. Admitted. Global Typeclasses Opaque wrapping_abs. @@ -26296,7 +26307,7 @@ Module num. end. Global Instance AssociatedFunction_unsigned_abs : - M.IsAssociatedFunction.Trait Self "unsigned_abs" unsigned_abs. + M.IsAssociatedFunction.C Self "unsigned_abs" unsigned_abs. Admitted. Global Typeclasses Opaque unsigned_abs. @@ -26330,7 +26341,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -26364,7 +26375,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. @@ -26464,7 +26475,7 @@ Module num. end. Global Instance AssociatedFunction_checked_neg : - M.IsAssociatedFunction.Trait Self "checked_neg" checked_neg. + M.IsAssociatedFunction.C Self "checked_neg" checked_neg. Admitted. Global Typeclasses Opaque checked_neg. @@ -26537,7 +26548,7 @@ Module num. end. Global Instance AssociatedFunction_overflowing_neg : - M.IsAssociatedFunction.Trait Self "overflowing_neg" overflowing_neg. + M.IsAssociatedFunction.C Self "overflowing_neg" overflowing_neg. Admitted. Global Typeclasses Opaque overflowing_neg. @@ -26601,14 +26612,18 @@ Module num. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::nonzero::MAX" + get_associated_constant (| + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ], + "MAX", + Ty.apply (Ty.path "core::num::nonzero::NonZero") [] [ Ty.path "isize" ] + |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_saturating_neg : - M.IsAssociatedFunction.Trait Self "saturating_neg" saturating_neg. + M.IsAssociatedFunction.C Self "saturating_neg" saturating_neg. Admitted. Global Typeclasses Opaque saturating_neg. @@ -26661,7 +26676,7 @@ Module num. end. Global Instance AssociatedFunction_wrapping_neg : - M.IsAssociatedFunction.Trait Self "wrapping_neg" wrapping_neg. + M.IsAssociatedFunction.C Self "wrapping_neg" wrapping_neg. Admitted. Global Typeclasses Opaque wrapping_neg. @@ -26772,7 +26787,7 @@ Module num. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -26836,7 +26851,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -26893,7 +26908,7 @@ Module num. end. Global Instance AssociatedFunction_unchecked_mul : - M.IsAssociatedFunction.Trait Self "unchecked_mul" unchecked_mul. + M.IsAssociatedFunction.C Self "unchecked_mul" unchecked_mul. Admitted. Global Typeclasses Opaque unchecked_mul. @@ -26992,7 +27007,7 @@ Module num. end. Global Instance AssociatedFunction_checked_pow : - M.IsAssociatedFunction.Trait Self "checked_pow" checked_pow. + M.IsAssociatedFunction.C Self "checked_pow" checked_pow. Admitted. Global Typeclasses Opaque checked_pow. @@ -27047,7 +27062,7 @@ Module num. end. Global Instance AssociatedFunction_saturating_pow : - M.IsAssociatedFunction.Trait Self "saturating_pow" saturating_pow. + M.IsAssociatedFunction.C Self "saturating_pow" saturating_pow. Admitted. Global Typeclasses Opaque saturating_pow. End Impl_core_num_nonzero_NonZero_isize. diff --git a/CoqOfRust/core/num/overflow_panic.v b/CoqOfRust/core/num/overflow_panic.v index ebe7f44da..c6349ad92 100644 --- a/CoqOfRust/core/num/overflow_panic.v +++ b/CoqOfRust/core/num/overflow_panic.v @@ -41,8 +41,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_add : - M.IsFunction.Trait "core::num::overflow_panic::add" add. + Global Instance Instance_IsFunction_add : M.IsFunction.C "core::num::overflow_panic::add" add. Admitted. Global Typeclasses Opaque add. @@ -86,8 +85,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sub : - M.IsFunction.Trait "core::num::overflow_panic::sub" sub. + Global Instance Instance_IsFunction_sub : M.IsFunction.C "core::num::overflow_panic::sub" sub. Admitted. Global Typeclasses Opaque sub. @@ -131,8 +129,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_mul : - M.IsFunction.Trait "core::num::overflow_panic::mul" mul. + Global Instance Instance_IsFunction_mul : M.IsFunction.C "core::num::overflow_panic::mul" mul. Admitted. Global Typeclasses Opaque mul. @@ -174,8 +171,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_div : - M.IsFunction.Trait "core::num::overflow_panic::div" div. + Global Instance Instance_IsFunction_div : M.IsFunction.C "core::num::overflow_panic::div" div. Admitted. Global Typeclasses Opaque div. @@ -220,8 +216,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_rem : - M.IsFunction.Trait "core::num::overflow_panic::rem" rem. + Global Instance Instance_IsFunction_rem : M.IsFunction.C "core::num::overflow_panic::rem" rem. Admitted. Global Typeclasses Opaque rem. @@ -263,8 +258,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_neg : - M.IsFunction.Trait "core::num::overflow_panic::neg" neg. + Global Instance Instance_IsFunction_neg : M.IsFunction.C "core::num::overflow_panic::neg" neg. Admitted. Global Typeclasses Opaque neg. @@ -308,8 +302,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_shr : - M.IsFunction.Trait "core::num::overflow_panic::shr" shr. + Global Instance Instance_IsFunction_shr : M.IsFunction.C "core::num::overflow_panic::shr" shr. Admitted. Global Typeclasses Opaque shr. @@ -353,8 +346,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_shl : - M.IsFunction.Trait "core::num::overflow_panic::shl" shl. + Global Instance Instance_IsFunction_shl : M.IsFunction.C "core::num::overflow_panic::shl" shl. Admitted. Global Typeclasses Opaque shl. End overflow_panic. diff --git a/CoqOfRust/core/num/saturating.v b/CoqOfRust/core/num/saturating.v index e93acd8c4..1cfccedd8 100644 --- a/CoqOfRust/core/num/saturating.v +++ b/CoqOfRust/core/num/saturating.v @@ -17383,42 +17383,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "usize" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "usize", "MIN", Ty.path "usize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "usize" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -17449,7 +17446,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -17480,7 +17477,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -17511,7 +17508,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -17548,7 +17545,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -17585,7 +17582,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -17620,7 +17617,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -17655,7 +17652,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -17689,8 +17686,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -17724,8 +17720,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -17759,7 +17754,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -17793,7 +17788,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -17829,7 +17824,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -17859,7 +17854,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -17890,7 +17885,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. End Impl_core_num_saturating_Saturating_usize. @@ -17901,42 +17896,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u8" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u8" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -17967,7 +17959,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -17998,7 +17990,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -18029,7 +18021,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -18066,7 +18058,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -18103,7 +18095,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -18138,7 +18130,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -18173,7 +18165,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -18207,8 +18199,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -18242,8 +18233,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -18277,7 +18267,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -18311,7 +18301,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -18347,7 +18337,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -18377,7 +18367,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -18408,7 +18398,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. End Impl_core_num_saturating_Saturating_u8. @@ -18419,42 +18409,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u16" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u16" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -18485,7 +18472,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -18516,7 +18503,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -18547,7 +18534,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -18584,7 +18571,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -18621,7 +18608,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -18656,7 +18643,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -18691,7 +18678,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -18725,8 +18712,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -18760,8 +18746,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -18795,7 +18780,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -18829,7 +18814,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -18865,7 +18850,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -18895,7 +18880,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -18926,7 +18911,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. End Impl_core_num_saturating_Saturating_u16. @@ -18937,42 +18922,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u32" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u32" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -19003,7 +18985,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -19034,7 +19016,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -19065,7 +19047,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -19102,7 +19084,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -19139,7 +19121,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -19174,7 +19156,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -19209,7 +19191,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -19243,8 +19225,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -19278,8 +19259,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -19313,7 +19293,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -19347,7 +19327,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -19383,7 +19363,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -19413,7 +19393,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -19444,7 +19424,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. End Impl_core_num_saturating_Saturating_u32. @@ -19455,42 +19435,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u64" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u64" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -19521,7 +19498,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -19552,7 +19529,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -19583,7 +19560,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -19620,7 +19597,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -19657,7 +19634,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -19692,7 +19669,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -19727,7 +19704,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -19761,8 +19738,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -19796,8 +19772,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -19831,7 +19806,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -19865,7 +19840,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -19901,7 +19876,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -19931,7 +19906,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -19962,7 +19937,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. End Impl_core_num_saturating_Saturating_u64. @@ -19973,42 +19948,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u128" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u128", "MIN", Ty.path "u128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "u128" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -20039,7 +20011,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -20070,7 +20042,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -20101,7 +20073,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -20138,7 +20110,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -20175,7 +20147,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -20210,7 +20182,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -20245,7 +20217,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -20279,8 +20251,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -20314,8 +20285,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -20349,7 +20319,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -20383,7 +20353,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -20419,7 +20389,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -20449,7 +20419,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -20480,7 +20450,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. End Impl_core_num_saturating_Saturating_u128. @@ -20491,42 +20461,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "isize" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "isize" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -20557,7 +20524,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -20588,7 +20555,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -20619,7 +20586,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -20656,7 +20623,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -20693,7 +20660,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -20728,7 +20695,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -20763,7 +20730,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -20797,8 +20764,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -20832,8 +20798,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -20867,7 +20832,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -20901,7 +20866,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -20937,7 +20902,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -20967,7 +20932,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -21001,7 +20966,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -21035,7 +21000,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -21066,7 +21031,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -21097,7 +21062,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_saturating_Saturating_isize. @@ -21108,42 +21073,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i8" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i8" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -21174,7 +21136,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -21205,7 +21167,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -21236,7 +21198,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -21273,7 +21235,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -21310,7 +21272,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -21345,7 +21307,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -21380,7 +21342,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -21414,8 +21376,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -21449,8 +21410,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -21484,7 +21444,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -21518,7 +21478,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -21554,7 +21514,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -21584,7 +21544,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -21618,7 +21578,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -21652,7 +21612,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -21683,7 +21643,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -21714,7 +21674,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_saturating_Saturating_i8. @@ -21725,42 +21685,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i16" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i16" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -21791,7 +21748,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -21822,7 +21779,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -21853,7 +21810,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -21890,7 +21847,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -21927,7 +21884,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -21962,7 +21919,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -21997,7 +21954,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -22031,8 +21988,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -22066,8 +22022,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -22101,7 +22056,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -22135,7 +22090,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -22171,7 +22126,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -22201,7 +22156,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -22235,7 +22190,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -22269,7 +22224,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -22300,7 +22255,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -22331,7 +22286,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_saturating_Saturating_i16. @@ -22342,42 +22297,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i32" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i32" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -22408,7 +22360,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -22439,7 +22391,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -22470,7 +22422,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -22507,7 +22459,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -22544,7 +22496,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -22579,7 +22531,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -22614,7 +22566,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -22648,8 +22600,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -22683,8 +22634,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -22718,7 +22668,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -22752,7 +22702,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -22788,7 +22738,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -22818,7 +22768,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -22852,7 +22802,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -22886,7 +22836,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -22917,7 +22867,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -22948,7 +22898,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_saturating_Saturating_i32. @@ -22959,42 +22909,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i64" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i64" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -23025,7 +22972,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -23056,7 +23003,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -23087,7 +23034,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -23124,7 +23071,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -23161,7 +23108,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -23196,7 +23143,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -23231,7 +23178,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -23265,8 +23212,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -23300,8 +23246,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -23335,7 +23280,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -23369,7 +23314,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -23405,7 +23350,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -23435,7 +23380,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -23469,7 +23414,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -23503,7 +23448,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -23534,7 +23479,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -23565,7 +23510,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_saturating_Saturating_i64. @@ -23576,42 +23521,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i128" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::saturating::Saturating") [] [ Ty.path "i128" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::saturating::Saturating" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::saturating::Saturating" + [ M.read (| get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -23642,7 +23584,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -23673,7 +23615,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -23704,7 +23646,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -23741,7 +23683,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -23778,7 +23720,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -23813,7 +23755,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -23848,7 +23790,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -23882,8 +23824,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -23917,8 +23858,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -23952,7 +23892,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -23986,7 +23926,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -24022,7 +23962,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -24052,7 +23992,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -24086,7 +24026,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -24120,7 +24060,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -24151,7 +24091,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -24182,7 +24122,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_saturating_Saturating_i128. diff --git a/CoqOfRust/core/num/shells/int_macros.v b/CoqOfRust/core/num/shells/int_macros.v index ad3da5212..b4ff6a0b7 100644 --- a/CoqOfRust/core/num/shells/int_macros.v +++ b/CoqOfRust/core/num/shells/int_macros.v @@ -2,169 +2,193 @@ Require Import CoqOfRust.CoqOfRust. Module i128. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |))). - Axiom Constant_value_MIN : (M.get_constant "core::i128::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::i128::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |))). - Axiom Constant_value_MAX : (M.get_constant "core::i128::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::i128::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End i128. Module i16. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |))). - Axiom Constant_value_MIN : (M.get_constant "core::i16::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::i16::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |))). - Axiom Constant_value_MAX : (M.get_constant "core::i16::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::i16::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End i16. Module i32. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |))). - Axiom Constant_value_MIN : (M.get_constant "core::i32::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::i32::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |))). - Axiom Constant_value_MAX : (M.get_constant "core::i32::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::i32::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End i32. Module i64. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |))). - Axiom Constant_value_MIN : (M.get_constant "core::i64::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::i64::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |))). - Axiom Constant_value_MAX : (M.get_constant "core::i64::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::i64::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End i64. Module i8. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |))). - Axiom Constant_value_MIN : (M.get_constant "core::i8::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::i8::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |))). - Axiom Constant_value_MAX : (M.get_constant "core::i8::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::i8::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End i8. Module isize. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |))). - Axiom Constant_value_MIN : (M.get_constant "core::isize::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::isize::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |))). - Axiom Constant_value_MAX : (M.get_constant "core::isize::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::isize::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End isize. Module u128. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u128", "MIN", Ty.path "u128" |))). - Axiom Constant_value_MIN : (M.get_constant "core::u128::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::u128::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |))). - Axiom Constant_value_MAX : (M.get_constant "core::u128::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::u128::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End u128. Module u16. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |))). - Axiom Constant_value_MIN : (M.get_constant "core::u16::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::u16::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |))). - Axiom Constant_value_MAX : (M.get_constant "core::u16::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::u16::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End u16. Module u32. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |))). - Axiom Constant_value_MIN : (M.get_constant "core::u32::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::u32::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |))). - Axiom Constant_value_MAX : (M.get_constant "core::u32::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::u32::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End u32. Module u64. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |))). - Axiom Constant_value_MIN : (M.get_constant "core::u64::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::u64::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |))). - Axiom Constant_value_MAX : (M.get_constant "core::u64::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::u64::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End u64. Module u8. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |))). - Axiom Constant_value_MIN : (M.get_constant "core::u8::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::u8::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |))). - Axiom Constant_value_MAX : (M.get_constant "core::u8::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::u8::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End u8. Module usize. - Definition value_MIN : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MIN")). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "usize", "MIN", Ty.path "usize" |))). - Axiom Constant_value_MIN : (M.get_constant "core::usize::MIN") = value_MIN. - Global Hint Rewrite Constant_value_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN : M.IsFunction.C "core::usize::MIN" value_MIN. + Admitted. + Global Typeclasses Opaque value_MIN. - Definition value_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::MAX")). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))). - Axiom Constant_value_MAX : (M.get_constant "core::usize::MAX") = value_MAX. - Global Hint Rewrite Constant_value_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX : M.IsFunction.C "core::usize::MAX" value_MAX. + Admitted. + Global Typeclasses Opaque value_MAX. End usize. diff --git a/CoqOfRust/core/num/wrapping.v b/CoqOfRust/core/num/wrapping.v index 460061aff..63e061e5f 100644 --- a/CoqOfRust/core/num/wrapping.v +++ b/CoqOfRust/core/num/wrapping.v @@ -684,7 +684,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u8" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u8", Ty.path "u32" |) + |)))) ] |) ])) @@ -789,7 +791,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u8" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u8", Ty.path "u32" |) + |)))) ] |) ])) @@ -894,7 +898,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u16" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u16", Ty.path "u32" |) + |)))) ] |) ])) @@ -999,7 +1005,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u16" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u16", Ty.path "u32" |) + |)))) ] |) ])) @@ -1104,7 +1112,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u32" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u32", Ty.path "u32" |) + |)))) ] |) ])) @@ -1209,7 +1219,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u32" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u32", Ty.path "u32" |) + |)))) ] |) ])) @@ -1314,7 +1326,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u64" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u64", Ty.path "u32" |) + |)))) ] |) ])) @@ -1419,7 +1433,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u64" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u64", Ty.path "u32" |) + |)))) ] |) ])) @@ -1524,7 +1540,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u128" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u128", Ty.path "u32" |) + |)))) ] |) ])) @@ -1629,7 +1647,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::u128" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::u128", Ty.path "u32" |) + |)))) ] |) ])) @@ -1735,7 +1755,10 @@ Module num. (M.cast (Ty.path "usize") (M.read (| - M.get_constant "core::num::wrapping::shift_max::platform::usize" + get_constant (| + "core::num::wrapping::shift_max::platform::usize", + Ty.path "u32" + |) |)))) ] |) @@ -1842,7 +1865,10 @@ Module num. (M.cast (Ty.path "usize") (M.read (| - M.get_constant "core::num::wrapping::shift_max::platform::usize" + get_constant (| + "core::num::wrapping::shift_max::platform::usize", + Ty.path "u32" + |) |)))) ] |) @@ -1948,7 +1974,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i8" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i8", Ty.path "u32" |) + |)))) ] |) ])) @@ -2053,7 +2081,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i8" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i8", Ty.path "u32" |) + |)))) ] |) ])) @@ -2158,7 +2188,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i16" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i16", Ty.path "u32" |) + |)))) ] |) ])) @@ -2263,7 +2295,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i16" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i16", Ty.path "u32" |) + |)))) ] |) ])) @@ -2368,7 +2402,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i32" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i32", Ty.path "u32" |) + |)))) ] |) ])) @@ -2473,7 +2509,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i32" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i32", Ty.path "u32" |) + |)))) ] |) ])) @@ -2578,7 +2616,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i64" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i64", Ty.path "u32" |) + |)))) ] |) ])) @@ -2683,7 +2723,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i64" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i64", Ty.path "u32" |) + |)))) ] |) ])) @@ -2788,7 +2830,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i128" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i128", Ty.path "u32" |) + |)))) ] |) ])) @@ -2893,7 +2937,9 @@ Module num. (M.read (| other |)) (M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::wrapping::shift_max::i128" |)))) + (M.read (| + get_constant (| "core::num::wrapping::shift_max::i128", Ty.path "u32" |) + |)))) ] |) ])) @@ -2999,7 +3045,10 @@ Module num. (M.cast (Ty.path "usize") (M.read (| - M.get_constant "core::num::wrapping::shift_max::platform::isize" + get_constant (| + "core::num::wrapping::shift_max::platform::isize", + Ty.path "u32" + |) |)))) ] |) @@ -3106,7 +3155,10 @@ Module num. (M.cast (Ty.path "usize") (M.read (| - M.get_constant "core::num::wrapping::shift_max::platform::isize" + get_constant (| + "core::num::wrapping::shift_max::platform::isize", + Ty.path "u32" + |) |)))) ] |) @@ -19443,42 +19495,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "usize" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "usize", "MIN", Ty.path "usize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "usize" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "usize", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -19505,7 +19554,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -19532,7 +19581,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -19559,7 +19608,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -19596,7 +19645,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -19633,7 +19682,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -19668,7 +19717,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -19703,7 +19752,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -19737,8 +19786,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -19772,8 +19820,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -19807,7 +19854,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -19841,7 +19888,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -19877,7 +19924,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -19903,7 +19950,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -19930,7 +19977,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -19970,7 +20017,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. End Impl_core_num_wrapping_Wrapping_usize. @@ -19981,42 +20028,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u8" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u8", "MIN", Ty.path "u8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u8" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u8", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -20043,7 +20087,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -20070,7 +20114,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -20097,7 +20141,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -20134,7 +20178,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -20171,7 +20215,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -20206,7 +20250,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -20241,7 +20285,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -20275,8 +20319,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -20310,8 +20353,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -20345,7 +20387,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -20379,7 +20421,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -20415,7 +20457,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -20441,7 +20483,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -20468,7 +20510,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -20508,7 +20550,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. End Impl_core_num_wrapping_Wrapping_u8. @@ -20519,42 +20561,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u16" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u16", "MIN", Ty.path "u16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u16" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u16", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -20581,7 +20620,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -20608,7 +20647,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -20635,7 +20674,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -20672,7 +20711,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -20709,7 +20748,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -20744,7 +20783,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -20779,7 +20818,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -20813,8 +20852,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -20848,8 +20886,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -20883,7 +20920,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -20917,7 +20954,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -20953,7 +20990,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -20979,7 +21016,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -21006,7 +21043,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -21046,7 +21083,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. End Impl_core_num_wrapping_Wrapping_u16. @@ -21057,42 +21094,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u32" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u32", "MIN", Ty.path "u32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u32" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u32", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -21119,7 +21153,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -21146,7 +21180,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -21173,7 +21207,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -21210,7 +21244,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -21247,7 +21281,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -21282,7 +21316,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -21317,7 +21351,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -21351,8 +21385,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -21386,8 +21419,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -21421,7 +21453,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -21455,7 +21487,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -21491,7 +21523,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -21517,7 +21549,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -21544,7 +21576,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -21584,7 +21616,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. End Impl_core_num_wrapping_Wrapping_u32. @@ -21595,42 +21627,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u64" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u64", "MIN", Ty.path "u64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u64" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u64", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -21657,7 +21686,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -21684,7 +21713,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -21711,7 +21740,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -21748,7 +21777,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -21785,7 +21814,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -21820,7 +21849,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -21855,7 +21884,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -21889,8 +21918,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -21924,8 +21952,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -21959,7 +21986,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -21993,7 +22020,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -22029,7 +22056,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -22055,7 +22082,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -22082,7 +22109,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -22122,7 +22149,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. End Impl_core_num_wrapping_Wrapping_u64. @@ -22133,42 +22160,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u128" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u128", "MIN", Ty.path "u128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u128" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "u128", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -22195,7 +22219,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -22222,7 +22246,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -22249,7 +22273,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -22286,7 +22310,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -22323,7 +22347,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -22358,7 +22382,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -22393,7 +22417,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -22427,8 +22451,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -22462,8 +22485,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -22497,7 +22519,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -22531,7 +22553,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -22567,7 +22589,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -22593,7 +22615,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -22620,7 +22642,7 @@ Module num. end. Global Instance AssociatedFunction_is_power_of_two : - M.IsAssociatedFunction.Trait Self "is_power_of_two" is_power_of_two. + M.IsAssociatedFunction.C Self "is_power_of_two" is_power_of_two. Admitted. Global Typeclasses Opaque is_power_of_two. @@ -22660,7 +22682,7 @@ Module num. end. Global Instance AssociatedFunction_next_power_of_two : - M.IsAssociatedFunction.Trait Self "next_power_of_two" next_power_of_two. + M.IsAssociatedFunction.C Self "next_power_of_two" next_power_of_two. Admitted. Global Typeclasses Opaque next_power_of_two. End Impl_core_num_wrapping_Wrapping_u128. @@ -22671,42 +22693,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "isize" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "isize", "MIN", Ty.path "isize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "isize" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "isize", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -22733,7 +22752,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -22760,7 +22779,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -22787,7 +22806,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -22824,7 +22843,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -22861,7 +22880,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -22896,7 +22915,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -22931,7 +22950,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -22965,8 +22984,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -23000,8 +23018,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -23035,7 +23052,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -23069,7 +23086,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -23105,7 +23122,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -23131,7 +23148,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -23165,7 +23182,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -23199,7 +23216,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -23226,7 +23243,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -23253,7 +23270,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_wrapping_Wrapping_isize. @@ -23264,42 +23281,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i8" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i8", "MIN", Ty.path "i8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i8" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i8", "MAX", Ty.path "i8" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i8", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -23326,7 +23340,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -23353,7 +23367,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -23380,7 +23394,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -23417,7 +23431,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -23454,7 +23468,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -23489,7 +23503,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -23524,7 +23538,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -23558,8 +23572,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -23593,8 +23606,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -23628,7 +23640,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -23662,7 +23674,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -23698,7 +23710,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -23724,7 +23736,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -23758,7 +23770,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -23792,7 +23804,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -23819,7 +23831,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -23846,7 +23858,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_wrapping_Wrapping_i8. @@ -23857,42 +23869,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i16" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i16", "MIN", Ty.path "i16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i16" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i16", "MAX", Ty.path "i16" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i16", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -23919,7 +23928,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -23946,7 +23955,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -23973,7 +23982,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -24010,7 +24019,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -24047,7 +24056,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -24082,7 +24091,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -24117,7 +24126,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -24151,8 +24160,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -24186,8 +24194,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -24221,7 +24228,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -24255,7 +24262,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -24291,7 +24298,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -24317,7 +24324,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -24351,7 +24358,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -24385,7 +24392,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -24412,7 +24419,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -24439,7 +24446,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_wrapping_Wrapping_i16. @@ -24450,42 +24457,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i32" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i32" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i32", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -24512,7 +24516,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -24539,7 +24543,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -24566,7 +24570,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -24603,7 +24607,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -24640,7 +24644,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -24675,7 +24679,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -24710,7 +24714,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -24744,8 +24748,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -24779,8 +24782,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -24814,7 +24816,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -24848,7 +24850,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -24884,7 +24886,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -24910,7 +24912,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -24944,7 +24946,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -24978,7 +24980,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -25005,7 +25007,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -25032,7 +25034,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_wrapping_Wrapping_i32. @@ -25043,42 +25045,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i64" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i64", "MIN", Ty.path "i64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i64" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i64", "MAX", Ty.path "i64" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i64", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -25105,7 +25104,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -25132,7 +25131,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -25159,7 +25158,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -25196,7 +25195,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -25233,7 +25232,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -25268,7 +25267,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -25303,7 +25302,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -25337,8 +25336,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -25372,8 +25370,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -25407,7 +25404,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -25441,7 +25438,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -25477,7 +25474,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -25503,7 +25500,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -25537,7 +25534,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -25571,7 +25568,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -25598,7 +25595,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -25625,7 +25622,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_wrapping_Wrapping_i64. @@ -25636,42 +25633,39 @@ Module num. (* pub const MIN: Self = Self(<$t>::MIN); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i128" ] *) - Definition value_MIN : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MIN" |) ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i128", "MIN", Ty.path "i128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. (* pub const MAX: Self = Self(<$t>::MAX); *) (* Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "i128" ] *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ M.read (| M.get_constant "core::num::MAX" |) ] - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::num::wrapping::Wrapping" + [ M.read (| get_associated_constant (| Ty.path "i128", "MAX", Ty.path "i128" |) |) ] + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. (* pub const BITS: u32 = <$t>::BITS; *) (* Ty.path "u32" *) - Definition value_BITS : Value.t := M.run ltac:(M.monadic (M.get_constant "core::num::BITS")). + Definition value_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_associated_constant (| Ty.path "i128", "BITS", Ty.path "u32" |))). Global Instance AssociatedConstant_value_BITS : - M.IsAssociatedConstant.Trait Self "value_BITS" value_BITS. + M.IsAssociatedFunction.C Self "BITS" value_BITS. Admitted. Global Typeclasses Opaque value_BITS. @@ -25698,7 +25692,7 @@ Module num. end. Global Instance AssociatedFunction_count_ones : - M.IsAssociatedFunction.Trait Self "count_ones" count_ones. + M.IsAssociatedFunction.C Self "count_ones" count_ones. Admitted. Global Typeclasses Opaque count_ones. @@ -25725,7 +25719,7 @@ Module num. end. Global Instance AssociatedFunction_count_zeros : - M.IsAssociatedFunction.Trait Self "count_zeros" count_zeros. + M.IsAssociatedFunction.C Self "count_zeros" count_zeros. Admitted. Global Typeclasses Opaque count_zeros. @@ -25752,7 +25746,7 @@ Module num. end. Global Instance AssociatedFunction_trailing_zeros : - M.IsAssociatedFunction.Trait Self "trailing_zeros" trailing_zeros. + M.IsAssociatedFunction.C Self "trailing_zeros" trailing_zeros. Admitted. Global Typeclasses Opaque trailing_zeros. @@ -25789,7 +25783,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_left : - M.IsAssociatedFunction.Trait Self "rotate_left" rotate_left. + M.IsAssociatedFunction.C Self "rotate_left" rotate_left. Admitted. Global Typeclasses Opaque rotate_left. @@ -25826,7 +25820,7 @@ Module num. end. Global Instance AssociatedFunction_rotate_right : - M.IsAssociatedFunction.Trait Self "rotate_right" rotate_right. + M.IsAssociatedFunction.C Self "rotate_right" rotate_right. Admitted. Global Typeclasses Opaque rotate_right. @@ -25861,7 +25855,7 @@ Module num. end. Global Instance AssociatedFunction_swap_bytes : - M.IsAssociatedFunction.Trait Self "swap_bytes" swap_bytes. + M.IsAssociatedFunction.C Self "swap_bytes" swap_bytes. Admitted. Global Typeclasses Opaque swap_bytes. @@ -25896,7 +25890,7 @@ Module num. end. Global Instance AssociatedFunction_reverse_bits : - M.IsAssociatedFunction.Trait Self "reverse_bits" reverse_bits. + M.IsAssociatedFunction.C Self "reverse_bits" reverse_bits. Admitted. Global Typeclasses Opaque reverse_bits. @@ -25930,8 +25924,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_be : - M.IsAssociatedFunction.Trait Self "from_be" from_be. + Global Instance AssociatedFunction_from_be : M.IsAssociatedFunction.C Self "from_be" from_be. Admitted. Global Typeclasses Opaque from_be. @@ -25965,8 +25958,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_le : - M.IsAssociatedFunction.Trait Self "from_le" from_le. + Global Instance AssociatedFunction_from_le : M.IsAssociatedFunction.C Self "from_le" from_le. Admitted. Global Typeclasses Opaque from_le. @@ -26000,7 +25992,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.Trait Self "to_be" to_be. + Global Instance AssociatedFunction_to_be : M.IsAssociatedFunction.C Self "to_be" to_be. Admitted. Global Typeclasses Opaque to_be. @@ -26034,7 +26026,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.Trait Self "to_le" to_le. + Global Instance AssociatedFunction_to_le : M.IsAssociatedFunction.C Self "to_le" to_le. Admitted. Global Typeclasses Opaque to_le. @@ -26070,7 +26062,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.Trait Self "pow" pow. + Global Instance AssociatedFunction_pow : M.IsAssociatedFunction.C Self "pow" pow. Admitted. Global Typeclasses Opaque pow. (* @@ -26096,7 +26088,7 @@ Module num. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -26130,7 +26122,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.Trait Self "abs" abs. + Global Instance AssociatedFunction_abs : M.IsAssociatedFunction.C Self "abs" abs. Admitted. Global Typeclasses Opaque abs. @@ -26164,7 +26156,7 @@ Module num. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.Trait Self "signum" signum. + Global Instance AssociatedFunction_signum : M.IsAssociatedFunction.C Self "signum" signum. Admitted. Global Typeclasses Opaque signum. @@ -26191,7 +26183,7 @@ Module num. end. Global Instance AssociatedFunction_is_positive : - M.IsAssociatedFunction.Trait Self "is_positive" is_positive. + M.IsAssociatedFunction.C Self "is_positive" is_positive. Admitted. Global Typeclasses Opaque is_positive. @@ -26218,7 +26210,7 @@ Module num. end. Global Instance AssociatedFunction_is_negative : - M.IsAssociatedFunction.Trait Self "is_negative" is_negative. + M.IsAssociatedFunction.C Self "is_negative" is_negative. Admitted. Global Typeclasses Opaque is_negative. End Impl_core_num_wrapping_Wrapping_i128. @@ -26237,130 +26229,134 @@ Module num. Module shift_max. Module platform. - Definition usize : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::u64")). + Definition usize (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| "core::num::wrapping::shift_max::u64", Ty.path "u32" |))). - Axiom Constant_usize : - (M.get_constant "core::num::wrapping::shift_max::platform::usize") = usize. - Global Hint Rewrite Constant_usize : constant_rewrites. + Global Instance Instance_IsConstant_usize : + M.IsFunction.C "core::num::wrapping::shift_max::platform::usize" usize. + Admitted. + Global Typeclasses Opaque usize. - Definition isize : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::i64")). + Definition isize (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| "core::num::wrapping::shift_max::i64", Ty.path "u32" |))). - Axiom Constant_isize : - (M.get_constant "core::num::wrapping::shift_max::platform::isize") = isize. - Global Hint Rewrite Constant_isize : constant_rewrites. + Global Instance Instance_IsConstant_isize : + M.IsFunction.C "core::num::wrapping::shift_max::platform::isize" isize. + Admitted. + Global Typeclasses Opaque isize. End platform. - Definition i8 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - Value.Integer IntegerKind.I32 3 - |), - Value.Integer IntegerKind.U32 1 - |) - |))). - - Axiom Constant_i8 : (M.get_constant "core::num::wrapping::shift_max::i8") = i8. - Global Hint Rewrite Constant_i8 : constant_rewrites. - - Definition i16 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - Value.Integer IntegerKind.I32 4 - |), - Value.Integer IntegerKind.U32 1 - |) - |))). - - Axiom Constant_i16 : (M.get_constant "core::num::wrapping::shift_max::i16") = i16. - Global Hint Rewrite Constant_i16 : constant_rewrites. - - Definition i32 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - Value.Integer IntegerKind.I32 5 - |), - Value.Integer IntegerKind.U32 1 - |) - |))). - - Axiom Constant_i32 : (M.get_constant "core::num::wrapping::shift_max::i32") = i32. - Global Hint Rewrite Constant_i32 : constant_rewrites. - - Definition i64 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - Value.Integer IntegerKind.I32 6 - |), - Value.Integer IntegerKind.U32 1 - |) - |))). - - Axiom Constant_i64 : (M.get_constant "core::num::wrapping::shift_max::i64") = i64. - Global Hint Rewrite Constant_i64 : constant_rewrites. - - Definition i128 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.sub (| - BinOp.Wrap.shl (| - Value.Integer IntegerKind.U32 1, - Value.Integer IntegerKind.I32 7 - |), - Value.Integer IntegerKind.U32 1 - |) - |))). - - Axiom Constant_i128 : (M.get_constant "core::num::wrapping::shift_max::i128") = i128. - Global Hint Rewrite Constant_i128 : constant_rewrites. + Definition i8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U32 1, Value.Integer IntegerKind.I32 3 |), + Value.Integer IntegerKind.U32 1 + |) + |))). + + Global Instance Instance_IsConstant_i8 : + M.IsFunction.C "core::num::wrapping::shift_max::i8" i8. + Admitted. + Global Typeclasses Opaque i8. + + Definition i16 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U32 1, Value.Integer IntegerKind.I32 4 |), + Value.Integer IntegerKind.U32 1 + |) + |))). + + Global Instance Instance_IsConstant_i16 : + M.IsFunction.C "core::num::wrapping::shift_max::i16" i16. + Admitted. + Global Typeclasses Opaque i16. + + Definition i32 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U32 1, Value.Integer IntegerKind.I32 5 |), + Value.Integer IntegerKind.U32 1 + |) + |))). + + Global Instance Instance_IsConstant_i32 : + M.IsFunction.C "core::num::wrapping::shift_max::i32" i32. + Admitted. + Global Typeclasses Opaque i32. + + Definition i64 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U32 1, Value.Integer IntegerKind.I32 6 |), + Value.Integer IntegerKind.U32 1 + |) + |))). + + Global Instance Instance_IsConstant_i64 : + M.IsFunction.C "core::num::wrapping::shift_max::i64" i64. + Admitted. + Global Typeclasses Opaque i64. + + Definition i128 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U32 1, Value.Integer IntegerKind.I32 7 |), + Value.Integer IntegerKind.U32 1 + |) + |))). + + Global Instance Instance_IsConstant_i128 : + M.IsFunction.C "core::num::wrapping::shift_max::i128" i128. + Admitted. + Global Typeclasses Opaque i128. - Definition u8 : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::i8")). + Definition u8 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_constant (| "core::num::wrapping::shift_max::i8", Ty.path "u32" |))). - Axiom Constant_u8 : (M.get_constant "core::num::wrapping::shift_max::u8") = u8. - Global Hint Rewrite Constant_u8 : constant_rewrites. + Global Instance Instance_IsConstant_u8 : + M.IsFunction.C "core::num::wrapping::shift_max::u8" u8. + Admitted. + Global Typeclasses Opaque u8. - Definition u16 : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::i16")). + Definition u16 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_constant (| "core::num::wrapping::shift_max::i16", Ty.path "u32" |))). - Axiom Constant_u16 : (M.get_constant "core::num::wrapping::shift_max::u16") = u16. - Global Hint Rewrite Constant_u16 : constant_rewrites. + Global Instance Instance_IsConstant_u16 : + M.IsFunction.C "core::num::wrapping::shift_max::u16" u16. + Admitted. + Global Typeclasses Opaque u16. - Definition u32 : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::i32")). + Definition u32 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_constant (| "core::num::wrapping::shift_max::i32", Ty.path "u32" |))). - Axiom Constant_u32 : (M.get_constant "core::num::wrapping::shift_max::u32") = u32. - Global Hint Rewrite Constant_u32 : constant_rewrites. + Global Instance Instance_IsConstant_u32 : + M.IsFunction.C "core::num::wrapping::shift_max::u32" u32. + Admitted. + Global Typeclasses Opaque u32. - Definition u64 : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::i64")). + Definition u64 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_constant (| "core::num::wrapping::shift_max::i64", Ty.path "u32" |))). - Axiom Constant_u64 : (M.get_constant "core::num::wrapping::shift_max::u64") = u64. - Global Hint Rewrite Constant_u64 : constant_rewrites. + Global Instance Instance_IsConstant_u64 : + M.IsFunction.C "core::num::wrapping::shift_max::u64" u64. + Admitted. + Global Typeclasses Opaque u64. - Definition u128 : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::num::wrapping::shift_max::i128")). + Definition u128 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (get_constant (| "core::num::wrapping::shift_max::i128", Ty.path "u32" |))). - Axiom Constant_u128 : (M.get_constant "core::num::wrapping::shift_max::u128") = u128. - Global Hint Rewrite Constant_u128 : constant_rewrites. + Global Instance Instance_IsConstant_u128 : + M.IsFunction.C "core::num::wrapping::shift_max::u128" u128. + Admitted. + Global Typeclasses Opaque u128. End shift_max. End wrapping. End num. diff --git a/CoqOfRust/core/ops/control_flow.v b/CoqOfRust/core/ops/control_flow.v index d227e4a44..f32294550 100644 --- a/CoqOfRust/core/ops/control_flow.v +++ b/CoqOfRust/core/ops/control_flow.v @@ -811,7 +811,7 @@ Module ops. Global Instance AssociatedFunction_is_break : forall (B C : Ty.t), - M.IsAssociatedFunction.Trait (Self B C) "is_break" (is_break B C). + M.IsAssociatedFunction.C (Self B C) "is_break" (is_break B C). Admitted. Global Typeclasses Opaque is_break. @@ -854,7 +854,7 @@ Module ops. Global Instance AssociatedFunction_is_continue : forall (B C : Ty.t), - M.IsAssociatedFunction.Trait (Self B C) "is_continue" (is_continue B C). + M.IsAssociatedFunction.C (Self B C) "is_continue" (is_continue B C). Admitted. Global Typeclasses Opaque is_continue. @@ -910,7 +910,7 @@ Module ops. Global Instance AssociatedFunction_break_value : forall (B C : Ty.t), - M.IsAssociatedFunction.Trait (Self B C) "break_value" (break_value B C). + M.IsAssociatedFunction.C (Self B C) "break_value" (break_value B C). Admitted. Global Typeclasses Opaque break_value. @@ -984,7 +984,7 @@ Module ops. Global Instance AssociatedFunction_map_break : forall (B C : Ty.t), - M.IsAssociatedFunction.Trait (Self B C) "map_break" (map_break B C). + M.IsAssociatedFunction.C (Self B C) "map_break" (map_break B C). Admitted. Global Typeclasses Opaque map_break. @@ -1037,7 +1037,7 @@ Module ops. Global Instance AssociatedFunction_continue_value : forall (B C : Ty.t), - M.IsAssociatedFunction.Trait (Self B C) "continue_value" (continue_value B C). + M.IsAssociatedFunction.C (Self B C) "continue_value" (continue_value B C). Admitted. Global Typeclasses Opaque continue_value. @@ -1116,7 +1116,7 @@ Module ops. Global Instance AssociatedFunction_map_continue : forall (B C : Ty.t), - M.IsAssociatedFunction.Trait (Self B C) "map_continue" (map_continue B C). + M.IsAssociatedFunction.C (Self B C) "map_continue" (map_continue B C). Admitted. Global Typeclasses Opaque map_continue. End Impl_core_ops_control_flow_ControlFlow_B_C. @@ -1228,7 +1228,7 @@ Module ops. Global Instance AssociatedFunction_from_try : forall (R : Ty.t), - M.IsAssociatedFunction.Trait (Self R) "from_try" (from_try R). + M.IsAssociatedFunction.C (Self R) "from_try" (from_try R). Admitted. Global Typeclasses Opaque from_try. @@ -1293,7 +1293,7 @@ Module ops. Global Instance AssociatedFunction_into_try : forall (R : Ty.t), - M.IsAssociatedFunction.Trait (Self R) "into_try" (into_try R). + M.IsAssociatedFunction.C (Self R) "into_try" (into_try R). Admitted. Global Typeclasses Opaque into_try. End Impl_core_ops_control_flow_ControlFlow_R_associated_in_trait_core_ops_try_trait_Try___R_Output. diff --git a/CoqOfRust/core/ops/drop.v b/CoqOfRust/core/ops/drop.v index df44584ff..ddabbd05d 100644 --- a/CoqOfRust/core/ops/drop.v +++ b/CoqOfRust/core/ops/drop.v @@ -25,7 +25,7 @@ Module ops. end. Global Instance Instance_IsFunction_fallback_surface_drop : - M.IsFunction.Trait "core::ops::drop::fallback_surface_drop" fallback_surface_drop. + M.IsFunction.C "core::ops::drop::fallback_surface_drop" fallback_surface_drop. Admitted. Global Typeclasses Opaque fallback_surface_drop. End drop. diff --git a/CoqOfRust/core/ops/index_range.v b/CoqOfRust/core/ops/index_range.v index 0615b65ff..c8f1444d5 100644 --- a/CoqOfRust/core/ops/index_range.v +++ b/CoqOfRust/core/ops/index_range.v @@ -330,7 +330,7 @@ Module ops. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -350,8 +350,7 @@ Module ops. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_zero_to : - M.IsAssociatedFunction.Trait Self "zero_to" zero_to. + Global Instance AssociatedFunction_zero_to : M.IsAssociatedFunction.C Self "zero_to" zero_to. Admitted. Global Typeclasses Opaque zero_to. @@ -375,7 +374,7 @@ Module ops. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_start : M.IsAssociatedFunction.Trait Self "start" start. + Global Instance AssociatedFunction_start : M.IsAssociatedFunction.C Self "start" start. Admitted. Global Typeclasses Opaque start. @@ -399,7 +398,7 @@ Module ops. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_end_ : M.IsAssociatedFunction.Trait Self "end_" end_. + Global Instance AssociatedFunction_end_ : M.IsAssociatedFunction.C Self "end" end_. Admitted. Global Typeclasses Opaque end_. @@ -438,7 +437,7 @@ Module ops. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -547,7 +546,7 @@ Module ops. end. Global Instance AssociatedFunction_next_unchecked : - M.IsAssociatedFunction.Trait Self "next_unchecked" next_unchecked. + M.IsAssociatedFunction.C Self "next_unchecked" next_unchecked. Admitted. Global Typeclasses Opaque next_unchecked. @@ -661,7 +660,7 @@ Module ops. end. Global Instance AssociatedFunction_next_back_unchecked : - M.IsAssociatedFunction.Trait Self "next_back_unchecked" next_back_unchecked. + M.IsAssociatedFunction.C Self "next_back_unchecked" next_back_unchecked. Admitted. Global Typeclasses Opaque next_back_unchecked. @@ -783,7 +782,7 @@ Module ops. end. Global Instance AssociatedFunction_take_prefix : - M.IsAssociatedFunction.Trait Self "take_prefix" take_prefix. + M.IsAssociatedFunction.C Self "take_prefix" take_prefix. Admitted. Global Typeclasses Opaque take_prefix. @@ -905,7 +904,7 @@ Module ops. end. Global Instance AssociatedFunction_take_suffix : - M.IsAssociatedFunction.Trait Self "take_suffix" take_suffix. + M.IsAssociatedFunction.C Self "take_suffix" take_suffix. Admitted. Global Typeclasses Opaque take_suffix. End Impl_core_ops_index_range_IndexRange. diff --git a/CoqOfRust/core/ops/range.v b/CoqOfRust/core/ops/range.v index bd1d8267b..96f64f8dd 100644 --- a/CoqOfRust/core/ops/range.v +++ b/CoqOfRust/core/ops/range.v @@ -962,7 +962,7 @@ Module ops. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. @@ -1006,7 +1006,7 @@ Module ops. Global Instance AssociatedFunction_is_empty : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "is_empty" (is_empty Idx). + M.IsAssociatedFunction.C (Self Idx) "is_empty" (is_empty Idx). Admitted. Global Typeclasses Opaque is_empty. End Impl_core_ops_range_Range_Idx. @@ -1527,7 +1527,7 @@ Module ops. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. End Impl_core_ops_range_RangeFrom_Idx. @@ -2062,7 +2062,7 @@ Module ops. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. End Impl_core_ops_range_RangeTo_Idx. @@ -2454,7 +2454,7 @@ Module ops. Global Instance AssociatedFunction_new : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "new" (new Idx). + M.IsAssociatedFunction.C (Self Idx) "new" (new Idx). Admitted. Global Typeclasses Opaque new. @@ -2487,7 +2487,7 @@ Module ops. Global Instance AssociatedFunction_start : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "start" (start Idx). + M.IsAssociatedFunction.C (Self Idx) "start" (start Idx). Admitted. Global Typeclasses Opaque start. @@ -2520,7 +2520,7 @@ Module ops. Global Instance AssociatedFunction_end_ : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "end_" (end_ Idx). + M.IsAssociatedFunction.C (Self Idx) "end" (end_ Idx). Admitted. Global Typeclasses Opaque end_. @@ -2562,7 +2562,7 @@ Module ops. Global Instance AssociatedFunction_into_inner : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "into_inner" (into_inner Idx). + M.IsAssociatedFunction.C (Self Idx) "into_inner" (into_inner Idx). Admitted. Global Typeclasses Opaque into_inner. (* @@ -2602,7 +2602,7 @@ Module ops. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. @@ -2664,7 +2664,7 @@ Module ops. Global Instance AssociatedFunction_is_empty : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "is_empty" (is_empty Idx). + M.IsAssociatedFunction.C (Self Idx) "is_empty" (is_empty Idx). Admitted. Global Typeclasses Opaque is_empty. End Impl_core_ops_range_RangeInclusive_Idx. @@ -2740,7 +2740,7 @@ Module ops. end. Global Instance AssociatedFunction_into_slice_range : - M.IsAssociatedFunction.Trait Self "into_slice_range" into_slice_range. + M.IsAssociatedFunction.C Self "into_slice_range" into_slice_range. Admitted. Global Typeclasses Opaque into_slice_range. End Impl_core_ops_range_RangeInclusive_usize. @@ -3819,7 +3819,7 @@ Module ops. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. End Impl_core_ops_range_RangeToInclusive_Idx. @@ -4462,7 +4462,7 @@ Module ops. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -4530,7 +4530,7 @@ Module ops. Global Instance AssociatedFunction_as_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut" (as_mut T). + M.IsAssociatedFunction.C (Self T) "as_mut" (as_mut T). Admitted. Global Typeclasses Opaque as_mut. @@ -4623,7 +4623,7 @@ Module ops. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. End Impl_core_ops_range_Bound_T. @@ -4720,7 +4720,7 @@ Module ops. Global Instance AssociatedFunction_cloned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cloned" (cloned T). + M.IsAssociatedFunction.C (Self T) "cloned" (cloned T). Admitted. Global Typeclasses Opaque cloned. End Impl_core_ops_range_Bound_ref__T. diff --git a/CoqOfRust/core/ops/try_trait.v b/CoqOfRust/core/ops/try_trait.v index 36d89cf9f..aba5e68ab 100644 --- a/CoqOfRust/core/ops/try_trait.v +++ b/CoqOfRust/core/ops/try_trait.v @@ -39,7 +39,7 @@ Module ops. end. Global Instance Instance_IsFunction_from_yeet : - M.IsFunction.Trait "core::ops::try_trait::from_yeet" from_yeet. + M.IsFunction.C "core::ops::try_trait::from_yeet" from_yeet. Admitted. Global Typeclasses Opaque from_yeet. @@ -127,7 +127,7 @@ Module ops. Global Instance AssociatedFunction_wrap_mut_1 : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrap_mut_1" (wrap_mut_1 T). + M.IsAssociatedFunction.C (Self T) "wrap_mut_1" (wrap_mut_1 T). Admitted. Global Typeclasses Opaque wrap_mut_1. @@ -205,7 +205,7 @@ Module ops. Global Instance AssociatedFunction_wrap_mut_2 : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrap_mut_2" (wrap_mut_2 T). + M.IsAssociatedFunction.C (Self T) "wrap_mut_2" (wrap_mut_2 T). Admitted. Global Typeclasses Opaque wrap_mut_2. End Impl_core_ops_try_trait_NeverShortCircuit_T. diff --git a/CoqOfRust/core/option.v b/CoqOfRust/core/option.v index 969f989aa..7a4f30c0d 100644 --- a/CoqOfRust/core/option.v +++ b/CoqOfRust/core/option.v @@ -287,7 +287,7 @@ Module option. Global Instance AssociatedFunction_is_some : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_some" (is_some T). + M.IsAssociatedFunction.C (Self T) "is_some" (is_some T). Admitted. Global Typeclasses Opaque is_some. @@ -347,7 +347,7 @@ Module option. Global Instance AssociatedFunction_is_some_and : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_some_and" (is_some_and T). + M.IsAssociatedFunction.C (Self T) "is_some_and" (is_some_and T). Admitted. Global Typeclasses Opaque is_some_and. @@ -379,7 +379,7 @@ Module option. Global Instance AssociatedFunction_is_none : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_none" (is_none T). + M.IsAssociatedFunction.C (Self T) "is_none" (is_none T). Admitted. Global Typeclasses Opaque is_none. @@ -439,7 +439,7 @@ Module option. Global Instance AssociatedFunction_is_none_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_none_or" (is_none_or T). + M.IsAssociatedFunction.C (Self T) "is_none_or" (is_none_or T). Admitted. Global Typeclasses Opaque is_none_or. @@ -489,7 +489,7 @@ Module option. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -542,7 +542,7 @@ Module option. Global Instance AssociatedFunction_as_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut" (as_mut T). + M.IsAssociatedFunction.C (Self T) "as_mut" (as_mut T). Admitted. Global Typeclasses Opaque as_mut. @@ -653,7 +653,7 @@ Module option. Global Instance AssociatedFunction_as_pin_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_pin_ref" (as_pin_ref T). + M.IsAssociatedFunction.C (Self T) "as_pin_ref" (as_pin_ref T). Admitted. Global Typeclasses Opaque as_pin_ref. @@ -770,7 +770,7 @@ Module option. Global Instance AssociatedFunction_as_pin_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_pin_mut" (as_pin_mut T). + M.IsAssociatedFunction.C (Self T) "as_pin_mut" (as_pin_mut T). Admitted. Global Typeclasses Opaque as_pin_mut. @@ -807,7 +807,7 @@ Module option. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. @@ -907,7 +907,7 @@ Module option. Global Instance AssociatedFunction_as_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_slice" (as_slice T). + M.IsAssociatedFunction.C (Self T) "as_slice" (as_slice T). Admitted. Global Typeclasses Opaque as_slice. @@ -1019,7 +1019,7 @@ Module option. Global Instance AssociatedFunction_as_mut_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_slice" (as_mut_slice T). + M.IsAssociatedFunction.C (Self T) "as_mut_slice" (as_mut_slice T). Admitted. Global Typeclasses Opaque as_mut_slice. @@ -1073,7 +1073,7 @@ Module option. Global Instance AssociatedFunction_expect : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "expect" (expect T). + M.IsAssociatedFunction.C (Self T) "expect" (expect T). Admitted. Global Typeclasses Opaque expect. @@ -1126,7 +1126,7 @@ Module option. Global Instance AssociatedFunction_unwrap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap" (unwrap T). + M.IsAssociatedFunction.C (Self T) "unwrap" (unwrap T). Admitted. Global Typeclasses Opaque unwrap. @@ -1172,7 +1172,7 @@ Module option. Global Instance AssociatedFunction_unwrap_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or" (unwrap_or T). + M.IsAssociatedFunction.C (Self T) "unwrap_or" (unwrap_or T). Admitted. Global Typeclasses Opaque unwrap_or. @@ -1240,7 +1240,7 @@ Module option. Global Instance AssociatedFunction_unwrap_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or_else" (unwrap_or_else T). + M.IsAssociatedFunction.C (Self T) "unwrap_or_else" (unwrap_or_else T). Admitted. Global Typeclasses Opaque unwrap_or_else. @@ -1307,7 +1307,7 @@ Module option. Global Instance AssociatedFunction_unwrap_or_default : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or_default" (unwrap_or_default T). + M.IsAssociatedFunction.C (Self T) "unwrap_or_default" (unwrap_or_default T). Admitted. Global Typeclasses Opaque unwrap_or_default. @@ -1366,7 +1366,7 @@ Module option. Global Instance AssociatedFunction_unwrap_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_unchecked" (unwrap_unchecked T). + M.IsAssociatedFunction.C (Self T) "unwrap_unchecked" (unwrap_unchecked T). Admitted. Global Typeclasses Opaque unwrap_unchecked. @@ -1433,7 +1433,7 @@ Module option. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. @@ -1500,7 +1500,7 @@ Module option. Global Instance AssociatedFunction_inspect : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "inspect" (inspect T). + M.IsAssociatedFunction.C (Self T) "inspect" (inspect T). Admitted. Global Typeclasses Opaque inspect. @@ -1564,7 +1564,7 @@ Module option. Global Instance AssociatedFunction_map_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_or" (map_or T). + M.IsAssociatedFunction.C (Self T) "map_or" (map_or T). Admitted. Global Typeclasses Opaque map_or. @@ -1643,7 +1643,7 @@ Module option. Global Instance AssociatedFunction_map_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_or_else" (map_or_else T). + M.IsAssociatedFunction.C (Self T) "map_or_else" (map_or_else T). Admitted. Global Typeclasses Opaque map_or_else. @@ -1691,7 +1691,7 @@ Module option. Global Instance AssociatedFunction_ok_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "ok_or" (ok_or T). + M.IsAssociatedFunction.C (Self T) "ok_or" (ok_or T). Admitted. Global Typeclasses Opaque ok_or. @@ -1758,7 +1758,7 @@ Module option. Global Instance AssociatedFunction_ok_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "ok_or_else" (ok_or_else T). + M.IsAssociatedFunction.C (Self T) "ok_or_else" (ok_or_else T). Admitted. Global Typeclasses Opaque ok_or_else. @@ -1868,7 +1868,7 @@ Module option. Global Instance AssociatedFunction_as_deref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_deref" (as_deref T). + M.IsAssociatedFunction.C (Self T) "as_deref" (as_deref T). Admitted. Global Typeclasses Opaque as_deref. @@ -1979,7 +1979,7 @@ Module option. Global Instance AssociatedFunction_as_deref_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_deref_mut" (as_deref_mut T). + M.IsAssociatedFunction.C (Self T) "as_deref_mut" (as_deref_mut T). Admitted. Global Typeclasses Opaque as_deref_mut. @@ -2022,7 +2022,7 @@ Module option. Global Instance AssociatedFunction_iter : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "iter" (iter T). + M.IsAssociatedFunction.C (Self T) "iter" (iter T). Admitted. Global Typeclasses Opaque iter. @@ -2065,7 +2065,7 @@ Module option. Global Instance AssociatedFunction_iter_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "iter_mut" (iter_mut T). + M.IsAssociatedFunction.C (Self T) "iter_mut" (iter_mut T). Admitted. Global Typeclasses Opaque iter_mut. @@ -2110,7 +2110,7 @@ Module option. Global Instance AssociatedFunction_and : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "and" (and T). + M.IsAssociatedFunction.C (Self T) "and" (and T). Admitted. Global Typeclasses Opaque and. @@ -2173,7 +2173,7 @@ Module option. Global Instance AssociatedFunction_and_then : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "and_then" (and_then T). + M.IsAssociatedFunction.C (Self T) "and_then" (and_then T). Admitted. Global Typeclasses Opaque and_then. @@ -2277,7 +2277,7 @@ Module option. Global Instance AssociatedFunction_filter : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "filter" (filter T). + M.IsAssociatedFunction.C (Self T) "filter" (filter T). Admitted. Global Typeclasses Opaque filter. @@ -2323,7 +2323,7 @@ Module option. Global Instance AssociatedFunction_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "or" (or T). + M.IsAssociatedFunction.C (Self T) "or" (or T). Admitted. Global Typeclasses Opaque or. @@ -2386,7 +2386,7 @@ Module option. Global Instance AssociatedFunction_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "or_else" (or_else T). + M.IsAssociatedFunction.C (Self T) "or_else" (or_else T). Admitted. Global Typeclasses Opaque or_else. @@ -2447,7 +2447,7 @@ Module option. Global Instance AssociatedFunction_xor : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "xor" (xor T). + M.IsAssociatedFunction.C (Self T) "xor" (xor T). Admitted. Global Typeclasses Opaque xor. @@ -2529,7 +2529,7 @@ Module option. Global Instance AssociatedFunction_insert : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "insert" (insert T). + M.IsAssociatedFunction.C (Self T) "insert" (insert T). Admitted. Global Typeclasses Opaque insert. @@ -2585,7 +2585,7 @@ Module option. Global Instance AssociatedFunction_get_or_insert : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_or_insert" (get_or_insert T). + M.IsAssociatedFunction.C (Self T) "get_or_insert" (get_or_insert T). Admitted. Global Typeclasses Opaque get_or_insert. @@ -2644,7 +2644,7 @@ Module option. Global Instance AssociatedFunction_get_or_insert_default : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_or_insert_default" (get_or_insert_default T). + M.IsAssociatedFunction.C (Self T) "get_or_insert_default" (get_or_insert_default T). Admitted. Global Typeclasses Opaque get_or_insert_default. @@ -2767,7 +2767,7 @@ Module option. Global Instance AssociatedFunction_get_or_insert_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_or_insert_with" (get_or_insert_with T). + M.IsAssociatedFunction.C (Self T) "get_or_insert_with" (get_or_insert_with T). Admitted. Global Typeclasses Opaque get_or_insert_with. @@ -2800,7 +2800,7 @@ Module option. Global Instance AssociatedFunction_take : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take" (take T). + M.IsAssociatedFunction.C (Self T) "take" (take T). Admitted. Global Typeclasses Opaque take. @@ -2887,7 +2887,7 @@ Module option. Global Instance AssociatedFunction_take_if : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take_if" (take_if T). + M.IsAssociatedFunction.C (Self T) "take_if" (take_if T). Admitted. Global Typeclasses Opaque take_if. @@ -2920,7 +2920,7 @@ Module option. Global Instance AssociatedFunction_replace : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "replace" (replace T). + M.IsAssociatedFunction.C (Self T) "replace" (replace T). Admitted. Global Typeclasses Opaque replace. @@ -2977,7 +2977,7 @@ Module option. Global Instance AssociatedFunction_zip : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "zip" (zip T). + M.IsAssociatedFunction.C (Self T) "zip" (zip T). Admitted. Global Typeclasses Opaque zip. @@ -3052,7 +3052,7 @@ Module option. Global Instance AssociatedFunction_zip_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "zip_with" (zip_with T). + M.IsAssociatedFunction.C (Self T) "zip_with" (zip_with T). Admitted. Global Typeclasses Opaque zip_with. End Impl_core_option_Option_T. @@ -3122,7 +3122,7 @@ Module option. Global Instance AssociatedFunction_unzip : forall (T U : Ty.t), - M.IsAssociatedFunction.Trait (Self T U) "unzip" (unzip T U). + M.IsAssociatedFunction.C (Self T U) "unzip" (unzip T U). Admitted. Global Typeclasses Opaque unzip. End Impl_core_option_Option_Tuple_T_U_. @@ -3180,7 +3180,7 @@ Module option. Global Instance AssociatedFunction_copied : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copied" (copied T). + M.IsAssociatedFunction.C (Self T) "copied" (copied T). Admitted. Global Typeclasses Opaque copied. @@ -3246,7 +3246,7 @@ Module option. Global Instance AssociatedFunction_cloned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cloned" (cloned T). + M.IsAssociatedFunction.C (Self T) "cloned" (cloned T). Admitted. Global Typeclasses Opaque cloned. End Impl_core_option_Option_ref__T. @@ -3302,7 +3302,7 @@ Module option. Global Instance AssociatedFunction_copied : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copied" (copied T). + M.IsAssociatedFunction.C (Self T) "copied" (copied T). Admitted. Global Typeclasses Opaque copied. @@ -3368,7 +3368,7 @@ Module option. Global Instance AssociatedFunction_cloned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cloned" (cloned T). + M.IsAssociatedFunction.C (Self T) "cloned" (cloned T). Admitted. Global Typeclasses Opaque cloned. End Impl_core_option_Option_ref_mut_T. @@ -3458,7 +3458,7 @@ Module option. Global Instance AssociatedFunction_transpose : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "transpose" (transpose T E). + M.IsAssociatedFunction.C (Self T E) "transpose" (transpose T E). Admitted. Global Typeclasses Opaque transpose. End Impl_core_option_Option_core_result_Result_T_E. @@ -3481,7 +3481,7 @@ Module option. end. Global Instance Instance_IsFunction_unwrap_failed : - M.IsFunction.Trait "core::option::unwrap_failed" unwrap_failed. + M.IsFunction.C "core::option::unwrap_failed" unwrap_failed. Admitted. Global Typeclasses Opaque unwrap_failed. @@ -3508,7 +3508,7 @@ Module option. end. Global Instance Instance_IsFunction_expect_failed : - M.IsFunction.Trait "core::option::expect_failed" expect_failed. + M.IsFunction.C "core::option::expect_failed" expect_failed. Admitted. Global Typeclasses Opaque expect_failed. @@ -5908,7 +5908,7 @@ Module option. Global Instance AssociatedFunction_flatten : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "flatten" (flatten T). + M.IsAssociatedFunction.C (Self T) "flatten" (flatten T). Admitted. Global Typeclasses Opaque flatten. End Impl_core_option_Option_core_option_Option_T. @@ -5964,7 +5964,7 @@ Module option. Global Instance AssociatedFunction_transpose : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "transpose" (transpose N T). + M.IsAssociatedFunction.C (Self N T) "transpose" (transpose N T). Admitted. Global Typeclasses Opaque transpose. End Impl_array_N_core_option_Option_T. diff --git a/CoqOfRust/core/panic.v b/CoqOfRust/core/panic.v index b98cec801..f4a4e33ac 100644 --- a/CoqOfRust/core/panic.v +++ b/CoqOfRust/core/panic.v @@ -43,7 +43,7 @@ Module num. end. Global Instance Instance_IsFunction_do_panic : - M.IsFunction.Trait "core::num::from_str_radix_panic::do_panic" do_panic. + M.IsFunction.C "core::num::from_str_radix_panic::do_panic" do_panic. Admitted. Global Typeclasses Opaque do_panic. End from_str_radix_panic. @@ -70,7 +70,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::UnwindContinue::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -96,7 +96,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::UnwindUnreachable::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -122,7 +122,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::UnwindTerminate::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -148,7 +148,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::UnwindCleanup::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -174,9 +174,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait - "core::intrinsics::mir::ReturnTo::panic_cold_explicit" - panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::ReturnTo::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End ReturnTo. @@ -200,7 +198,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Return::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Return::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Return. @@ -224,7 +222,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Goto::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Goto::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Goto. @@ -248,7 +246,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::Unreachable::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -274,7 +272,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Drop::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Drop::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Drop. @@ -298,7 +296,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Call::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Call::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Call. @@ -322,9 +320,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait - "core::intrinsics::mir::TailCall::panic_cold_explicit" - panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::TailCall::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End TailCall. @@ -348,7 +344,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::UnwindResume::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -374,7 +370,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::StorageLive::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -400,7 +396,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::StorageDead::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -426,7 +422,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Assume::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Assume::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Assume. @@ -450,7 +446,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Deinit::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Deinit::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Deinit. @@ -474,9 +470,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait - "core::intrinsics::mir::Checked::panic_cold_explicit" - panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Checked::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Checked. @@ -500,7 +494,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Len::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Len::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Len. @@ -524,7 +518,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::PtrMetadata::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -550,7 +544,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::CopyForDeref::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -576,7 +570,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Retag::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Retag::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Retag. @@ -600,7 +594,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Move::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Move::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Move. @@ -624,7 +618,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Static::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Static::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Static. @@ -648,9 +642,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait - "core::intrinsics::mir::StaticMut::panic_cold_explicit" - panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::StaticMut::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End StaticMut. @@ -674,7 +666,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::Discriminant::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -700,7 +692,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::SetDiscriminant::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -726,7 +718,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Offset::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Offset::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Offset. @@ -750,7 +742,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait "core::intrinsics::mir::Field::panic_cold_explicit" panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Field::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Field. @@ -774,9 +766,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait - "core::intrinsics::mir::Variant::panic_cold_explicit" - panic_cold_explicit. + M.IsFunction.C "core::intrinsics::mir::Variant::panic_cold_explicit" panic_cold_explicit. Admitted. Global Typeclasses Opaque panic_cold_explicit. End Variant. @@ -800,7 +790,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::CastTransmute::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -826,7 +816,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::CastPtrToPtr::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -852,7 +842,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::__internal_make_place::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -878,7 +868,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_panic_cold_explicit : - M.IsFunction.Trait + M.IsFunction.C "core::intrinsics::mir::__debuginfo::panic_cold_explicit" panic_cold_explicit. Admitted. @@ -940,7 +930,7 @@ Module char. end. Global Instance Instance_IsFunction_do_panic : - M.IsFunction.Trait "core::char::methods::encode_utf8_raw::do_panic" do_panic. + M.IsFunction.C "core::char::methods::encode_utf8_raw::do_panic" do_panic. Admitted. Global Typeclasses Opaque do_panic. End encode_utf8_raw. @@ -996,7 +986,7 @@ Module char. end. Global Instance Instance_IsFunction_do_panic : - M.IsFunction.Trait "core::char::methods::encode_utf16_raw::do_panic" do_panic. + M.IsFunction.C "core::char::methods::encode_utf16_raw::do_panic" do_panic. Admitted. Global Typeclasses Opaque do_panic. End encode_utf16_raw. @@ -1031,7 +1021,7 @@ Module panic. end. Global Instance Instance_IsFunction_abort_unwind : - M.IsFunction.Trait "core::panic::abort_unwind" abort_unwind. + M.IsFunction.C "core::panic::abort_unwind" abort_unwind. Admitted. Global Typeclasses Opaque abort_unwind. @@ -1102,7 +1092,7 @@ Module slice. end. Global Instance Instance_IsFunction_do_panic : - M.IsFunction.Trait "core::slice::index::slice_start_index_len_fail::do_panic" do_panic. + M.IsFunction.C "core::slice::index::slice_start_index_len_fail::do_panic" do_panic. Admitted. Global Typeclasses Opaque do_panic. End slice_start_index_len_fail. @@ -1157,7 +1147,7 @@ Module slice. end. Global Instance Instance_IsFunction_do_panic : - M.IsFunction.Trait "core::slice::index::slice_end_index_len_fail::do_panic" do_panic. + M.IsFunction.C "core::slice::index::slice_end_index_len_fail::do_panic" do_panic. Admitted. Global Typeclasses Opaque do_panic. End slice_end_index_len_fail. @@ -1212,7 +1202,7 @@ Module slice. end. Global Instance Instance_IsFunction_do_panic : - M.IsFunction.Trait "core::slice::index::slice_index_order_fail::do_panic" do_panic. + M.IsFunction.C "core::slice::index::slice_index_order_fail::do_panic" do_panic. Admitted. Global Typeclasses Opaque do_panic. End slice_index_order_fail. diff --git a/CoqOfRust/core/panic/location.v b/CoqOfRust/core/panic/location.v index 1d56d04db..078f9d37e 100644 --- a/CoqOfRust/core/panic/location.v +++ b/CoqOfRust/core/panic/location.v @@ -799,7 +799,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -828,7 +828,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_file : M.IsAssociatedFunction.Trait Self "file" file. + Global Instance AssociatedFunction_file : M.IsAssociatedFunction.C Self "file" file. Admitted. Global Typeclasses Opaque file. @@ -852,7 +852,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_line : M.IsAssociatedFunction.Trait Self "line" line. + Global Instance AssociatedFunction_line : M.IsAssociatedFunction.C Self "line" line. Admitted. Global Typeclasses Opaque line. @@ -876,7 +876,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_column : M.IsAssociatedFunction.Trait Self "column" column. + Global Instance AssociatedFunction_column : M.IsAssociatedFunction.C Self "column" column. Admitted. Global Typeclasses Opaque column. (* @@ -902,7 +902,7 @@ Module panic. end. Global Instance AssociatedFunction_internal_constructor : - M.IsAssociatedFunction.Trait Self "internal_constructor" internal_constructor. + M.IsAssociatedFunction.C Self "internal_constructor" internal_constructor. Admitted. Global Typeclasses Opaque internal_constructor. End Impl_core_panic_location_Location. diff --git a/CoqOfRust/core/panic/panic_info.v b/CoqOfRust/core/panic/panic_info.v index b70fafc3c..a67857e50 100644 --- a/CoqOfRust/core/panic/panic_info.v +++ b/CoqOfRust/core/panic/panic_info.v @@ -156,7 +156,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -190,8 +190,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_message : - M.IsAssociatedFunction.Trait Self "message" message. + Global Instance AssociatedFunction_message : M.IsAssociatedFunction.C Self "message" message. Admitted. Global Typeclasses Opaque message. @@ -232,7 +231,7 @@ Module panic. end. Global Instance AssociatedFunction_location : - M.IsAssociatedFunction.Trait Self "location" location. + M.IsAssociatedFunction.C Self "location" location. Admitted. Global Typeclasses Opaque location. @@ -266,8 +265,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_payload : - M.IsAssociatedFunction.Trait Self "payload" payload. + Global Instance AssociatedFunction_payload : M.IsAssociatedFunction.C Self "payload" payload. Admitted. Global Typeclasses Opaque payload. @@ -292,7 +290,7 @@ Module panic. end. Global Instance AssociatedFunction_can_unwind : - M.IsAssociatedFunction.Trait Self "can_unwind" can_unwind. + M.IsAssociatedFunction.C Self "can_unwind" can_unwind. Admitted. Global Typeclasses Opaque can_unwind. @@ -317,7 +315,7 @@ Module panic. end. Global Instance AssociatedFunction_force_no_backtrace : - M.IsAssociatedFunction.Trait Self "force_no_backtrace" force_no_backtrace. + M.IsAssociatedFunction.C Self "force_no_backtrace" force_no_backtrace. Admitted. Global Typeclasses Opaque force_no_backtrace. End Impl_core_panic_panic_info_PanicInfo. @@ -851,7 +849,7 @@ Module panic. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. End Impl_core_panic_panic_info_PanicMessage. diff --git a/CoqOfRust/core/panicking.v b/CoqOfRust/core/panicking.v index 8a39386a4..760dc3a28 100644 --- a/CoqOfRust/core/panicking.v +++ b/CoqOfRust/core/panicking.v @@ -100,7 +100,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_fmt : - M.IsFunction.Trait "core::panicking::panic_fmt" panic_fmt. + M.IsFunction.C "core::panicking::panic_fmt" panic_fmt. Admitted. Global Typeclasses Opaque panic_fmt. @@ -108,7 +108,7 @@ Module panicking. Parameter panic_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_panic_impl : - M.IsFunction.Trait "core::panicking::panic_fmt::panic_impl" panic_impl. + M.IsFunction.C "core::panicking::panic_fmt::panic_impl" panic_impl. Admitted. End panic_fmt. @@ -173,7 +173,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_nounwind_fmt : - M.IsFunction.Trait "core::panicking::panic_nounwind_fmt" panic_nounwind_fmt. + M.IsFunction.C "core::panicking::panic_nounwind_fmt" panic_nounwind_fmt. Admitted. Global Typeclasses Opaque panic_nounwind_fmt. @@ -182,7 +182,7 @@ Module panicking. Parameter panic_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_panic_impl : - M.IsFunction.Trait "core::panicking::panic_nounwind_fmt::runtime::panic_impl" panic_impl. + M.IsFunction.C "core::panicking::panic_nounwind_fmt::runtime::panic_impl" panic_impl. Admitted. End runtime. End panic_nounwind_fmt. @@ -234,7 +234,7 @@ Module panicking. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_panic : M.IsFunction.Trait "core::panicking::panic" panic. + Global Instance Instance_IsFunction_panic : M.IsFunction.C "core::panicking::panic" panic. Admitted. Global Typeclasses Opaque panic. @@ -284,7 +284,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_add_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_add_overflow" panic_const_add_overflow. Admitted. @@ -337,7 +337,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_sub_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_sub_overflow" panic_const_sub_overflow. Admitted. @@ -390,7 +390,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_mul_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_mul_overflow" panic_const_mul_overflow. Admitted. @@ -441,7 +441,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_div_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_div_overflow" panic_const_div_overflow. Admitted. @@ -495,7 +495,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_rem_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_rem_overflow" panic_const_rem_overflow. Admitted. @@ -546,7 +546,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_neg_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_neg_overflow" panic_const_neg_overflow. Admitted. @@ -599,7 +599,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_shr_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_shr_overflow" panic_const_shr_overflow. Admitted. @@ -652,7 +652,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_shl_overflow : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_shl_overflow" panic_const_shl_overflow. Admitted. @@ -703,7 +703,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_div_by_zero : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_div_by_zero" panic_const_div_by_zero. Admitted. @@ -761,7 +761,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_rem_by_zero : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_rem_by_zero" panic_const_rem_by_zero. Admitted. @@ -818,7 +818,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_coroutine_resumed : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_coroutine_resumed" panic_const_coroutine_resumed. Admitted. @@ -875,7 +875,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_async_fn_resumed : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_async_fn_resumed" panic_const_async_fn_resumed. Admitted. @@ -932,7 +932,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_async_gen_fn_resumed : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_async_gen_fn_resumed" panic_const_async_gen_fn_resumed. Admitted. @@ -990,7 +990,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_gen_fn_none : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_gen_fn_none" panic_const_gen_fn_none. Admitted. @@ -1047,7 +1047,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_coroutine_resumed_panic : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_coroutine_resumed_panic" panic_const_coroutine_resumed_panic. Admitted. @@ -1104,7 +1104,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_async_fn_resumed_panic : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_async_fn_resumed_panic" panic_const_async_fn_resumed_panic. Admitted. @@ -1161,7 +1161,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_async_gen_fn_resumed_panic : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_async_gen_fn_resumed_panic" panic_const_async_gen_fn_resumed_panic. Admitted. @@ -1223,7 +1223,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_const_gen_fn_none_panic : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_const::panic_const_gen_fn_none_panic" panic_const_gen_fn_none_panic. Admitted. @@ -1268,7 +1268,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_nounwind : - M.IsFunction.Trait "core::panicking::panic_nounwind" panic_nounwind. + M.IsFunction.C "core::panicking::panic_nounwind" panic_nounwind. Admitted. Global Typeclasses Opaque panic_nounwind. @@ -1310,7 +1310,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_nounwind_nobacktrace : - M.IsFunction.Trait "core::panicking::panic_nounwind_nobacktrace" panic_nounwind_nobacktrace. + M.IsFunction.C "core::panicking::panic_nounwind_nobacktrace" panic_nounwind_nobacktrace. Admitted. Global Typeclasses Opaque panic_nounwind_nobacktrace. @@ -1343,7 +1343,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_explicit : - M.IsFunction.Trait "core::panicking::panic_explicit" panic_explicit. + M.IsFunction.C "core::panicking::panic_explicit" panic_explicit. Admitted. Global Typeclasses Opaque panic_explicit. @@ -1419,7 +1419,7 @@ Module panicking. end. Global Instance Instance_IsFunction_unreachable_display : - M.IsFunction.Trait "core::panicking::unreachable_display" unreachable_display. + M.IsFunction.C "core::panicking::unreachable_display" unreachable_display. Admitted. Global Typeclasses Opaque unreachable_display. @@ -1446,7 +1446,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_str_2015 : - M.IsFunction.Trait "core::panicking::panic_str_2015" panic_str_2015. + M.IsFunction.C "core::panicking::panic_str_2015" panic_str_2015. Admitted. Global Typeclasses Opaque panic_str_2015. @@ -1517,7 +1517,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_display : - M.IsFunction.Trait "core::panicking::panic_display" panic_display. + M.IsFunction.C "core::panicking::panic_display" panic_display. Admitted. Global Typeclasses Opaque panic_display. @@ -1640,7 +1640,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_bounds_check : - M.IsFunction.Trait "core::panicking::panic_bounds_check" panic_bounds_check. + M.IsFunction.C "core::panicking::panic_bounds_check" panic_bounds_check. Admitted. Global Typeclasses Opaque panic_bounds_check. @@ -1832,7 +1832,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_misaligned_pointer_dereference : - M.IsFunction.Trait + M.IsFunction.C "core::panicking::panic_misaligned_pointer_dereference" panic_misaligned_pointer_dereference. Admitted. @@ -1857,7 +1857,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_cannot_unwind : - M.IsFunction.Trait "core::panicking::panic_cannot_unwind" panic_cannot_unwind. + M.IsFunction.C "core::panicking::panic_cannot_unwind" panic_cannot_unwind. Admitted. Global Typeclasses Opaque panic_cannot_unwind. @@ -1880,7 +1880,7 @@ Module panicking. end. Global Instance Instance_IsFunction_panic_in_cleanup : - M.IsFunction.Trait "core::panicking::panic_in_cleanup" panic_in_cleanup. + M.IsFunction.C "core::panicking::panic_in_cleanup" panic_in_cleanup. Admitted. Global Typeclasses Opaque panic_in_cleanup. @@ -1964,7 +1964,7 @@ Module panicking. end. Global Instance Instance_IsFunction_const_panic_fmt : - M.IsFunction.Trait "core::panicking::const_panic_fmt" const_panic_fmt. + M.IsFunction.C "core::panicking::const_panic_fmt" const_panic_fmt. Admitted. Global Typeclasses Opaque const_panic_fmt. @@ -2092,7 +2092,7 @@ Module panicking. end. Global Instance Instance_IsFunction_assert_failed : - M.IsFunction.Trait "core::panicking::assert_failed" assert_failed. + M.IsFunction.C "core::panicking::assert_failed" assert_failed. Admitted. Global Typeclasses Opaque assert_failed. @@ -2145,7 +2145,7 @@ Module panicking. end. Global Instance Instance_IsFunction_assert_matches_failed : - M.IsFunction.Trait "core::panicking::assert_matches_failed" assert_matches_failed. + M.IsFunction.C "core::panicking::assert_matches_failed" assert_matches_failed. Admitted. Global Typeclasses Opaque assert_matches_failed. @@ -2515,7 +2515,7 @@ Module panicking. end. Global Instance Instance_IsFunction_assert_failed_inner : - M.IsFunction.Trait "core::panicking::assert_failed_inner" assert_failed_inner. + M.IsFunction.C "core::panicking::assert_failed_inner" assert_failed_inner. Admitted. Global Typeclasses Opaque assert_failed_inner. End panicking. diff --git a/CoqOfRust/core/pin.v b/CoqOfRust/core/pin.v index 2f2ec1784..a770a40d3 100644 --- a/CoqOfRust/core/pin.v +++ b/CoqOfRust/core/pin.v @@ -804,7 +804,7 @@ Module pin. Global Instance AssociatedFunction_new : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "new" (new Ptr). + M.IsAssociatedFunction.C (Self Ptr) "new" (new Ptr). Admitted. Global Typeclasses Opaque new. @@ -827,7 +827,7 @@ Module pin. Global Instance AssociatedFunction_into_inner : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "into_inner" (into_inner Ptr). + M.IsAssociatedFunction.C (Self Ptr) "into_inner" (into_inner Ptr). Admitted. Global Typeclasses Opaque into_inner. (* @@ -852,7 +852,7 @@ Module pin. Global Instance AssociatedFunction_new_unchecked : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "new_unchecked" (new_unchecked Ptr). + M.IsAssociatedFunction.C (Self Ptr) "new_unchecked" (new_unchecked Ptr). Admitted. Global Typeclasses Opaque new_unchecked. @@ -935,7 +935,7 @@ Module pin. Global Instance AssociatedFunction_as_ref : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "as_ref" (as_ref Ptr). + M.IsAssociatedFunction.C (Self Ptr) "as_ref" (as_ref Ptr). Admitted. Global Typeclasses Opaque as_ref. (* @@ -1017,7 +1017,7 @@ Module pin. Global Instance AssociatedFunction_as_mut : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "as_mut" (as_mut Ptr). + M.IsAssociatedFunction.C (Self Ptr) "as_mut" (as_mut Ptr). Admitted. Global Typeclasses Opaque as_mut. @@ -1108,7 +1108,7 @@ Module pin. Global Instance AssociatedFunction_as_deref_mut : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "as_deref_mut" (as_deref_mut Ptr). + M.IsAssociatedFunction.C (Self Ptr) "as_deref_mut" (as_deref_mut Ptr). Admitted. Global Typeclasses Opaque as_deref_mut. @@ -1168,7 +1168,7 @@ Module pin. Global Instance AssociatedFunction_set : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "set" (set Ptr). + M.IsAssociatedFunction.C (Self Ptr) "set" (set Ptr). Admitted. Global Typeclasses Opaque set. (* @@ -1195,7 +1195,7 @@ Module pin. Global Instance AssociatedFunction_into_inner_unchecked : forall (Ptr : Ty.t), - M.IsAssociatedFunction.Trait (Self Ptr) "into_inner_unchecked" (into_inner_unchecked Ptr). + M.IsAssociatedFunction.C (Self Ptr) "into_inner_unchecked" (into_inner_unchecked Ptr). Admitted. Global Typeclasses Opaque into_inner_unchecked. End Impl_core_pin_Pin_Ptr. @@ -1278,7 +1278,7 @@ Module pin. Global Instance AssociatedFunction_map_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_unchecked" (map_unchecked T). + M.IsAssociatedFunction.C (Self T) "map_unchecked" (map_unchecked T). Admitted. Global Typeclasses Opaque map_unchecked. @@ -1301,7 +1301,7 @@ Module pin. Global Instance AssociatedFunction_get_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_ref" (get_ref T). + M.IsAssociatedFunction.C (Self T) "get_ref" (get_ref T). Admitted. Global Typeclasses Opaque get_ref. (* @@ -1332,7 +1332,7 @@ Module pin. Global Instance AssociatedFunction_static_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "static_ref" (static_ref T). + M.IsAssociatedFunction.C (Self T) "static_ref" (static_ref T). Admitted. Global Typeclasses Opaque static_ref. End Impl_core_pin_Pin_ref__T. @@ -1370,7 +1370,7 @@ Module pin. Global Instance AssociatedFunction_into_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_ref" (into_ref T). + M.IsAssociatedFunction.C (Self T) "into_ref" (into_ref T). Admitted. Global Typeclasses Opaque into_ref. @@ -1406,7 +1406,7 @@ Module pin. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -1444,7 +1444,7 @@ Module pin. Global Instance AssociatedFunction_get_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_unchecked_mut" (get_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "get_unchecked_mut" (get_unchecked_mut T). Admitted. Global Typeclasses Opaque get_unchecked_mut. @@ -1535,7 +1535,7 @@ Module pin. Global Instance AssociatedFunction_map_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_unchecked_mut" (map_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "map_unchecked_mut" (map_unchecked_mut T). Admitted. Global Typeclasses Opaque map_unchecked_mut. (* @@ -1566,7 +1566,7 @@ Module pin. Global Instance AssociatedFunction_static_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "static_mut" (static_mut T). + M.IsAssociatedFunction.C (Self T) "static_mut" (static_mut T). Admitted. Global Typeclasses Opaque static_mut. End Impl_core_pin_Pin_ref_mut_T. diff --git a/CoqOfRust/core/ptr/alignment.v b/CoqOfRust/core/ptr/alignment.v index de9ec431e..d64f15f6d 100644 --- a/CoqOfRust/core/ptr/alignment.v +++ b/CoqOfRust/core/ptr/alignment.v @@ -189,7 +189,7 @@ Module ptr. end. Global Instance Instance_IsFunction__alignment_can_be_structurally_matched : - M.IsFunction.Trait + M.IsFunction.C "core::ptr::alignment::_alignment_can_be_structurally_matched" _alignment_can_be_structurally_matched. Admitted. @@ -200,17 +200,15 @@ Module ptr. (* pub const MIN: Self = Self(AlignmentEnum::_Align1Shl0); *) (* 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::AlignmentEnum::_Align1Shl0" [] ] - |))). + Definition value_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "core::ptr::alignment::Alignment" + [ Value.StructTuple "core::ptr::alignment::AlignmentEnum::_Align1Shl0" [] ] + |))). - Global Instance AssociatedConstant_value_MIN : - M.IsAssociatedConstant.Trait Self "value_MIN" value_MIN. + Global Instance AssociatedConstant_value_MIN : M.IsAssociatedFunction.C Self "MIN" value_MIN. Admitted. Global Typeclasses Opaque value_MIN. @@ -243,7 +241,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_of : M.IsAssociatedFunction.Trait Self "of" of. + Global Instance AssociatedFunction_of : M.IsAssociatedFunction.C Self "of" of. Admitted. Global Typeclasses Opaque of. @@ -313,7 +311,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -387,7 +385,7 @@ Module ptr. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -410,7 +408,7 @@ Module ptr. end. Global Instance AssociatedFunction_as_usize : - M.IsAssociatedFunction.Trait Self "as_usize" as_usize. + M.IsAssociatedFunction.C Self "as_usize" as_usize. Admitted. Global Typeclasses Opaque as_usize. @@ -450,7 +448,7 @@ Module ptr. end. Global Instance AssociatedFunction_as_nonzero : - M.IsAssociatedFunction.Trait Self "as_nonzero" as_nonzero. + M.IsAssociatedFunction.C Self "as_nonzero" as_nonzero. Admitted. Global Typeclasses Opaque as_nonzero. @@ -488,7 +486,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_log2 : M.IsAssociatedFunction.Trait Self "log2" log2. + Global Instance AssociatedFunction_log2 : M.IsAssociatedFunction.C Self "log2" log2. Admitted. Global Typeclasses Opaque log2. @@ -525,7 +523,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_mask : M.IsAssociatedFunction.Trait Self "mask" mask. + Global Instance AssociatedFunction_mask : M.IsAssociatedFunction.C Self "mask" mask. Admitted. Global Typeclasses Opaque mask. @@ -582,7 +580,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_max : M.IsAssociatedFunction.Trait Self "max" max. + Global Instance AssociatedFunction_max : M.IsAssociatedFunction.C Self "max" max. Admitted. Global Typeclasses Opaque max. End Impl_core_ptr_alignment_Alignment. @@ -1127,7 +1125,15 @@ Module ptr. *) Definition default (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::ptr::alignment::MIN" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| + get_associated_constant (| + Ty.path "core::ptr::alignment::Alignment", + "MIN", + Ty.path "core::ptr::alignment::Alignment" + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. diff --git a/CoqOfRust/core/ptr/const_ptr.v b/CoqOfRust/core/ptr/const_ptr.v index 61824ff6a..d5ae8d1b2 100644 --- a/CoqOfRust/core/ptr/const_ptr.v +++ b/CoqOfRust/core/ptr/const_ptr.v @@ -69,7 +69,7 @@ Module ptr. Global Instance AssociatedFunction_is_null : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_null" (is_null T). + M.IsAssociatedFunction.C (Self T) "is_null" (is_null T). Admitted. Global Typeclasses Opaque is_null. @@ -90,7 +90,7 @@ Module ptr. Global Instance AssociatedFunction_cast : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cast" (cast T). + M.IsAssociatedFunction.C (Self T) "cast" (cast T). Admitted. Global Typeclasses Opaque cast. @@ -131,7 +131,7 @@ Module ptr. Global Instance AssociatedFunction_with_metadata_of : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_metadata_of" (with_metadata_of T). + M.IsAssociatedFunction.C (Self T) "with_metadata_of" (with_metadata_of T). Admitted. Global Typeclasses Opaque with_metadata_of. @@ -152,7 +152,7 @@ Module ptr. Global Instance AssociatedFunction_cast_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cast_mut" (cast_mut T). + M.IsAssociatedFunction.C (Self T) "cast_mut" (cast_mut T). Admitted. Global Typeclasses Opaque cast_mut. @@ -197,7 +197,7 @@ Module ptr. Global Instance AssociatedFunction_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "addr" (addr T). + M.IsAssociatedFunction.C (Self T) "addr" (addr T). Admitted. Global Typeclasses Opaque addr. @@ -234,7 +234,7 @@ Module ptr. Global Instance AssociatedFunction_expose_provenance : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "expose_provenance" (expose_provenance T). + M.IsAssociatedFunction.C (Self T) "expose_provenance" (expose_provenance T). Admitted. Global Typeclasses Opaque expose_provenance. @@ -300,7 +300,7 @@ Module ptr. Global Instance AssociatedFunction_with_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_addr" (with_addr T). + M.IsAssociatedFunction.C (Self T) "with_addr" (with_addr T). Admitted. Global Typeclasses Opaque with_addr. @@ -361,7 +361,7 @@ Module ptr. Global Instance AssociatedFunction_map_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_addr" (map_addr T). + M.IsAssociatedFunction.C (Self T) "map_addr" (map_addr T). Admitted. Global Typeclasses Opaque map_addr. @@ -404,7 +404,7 @@ Module ptr. Global Instance AssociatedFunction_to_raw_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "to_raw_parts" (to_raw_parts T). + M.IsAssociatedFunction.C (Self T) "to_raw_parts" (to_raw_parts T). Admitted. Global Typeclasses Opaque to_raw_parts. @@ -470,7 +470,7 @@ Module ptr. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -500,7 +500,7 @@ Module ptr. Global Instance AssociatedFunction_as_ref_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref_unchecked" (as_ref_unchecked T). + M.IsAssociatedFunction.C (Self T) "as_ref_unchecked" (as_ref_unchecked T). Admitted. Global Typeclasses Opaque as_ref_unchecked. @@ -594,7 +594,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_ref" (as_uninit_ref T). + M.IsAssociatedFunction.C (Self T) "as_uninit_ref" (as_uninit_ref T). Admitted. Global Typeclasses Opaque as_uninit_ref. @@ -707,7 +707,7 @@ Module ptr. Global Instance AssociatedFunction_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "offset" (offset T). + M.IsAssociatedFunction.C (Self T) "offset" (offset T). Admitted. Global Typeclasses Opaque offset. @@ -763,7 +763,7 @@ Module ptr. Global Instance AssociatedFunction_byte_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_offset" (byte_offset T). + M.IsAssociatedFunction.C (Self T) "byte_offset" (byte_offset T). Admitted. Global Typeclasses Opaque byte_offset. @@ -798,7 +798,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_offset" (wrapping_offset T). + M.IsAssociatedFunction.C (Self T) "wrapping_offset" (wrapping_offset T). Admitted. Global Typeclasses Opaque wrapping_offset. @@ -858,7 +858,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_byte_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_byte_offset" (wrapping_byte_offset T). + M.IsAssociatedFunction.C (Self T) "wrapping_byte_offset" (wrapping_byte_offset T). Admitted. Global Typeclasses Opaque wrapping_byte_offset. @@ -908,7 +908,7 @@ Module ptr. Global Instance AssociatedFunction_mask : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "mask" (mask T). + M.IsAssociatedFunction.C (Self T) "mask" (mask T). Admitted. Global Typeclasses Opaque mask. @@ -960,7 +960,13 @@ Module ptr. M.read (| pointee_size |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |)) |))) |) |) @@ -996,7 +1002,7 @@ Module ptr. Global Instance AssociatedFunction_offset_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "offset_from" (offset_from T). + M.IsAssociatedFunction.C (Self T) "offset_from" (offset_from T). Admitted. Global Typeclasses Opaque offset_from. @@ -1054,7 +1060,7 @@ Module ptr. Global Instance AssociatedFunction_byte_offset_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_offset_from" (byte_offset_from T). + M.IsAssociatedFunction.C (Self T) "byte_offset_from" (byte_offset_from T). Admitted. Global Typeclasses Opaque byte_offset_from. @@ -1169,7 +1175,13 @@ Module ptr. M.read (| pointee_size |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |)) |))) |) |) @@ -1205,7 +1217,7 @@ Module ptr. Global Instance AssociatedFunction_sub_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sub_ptr" (sub_ptr T). + M.IsAssociatedFunction.C (Self T) "sub_ptr" (sub_ptr T). Admitted. Global Typeclasses Opaque sub_ptr. @@ -1263,7 +1275,7 @@ Module ptr. Global Instance AssociatedFunction_byte_sub_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_sub_ptr" (byte_sub_ptr T). + M.IsAssociatedFunction.C (Self T) "byte_sub_ptr" (byte_sub_ptr T). Admitted. Global Typeclasses Opaque byte_sub_ptr. @@ -1325,7 +1337,7 @@ Module ptr. Global Instance AssociatedFunction_guaranteed_eq : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "guaranteed_eq" (guaranteed_eq T). + M.IsAssociatedFunction.C (Self T) "guaranteed_eq" (guaranteed_eq T). Admitted. Global Typeclasses Opaque guaranteed_eq. @@ -1394,7 +1406,7 @@ Module ptr. Global Instance AssociatedFunction_guaranteed_ne : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "guaranteed_ne" (guaranteed_ne T). + M.IsAssociatedFunction.C (Self T) "guaranteed_ne" (guaranteed_ne T). Admitted. Global Typeclasses Opaque guaranteed_ne. @@ -1506,7 +1518,7 @@ Module ptr. Global Instance AssociatedFunction_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "add" (add T). + M.IsAssociatedFunction.C (Self T) "add" (add T). Admitted. Global Typeclasses Opaque add. @@ -1562,7 +1574,7 @@ Module ptr. Global Instance AssociatedFunction_byte_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_add" (byte_add T). + M.IsAssociatedFunction.C (Self T) "byte_add" (byte_add T). Admitted. Global Typeclasses Opaque byte_add. @@ -1669,7 +1681,12 @@ Module ptr. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1707,7 +1724,7 @@ Module ptr. Global Instance AssociatedFunction_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sub" (sub T). + M.IsAssociatedFunction.C (Self T) "sub" (sub T). Admitted. Global Typeclasses Opaque sub. @@ -1763,7 +1780,7 @@ Module ptr. Global Instance AssociatedFunction_byte_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_sub" (byte_sub T). + M.IsAssociatedFunction.C (Self T) "byte_sub" (byte_sub T). Admitted. Global Typeclasses Opaque byte_sub. @@ -1802,7 +1819,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_add" (wrapping_add T). + M.IsAssociatedFunction.C (Self T) "wrapping_add" (wrapping_add T). Admitted. Global Typeclasses Opaque wrapping_add. @@ -1862,7 +1879,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_byte_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_byte_add" (wrapping_byte_add T). + M.IsAssociatedFunction.C (Self T) "wrapping_byte_add" (wrapping_byte_add T). Admitted. Global Typeclasses Opaque wrapping_byte_add. @@ -1908,7 +1925,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_sub" (wrapping_sub T). + M.IsAssociatedFunction.C (Self T) "wrapping_sub" (wrapping_sub T). Admitted. Global Typeclasses Opaque wrapping_sub. @@ -1968,7 +1985,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_byte_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_byte_sub" (wrapping_byte_sub T). + M.IsAssociatedFunction.C (Self T) "wrapping_byte_sub" (wrapping_byte_sub T). Admitted. Global Typeclasses Opaque wrapping_byte_sub. @@ -1997,7 +2014,7 @@ Module ptr. Global Instance AssociatedFunction_read : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read" (read T). + M.IsAssociatedFunction.C (Self T) "read" (read T). Admitted. Global Typeclasses Opaque read. @@ -2031,7 +2048,7 @@ Module ptr. Global Instance AssociatedFunction_read_volatile : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read_volatile" (read_volatile T). + M.IsAssociatedFunction.C (Self T) "read_volatile" (read_volatile T). Admitted. Global Typeclasses Opaque read_volatile. @@ -2065,7 +2082,7 @@ Module ptr. Global Instance AssociatedFunction_read_unaligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read_unaligned" (read_unaligned T). + M.IsAssociatedFunction.C (Self T) "read_unaligned" (read_unaligned T). Admitted. Global Typeclasses Opaque read_unaligned. @@ -2096,7 +2113,7 @@ Module ptr. Global Instance AssociatedFunction_copy_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_to" (copy_to T). + M.IsAssociatedFunction.C (Self T) "copy_to" (copy_to T). Admitted. Global Typeclasses Opaque copy_to. @@ -2132,7 +2149,7 @@ Module ptr. Global Instance AssociatedFunction_copy_to_nonoverlapping : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_to_nonoverlapping" (copy_to_nonoverlapping T). + M.IsAssociatedFunction.C (Self T) "copy_to_nonoverlapping" (copy_to_nonoverlapping T). Admitted. Global Typeclasses Opaque copy_to_nonoverlapping. @@ -2250,7 +2267,7 @@ Module ptr. Global Instance AssociatedFunction_align_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "align_offset" (align_offset T). + M.IsAssociatedFunction.C (Self T) "align_offset" (align_offset T). Admitted. Global Typeclasses Opaque align_offset. @@ -2290,7 +2307,7 @@ Module ptr. Global Instance AssociatedFunction_is_aligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_aligned" (is_aligned T). + M.IsAssociatedFunction.C (Self T) "is_aligned" (is_aligned T). Admitted. Global Typeclasses Opaque is_aligned. @@ -2404,7 +2421,7 @@ Module ptr. Global Instance AssociatedFunction_is_aligned_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_aligned_to" (is_aligned_to T). + M.IsAssociatedFunction.C (Self T) "is_aligned_to" (is_aligned_to T). Admitted. Global Typeclasses Opaque is_aligned_to. End Impl_pointer_const_T. @@ -2438,7 +2455,7 @@ Module ptr. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. @@ -2471,7 +2488,7 @@ Module ptr. Global Instance AssociatedFunction_is_empty : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_empty" (is_empty T). + M.IsAssociatedFunction.C (Self T) "is_empty" (is_empty T). Admitted. Global Typeclasses Opaque is_empty. @@ -2492,7 +2509,7 @@ Module ptr. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -2540,7 +2557,12 @@ Module ptr. |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::ptr::const_ptr::as_array::N" |) + M.read (| + get_constant (| + "core::ptr::const_ptr::as_array::N", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2583,7 +2605,7 @@ Module ptr. Global Instance AssociatedFunction_as_array : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_array" (as_array T). + M.IsAssociatedFunction.C (Self T) "as_array" (as_array T). Admitted. Global Typeclasses Opaque as_array. @@ -2636,7 +2658,7 @@ Module ptr. Global Instance AssociatedFunction_get_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_unchecked" (get_unchecked T). + M.IsAssociatedFunction.C (Self T) "get_unchecked" (get_unchecked T). Admitted. Global Typeclasses Opaque get_unchecked. @@ -2774,7 +2796,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_slice" (as_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "as_uninit_slice" (as_uninit_slice T). Admitted. Global Typeclasses Opaque as_uninit_slice. End Impl_pointer_const_slice_T. @@ -2806,7 +2828,7 @@ Module ptr. Global Instance AssociatedFunction_as_ptr : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_ptr" (as_ptr N T). + M.IsAssociatedFunction.C (Self N T) "as_ptr" (as_ptr N T). Admitted. Global Typeclasses Opaque as_ptr. @@ -2833,7 +2855,7 @@ Module ptr. Global Instance AssociatedFunction_as_slice : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_slice" (as_slice N T). + M.IsAssociatedFunction.C (Self N T) "as_slice" (as_slice N T). Admitted. Global Typeclasses Opaque as_slice. End Impl_pointer_const_array_N_T. diff --git a/CoqOfRust/core/ptr/metadata.v b/CoqOfRust/core/ptr/metadata.v index fb623ddde..9a1503123 100644 --- a/CoqOfRust/core/ptr/metadata.v +++ b/CoqOfRust/core/ptr/metadata.v @@ -31,7 +31,7 @@ Module ptr. end. Global Instance Instance_IsFunction_metadata : - M.IsFunction.Trait "core::ptr::metadata::metadata" metadata. + M.IsFunction.C "core::ptr::metadata::metadata" metadata. Admitted. Global Typeclasses Opaque metadata. @@ -66,7 +66,7 @@ Module ptr. end. Global Instance Instance_IsFunction_from_raw_parts : - M.IsFunction.Trait "core::ptr::metadata::from_raw_parts" from_raw_parts. + M.IsFunction.C "core::ptr::metadata::from_raw_parts" from_raw_parts. Admitted. Global Typeclasses Opaque from_raw_parts. @@ -101,7 +101,7 @@ Module ptr. end. Global Instance Instance_IsFunction_from_raw_parts_mut : - M.IsFunction.Trait "core::ptr::metadata::from_raw_parts_mut" from_raw_parts_mut. + M.IsFunction.C "core::ptr::metadata::from_raw_parts_mut" from_raw_parts_mut. Admitted. Global Typeclasses Opaque from_raw_parts_mut. @@ -162,7 +162,7 @@ Module ptr. Global Instance AssociatedFunction_vtable_ptr : forall (Dyn : Ty.t), - M.IsAssociatedFunction.Trait (Self Dyn) "vtable_ptr" (vtable_ptr Dyn). + M.IsAssociatedFunction.C (Self Dyn) "vtable_ptr" (vtable_ptr Dyn). Admitted. Global Typeclasses Opaque vtable_ptr. @@ -204,7 +204,7 @@ Module ptr. Global Instance AssociatedFunction_size_of : forall (Dyn : Ty.t), - M.IsAssociatedFunction.Trait (Self Dyn) "size_of" (size_of Dyn). + M.IsAssociatedFunction.C (Self Dyn) "size_of" (size_of Dyn). Admitted. Global Typeclasses Opaque size_of. @@ -243,7 +243,7 @@ Module ptr. Global Instance AssociatedFunction_align_of : forall (Dyn : Ty.t), - M.IsAssociatedFunction.Trait (Self Dyn) "align_of" (align_of Dyn). + M.IsAssociatedFunction.C (Self Dyn) "align_of" (align_of Dyn). Admitted. Global Typeclasses Opaque align_of. @@ -296,7 +296,7 @@ Module ptr. Global Instance AssociatedFunction_layout : forall (Dyn : Ty.t), - M.IsAssociatedFunction.Trait (Self Dyn) "layout" (layout Dyn). + M.IsAssociatedFunction.C (Self Dyn) "layout" (layout Dyn). Admitted. Global Typeclasses Opaque layout. End Impl_core_ptr_metadata_DynMetadata_Dyn. diff --git a/CoqOfRust/core/ptr/mod.v b/CoqOfRust/core/ptr/mod.v index 350b88d4c..4794219db 100644 --- a/CoqOfRust/core/ptr/mod.v +++ b/CoqOfRust/core/ptr/mod.v @@ -25,7 +25,7 @@ Module ptr. end. Global Instance Instance_IsFunction_drop_in_place : - M.IsFunction.Trait "core::ptr::drop_in_place" drop_in_place. + M.IsFunction.C "core::ptr::drop_in_place" drop_in_place. Admitted. Global Typeclasses Opaque drop_in_place. @@ -53,7 +53,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_null : M.IsFunction.Trait "core::ptr::null" null. + Global Instance Instance_IsFunction_null : M.IsFunction.C "core::ptr::null" null. Admitted. Global Typeclasses Opaque null. @@ -81,7 +81,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_null_mut : M.IsFunction.Trait "core::ptr::null_mut" null_mut. + Global Instance Instance_IsFunction_null_mut : M.IsFunction.C "core::ptr::null_mut" null_mut. Admitted. Global Typeclasses Opaque null_mut. @@ -113,7 +113,7 @@ Module ptr. end. Global Instance Instance_IsFunction_without_provenance : - M.IsFunction.Trait "core::ptr::without_provenance" without_provenance. + M.IsFunction.C "core::ptr::without_provenance" without_provenance. Admitted. Global Typeclasses Opaque without_provenance. @@ -140,7 +140,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_dangling : M.IsFunction.Trait "core::ptr::dangling" dangling. + Global Instance Instance_IsFunction_dangling : M.IsFunction.C "core::ptr::dangling" dangling. Admitted. Global Typeclasses Opaque dangling. @@ -172,7 +172,7 @@ Module ptr. end. Global Instance Instance_IsFunction_without_provenance_mut : - M.IsFunction.Trait "core::ptr::without_provenance_mut" without_provenance_mut. + M.IsFunction.C "core::ptr::without_provenance_mut" without_provenance_mut. Admitted. Global Typeclasses Opaque without_provenance_mut. @@ -200,7 +200,7 @@ Module ptr. end. Global Instance Instance_IsFunction_dangling_mut : - M.IsFunction.Trait "core::ptr::dangling_mut" dangling_mut. + M.IsFunction.C "core::ptr::dangling_mut" dangling_mut. Admitted. Global Typeclasses Opaque dangling_mut. @@ -219,7 +219,7 @@ Module ptr. end. Global Instance Instance_IsFunction_with_exposed_provenance : - M.IsFunction.Trait "core::ptr::with_exposed_provenance" with_exposed_provenance. + M.IsFunction.C "core::ptr::with_exposed_provenance" with_exposed_provenance. Admitted. Global Typeclasses Opaque with_exposed_provenance. @@ -242,7 +242,7 @@ Module ptr. end. Global Instance Instance_IsFunction_with_exposed_provenance_mut : - M.IsFunction.Trait "core::ptr::with_exposed_provenance_mut" with_exposed_provenance_mut. + M.IsFunction.C "core::ptr::with_exposed_provenance_mut" with_exposed_provenance_mut. Admitted. Global Typeclasses Opaque with_exposed_provenance_mut. @@ -260,7 +260,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_ref : M.IsFunction.Trait "core::ptr::from_ref" from_ref. + Global Instance Instance_IsFunction_from_ref : M.IsFunction.C "core::ptr::from_ref" from_ref. Admitted. Global Typeclasses Opaque from_ref. @@ -278,7 +278,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_from_mut : M.IsFunction.Trait "core::ptr::from_mut" from_mut. + Global Instance Instance_IsFunction_from_mut : M.IsFunction.C "core::ptr::from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -306,7 +306,7 @@ Module ptr. end. Global Instance Instance_IsFunction_slice_from_raw_parts : - M.IsFunction.Trait "core::ptr::slice_from_raw_parts" slice_from_raw_parts. + M.IsFunction.C "core::ptr::slice_from_raw_parts" slice_from_raw_parts. Admitted. Global Typeclasses Opaque slice_from_raw_parts. @@ -334,7 +334,7 @@ Module ptr. end. Global Instance Instance_IsFunction_slice_from_raw_parts_mut : - M.IsFunction.Trait "core::ptr::slice_from_raw_parts_mut" slice_from_raw_parts_mut. + M.IsFunction.C "core::ptr::slice_from_raw_parts_mut" slice_from_raw_parts_mut. Admitted. Global Typeclasses Opaque slice_from_raw_parts_mut. @@ -435,7 +435,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_swap : M.IsFunction.Trait "core::ptr::swap" swap. + Global Instance Instance_IsFunction_swap : M.IsFunction.C "core::ptr::swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -904,7 +904,7 @@ Module ptr. end. Global Instance Instance_IsFunction_swap_nonoverlapping : - M.IsFunction.Trait "core::ptr::swap_nonoverlapping" swap_nonoverlapping. + M.IsFunction.C "core::ptr::swap_nonoverlapping" swap_nonoverlapping. Admitted. Global Typeclasses Opaque swap_nonoverlapping. @@ -1141,7 +1141,7 @@ Module ptr. end. Global Instance Instance_IsFunction_swap_nonoverlapping_simple_untyped : - M.IsFunction.Trait + M.IsFunction.C "core::ptr::swap_nonoverlapping_simple_untyped" swap_nonoverlapping_simple_untyped. Admitted. @@ -1205,7 +1205,12 @@ Module ptr. M.get_function (| "core::mem::align_of", [], [ T ] |), [] |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) ] |) |) in @@ -1230,7 +1235,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_replace : M.IsFunction.Trait "core::ptr::replace" replace. + Global Instance Instance_IsFunction_replace : M.IsFunction.C "core::ptr::replace" replace. Admitted. Global Typeclasses Opaque replace. @@ -1315,7 +1320,12 @@ Module ptr. M.get_function (| "core::mem::align_of", [], [ T ] |), [] |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) ] |) |) in @@ -1334,7 +1344,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_read : M.IsFunction.Trait "core::ptr::read" read. + Global Instance Instance_IsFunction_read : M.IsFunction.C "core::ptr::read" read. Admitted. Global Typeclasses Opaque read. @@ -1416,7 +1426,7 @@ Module ptr. end. Global Instance Instance_IsFunction_read_unaligned : - M.IsFunction.Trait "core::ptr::read_unaligned" read_unaligned. + M.IsFunction.C "core::ptr::read_unaligned" read_unaligned. Admitted. Global Typeclasses Opaque read_unaligned. @@ -1486,7 +1496,12 @@ Module ptr. M.get_function (| "core::mem::align_of", [], [ T ] |), [] |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) ] |) |) in @@ -1505,7 +1520,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_write : M.IsFunction.Trait "core::ptr::write" write. + Global Instance Instance_IsFunction_write : M.IsFunction.C "core::ptr::write" write. Admitted. Global Typeclasses Opaque write. @@ -1560,7 +1575,7 @@ Module ptr. end. Global Instance Instance_IsFunction_write_unaligned : - M.IsFunction.Trait "core::ptr::write_unaligned" write_unaligned. + M.IsFunction.C "core::ptr::write_unaligned" write_unaligned. Admitted. Global Typeclasses Opaque write_unaligned. @@ -1622,7 +1637,12 @@ Module ptr. M.get_function (| "core::mem::align_of", [], [ T ] |), [] |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) ] |) |) in @@ -1642,7 +1662,7 @@ Module ptr. end. Global Instance Instance_IsFunction_read_volatile : - M.IsFunction.Trait "core::ptr::read_volatile" read_volatile. + M.IsFunction.C "core::ptr::read_volatile" read_volatile. Admitted. Global Typeclasses Opaque read_volatile. @@ -1705,7 +1725,12 @@ Module ptr. M.get_function (| "core::mem::align_of", [], [ T ] |), [] |); - M.read (| M.get_constant "core::mem::SizedTypeProperties::IS_ZST" |) + M.read (| + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) + |) ] |) |) in @@ -1727,7 +1752,7 @@ Module ptr. end. Global Instance Instance_IsFunction_write_volatile : - M.IsFunction.Trait "core::ptr::write_volatile" write_volatile. + M.IsFunction.C "core::ptr::write_volatile" write_volatile. Admitted. Global Typeclasses Opaque write_volatile. @@ -1985,7 +2010,13 @@ Module ptr. Value.Bool true |) in M.alloc (| Value.Integer IntegerKind.Usize 0 |))); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |))) ] |) |) @@ -2110,7 +2141,13 @@ Module ptr. [ M.read (| byte_offset |); M.read (| stride |) ] |) |))); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |))) ] |) |) @@ -2303,14 +2340,14 @@ Module ptr. fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) ] |) in - M.get_constant "core::num::MAX" + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |) |))) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_align_offset : - M.IsFunction.Trait "core::ptr::align_offset" align_offset. + M.IsFunction.C "core::ptr::align_offset" align_offset. Admitted. Global Typeclasses Opaque align_offset. @@ -2379,13 +2416,22 @@ Module ptr. (Ty.path "usize") (M.read (| M.SubPointer.get_array_field (| - M.get_constant "core::ptr::align_offset::mod_inv::INV_TABLE_MOD_16", + get_constant (| + "core::ptr::align_offset::mod_inv::INV_TABLE_MOD_16", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 8 ] + [ Ty.path "u8" ] + |), BinOp.Wrap.shr (| BinOp.bit_and (M.read (| x |)) (BinOp.Wrap.sub (| M.read (| - M.get_constant "core::ptr::align_offset::mod_inv::INV_TABLE_MOD" + get_constant (| + "core::ptr::align_offset::mod_inv::INV_TABLE_MOD", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |)), @@ -2395,7 +2441,12 @@ Module ptr. |)) |) in let~ mod_gate : Ty.path "usize" := - M.copy (| M.get_constant "core::ptr::align_offset::mod_inv::INV_TABLE_MOD" |) in + M.copy (| + get_constant (| + "core::ptr::align_offset::mod_inv::INV_TABLE_MOD", + Ty.path "usize" + |) + |) in let~ _ : Ty.tuple [] := M.loop (| Ty.tuple [], @@ -2504,39 +2555,39 @@ Module ptr. end. Global Instance Instance_IsFunction_mod_inv : - M.IsFunction.Trait "core::ptr::align_offset::mod_inv" mod_inv. + M.IsFunction.C "core::ptr::align_offset::mod_inv" mod_inv. Admitted. Global Typeclasses Opaque mod_inv. Module mod_inv. - Definition value_INV_TABLE_MOD_16 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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_16 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_INV_TABLE_MOD_16 : - (M.get_constant "core::ptr::align_offset::mod_inv::INV_TABLE_MOD_16") = - value_INV_TABLE_MOD_16. - Global Hint Rewrite Constant_value_INV_TABLE_MOD_16 : constant_rewrites. + Global Instance Instance_IsConstant_value_INV_TABLE_MOD_16 : + M.IsFunction.C "core::ptr::align_offset::mod_inv::INV_TABLE_MOD_16" value_INV_TABLE_MOD_16. + Admitted. + Global Typeclasses Opaque value_INV_TABLE_MOD_16. - Definition value_INV_TABLE_MOD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_INV_TABLE_MOD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_INV_TABLE_MOD : - (M.get_constant "core::ptr::align_offset::mod_inv::INV_TABLE_MOD") = value_INV_TABLE_MOD. - Global Hint Rewrite Constant_value_INV_TABLE_MOD : constant_rewrites. + Global Instance Instance_IsConstant_value_INV_TABLE_MOD : + M.IsFunction.C "core::ptr::align_offset::mod_inv::INV_TABLE_MOD" value_INV_TABLE_MOD. + Admitted. + Global Typeclasses Opaque value_INV_TABLE_MOD. End mod_inv. End align_offset. @@ -2555,7 +2606,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_eq : M.IsFunction.Trait "core::ptr::eq" eq. + Global Instance Instance_IsFunction_eq : M.IsFunction.C "core::ptr::eq" eq. Admitted. Global Typeclasses Opaque eq. @@ -2577,7 +2628,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_addr_eq : M.IsFunction.Trait "core::ptr::addr_eq" addr_eq. + Global Instance Instance_IsFunction_addr_eq : M.IsFunction.C "core::ptr::addr_eq" addr_eq. Admitted. Global Typeclasses Opaque addr_eq. @@ -2608,7 +2659,7 @@ Module ptr. end. Global Instance Instance_IsFunction_fn_addr_eq : - M.IsFunction.Trait "core::ptr::fn_addr_eq" fn_addr_eq. + M.IsFunction.C "core::ptr::fn_addr_eq" fn_addr_eq. Admitted. Global Typeclasses Opaque fn_addr_eq. @@ -2649,7 +2700,7 @@ Module ptr. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_hash : M.IsFunction.Trait "core::ptr::hash" hash. + Global Instance Instance_IsFunction_hash : M.IsFunction.C "core::ptr::hash" hash. Admitted. Global Typeclasses Opaque hash. diff --git a/CoqOfRust/core/ptr/mut_ptr.v b/CoqOfRust/core/ptr/mut_ptr.v index 1684b4d67..efca86864 100644 --- a/CoqOfRust/core/ptr/mut_ptr.v +++ b/CoqOfRust/core/ptr/mut_ptr.v @@ -43,7 +43,7 @@ Module ptr. Global Instance AssociatedFunction_is_null : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_null" (is_null T). + M.IsAssociatedFunction.C (Self T) "is_null" (is_null T). Admitted. Global Typeclasses Opaque is_null. @@ -64,7 +64,7 @@ Module ptr. Global Instance AssociatedFunction_cast : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cast" (cast T). + M.IsAssociatedFunction.C (Self T) "cast" (cast T). Admitted. Global Typeclasses Opaque cast. @@ -109,7 +109,7 @@ Module ptr. Global Instance AssociatedFunction_with_metadata_of : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_metadata_of" (with_metadata_of T). + M.IsAssociatedFunction.C (Self T) "with_metadata_of" (with_metadata_of T). Admitted. Global Typeclasses Opaque with_metadata_of. @@ -132,7 +132,7 @@ Module ptr. Global Instance AssociatedFunction_cast_const : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cast_const" (cast_const T). + M.IsAssociatedFunction.C (Self T) "cast_const" (cast_const T). Admitted. Global Typeclasses Opaque cast_const. @@ -177,7 +177,7 @@ Module ptr. Global Instance AssociatedFunction_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "addr" (addr T). + M.IsAssociatedFunction.C (Self T) "addr" (addr T). Admitted. Global Typeclasses Opaque addr. @@ -214,7 +214,7 @@ Module ptr. Global Instance AssociatedFunction_expose_provenance : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "expose_provenance" (expose_provenance T). + M.IsAssociatedFunction.C (Self T) "expose_provenance" (expose_provenance T). Admitted. Global Typeclasses Opaque expose_provenance. @@ -280,7 +280,7 @@ Module ptr. Global Instance AssociatedFunction_with_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_addr" (with_addr T). + M.IsAssociatedFunction.C (Self T) "with_addr" (with_addr T). Admitted. Global Typeclasses Opaque with_addr. @@ -341,7 +341,7 @@ Module ptr. Global Instance AssociatedFunction_map_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_addr" (map_addr T). + M.IsAssociatedFunction.C (Self T) "map_addr" (map_addr T). Admitted. Global Typeclasses Opaque map_addr. @@ -384,7 +384,7 @@ Module ptr. Global Instance AssociatedFunction_to_raw_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "to_raw_parts" (to_raw_parts T). + M.IsAssociatedFunction.C (Self T) "to_raw_parts" (to_raw_parts T). Admitted. Global Typeclasses Opaque to_raw_parts. @@ -450,7 +450,7 @@ Module ptr. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -480,7 +480,7 @@ Module ptr. Global Instance AssociatedFunction_as_ref_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref_unchecked" (as_ref_unchecked T). + M.IsAssociatedFunction.C (Self T) "as_ref_unchecked" (as_ref_unchecked T). Admitted. Global Typeclasses Opaque as_ref_unchecked. @@ -574,7 +574,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_ref" (as_uninit_ref T). + M.IsAssociatedFunction.C (Self T) "as_uninit_ref" (as_uninit_ref T). Admitted. Global Typeclasses Opaque as_uninit_ref. @@ -689,7 +689,7 @@ Module ptr. Global Instance AssociatedFunction_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "offset" (offset T). + M.IsAssociatedFunction.C (Self T) "offset" (offset T). Admitted. Global Typeclasses Opaque offset. @@ -745,7 +745,7 @@ Module ptr. Global Instance AssociatedFunction_byte_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_offset" (byte_offset T). + M.IsAssociatedFunction.C (Self T) "byte_offset" (byte_offset T). Admitted. Global Typeclasses Opaque byte_offset. @@ -783,7 +783,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_offset" (wrapping_offset T). + M.IsAssociatedFunction.C (Self T) "wrapping_offset" (wrapping_offset T). Admitted. Global Typeclasses Opaque wrapping_offset. @@ -843,7 +843,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_byte_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_byte_offset" (wrapping_byte_offset T). + M.IsAssociatedFunction.C (Self T) "wrapping_byte_offset" (wrapping_byte_offset T). Admitted. Global Typeclasses Opaque wrapping_byte_offset. @@ -906,7 +906,7 @@ Module ptr. Global Instance AssociatedFunction_mask : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "mask" (mask T). + M.IsAssociatedFunction.C (Self T) "mask" (mask T). Admitted. Global Typeclasses Opaque mask. @@ -972,7 +972,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut" (as_mut T). + M.IsAssociatedFunction.C (Self T) "as_mut" (as_mut T). Admitted. Global Typeclasses Opaque as_mut. @@ -1014,7 +1014,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_unchecked" (as_mut_unchecked T). + M.IsAssociatedFunction.C (Self T) "as_mut_unchecked" (as_mut_unchecked T). Admitted. Global Typeclasses Opaque as_mut_unchecked. @@ -1113,7 +1113,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_mut" (as_uninit_mut T). + M.IsAssociatedFunction.C (Self T) "as_uninit_mut" (as_uninit_mut T). Admitted. Global Typeclasses Opaque as_uninit_mut. @@ -1159,7 +1159,7 @@ Module ptr. Global Instance AssociatedFunction_guaranteed_eq : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "guaranteed_eq" (guaranteed_eq T). + M.IsAssociatedFunction.C (Self T) "guaranteed_eq" (guaranteed_eq T). Admitted. Global Typeclasses Opaque guaranteed_eq. @@ -1205,7 +1205,7 @@ Module ptr. Global Instance AssociatedFunction_guaranteed_ne : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "guaranteed_ne" (guaranteed_ne T). + M.IsAssociatedFunction.C (Self T) "guaranteed_ne" (guaranteed_ne T). Admitted. Global Typeclasses Opaque guaranteed_ne. @@ -1245,7 +1245,7 @@ Module ptr. Global Instance AssociatedFunction_offset_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "offset_from" (offset_from T). + M.IsAssociatedFunction.C (Self T) "offset_from" (offset_from T). Admitted. Global Typeclasses Opaque offset_from. @@ -1303,7 +1303,7 @@ Module ptr. Global Instance AssociatedFunction_byte_offset_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_offset_from" (byte_offset_from T). + M.IsAssociatedFunction.C (Self T) "byte_offset_from" (byte_offset_from T). Admitted. Global Typeclasses Opaque byte_offset_from. @@ -1343,7 +1343,7 @@ Module ptr. Global Instance AssociatedFunction_sub_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sub_ptr" (sub_ptr T). + M.IsAssociatedFunction.C (Self T) "sub_ptr" (sub_ptr T). Admitted. Global Typeclasses Opaque sub_ptr. @@ -1385,7 +1385,7 @@ Module ptr. Global Instance AssociatedFunction_byte_sub_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_sub_ptr" (byte_sub_ptr T). + M.IsAssociatedFunction.C (Self T) "byte_sub_ptr" (byte_sub_ptr T). Admitted. Global Typeclasses Opaque byte_sub_ptr. @@ -1497,7 +1497,7 @@ Module ptr. Global Instance AssociatedFunction_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "add" (add T). + M.IsAssociatedFunction.C (Self T) "add" (add T). Admitted. Global Typeclasses Opaque add. @@ -1553,7 +1553,7 @@ Module ptr. Global Instance AssociatedFunction_byte_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_add" (byte_add T). + M.IsAssociatedFunction.C (Self T) "byte_add" (byte_add T). Admitted. Global Typeclasses Opaque byte_add. @@ -1660,7 +1660,12 @@ Module ptr. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1698,7 +1703,7 @@ Module ptr. Global Instance AssociatedFunction_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sub" (sub T). + M.IsAssociatedFunction.C (Self T) "sub" (sub T). Admitted. Global Typeclasses Opaque sub. @@ -1754,7 +1759,7 @@ Module ptr. Global Instance AssociatedFunction_byte_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_sub" (byte_sub T). + M.IsAssociatedFunction.C (Self T) "byte_sub" (byte_sub T). Admitted. Global Typeclasses Opaque byte_sub. @@ -1793,7 +1798,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_add" (wrapping_add T). + M.IsAssociatedFunction.C (Self T) "wrapping_add" (wrapping_add T). Admitted. Global Typeclasses Opaque wrapping_add. @@ -1853,7 +1858,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_byte_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_byte_add" (wrapping_byte_add T). + M.IsAssociatedFunction.C (Self T) "wrapping_byte_add" (wrapping_byte_add T). Admitted. Global Typeclasses Opaque wrapping_byte_add. @@ -1899,7 +1904,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_sub" (wrapping_sub T). + M.IsAssociatedFunction.C (Self T) "wrapping_sub" (wrapping_sub T). Admitted. Global Typeclasses Opaque wrapping_sub. @@ -1959,7 +1964,7 @@ Module ptr. Global Instance AssociatedFunction_wrapping_byte_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "wrapping_byte_sub" (wrapping_byte_sub T). + M.IsAssociatedFunction.C (Self T) "wrapping_byte_sub" (wrapping_byte_sub T). Admitted. Global Typeclasses Opaque wrapping_byte_sub. @@ -1988,7 +1993,7 @@ Module ptr. Global Instance AssociatedFunction_read : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read" (read T). + M.IsAssociatedFunction.C (Self T) "read" (read T). Admitted. Global Typeclasses Opaque read. @@ -2022,7 +2027,7 @@ Module ptr. Global Instance AssociatedFunction_read_volatile : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read_volatile" (read_volatile T). + M.IsAssociatedFunction.C (Self T) "read_volatile" (read_volatile T). Admitted. Global Typeclasses Opaque read_volatile. @@ -2056,7 +2061,7 @@ Module ptr. Global Instance AssociatedFunction_read_unaligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read_unaligned" (read_unaligned T). + M.IsAssociatedFunction.C (Self T) "read_unaligned" (read_unaligned T). Admitted. Global Typeclasses Opaque read_unaligned. @@ -2091,7 +2096,7 @@ Module ptr. Global Instance AssociatedFunction_copy_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_to" (copy_to T). + M.IsAssociatedFunction.C (Self T) "copy_to" (copy_to T). Admitted. Global Typeclasses Opaque copy_to. @@ -2131,7 +2136,7 @@ Module ptr. Global Instance AssociatedFunction_copy_to_nonoverlapping : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_to_nonoverlapping" (copy_to_nonoverlapping T). + M.IsAssociatedFunction.C (Self T) "copy_to_nonoverlapping" (copy_to_nonoverlapping T). Admitted. Global Typeclasses Opaque copy_to_nonoverlapping. @@ -2162,7 +2167,7 @@ Module ptr. Global Instance AssociatedFunction_copy_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_from" (copy_from T). + M.IsAssociatedFunction.C (Self T) "copy_from" (copy_from T). Admitted. Global Typeclasses Opaque copy_from. @@ -2198,10 +2203,7 @@ Module ptr. Global Instance AssociatedFunction_copy_from_nonoverlapping : forall (T : Ty.t), - M.IsAssociatedFunction.Trait - (Self T) - "copy_from_nonoverlapping" - (copy_from_nonoverlapping T). + M.IsAssociatedFunction.C (Self T) "copy_from_nonoverlapping" (copy_from_nonoverlapping T). Admitted. Global Typeclasses Opaque copy_from_nonoverlapping. @@ -2232,7 +2234,7 @@ Module ptr. Global Instance AssociatedFunction_drop_in_place : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "drop_in_place" (drop_in_place T). + M.IsAssociatedFunction.C (Self T) "drop_in_place" (drop_in_place T). Admitted. Global Typeclasses Opaque drop_in_place. @@ -2262,7 +2264,7 @@ Module ptr. Global Instance AssociatedFunction_write : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write" (write T). + M.IsAssociatedFunction.C (Self T) "write" (write T). Admitted. Global Typeclasses Opaque write. @@ -2293,7 +2295,7 @@ Module ptr. Global Instance AssociatedFunction_write_bytes : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write_bytes" (write_bytes T). + M.IsAssociatedFunction.C (Self T) "write_bytes" (write_bytes T). Admitted. Global Typeclasses Opaque write_bytes. @@ -2328,7 +2330,7 @@ Module ptr. Global Instance AssociatedFunction_write_volatile : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write_volatile" (write_volatile T). + M.IsAssociatedFunction.C (Self T) "write_volatile" (write_volatile T). Admitted. Global Typeclasses Opaque write_volatile. @@ -2363,7 +2365,7 @@ Module ptr. Global Instance AssociatedFunction_write_unaligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write_unaligned" (write_unaligned T). + M.IsAssociatedFunction.C (Self T) "write_unaligned" (write_unaligned T). Admitted. Global Typeclasses Opaque write_unaligned. @@ -2393,7 +2395,7 @@ Module ptr. Global Instance AssociatedFunction_replace : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "replace" (replace T). + M.IsAssociatedFunction.C (Self T) "replace" (replace T). Admitted. Global Typeclasses Opaque replace. @@ -2423,7 +2425,7 @@ Module ptr. Global Instance AssociatedFunction_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap" (swap T). + M.IsAssociatedFunction.C (Self T) "swap" (swap T). Admitted. Global Typeclasses Opaque swap. @@ -2547,7 +2549,7 @@ Module ptr. Global Instance AssociatedFunction_align_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "align_offset" (align_offset T). + M.IsAssociatedFunction.C (Self T) "align_offset" (align_offset T). Admitted. Global Typeclasses Opaque align_offset. @@ -2587,7 +2589,7 @@ Module ptr. Global Instance AssociatedFunction_is_aligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_aligned" (is_aligned T). + M.IsAssociatedFunction.C (Self T) "is_aligned" (is_aligned T). Admitted. Global Typeclasses Opaque is_aligned. @@ -2701,7 +2703,7 @@ Module ptr. Global Instance AssociatedFunction_is_aligned_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_aligned_to" (is_aligned_to T). + M.IsAssociatedFunction.C (Self T) "is_aligned_to" (is_aligned_to T). Admitted. Global Typeclasses Opaque is_aligned_to. End Impl_pointer_mut_T. @@ -2735,7 +2737,7 @@ Module ptr. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. @@ -2768,7 +2770,7 @@ Module ptr. Global Instance AssociatedFunction_is_empty : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_empty" (is_empty T). + M.IsAssociatedFunction.C (Self T) "is_empty" (is_empty T). Admitted. Global Typeclasses Opaque is_empty. @@ -2821,7 +2823,12 @@ Module ptr. |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::ptr::mut_ptr::as_mut_array::N" |) + M.read (| + get_constant (| + "core::ptr::mut_ptr::as_mut_array::N", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2861,7 +2868,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut_array : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_array" (as_mut_array T). + M.IsAssociatedFunction.C (Self T) "as_mut_array" (as_mut_array T). Admitted. Global Typeclasses Opaque as_mut_array. @@ -2951,7 +2958,7 @@ Module ptr. Global Instance AssociatedFunction_split_at_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_mut" (split_at_mut T). + M.IsAssociatedFunction.C (Self T) "split_at_mut" (split_at_mut T). Admitted. Global Typeclasses Opaque split_at_mut. @@ -3041,7 +3048,7 @@ Module ptr. Global Instance AssociatedFunction_split_at_mut_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_mut_unchecked" (split_at_mut_unchecked T). + M.IsAssociatedFunction.C (Self T) "split_at_mut_unchecked" (split_at_mut_unchecked T). Admitted. Global Typeclasses Opaque split_at_mut_unchecked. @@ -3062,7 +3069,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_ptr" (as_mut_ptr T). + M.IsAssociatedFunction.C (Self T) "as_mut_ptr" (as_mut_ptr T). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -3115,7 +3122,7 @@ Module ptr. Global Instance AssociatedFunction_get_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_unchecked_mut" (get_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "get_unchecked_mut" (get_unchecked_mut T). Admitted. Global Typeclasses Opaque get_unchecked_mut. @@ -3253,7 +3260,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_slice" (as_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "as_uninit_slice" (as_uninit_slice T). Admitted. Global Typeclasses Opaque as_uninit_slice. @@ -3396,7 +3403,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_slice_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_slice_mut" (as_uninit_slice_mut T). + M.IsAssociatedFunction.C (Self T) "as_uninit_slice_mut" (as_uninit_slice_mut T). Admitted. Global Typeclasses Opaque as_uninit_slice_mut. End Impl_pointer_mut_slice_T. @@ -3428,7 +3435,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut_ptr : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_mut_ptr" (as_mut_ptr N T). + M.IsAssociatedFunction.C (Self N T) "as_mut_ptr" (as_mut_ptr N T). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -3455,7 +3462,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut_slice : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_mut_slice" (as_mut_slice N T). + M.IsAssociatedFunction.C (Self N T) "as_mut_slice" (as_mut_slice N T). Admitted. Global Typeclasses Opaque as_mut_slice. End Impl_pointer_mut_array_N_T. diff --git a/CoqOfRust/core/ptr/non_null.v b/CoqOfRust/core/ptr/non_null.v index af61b31d0..6e68a4bed 100644 --- a/CoqOfRust/core/ptr/non_null.v +++ b/CoqOfRust/core/ptr/non_null.v @@ -84,7 +84,7 @@ Module ptr. Global Instance AssociatedFunction_dangling : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "dangling" (dangling T). + M.IsAssociatedFunction.C (Self T) "dangling" (dangling T). Admitted. Global Typeclasses Opaque dangling. @@ -151,7 +151,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_ref" (as_uninit_ref T). + M.IsAssociatedFunction.C (Self T) "as_uninit_ref" (as_uninit_ref T). Admitted. Global Typeclasses Opaque as_uninit_ref. @@ -244,7 +244,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_mut" (as_uninit_mut T). + M.IsAssociatedFunction.C (Self T) "as_uninit_mut" (as_uninit_mut T). Admitted. Global Typeclasses Opaque as_uninit_mut. (* @@ -327,7 +327,7 @@ Module ptr. Global Instance AssociatedFunction_new_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_unchecked" (new_unchecked T). + M.IsAssociatedFunction.C (Self T) "new_unchecked" (new_unchecked T). Admitted. Global Typeclasses Opaque new_unchecked. @@ -402,7 +402,7 @@ Module ptr. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -434,7 +434,7 @@ Module ptr. Global Instance AssociatedFunction_from_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_ref" (from_ref T). + M.IsAssociatedFunction.C (Self T) "from_ref" (from_ref T). Admitted. Global Typeclasses Opaque from_ref. @@ -468,7 +468,7 @@ Module ptr. Global Instance AssociatedFunction_from_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut" (from_mut T). + M.IsAssociatedFunction.C (Self T) "from_mut" (from_mut T). Admitted. Global Typeclasses Opaque from_mut. @@ -532,7 +532,7 @@ Module ptr. Global Instance AssociatedFunction_from_raw_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_raw_parts" (from_raw_parts T). + M.IsAssociatedFunction.C (Self T) "from_raw_parts" (from_raw_parts T). Admitted. Global Typeclasses Opaque from_raw_parts. @@ -588,7 +588,7 @@ Module ptr. Global Instance AssociatedFunction_to_raw_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "to_raw_parts" (to_raw_parts T). + M.IsAssociatedFunction.C (Self T) "to_raw_parts" (to_raw_parts T). Admitted. Global Typeclasses Opaque to_raw_parts. @@ -642,7 +642,7 @@ Module ptr. Global Instance AssociatedFunction_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "addr" (addr T). + M.IsAssociatedFunction.C (Self T) "addr" (addr T). Admitted. Global Typeclasses Opaque addr. @@ -708,7 +708,7 @@ Module ptr. Global Instance AssociatedFunction_with_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "with_addr" (with_addr T). + M.IsAssociatedFunction.C (Self T) "with_addr" (with_addr T). Admitted. Global Typeclasses Opaque with_addr. @@ -772,7 +772,7 @@ Module ptr. Global Instance AssociatedFunction_map_addr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map_addr" (map_addr T). + M.IsAssociatedFunction.C (Self T) "map_addr" (map_addr T). Admitted. Global Typeclasses Opaque map_addr. @@ -809,7 +809,7 @@ Module ptr. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -863,7 +863,7 @@ Module ptr. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -915,7 +915,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut" (as_mut T). + M.IsAssociatedFunction.C (Self T) "as_mut" (as_mut T). Admitted. Global Typeclasses Opaque as_mut. @@ -955,7 +955,7 @@ Module ptr. Global Instance AssociatedFunction_cast : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cast" (cast T). + M.IsAssociatedFunction.C (Self T) "cast" (cast T). Admitted. Global Typeclasses Opaque cast. @@ -1011,7 +1011,7 @@ Module ptr. Global Instance AssociatedFunction_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "offset" (offset T). + M.IsAssociatedFunction.C (Self T) "offset" (offset T). Admitted. Global Typeclasses Opaque offset. @@ -1066,7 +1066,7 @@ Module ptr. Global Instance AssociatedFunction_byte_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_offset" (byte_offset T). + M.IsAssociatedFunction.C (Self T) "byte_offset" (byte_offset T). Admitted. Global Typeclasses Opaque byte_offset. @@ -1122,7 +1122,7 @@ Module ptr. Global Instance AssociatedFunction_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "add" (add T). + M.IsAssociatedFunction.C (Self T) "add" (add T). Admitted. Global Typeclasses Opaque add. @@ -1177,7 +1177,7 @@ Module ptr. Global Instance AssociatedFunction_byte_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_add" (byte_add T). + M.IsAssociatedFunction.C (Self T) "byte_add" (byte_add T). Admitted. Global Typeclasses Opaque byte_add. @@ -1211,7 +1211,12 @@ Module ptr. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in self)); fun γ => @@ -1248,7 +1253,7 @@ Module ptr. Global Instance AssociatedFunction_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sub" (sub T). + M.IsAssociatedFunction.C (Self T) "sub" (sub T). Admitted. Global Typeclasses Opaque sub. @@ -1303,7 +1308,7 @@ Module ptr. Global Instance AssociatedFunction_byte_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_sub" (byte_sub T). + M.IsAssociatedFunction.C (Self T) "byte_sub" (byte_sub T). Admitted. Global Typeclasses Opaque byte_sub. @@ -1361,7 +1366,7 @@ Module ptr. Global Instance AssociatedFunction_offset_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "offset_from" (offset_from T). + M.IsAssociatedFunction.C (Self T) "offset_from" (offset_from T). Admitted. Global Typeclasses Opaque offset_from. @@ -1421,7 +1426,7 @@ Module ptr. Global Instance AssociatedFunction_byte_offset_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_offset_from" (byte_offset_from T). + M.IsAssociatedFunction.C (Self T) "byte_offset_from" (byte_offset_from T). Admitted. Global Typeclasses Opaque byte_offset_from. @@ -1474,7 +1479,7 @@ Module ptr. Global Instance AssociatedFunction_sub_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sub_ptr" (sub_ptr T). + M.IsAssociatedFunction.C (Self T) "sub_ptr" (sub_ptr T). Admitted. Global Typeclasses Opaque sub_ptr. @@ -1532,7 +1537,7 @@ Module ptr. Global Instance AssociatedFunction_byte_sub_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "byte_sub_ptr" (byte_sub_ptr T). + M.IsAssociatedFunction.C (Self T) "byte_sub_ptr" (byte_sub_ptr T). Admitted. Global Typeclasses Opaque byte_sub_ptr. @@ -1574,7 +1579,7 @@ Module ptr. Global Instance AssociatedFunction_read : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read" (read T). + M.IsAssociatedFunction.C (Self T) "read" (read T). Admitted. Global Typeclasses Opaque read. @@ -1621,7 +1626,7 @@ Module ptr. Global Instance AssociatedFunction_read_volatile : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read_volatile" (read_volatile T). + M.IsAssociatedFunction.C (Self T) "read_volatile" (read_volatile T). Admitted. Global Typeclasses Opaque read_volatile. @@ -1668,7 +1673,7 @@ Module ptr. Global Instance AssociatedFunction_read_unaligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "read_unaligned" (read_unaligned T). + M.IsAssociatedFunction.C (Self T) "read_unaligned" (read_unaligned T). Admitted. Global Typeclasses Opaque read_unaligned. @@ -1723,7 +1728,7 @@ Module ptr. Global Instance AssociatedFunction_copy_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_to" (copy_to T). + M.IsAssociatedFunction.C (Self T) "copy_to" (copy_to T). Admitted. Global Typeclasses Opaque copy_to. @@ -1783,7 +1788,7 @@ Module ptr. Global Instance AssociatedFunction_copy_to_nonoverlapping : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_to_nonoverlapping" (copy_to_nonoverlapping T). + M.IsAssociatedFunction.C (Self T) "copy_to_nonoverlapping" (copy_to_nonoverlapping T). Admitted. Global Typeclasses Opaque copy_to_nonoverlapping. @@ -1838,7 +1843,7 @@ Module ptr. Global Instance AssociatedFunction_copy_from : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_from" (copy_from T). + M.IsAssociatedFunction.C (Self T) "copy_from" (copy_from T). Admitted. Global Typeclasses Opaque copy_from. @@ -1898,10 +1903,7 @@ Module ptr. Global Instance AssociatedFunction_copy_from_nonoverlapping : forall (T : Ty.t), - M.IsAssociatedFunction.Trait - (Self T) - "copy_from_nonoverlapping" - (copy_from_nonoverlapping T). + M.IsAssociatedFunction.C (Self T) "copy_from_nonoverlapping" (copy_from_nonoverlapping T). Admitted. Global Typeclasses Opaque copy_from_nonoverlapping. @@ -1943,7 +1945,7 @@ Module ptr. Global Instance AssociatedFunction_drop_in_place : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "drop_in_place" (drop_in_place T). + M.IsAssociatedFunction.C (Self T) "drop_in_place" (drop_in_place T). Admitted. Global Typeclasses Opaque drop_in_place. @@ -1985,7 +1987,7 @@ Module ptr. Global Instance AssociatedFunction_write : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write" (write T). + M.IsAssociatedFunction.C (Self T) "write" (write T). Admitted. Global Typeclasses Opaque write. @@ -2029,7 +2031,7 @@ Module ptr. Global Instance AssociatedFunction_write_bytes : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write_bytes" (write_bytes T). + M.IsAssociatedFunction.C (Self T) "write_bytes" (write_bytes T). Admitted. Global Typeclasses Opaque write_bytes. @@ -2076,7 +2078,7 @@ Module ptr. Global Instance AssociatedFunction_write_volatile : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write_volatile" (write_volatile T). + M.IsAssociatedFunction.C (Self T) "write_volatile" (write_volatile T). Admitted. Global Typeclasses Opaque write_volatile. @@ -2123,7 +2125,7 @@ Module ptr. Global Instance AssociatedFunction_write_unaligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "write_unaligned" (write_unaligned T). + M.IsAssociatedFunction.C (Self T) "write_unaligned" (write_unaligned T). Admitted. Global Typeclasses Opaque write_unaligned. @@ -2165,7 +2167,7 @@ Module ptr. Global Instance AssociatedFunction_replace : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "replace" (replace T). + M.IsAssociatedFunction.C (Self T) "replace" (replace T). Admitted. Global Typeclasses Opaque replace. @@ -2216,7 +2218,7 @@ Module ptr. Global Instance AssociatedFunction_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap" (swap T). + M.IsAssociatedFunction.C (Self T) "swap" (swap T). Admitted. Global Typeclasses Opaque swap. @@ -2340,7 +2342,7 @@ Module ptr. Global Instance AssociatedFunction_align_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "align_offset" (align_offset T). + M.IsAssociatedFunction.C (Self T) "align_offset" (align_offset T). Admitted. Global Typeclasses Opaque align_offset. @@ -2384,7 +2386,7 @@ Module ptr. Global Instance AssociatedFunction_is_aligned : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_aligned" (is_aligned T). + M.IsAssociatedFunction.C (Self T) "is_aligned" (is_aligned T). Admitted. Global Typeclasses Opaque is_aligned. @@ -2432,7 +2434,7 @@ Module ptr. Global Instance AssociatedFunction_is_aligned_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_aligned_to" (is_aligned_to T). + M.IsAssociatedFunction.C (Self T) "is_aligned_to" (is_aligned_to T). Admitted. Global Typeclasses Opaque is_aligned_to. End Impl_core_ptr_non_null_NonNull_T. @@ -2502,7 +2504,7 @@ Module ptr. Global Instance AssociatedFunction_slice_from_raw_parts : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "slice_from_raw_parts" (slice_from_raw_parts T). + M.IsAssociatedFunction.C (Self T) "slice_from_raw_parts" (slice_from_raw_parts T). Admitted. Global Typeclasses Opaque slice_from_raw_parts. @@ -2546,7 +2548,7 @@ Module ptr. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. @@ -2582,7 +2584,7 @@ Module ptr. Global Instance AssociatedFunction_is_empty : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_empty" (is_empty T). + M.IsAssociatedFunction.C (Self T) "is_empty" (is_empty T). Admitted. Global Typeclasses Opaque is_empty. @@ -2620,7 +2622,7 @@ Module ptr. Global Instance AssociatedFunction_as_non_null_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_non_null_ptr" (as_non_null_ptr T). + M.IsAssociatedFunction.C (Self T) "as_non_null_ptr" (as_non_null_ptr T). Admitted. Global Typeclasses Opaque as_non_null_ptr. @@ -2664,7 +2666,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_ptr" (as_mut_ptr T). + M.IsAssociatedFunction.C (Self T) "as_mut_ptr" (as_mut_ptr T). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -2762,7 +2764,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_slice" (as_uninit_slice T). + M.IsAssociatedFunction.C (Self T) "as_uninit_slice" (as_uninit_slice T). Admitted. Global Typeclasses Opaque as_uninit_slice. @@ -2884,7 +2886,7 @@ Module ptr. Global Instance AssociatedFunction_as_uninit_slice_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_uninit_slice_mut" (as_uninit_slice_mut T). + M.IsAssociatedFunction.C (Self T) "as_uninit_slice_mut" (as_uninit_slice_mut T). Admitted. Global Typeclasses Opaque as_uninit_slice_mut. @@ -2981,7 +2983,7 @@ Module ptr. Global Instance AssociatedFunction_get_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_unchecked_mut" (get_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "get_unchecked_mut" (get_unchecked_mut T). Admitted. Global Typeclasses Opaque get_unchecked_mut. End Impl_core_ptr_non_null_NonNull_slice_T. diff --git a/CoqOfRust/core/ptr/unique.v b/CoqOfRust/core/ptr/unique.v index cc9736360..b7ce1d2c1 100644 --- a/CoqOfRust/core/ptr/unique.v +++ b/CoqOfRust/core/ptr/unique.v @@ -76,7 +76,7 @@ Module ptr. Global Instance AssociatedFunction_dangling : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "dangling" (dangling T). + M.IsAssociatedFunction.C (Self T) "dangling" (dangling T). Admitted. Global Typeclasses Opaque dangling. (* @@ -117,7 +117,7 @@ Module ptr. Global Instance AssociatedFunction_new_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_unchecked" (new_unchecked T). + M.IsAssociatedFunction.C (Self T) "new_unchecked" (new_unchecked T). Admitted. Global Typeclasses Opaque new_unchecked. @@ -193,7 +193,7 @@ Module ptr. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -231,7 +231,7 @@ Module ptr. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -263,7 +263,7 @@ Module ptr. Global Instance AssociatedFunction_as_non_null_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_non_null_ptr" (as_non_null_ptr T). + M.IsAssociatedFunction.C (Self T) "as_non_null_ptr" (as_non_null_ptr T). Admitted. Global Typeclasses Opaque as_non_null_ptr. @@ -309,7 +309,7 @@ Module ptr. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -365,7 +365,7 @@ Module ptr. Global Instance AssociatedFunction_as_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut" (as_mut T). + M.IsAssociatedFunction.C (Self T) "as_mut" (as_mut T). Admitted. Global Typeclasses Opaque as_mut. @@ -411,7 +411,7 @@ Module ptr. Global Instance AssociatedFunction_cast : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "cast" (cast T). + M.IsAssociatedFunction.C (Self T) "cast" (cast T). Admitted. Global Typeclasses Opaque cast. End Impl_core_ptr_unique_Unique_T. diff --git a/CoqOfRust/core/range.v b/CoqOfRust/core/range.v index a1c2963a7..c5638a8c4 100644 --- a/CoqOfRust/core/range.v +++ b/CoqOfRust/core/range.v @@ -737,7 +737,7 @@ Module range. Global Instance AssociatedFunction_iter : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "iter" (iter Idx). + M.IsAssociatedFunction.C (Self Idx) "iter" (iter Idx). Admitted. Global Typeclasses Opaque iter. (* @@ -777,7 +777,7 @@ Module range. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. @@ -821,7 +821,7 @@ Module range. Global Instance AssociatedFunction_is_empty : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "is_empty" (is_empty Idx). + M.IsAssociatedFunction.C (Self Idx) "is_empty" (is_empty Idx). Admitted. Global Typeclasses Opaque is_empty. End Impl_core_range_Range_Idx. @@ -1766,7 +1766,7 @@ Module range. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. @@ -1810,7 +1810,7 @@ Module range. Global Instance AssociatedFunction_is_empty : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "is_empty" (is_empty Idx). + M.IsAssociatedFunction.C (Self Idx) "is_empty" (is_empty Idx). Admitted. Global Typeclasses Opaque is_empty. (* @@ -1856,7 +1856,7 @@ Module range. Global Instance AssociatedFunction_iter : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "iter" (iter Idx). + M.IsAssociatedFunction.C (Self Idx) "iter" (iter Idx). Admitted. Global Typeclasses Opaque iter. End Impl_core_range_RangeInclusive_Idx. @@ -1903,7 +1903,7 @@ Module range. end. Global Instance AssociatedFunction_into_slice_range : - M.IsAssociatedFunction.Trait Self "into_slice_range" into_slice_range. + M.IsAssociatedFunction.C Self "into_slice_range" into_slice_range. Admitted. Global Typeclasses Opaque into_slice_range. End Impl_core_range_RangeInclusive_usize. @@ -2763,7 +2763,7 @@ Module range. Global Instance AssociatedFunction_iter : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "iter" (iter Idx). + M.IsAssociatedFunction.C (Self Idx) "iter" (iter Idx). Admitted. Global Typeclasses Opaque iter. (* @@ -2803,7 +2803,7 @@ Module range. Global Instance AssociatedFunction_contains : forall (Idx : Ty.t), - M.IsAssociatedFunction.Trait (Self Idx) "contains" (contains Idx). + M.IsAssociatedFunction.C (Self Idx) "contains" (contains Idx). Admitted. Global Typeclasses Opaque contains. End Impl_core_range_RangeFrom_Idx. diff --git a/CoqOfRust/core/range/iter.v b/CoqOfRust/core/range/iter.v index 4dbb5311a..0a50a53bc 100644 --- a/CoqOfRust/core/range/iter.v +++ b/CoqOfRust/core/range/iter.v @@ -173,7 +173,7 @@ Module range. Global Instance AssociatedFunction_remainder : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "remainder" (remainder A). + M.IsAssociatedFunction.C (Self A) "remainder" (remainder A). Admitted. Global Typeclasses Opaque remainder. End Impl_core_range_iter_IterRange_A. @@ -197,8 +197,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -207,7 +211,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_usize. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_u8. @@ -229,8 +233,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -239,7 +247,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_u8. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_u16. @@ -261,8 +269,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -271,7 +283,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_u16. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_isize. @@ -293,8 +305,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -303,7 +319,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_isize. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_i8. @@ -325,8 +341,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -335,7 +355,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_i8. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_i16. @@ -357,8 +377,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -367,7 +391,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_i16. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_u32. @@ -389,8 +413,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -399,7 +427,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_u32. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_i32. @@ -421,8 +449,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -431,7 +463,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_i32. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_u64. @@ -453,8 +485,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -463,7 +499,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_u64. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_range_iter_IterRange_i64. @@ -485,8 +521,12 @@ Module range. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -495,7 +535,7 @@ Module range. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_range_iter_IterRange_i64. Module Impl_core_iter_traits_iterator_Iterator_where_core_iter_range_Step_A_for_core_range_iter_IterRange_A. @@ -1345,7 +1385,7 @@ Module range. Global Instance AssociatedFunction_remainder : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "remainder" (remainder A). + M.IsAssociatedFunction.C (Self A) "remainder" (remainder A). Admitted. Global Typeclasses Opaque remainder. End Impl_core_range_iter_IterRangeInclusive_A. @@ -2185,7 +2225,7 @@ Module range. Global Instance AssociatedFunction_remainder : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "remainder" (remainder A). + M.IsAssociatedFunction.C (Self A) "remainder" (remainder A). Admitted. Global Typeclasses Opaque remainder. End Impl_core_range_iter_IterRangeFrom_A. diff --git a/CoqOfRust/core/result.v b/CoqOfRust/core/result.v index 9c95e5e76..cfca5ca7d 100644 --- a/CoqOfRust/core/result.v +++ b/CoqOfRust/core/result.v @@ -802,7 +802,7 @@ Module result. Global Instance AssociatedFunction_is_ok : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "is_ok" (is_ok T E). + M.IsAssociatedFunction.C (Self T E) "is_ok" (is_ok T E). Admitted. Global Typeclasses Opaque is_ok. @@ -859,7 +859,7 @@ Module result. Global Instance AssociatedFunction_is_ok_and : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "is_ok_and" (is_ok_and T E). + M.IsAssociatedFunction.C (Self T E) "is_ok_and" (is_ok_and T E). Admitted. Global Typeclasses Opaque is_ok_and. @@ -891,7 +891,7 @@ Module result. Global Instance AssociatedFunction_is_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "is_err" (is_err T E). + M.IsAssociatedFunction.C (Self T E) "is_err" (is_err T E). Admitted. Global Typeclasses Opaque is_err. @@ -948,7 +948,7 @@ Module result. Global Instance AssociatedFunction_is_err_and : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "is_err_and" (is_err_and T E). + M.IsAssociatedFunction.C (Self T E) "is_err_and" (is_err_and T E). Admitted. Global Typeclasses Opaque is_err_and. @@ -992,7 +992,7 @@ Module result. Global Instance AssociatedFunction_ok : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "ok" (ok T E). + M.IsAssociatedFunction.C (Self T E) "ok" (ok T E). Admitted. Global Typeclasses Opaque ok. @@ -1036,7 +1036,7 @@ Module result. Global Instance AssociatedFunction_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "err" (err T E). + M.IsAssociatedFunction.C (Self T E) "err" (err T E). Admitted. Global Typeclasses Opaque err. @@ -1091,7 +1091,7 @@ Module result. Global Instance AssociatedFunction_as_ref : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "as_ref" (as_ref T E). + M.IsAssociatedFunction.C (Self T E) "as_ref" (as_ref T E). Admitted. Global Typeclasses Opaque as_ref. @@ -1146,7 +1146,7 @@ Module result. Global Instance AssociatedFunction_as_mut : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "as_mut" (as_mut T E). + M.IsAssociatedFunction.C (Self T E) "as_mut" (as_mut T E). Admitted. Global Typeclasses Opaque as_mut. @@ -1208,7 +1208,7 @@ Module result. Global Instance AssociatedFunction_map : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map" (map T E). + M.IsAssociatedFunction.C (Self T E) "map" (map T E). Admitted. Global Typeclasses Opaque map. @@ -1266,7 +1266,7 @@ Module result. Global Instance AssociatedFunction_map_or : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_or" (map_or T E). + M.IsAssociatedFunction.C (Self T E) "map_or" (map_or T E). Admitted. Global Typeclasses Opaque map_or. @@ -1339,7 +1339,7 @@ Module result. Global Instance AssociatedFunction_map_or_else : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_or_else" (map_or_else T E). + M.IsAssociatedFunction.C (Self T E) "map_or_else" (map_or_else T E). Admitted. Global Typeclasses Opaque map_or_else. @@ -1401,7 +1401,7 @@ Module result. Global Instance AssociatedFunction_map_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_err" (map_err T E). + M.IsAssociatedFunction.C (Self T E) "map_err" (map_err T E). Admitted. Global Typeclasses Opaque map_err. @@ -1468,7 +1468,7 @@ Module result. Global Instance AssociatedFunction_inspect : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "inspect" (inspect T E). + M.IsAssociatedFunction.C (Self T E) "inspect" (inspect T E). Admitted. Global Typeclasses Opaque inspect. @@ -1535,7 +1535,7 @@ Module result. Global Instance AssociatedFunction_inspect_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "inspect_err" (inspect_err T E). + M.IsAssociatedFunction.C (Self T E) "inspect_err" (inspect_err T E). Admitted. Global Typeclasses Opaque inspect_err. @@ -1652,7 +1652,7 @@ Module result. Global Instance AssociatedFunction_as_deref : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "as_deref" (as_deref T E). + M.IsAssociatedFunction.C (Self T E) "as_deref" (as_deref T E). Admitted. Global Typeclasses Opaque as_deref. @@ -1775,7 +1775,7 @@ Module result. Global Instance AssociatedFunction_as_deref_mut : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "as_deref_mut" (as_deref_mut T E). + M.IsAssociatedFunction.C (Self T E) "as_deref_mut" (as_deref_mut T E). Admitted. Global Typeclasses Opaque as_deref_mut. @@ -1827,7 +1827,7 @@ Module result. Global Instance AssociatedFunction_iter : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "iter" (iter T E). + M.IsAssociatedFunction.C (Self T E) "iter" (iter T E). Admitted. Global Typeclasses Opaque iter. @@ -1882,7 +1882,7 @@ Module result. Global Instance AssociatedFunction_iter_mut : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "iter_mut" (iter_mut T E). + M.IsAssociatedFunction.C (Self T E) "iter_mut" (iter_mut T E). Admitted. Global Typeclasses Opaque iter_mut. @@ -1943,7 +1943,7 @@ Module result. Global Instance AssociatedFunction_expect : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "expect" (expect T E). + M.IsAssociatedFunction.C (Self T E) "expect" (expect T E). Admitted. Global Typeclasses Opaque expect. @@ -2008,7 +2008,7 @@ Module result. Global Instance AssociatedFunction_unwrap : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap" (unwrap T E). + M.IsAssociatedFunction.C (Self T E) "unwrap" (unwrap T E). Admitted. Global Typeclasses Opaque unwrap. @@ -2072,7 +2072,7 @@ Module result. Global Instance AssociatedFunction_unwrap_or_default : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap_or_default" (unwrap_or_default T E). + M.IsAssociatedFunction.C (Self T E) "unwrap_or_default" (unwrap_or_default T E). Admitted. Global Typeclasses Opaque unwrap_or_default. @@ -2133,7 +2133,7 @@ Module result. Global Instance AssociatedFunction_expect_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "expect_err" (expect_err T E). + M.IsAssociatedFunction.C (Self T E) "expect_err" (expect_err T E). Admitted. Global Typeclasses Opaque expect_err. @@ -2198,7 +2198,7 @@ Module result. Global Instance AssociatedFunction_unwrap_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap_err" (unwrap_err T E). + M.IsAssociatedFunction.C (Self T E) "unwrap_err" (unwrap_err T E). Admitted. Global Typeclasses Opaque unwrap_err. @@ -2260,7 +2260,7 @@ Module result. Global Instance AssociatedFunction_into_ok : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "into_ok" (into_ok T E). + M.IsAssociatedFunction.C (Self T E) "into_ok" (into_ok T E). Admitted. Global Typeclasses Opaque into_ok. @@ -2322,7 +2322,7 @@ Module result. Global Instance AssociatedFunction_into_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "into_err" (into_err T E). + M.IsAssociatedFunction.C (Self T E) "into_err" (into_err T E). Admitted. Global Typeclasses Opaque into_err. @@ -2365,7 +2365,7 @@ Module result. Global Instance AssociatedFunction_and : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "and" (and T E). + M.IsAssociatedFunction.C (Self T E) "and" (and T E). Admitted. Global Typeclasses Opaque and. @@ -2423,7 +2423,7 @@ Module result. Global Instance AssociatedFunction_and_then : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "and_then" (and_then T E). + M.IsAssociatedFunction.C (Self T E) "and_then" (and_then T E). Admitted. Global Typeclasses Opaque and_then. @@ -2466,7 +2466,7 @@ Module result. Global Instance AssociatedFunction_or : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "or" (or T E). + M.IsAssociatedFunction.C (Self T E) "or" (or T E). Admitted. Global Typeclasses Opaque or. @@ -2524,7 +2524,7 @@ Module result. Global Instance AssociatedFunction_or_else : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "or_else" (or_else T E). + M.IsAssociatedFunction.C (Self T E) "or_else" (or_else T E). Admitted. Global Typeclasses Opaque or_else. @@ -2567,7 +2567,7 @@ Module result. Global Instance AssociatedFunction_unwrap_or : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap_or" (unwrap_or T E). + M.IsAssociatedFunction.C (Self T E) "unwrap_or" (unwrap_or T E). Admitted. Global Typeclasses Opaque unwrap_or. @@ -2630,7 +2630,7 @@ Module result. Global Instance AssociatedFunction_unwrap_or_else : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap_or_else" (unwrap_or_else T E). + M.IsAssociatedFunction.C (Self T E) "unwrap_or_else" (unwrap_or_else T E). Admitted. Global Typeclasses Opaque unwrap_or_else. @@ -2686,7 +2686,7 @@ Module result. Global Instance AssociatedFunction_unwrap_unchecked : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap_unchecked" (unwrap_unchecked T E). + M.IsAssociatedFunction.C (Self T E) "unwrap_unchecked" (unwrap_unchecked T E). Admitted. Global Typeclasses Opaque unwrap_unchecked. @@ -2742,7 +2742,7 @@ Module result. Global Instance AssociatedFunction_unwrap_err_unchecked : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "unwrap_err_unchecked" (unwrap_err_unchecked T E). + M.IsAssociatedFunction.C (Self T E) "unwrap_err_unchecked" (unwrap_err_unchecked T E). Admitted. Global Typeclasses Opaque unwrap_err_unchecked. End Impl_core_result_Result_T_E. @@ -2796,7 +2796,7 @@ Module result. Global Instance AssociatedFunction_copied : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "copied" (copied T E). + M.IsAssociatedFunction.C (Self T E) "copied" (copied T E). Admitted. Global Typeclasses Opaque copied. @@ -2861,7 +2861,7 @@ Module result. Global Instance AssociatedFunction_cloned : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "cloned" (cloned T E). + M.IsAssociatedFunction.C (Self T E) "cloned" (cloned T E). Admitted. Global Typeclasses Opaque cloned. End Impl_core_result_Result_ref__T_E. @@ -2915,7 +2915,7 @@ Module result. Global Instance AssociatedFunction_copied : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "copied" (copied T E). + M.IsAssociatedFunction.C (Self T E) "copied" (copied T E). Admitted. Global Typeclasses Opaque copied. @@ -2983,7 +2983,7 @@ Module result. Global Instance AssociatedFunction_cloned : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "cloned" (cloned T E). + M.IsAssociatedFunction.C (Self T E) "cloned" (cloned T E). Admitted. Global Typeclasses Opaque cloned. End Impl_core_result_Result_ref_mut_T_E. @@ -3059,7 +3059,7 @@ Module result. Global Instance AssociatedFunction_transpose : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "transpose" (transpose T E). + M.IsAssociatedFunction.C (Self T E) "transpose" (transpose T E). Admitted. Global Typeclasses Opaque transpose. End Impl_core_result_Result_core_option_Option_T_E. @@ -3111,7 +3111,7 @@ Module result. Global Instance AssociatedFunction_flatten : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "flatten" (flatten T E). + M.IsAssociatedFunction.C (Self T E) "flatten" (flatten T E). Admitted. Global Typeclasses Opaque flatten. End Impl_core_result_Result_core_result_Result_T_E_E. @@ -3205,7 +3205,7 @@ Module result. end. Global Instance Instance_IsFunction_unwrap_failed : - M.IsFunction.Trait "core::result::unwrap_failed" unwrap_failed. + M.IsFunction.C "core::result::unwrap_failed" unwrap_failed. Admitted. Global Typeclasses Opaque unwrap_failed. diff --git a/CoqOfRust/core/slice/ascii.v b/CoqOfRust/core/slice/ascii.v index 7322879f8..a9afb1143 100644 --- a/CoqOfRust/core/slice/ascii.v +++ b/CoqOfRust/core/slice/ascii.v @@ -25,7 +25,7 @@ Module slice. end. Global Instance AssociatedFunction_is_ascii : - M.IsAssociatedFunction.Trait Self "is_ascii" is_ascii. + M.IsAssociatedFunction.C Self "is_ascii" is_ascii. Admitted. Global Typeclasses Opaque is_ascii. @@ -120,7 +120,7 @@ Module slice. end. Global Instance AssociatedFunction_as_ascii : - M.IsAssociatedFunction.Trait Self "as_ascii" as_ascii. + M.IsAssociatedFunction.C Self "as_ascii" as_ascii. Admitted. Global Typeclasses Opaque as_ascii. @@ -178,7 +178,7 @@ Module slice. end. Global Instance AssociatedFunction_as_ascii_unchecked : - M.IsAssociatedFunction.Trait Self "as_ascii_unchecked" as_ascii_unchecked. + M.IsAssociatedFunction.C Self "as_ascii_unchecked" as_ascii_unchecked. Admitted. Global Typeclasses Opaque as_ascii_unchecked. @@ -395,7 +395,7 @@ Module slice. end. Global Instance AssociatedFunction_eq_ignore_ascii_case : - M.IsAssociatedFunction.Trait Self "eq_ignore_ascii_case" eq_ignore_ascii_case. + M.IsAssociatedFunction.C Self "eq_ignore_ascii_case" eq_ignore_ascii_case. Admitted. Global Typeclasses Opaque eq_ignore_ascii_case. @@ -509,7 +509,7 @@ Module slice. end. Global Instance AssociatedFunction_make_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "make_ascii_uppercase" make_ascii_uppercase. + M.IsAssociatedFunction.C Self "make_ascii_uppercase" make_ascii_uppercase. Admitted. Global Typeclasses Opaque make_ascii_uppercase. @@ -623,7 +623,7 @@ Module slice. end. Global Instance AssociatedFunction_make_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "make_ascii_lowercase" make_ascii_lowercase. + M.IsAssociatedFunction.C Self "make_ascii_lowercase" make_ascii_lowercase. Admitted. Global Typeclasses Opaque make_ascii_lowercase. @@ -681,7 +681,7 @@ Module slice. end. Global Instance AssociatedFunction_escape_ascii : - M.IsAssociatedFunction.Trait Self "escape_ascii" escape_ascii. + M.IsAssociatedFunction.C Self "escape_ascii" escape_ascii. Admitted. Global Typeclasses Opaque escape_ascii. @@ -791,7 +791,7 @@ Module slice. end. Global Instance AssociatedFunction_trim_ascii_start : - M.IsAssociatedFunction.Trait Self "trim_ascii_start" trim_ascii_start. + M.IsAssociatedFunction.C Self "trim_ascii_start" trim_ascii_start. Admitted. Global Typeclasses Opaque trim_ascii_start. @@ -901,7 +901,7 @@ Module slice. end. Global Instance AssociatedFunction_trim_ascii_end : - M.IsAssociatedFunction.Trait Self "trim_ascii_end" trim_ascii_end. + M.IsAssociatedFunction.C Self "trim_ascii_end" trim_ascii_end. Admitted. Global Typeclasses Opaque trim_ascii_end. @@ -953,7 +953,7 @@ Module slice. end. Global Instance AssociatedFunction_trim_ascii : - M.IsAssociatedFunction.Trait Self "trim_ascii" trim_ascii. + M.IsAssociatedFunction.C Self "trim_ascii" trim_ascii. Admitted. Global Typeclasses Opaque trim_ascii. End Impl_slice_u8. @@ -2821,7 +2821,12 @@ Module slice. (let v := M.alloc (| v |) in BinOp.ne (| BinOp.bit_and - (M.read (| M.get_constant "core::slice::ascii::contains_nonascii::NONASCII_MASK" |)) + (M.read (| + get_constant (| + "core::slice::ascii::contains_nonascii::NONASCII_MASK", + Ty.path "usize" + |) + |)) (M.read (| v |)), Value.Integer IntegerKind.Usize 0 |))) @@ -2829,26 +2834,25 @@ Module slice. end. Global Instance Instance_IsFunction_contains_nonascii : - M.IsFunction.Trait "core::slice::ascii::contains_nonascii" contains_nonascii. + M.IsFunction.C "core::slice::ascii::contains_nonascii" contains_nonascii. Admitted. Global Typeclasses Opaque contains_nonascii. Module contains_nonascii. - Definition value_NONASCII_MASK : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), - [ Value.Integer IntegerKind.U8 128 ] - |) - |))). + Definition value_NONASCII_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), + [ Value.Integer IntegerKind.U8 128 ] + |) + |))). - Axiom Constant_value_NONASCII_MASK : - (M.get_constant "core::slice::ascii::contains_nonascii::NONASCII_MASK") = - value_NONASCII_MASK. - Global Hint Rewrite Constant_value_NONASCII_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_NONASCII_MASK : + M.IsFunction.C "core::slice::ascii::contains_nonascii::NONASCII_MASK" value_NONASCII_MASK. + Admitted. + Global Typeclasses Opaque value_NONASCII_MASK. End contains_nonascii. (* @@ -2960,7 +2964,7 @@ Module slice. end. Global Instance Instance_IsFunction_is_ascii_simple : - M.IsFunction.Trait "core::slice::ascii::is_ascii_simple" is_ascii_simple. + M.IsFunction.C "core::slice::ascii::is_ascii_simple" is_ascii_simple. Admitted. Global Typeclasses Opaque is_ascii_simple. @@ -3085,26 +3089,26 @@ Module slice. end. Global Instance Instance_IsFunction_is_ascii : - M.IsFunction.Trait "core::slice::ascii::is_ascii" is_ascii. + M.IsFunction.C "core::slice::ascii::is_ascii" is_ascii. Admitted. Global Typeclasses Opaque is_ascii. Module is_ascii. Module runtime. - Definition value_USIZE_SIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), - [] - |) - |))). + Definition value_USIZE_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), + [] + |) + |))). - Axiom Constant_value_USIZE_SIZE : - (M.get_constant "core::slice::ascii::is_ascii::runtime::USIZE_SIZE") = value_USIZE_SIZE. - Global Hint Rewrite Constant_value_USIZE_SIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_USIZE_SIZE : + M.IsFunction.C "core::slice::ascii::is_ascii::runtime::USIZE_SIZE" value_USIZE_SIZE. + Admitted. + Global Typeclasses Opaque value_USIZE_SIZE. End runtime. End is_ascii. End ascii. diff --git a/CoqOfRust/core/slice/cmp.v b/CoqOfRust/core/slice/cmp.v index 2102450a4..419fb5e36 100644 --- a/CoqOfRust/core/slice/cmp.v +++ b/CoqOfRust/core/slice/cmp.v @@ -2220,7 +2220,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -2649,7 +2652,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -3078,7 +3084,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -3507,7 +3516,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -3936,7 +3948,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -4365,7 +4380,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -4794,7 +4812,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -5223,7 +5244,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -5658,7 +5682,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) @@ -6099,7 +6126,10 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| arr |) |) |); M.read (| - M.get_constant "core::slice::cmp::slice_contains::LANE_COUNT" + get_constant (| + "core::slice::cmp::slice_contains::LANE_COUNT", + Ty.path "usize" + |) |) ] |) diff --git a/CoqOfRust/core/slice/index.v b/CoqOfRust/core/slice/index.v index b5726843e..d3331c56b 100644 --- a/CoqOfRust/core/slice/index.v +++ b/CoqOfRust/core/slice/index.v @@ -166,9 +166,7 @@ Module slice. end. Global Instance Instance_IsFunction_slice_start_index_len_fail : - M.IsFunction.Trait - "core::slice::index::slice_start_index_len_fail" - slice_start_index_len_fail. + M.IsFunction.C "core::slice::index::slice_start_index_len_fail" slice_start_index_len_fail. Admitted. Global Typeclasses Opaque slice_start_index_len_fail. @@ -197,7 +195,7 @@ Module slice. end. Global Instance Instance_IsFunction_slice_end_index_len_fail : - M.IsFunction.Trait "core::slice::index::slice_end_index_len_fail" slice_end_index_len_fail. + M.IsFunction.C "core::slice::index::slice_end_index_len_fail" slice_end_index_len_fail. Admitted. Global Typeclasses Opaque slice_end_index_len_fail. @@ -226,7 +224,7 @@ Module slice. end. Global Instance Instance_IsFunction_slice_index_order_fail : - M.IsFunction.Trait "core::slice::index::slice_index_order_fail" slice_index_order_fail. + M.IsFunction.C "core::slice::index::slice_index_order_fail" slice_index_order_fail. Admitted. Global Typeclasses Opaque slice_index_order_fail. @@ -276,7 +274,7 @@ Module slice. end. Global Instance Instance_IsFunction_slice_start_index_overflow_fail : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::slice_start_index_overflow_fail" slice_start_index_overflow_fail. Admitted. @@ -328,7 +326,7 @@ Module slice. end. Global Instance Instance_IsFunction_slice_end_index_overflow_fail : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::slice_end_index_overflow_fail" slice_end_index_overflow_fail. Admitted. @@ -366,7 +364,7 @@ Module slice. end. Global Instance Instance_IsFunction_get_noubcheck : - M.IsFunction.Trait "core::slice::index::get_noubcheck" get_noubcheck. + M.IsFunction.C "core::slice::index::get_noubcheck" get_noubcheck. Admitted. Global Typeclasses Opaque get_noubcheck. @@ -402,7 +400,7 @@ Module slice. end. Global Instance Instance_IsFunction_get_mut_noubcheck : - M.IsFunction.Trait "core::slice::index::get_mut_noubcheck" get_mut_noubcheck. + M.IsFunction.C "core::slice::index::get_mut_noubcheck" get_mut_noubcheck. Admitted. Global Typeclasses Opaque get_mut_noubcheck. @@ -453,7 +451,7 @@ Module slice. end. Global Instance Instance_IsFunction_get_offset_len_noubcheck : - M.IsFunction.Trait "core::slice::index::get_offset_len_noubcheck" get_offset_len_noubcheck. + M.IsFunction.C "core::slice::index::get_offset_len_noubcheck" get_offset_len_noubcheck. Admitted. Global Typeclasses Opaque get_offset_len_noubcheck. @@ -508,7 +506,7 @@ Module slice. end. Global Instance Instance_IsFunction_get_offset_len_mut_noubcheck : - M.IsFunction.Trait + M.IsFunction.C "core::slice::index::get_offset_len_mut_noubcheck" get_offset_len_mut_noubcheck. Admitted. @@ -4571,7 +4569,13 @@ Module slice. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4661,7 +4665,13 @@ Module slice. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4844,7 +4854,13 @@ Module slice. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -4951,7 +4967,13 @@ Module slice. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -6047,8 +6069,7 @@ Module slice. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_range : - M.IsFunction.Trait "core::slice::index::range" range. + Global Instance Instance_IsFunction_range : M.IsFunction.C "core::slice::index::range" range. Admitted. Global Typeclasses Opaque range. @@ -6454,7 +6475,7 @@ Module slice. end. Global Instance Instance_IsFunction_try_range : - M.IsFunction.Trait "core::slice::index::try_range" try_range. + M.IsFunction.C "core::slice::index::try_range" try_range. Admitted. Global Typeclasses Opaque try_range. @@ -6584,7 +6605,7 @@ Module slice. end. Global Instance Instance_IsFunction_into_range_unchecked : - M.IsFunction.Trait "core::slice::index::into_range_unchecked" into_range_unchecked. + M.IsFunction.C "core::slice::index::into_range_unchecked" into_range_unchecked. Admitted. Global Typeclasses Opaque into_range_unchecked. @@ -6938,7 +6959,7 @@ Module slice. end. Global Instance Instance_IsFunction_into_range : - M.IsFunction.Trait "core::slice::index::into_range" into_range. + M.IsFunction.C "core::slice::index::into_range" into_range. Admitted. Global Typeclasses Opaque into_range. @@ -7179,7 +7200,7 @@ Module slice. end. Global Instance Instance_IsFunction_into_slice_range : - M.IsFunction.Trait "core::slice::index::into_slice_range" into_slice_range. + M.IsFunction.C "core::slice::index::into_slice_range" into_slice_range. Admitted. Global Typeclasses Opaque into_slice_range. diff --git a/CoqOfRust/core/slice/iter.v b/CoqOfRust/core/slice/iter.v index 230303546..236d17d04 100644 --- a/CoqOfRust/core/slice/iter.v +++ b/CoqOfRust/core/slice/iter.v @@ -329,7 +329,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -385,7 +389,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -420,7 +424,7 @@ Module slice. Global Instance AssociatedFunction_as_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_slice" (as_slice T). + M.IsAssociatedFunction.C (Self T) "as_slice" (as_slice T). Admitted. Global Typeclasses Opaque as_slice. End Impl_core_slice_iter_Iter_T. @@ -761,7 +765,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -815,7 +823,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -873,8 +881,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -988,7 +998,7 @@ Module slice. Global Instance AssociatedFunction_into_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_slice" (into_slice T). + M.IsAssociatedFunction.C (Self T) "into_slice" (into_slice T). Admitted. Global Typeclasses Opaque into_slice. @@ -1023,7 +1033,7 @@ Module slice. Global Instance AssociatedFunction_as_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_slice" (as_slice T). + M.IsAssociatedFunction.C (Self T) "as_slice" (as_slice T). Admitted. Global Typeclasses Opaque as_slice. @@ -1086,8 +1096,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1201,7 +1213,7 @@ Module slice. Global Instance AssociatedFunction_as_mut_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_slice" (as_mut_slice T). + M.IsAssociatedFunction.C (Self T) "as_mut_slice" (as_mut_slice T). Admitted. Global Typeclasses Opaque as_mut_slice. End Impl_core_slice_iter_IterMut_T. @@ -1292,7 +1304,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. @@ -1359,7 +1371,7 @@ Module slice. Global Instance AssociatedFunction_as_slice : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "as_slice" (as_slice T P). + M.IsAssociatedFunction.C (Self T P) "as_slice" (as_slice T P). Admitted. Global Typeclasses Opaque as_slice. End Impl_core_slice_iter_Split_T_P. @@ -2485,7 +2497,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_SplitInclusive_T_P. @@ -3728,7 +3740,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_SplitMut_T_P. @@ -4868,7 +4880,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_SplitInclusiveMut_T_P. @@ -6016,7 +6028,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_RSplit_T_P. @@ -6484,7 +6496,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_RSplitMut_T_P. @@ -7270,7 +7282,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_SplitN_T_P. @@ -7410,7 +7422,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_RSplitN_T_P. @@ -7553,7 +7565,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_SplitNMut_T_P. @@ -7696,7 +7708,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_RSplitNMut_T_P. @@ -7903,7 +7915,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_Windows_T. @@ -9553,9 +9565,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -9565,7 +9582,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_Windows_T. (* StructRecord @@ -9676,7 +9693,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_Chunks_T. @@ -11404,9 +11421,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -11416,7 +11438,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_Chunks_T. (* StructRecord @@ -11552,7 +11574,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_ChunksMut_T. @@ -13247,9 +13269,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -13259,7 +13286,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_ChunksMut_T. Module Impl_core_marker_Send_where_core_marker_Send_T_for_core_slice_iter_ChunksMut_T. @@ -13490,7 +13517,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -13517,7 +13544,7 @@ Module slice. Global Instance AssociatedFunction_remainder : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "remainder" (remainder T). + M.IsAssociatedFunction.C (Self T) "remainder" (remainder T). Admitted. Global Typeclasses Opaque remainder. End Impl_core_slice_iter_ChunksExact_T. @@ -14673,9 +14700,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -14685,7 +14717,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_ChunksExact_T. (* StructRecord @@ -14912,7 +14944,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -14954,7 +14986,7 @@ Module slice. Global Instance AssociatedFunction_into_remainder : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_remainder" (into_remainder T). + M.IsAssociatedFunction.C (Self T) "into_remainder" (into_remainder T). Admitted. Global Typeclasses Opaque into_remainder. End Impl_core_slice_iter_ChunksExactMut_T. @@ -16101,9 +16133,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -16113,7 +16150,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_ChunksExactMut_T. Module Impl_core_marker_Send_where_core_marker_Send_T_for_core_slice_iter_ChunksExactMut_T. @@ -16433,7 +16470,7 @@ Module slice. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| slice |) |) |) ] |); BinOp.Wrap.sub (| - M.read (| M.get_constant "core::slice::iter::N" |), + M.read (| get_constant (| "core::slice::iter::N", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 1 |) ] @@ -16464,7 +16501,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "new" (new N T). + M.IsAssociatedFunction.C (Self N T) "new" (new N T). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_ArrayWindows_N_T. @@ -17563,7 +17600,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "new" (new N T). + M.IsAssociatedFunction.C (Self N T) "new" (new N T). Admitted. Global Typeclasses Opaque new. @@ -17596,7 +17633,7 @@ Module slice. Global Instance AssociatedFunction_remainder : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "remainder" (remainder N T). + M.IsAssociatedFunction.C (Self N T) "remainder" (remainder N T). Admitted. Global Typeclasses Opaque remainder. End Impl_core_slice_iter_ArrayChunks_N_T. @@ -18216,9 +18253,15 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (N : Value.t) (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (N : Value.t) + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (N : Value.t) (T : Ty.t), @@ -18228,8 +18271,7 @@ Module slice. (* Trait polymorphic types *) [] (Self N T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT N T)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT N T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_ArrayChunks_N_T. (* StructRecord @@ -18418,7 +18460,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "new" (new N T). + M.IsAssociatedFunction.C (Self N T) "new" (new N T). Admitted. Global Typeclasses Opaque new. @@ -18461,7 +18503,7 @@ Module slice. Global Instance AssociatedFunction_into_remainder : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "into_remainder" (into_remainder N T). + M.IsAssociatedFunction.C (Self N T) "into_remainder" (into_remainder N T). Admitted. Global Typeclasses Opaque into_remainder. End Impl_core_slice_iter_ArrayChunksMut_N_T. @@ -19016,9 +19058,15 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (N : Value.t) (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (N : Value.t) + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self N T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (N : Value.t) (T : Ty.t), @@ -19028,8 +19076,7 @@ Module slice. (* Trait polymorphic types *) [] (Self N T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT N T)) - ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT N T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_ArrayChunksMut_N_T. (* StructRecord @@ -19140,7 +19187,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_RChunks_T. @@ -20796,9 +20843,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -20808,7 +20860,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_RChunks_T. (* StructRecord @@ -20944,7 +20996,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_RChunksMut_T. @@ -22594,9 +22646,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -22606,7 +22663,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_RChunksMut_T. Module Impl_core_marker_Send_where_core_marker_Send_T_for_core_slice_iter_RChunksMut_T. @@ -22820,7 +22877,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -22847,7 +22904,7 @@ Module slice. Global Instance AssociatedFunction_remainder : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "remainder" (remainder T). + M.IsAssociatedFunction.C (Self T) "remainder" (remainder T). Admitted. Global Typeclasses Opaque remainder. End Impl_core_slice_iter_RChunksExact_T. @@ -24093,9 +24150,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -24105,7 +24167,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_RChunksExact_T. (* StructRecord @@ -24295,7 +24357,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -24337,7 +24399,7 @@ Module slice. Global Instance AssociatedFunction_into_remainder : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_remainder" (into_remainder T). + M.IsAssociatedFunction.C (Self T) "into_remainder" (into_remainder T). Admitted. Global Typeclasses Opaque into_remainder. End Impl_core_slice_iter_RChunksExactMut_T. @@ -25535,9 +25597,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -25547,7 +25614,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_RChunksExactMut_T. Module Impl_core_marker_Send_where_core_marker_Send_T_for_core_slice_iter_RChunksExactMut_T. @@ -25596,9 +25663,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -25608,7 +25680,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_Iter_T. Module Impl_core_iter_adapters_zip_TrustedRandomAccess_for_core_slice_iter_IterMut_T. @@ -25629,9 +25701,14 @@ Module slice. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT (T : Ty.t) : Value.t := + Definition value_MAY_HAVE_SIDE_EFFECT + (T : Ty.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self T in - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : forall (T : Ty.t), @@ -25641,7 +25718,7 @@ Module slice. (* Trait polymorphic types *) [] (Self T) (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant (value_MAY_HAVE_SIDE_EFFECT T)) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method (value_MAY_HAVE_SIDE_EFFECT T)) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_slice_iter_IterMut_T. (* StructRecord @@ -25683,7 +25760,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_ChunkBy_T_P. @@ -26613,7 +26690,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T P : Ty.t), - M.IsAssociatedFunction.Trait (Self T P) "new" (new T P). + M.IsAssociatedFunction.C (Self T P) "new" (new T P). Admitted. Global Typeclasses Opaque new. End Impl_core_slice_iter_ChunkByMut_T_P. diff --git a/CoqOfRust/core/slice/iter/macros.v b/CoqOfRust/core/slice/iter/macros.v index ded47e0f9..31bf462ff 100644 --- a/CoqOfRust/core/slice/iter/macros.v +++ b/CoqOfRust/core/slice/iter/macros.v @@ -63,7 +63,7 @@ Module slice. Global Instance AssociatedFunction_next_back_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "next_back_unchecked" (next_back_unchecked T). + M.IsAssociatedFunction.C (Self T) "next_back_unchecked" (next_back_unchecked T). Admitted. Global Typeclasses Opaque next_back_unchecked. @@ -116,7 +116,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -212,7 +216,7 @@ Module slice. Global Instance AssociatedFunction_make_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "make_slice" (make_slice T). + M.IsAssociatedFunction.C (Self T) "make_slice" (make_slice T). Admitted. Global Typeclasses Opaque make_slice. @@ -262,7 +266,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.apply (Ty.path "&mut") [] [ Ty.path "usize" ] := @@ -406,7 +414,7 @@ Module slice. Global Instance AssociatedFunction_post_inc_start : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "post_inc_start" (post_inc_start T). + M.IsAssociatedFunction.C (Self T) "post_inc_start" (post_inc_start T). Admitted. Global Typeclasses Opaque post_inc_start. @@ -444,7 +452,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.apply (Ty.path "&mut") [] [ Ty.path "usize" ] := M.alloc (| @@ -571,7 +584,7 @@ Module slice. Global Instance AssociatedFunction_pre_dec_end : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pre_dec_end" (pre_dec_end T). + M.IsAssociatedFunction.C (Self T) "pre_dec_end" (pre_dec_end T). Admitted. Global Typeclasses Opaque pre_dec_end. End Impl_core_slice_iter_Iter_T. @@ -597,7 +610,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := M.alloc (| @@ -698,7 +716,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := M.alloc (| @@ -847,7 +870,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1012,7 +1038,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := @@ -1122,7 +1152,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := M.alloc (| @@ -1253,8 +1288,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1371,8 +1408,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1581,7 +1620,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1842,8 +1885,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1976,7 +2021,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -2875,7 +2924,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -3146,7 +3199,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -3667,7 +3724,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -3855,8 +3915,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -3973,8 +4035,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -4187,7 +4251,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -4590,7 +4658,7 @@ Module slice. Global Instance AssociatedFunction_next_back_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "next_back_unchecked" (next_back_unchecked T). + M.IsAssociatedFunction.C (Self T) "next_back_unchecked" (next_back_unchecked T). Admitted. Global Typeclasses Opaque next_back_unchecked. @@ -4643,7 +4711,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -4739,7 +4811,7 @@ Module slice. Global Instance AssociatedFunction_make_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "make_slice" (make_slice T). + M.IsAssociatedFunction.C (Self T) "make_slice" (make_slice T). Admitted. Global Typeclasses Opaque make_slice. @@ -4789,7 +4861,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.apply (Ty.path "&mut") [] [ Ty.path "usize" ] := @@ -4933,7 +5009,7 @@ Module slice. Global Instance AssociatedFunction_post_inc_start : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "post_inc_start" (post_inc_start T). + M.IsAssociatedFunction.C (Self T) "post_inc_start" (post_inc_start T). Admitted. Global Typeclasses Opaque post_inc_start. @@ -4971,7 +5047,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.apply (Ty.path "&mut") [] [ Ty.path "usize" ] := M.alloc (| @@ -5098,7 +5179,7 @@ Module slice. Global Instance AssociatedFunction_pre_dec_end : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pre_dec_end" (pre_dec_end T). + M.IsAssociatedFunction.C (Self T) "pre_dec_end" (pre_dec_end T). Admitted. Global Typeclasses Opaque pre_dec_end. End Impl_core_slice_iter_IterMut_T. @@ -5124,7 +5205,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := M.alloc (| @@ -5225,7 +5311,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := M.alloc (| @@ -5374,7 +5465,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -5539,7 +5633,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := @@ -5649,7 +5747,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ len : Ty.path "usize" := M.alloc (| @@ -5780,8 +5883,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -5898,8 +6003,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -6108,7 +6215,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -6369,8 +6480,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -6503,7 +6616,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -7414,7 +7531,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -7687,7 +7808,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -8083,7 +8208,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -8271,8 +8399,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -8389,8 +8519,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::mem::SizedTypeProperties::IS_ZST") in + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -8603,7 +8735,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), diff --git a/CoqOfRust/core/slice/memchr.v b/CoqOfRust/core/slice/memchr.v index 0c78be987..e575a10c1 100644 --- a/CoqOfRust/core/slice/memchr.v +++ b/CoqOfRust/core/slice/memchr.v @@ -3,50 +3,50 @@ Require Import CoqOfRust.CoqOfRust. Module slice. Module memchr. - Definition value_LO_USIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), - [ Value.Integer IntegerKind.U8 1 ] - |) - |))). + Definition value_LO_USIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), + [ Value.Integer IntegerKind.U8 1 ] + |) + |))). - Axiom Constant_value_LO_USIZE : - (M.get_constant "core::slice::memchr::LO_USIZE") = value_LO_USIZE. - Global Hint Rewrite Constant_value_LO_USIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_LO_USIZE : + M.IsFunction.C "core::slice::memchr::LO_USIZE" value_LO_USIZE. + Admitted. + Global Typeclasses Opaque value_LO_USIZE. - Definition value_HI_USIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), - [ Value.Integer IntegerKind.U8 128 ] - |) - |))). + Definition value_HI_USIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), + [ Value.Integer IntegerKind.U8 128 ] + |) + |))). - Axiom Constant_value_HI_USIZE : - (M.get_constant "core::slice::memchr::HI_USIZE") = value_HI_USIZE. - Global Hint Rewrite Constant_value_HI_USIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_HI_USIZE : + M.IsFunction.C "core::slice::memchr::HI_USIZE" value_HI_USIZE. + Admitted. + Global Typeclasses Opaque value_HI_USIZE. - Definition value_USIZE_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), - [] - |) - |))). + Definition value_USIZE_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), + [] + |) + |))). - Axiom Constant_value_USIZE_BYTES : - (M.get_constant "core::slice::memchr::USIZE_BYTES") = value_USIZE_BYTES. - Global Hint Rewrite Constant_value_USIZE_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_USIZE_BYTES : + M.IsFunction.C "core::slice::memchr::USIZE_BYTES" value_USIZE_BYTES. + Admitted. + Global Typeclasses Opaque value_USIZE_BYTES. (* const fn contains_zero_byte(x: usize) -> bool { @@ -64,17 +64,20 @@ Module slice. (M.call_closure (| Ty.path "usize", M.get_associated_function (| Ty.path "usize", "wrapping_sub", [], [] |), - [ M.read (| x |); M.read (| M.get_constant "core::slice::memchr::LO_USIZE" |) ] + [ + M.read (| x |); + M.read (| get_constant (| "core::slice::memchr::LO_USIZE", Ty.path "usize" |) |) + ] |)) (UnOp.not (| M.read (| x |) |))) - (M.read (| M.get_constant "core::slice::memchr::HI_USIZE" |)), + (M.read (| get_constant (| "core::slice::memchr::HI_USIZE", Ty.path "usize" |) |)), Value.Integer IntegerKind.Usize 0 |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_contains_zero_byte : - M.IsFunction.Trait "core::slice::memchr::contains_zero_byte" contains_zero_byte. + M.IsFunction.C "core::slice::memchr::contains_zero_byte" contains_zero_byte. Admitted. Global Typeclasses Opaque contains_zero_byte. @@ -125,7 +128,12 @@ Module slice. |), BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, - M.read (| M.get_constant "core::slice::memchr::USIZE_BYTES" |) + M.read (| + get_constant (| + "core::slice::memchr::USIZE_BYTES", + Ty.path "usize" + |) + |) |) |) |)) in @@ -176,7 +184,7 @@ Module slice. end. Global Instance Instance_IsFunction_memchr : - M.IsFunction.Trait "core::slice::memchr::memchr" memchr. + M.IsFunction.C "core::slice::memchr::memchr" memchr. Admitted. Global Typeclasses Opaque memchr. @@ -317,7 +325,7 @@ Module slice. end. Global Instance Instance_IsFunction_memchr_naive : - M.IsFunction.Trait "core::slice::memchr::memchr_naive" memchr_naive. + M.IsFunction.C "core::slice::memchr::memchr_naive" memchr_naive. Admitted. Global Typeclasses Opaque memchr_naive. @@ -422,7 +430,7 @@ Module slice. end. Global Instance Instance_IsFunction_memchr_aligned : - M.IsFunction.Trait "core::slice::memchr::memchr_aligned" memchr_aligned. + M.IsFunction.C "core::slice::memchr::memchr_aligned" memchr_aligned. Admitted. Global Typeclasses Opaque memchr_aligned. @@ -1049,7 +1057,7 @@ Module slice. end. Global Instance Instance_IsFunction_memrchr : - M.IsFunction.Trait "core::slice::memchr::memrchr" memrchr. + M.IsFunction.C "core::slice::memchr::memrchr" memrchr. Admitted. Global Typeclasses Opaque memrchr. diff --git a/CoqOfRust/core/slice/mod.v b/CoqOfRust/core/slice/mod.v index 5c98ff00d..0d268966f 100644 --- a/CoqOfRust/core/slice/mod.v +++ b/CoqOfRust/core/slice/mod.v @@ -392,7 +392,7 @@ Module slice. end. Global Instance Instance_IsFunction_split_point_of : - M.IsFunction.Trait "core::slice::split_point_of" split_point_of. + M.IsFunction.C "core::slice::split_point_of" split_point_of. Admitted. Global Typeclasses Opaque split_point_of. @@ -446,7 +446,7 @@ Module slice. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. @@ -474,7 +474,7 @@ Module slice. Global Instance AssociatedFunction_is_empty : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_empty" (is_empty T). + M.IsAssociatedFunction.C (Self T) "is_empty" (is_empty T). Admitted. Global Typeclasses Opaque is_empty. @@ -517,7 +517,7 @@ Module slice. Global Instance AssociatedFunction_first : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "first" (first T). + M.IsAssociatedFunction.C (Self T) "first" (first T). Admitted. Global Typeclasses Opaque first. @@ -563,7 +563,7 @@ Module slice. Global Instance AssociatedFunction_first_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "first_mut" (first_mut T). + M.IsAssociatedFunction.C (Self T) "first_mut" (first_mut T). Admitted. Global Typeclasses Opaque first_mut. @@ -622,7 +622,7 @@ Module slice. Global Instance AssociatedFunction_split_first : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_first" (split_first T). + M.IsAssociatedFunction.C (Self T) "split_first" (split_first T). Admitted. Global Typeclasses Opaque split_first. @@ -686,7 +686,7 @@ Module slice. Global Instance AssociatedFunction_split_first_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_first_mut" (split_first_mut T). + M.IsAssociatedFunction.C (Self T) "split_first_mut" (split_first_mut T). Admitted. Global Typeclasses Opaque split_first_mut. @@ -745,7 +745,7 @@ Module slice. Global Instance AssociatedFunction_split_last : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_last" (split_last T). + M.IsAssociatedFunction.C (Self T) "split_last" (split_last T). Admitted. Global Typeclasses Opaque split_last. @@ -809,7 +809,7 @@ Module slice. Global Instance AssociatedFunction_split_last_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_last_mut" (split_last_mut T). + M.IsAssociatedFunction.C (Self T) "split_last_mut" (split_last_mut T). Admitted. Global Typeclasses Opaque split_last_mut. @@ -852,7 +852,7 @@ Module slice. Global Instance AssociatedFunction_last : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "last" (last T). + M.IsAssociatedFunction.C (Self T) "last" (last T). Admitted. Global Typeclasses Opaque last. @@ -898,7 +898,7 @@ Module slice. Global Instance AssociatedFunction_last_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "last_mut" (last_mut T). + M.IsAssociatedFunction.C (Self T) "last_mut" (last_mut T). Admitted. Global Typeclasses Opaque last_mut. @@ -944,7 +944,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::first_chunk::N" |) + M.read (| + get_constant (| "core::slice::first_chunk::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1004,7 +1006,7 @@ Module slice. Global Instance AssociatedFunction_first_chunk : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "first_chunk" (first_chunk T). + M.IsAssociatedFunction.C (Self T) "first_chunk" (first_chunk T). Admitted. Global Typeclasses Opaque first_chunk. @@ -1056,7 +1058,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::first_chunk_mut::N" |) + M.read (| + get_constant (| "core::slice::first_chunk_mut::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1121,7 +1125,7 @@ Module slice. Global Instance AssociatedFunction_first_chunk_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "first_chunk_mut" (first_chunk_mut T). + M.IsAssociatedFunction.C (Self T) "first_chunk_mut" (first_chunk_mut T). Admitted. Global Typeclasses Opaque first_chunk_mut. @@ -1181,7 +1185,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::split_first_chunk::N" |) + M.read (| + get_constant (| + "core::slice::split_first_chunk::N", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1205,7 +1214,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "core::slice::split_first_chunk::N" |) + M.read (| + get_constant (| + "core::slice::split_first_chunk::N", + Ty.path "usize" + |) + |) ] |) |), @@ -1278,7 +1292,7 @@ Module slice. Global Instance AssociatedFunction_split_first_chunk : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_first_chunk" (split_first_chunk T). + M.IsAssociatedFunction.C (Self T) "split_first_chunk" (split_first_chunk T). Admitted. Global Typeclasses Opaque split_first_chunk. @@ -1341,7 +1355,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::split_first_chunk_mut::N" |) + M.read (| + get_constant (| + "core::slice::split_first_chunk_mut::N", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1365,7 +1384,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "core::slice::split_first_chunk_mut::N" |) + M.read (| + get_constant (| + "core::slice::split_first_chunk_mut::N", + Ty.path "usize" + |) + |) ] |) |), @@ -1443,7 +1467,7 @@ Module slice. Global Instance AssociatedFunction_split_first_chunk_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_first_chunk_mut" (split_first_chunk_mut T). + M.IsAssociatedFunction.C (Self T) "split_first_chunk_mut" (split_first_chunk_mut T). Admitted. Global Typeclasses Opaque split_first_chunk_mut. @@ -1503,7 +1527,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::split_last_chunk::N" |) + M.read (| + get_constant (| "core::slice::split_last_chunk::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1538,7 +1564,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::split_last_chunk::N" |) + M.read (| + get_constant (| + "core::slice::split_last_chunk::N", + Ty.path "usize" + |) + |) |) ] |) @@ -1612,7 +1643,7 @@ Module slice. Global Instance AssociatedFunction_split_last_chunk : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_last_chunk" (split_last_chunk T). + M.IsAssociatedFunction.C (Self T) "split_last_chunk" (split_last_chunk T). Admitted. Global Typeclasses Opaque split_last_chunk. @@ -1675,7 +1706,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::split_last_chunk_mut::N" |) + M.read (| + get_constant (| + "core::slice::split_last_chunk_mut::N", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1710,7 +1746,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::split_last_chunk_mut::N" |) + M.read (| + get_constant (| + "core::slice::split_last_chunk_mut::N", + Ty.path "usize" + |) + |) |) ] |) @@ -1789,7 +1830,7 @@ Module slice. Global Instance AssociatedFunction_split_last_chunk_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_last_chunk_mut" (split_last_chunk_mut T). + M.IsAssociatedFunction.C (Self T) "split_last_chunk_mut" (split_last_chunk_mut T). Admitted. Global Typeclasses Opaque split_last_chunk_mut. @@ -1839,7 +1880,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::last_chunk::N" |) + M.read (| + get_constant (| "core::slice::last_chunk::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1881,7 +1924,9 @@ Module slice. |) ] |), - M.read (| M.get_constant "core::slice::last_chunk::N" |) + M.read (| + get_constant (| "core::slice::last_chunk::N", Ty.path "usize" |) + |) |) ] |) @@ -1942,7 +1987,7 @@ Module slice. Global Instance AssociatedFunction_last_chunk : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "last_chunk" (last_chunk T). + M.IsAssociatedFunction.C (Self T) "last_chunk" (last_chunk T). Admitted. Global Typeclasses Opaque last_chunk. @@ -1998,7 +2043,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::last_chunk_mut::N" |) + M.read (| + get_constant (| "core::slice::last_chunk_mut::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2053,7 +2100,12 @@ Module slice. |) ] |), - M.read (| M.get_constant "core::slice::last_chunk_mut::N" |) + M.read (| + get_constant (| + "core::slice::last_chunk_mut::N", + Ty.path "usize" + |) + |) |) ] |) @@ -2122,7 +2174,7 @@ Module slice. Global Instance AssociatedFunction_last_chunk_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "last_chunk_mut" (last_chunk_mut T). + M.IsAssociatedFunction.C (Self T) "last_chunk_mut" (last_chunk_mut T). Admitted. Global Typeclasses Opaque last_chunk_mut. @@ -2174,7 +2226,7 @@ Module slice. Global Instance AssociatedFunction_get : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get" (get T). + M.IsAssociatedFunction.C (Self T) "get" (get T). Admitted. Global Typeclasses Opaque get. @@ -2229,7 +2281,7 @@ Module slice. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -2292,7 +2344,7 @@ Module slice. Global Instance AssociatedFunction_get_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_unchecked" (get_unchecked T). + M.IsAssociatedFunction.C (Self T) "get_unchecked" (get_unchecked T). Admitted. Global Typeclasses Opaque get_unchecked. @@ -2373,7 +2425,7 @@ Module slice. Global Instance AssociatedFunction_get_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_unchecked_mut" (get_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "get_unchecked_mut" (get_unchecked_mut T). Admitted. Global Typeclasses Opaque get_unchecked_mut. @@ -2401,7 +2453,7 @@ Module slice. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. @@ -2429,7 +2481,7 @@ Module slice. Global Instance AssociatedFunction_as_mut_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_ptr" (as_mut_ptr T). + M.IsAssociatedFunction.C (Self T) "as_mut_ptr" (as_mut_ptr T). Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -2513,7 +2565,7 @@ Module slice. Global Instance AssociatedFunction_as_ptr_range : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr_range" (as_ptr_range T). + M.IsAssociatedFunction.C (Self T) "as_ptr_range" (as_ptr_range T). Admitted. Global Typeclasses Opaque as_ptr_range. @@ -2581,7 +2633,7 @@ Module slice. Global Instance AssociatedFunction_as_mut_ptr_range : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_ptr_range" (as_mut_ptr_range T). + M.IsAssociatedFunction.C (Self T) "as_mut_ptr_range" (as_mut_ptr_range T). Admitted. Global Typeclasses Opaque as_mut_ptr_range. @@ -2629,7 +2681,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::as_array::N" |) + M.read (| + get_constant (| "core::slice::as_array::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2672,7 +2726,7 @@ Module slice. Global Instance AssociatedFunction_as_array : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_array" (as_array T). + M.IsAssociatedFunction.C (Self T) "as_array" (as_array T). Admitted. Global Typeclasses Opaque as_array. @@ -2720,7 +2774,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::as_mut_array::N" |) + M.read (| + get_constant (| "core::slice::as_mut_array::N", Ty.path "usize" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -2765,7 +2821,7 @@ Module slice. Global Instance AssociatedFunction_as_mut_array : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_mut_array" (as_mut_array T). + M.IsAssociatedFunction.C (Self T) "as_mut_array" (as_mut_array T). Admitted. Global Typeclasses Opaque as_mut_array. @@ -2822,7 +2878,7 @@ Module slice. Global Instance AssociatedFunction_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap" (swap T). + M.IsAssociatedFunction.C (Self T) "swap" (swap T). Admitted. Global Typeclasses Opaque swap. @@ -2955,7 +3011,7 @@ Module slice. Global Instance AssociatedFunction_swap_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap_unchecked" (swap_unchecked T). + M.IsAssociatedFunction.C (Self T) "swap_unchecked" (swap_unchecked T). Admitted. Global Typeclasses Opaque swap_unchecked. @@ -3131,7 +3187,7 @@ Module slice. Global Instance AssociatedFunction_reverse : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "reverse" (reverse T). + M.IsAssociatedFunction.C (Self T) "reverse" (reverse T). Admitted. Global Typeclasses Opaque reverse. @@ -3161,7 +3217,7 @@ Module slice. Global Instance AssociatedFunction_iter : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "iter" (iter T). + M.IsAssociatedFunction.C (Self T) "iter" (iter T). Admitted. Global Typeclasses Opaque iter. @@ -3191,7 +3247,7 @@ Module slice. Global Instance AssociatedFunction_iter_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "iter_mut" (iter_mut T). + M.IsAssociatedFunction.C (Self T) "iter_mut" (iter_mut T). Admitted. Global Typeclasses Opaque iter_mut. @@ -3264,7 +3320,7 @@ Module slice. Global Instance AssociatedFunction_windows : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "windows" (windows T). + M.IsAssociatedFunction.C (Self T) "windows" (windows T). Admitted. Global Typeclasses Opaque windows. @@ -3356,7 +3412,7 @@ Module slice. Global Instance AssociatedFunction_chunks : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "chunks" (chunks T). + M.IsAssociatedFunction.C (Self T) "chunks" (chunks T). Admitted. Global Typeclasses Opaque chunks. @@ -3448,7 +3504,7 @@ Module slice. Global Instance AssociatedFunction_chunks_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "chunks_mut" (chunks_mut T). + M.IsAssociatedFunction.C (Self T) "chunks_mut" (chunks_mut T). Admitted. Global Typeclasses Opaque chunks_mut. @@ -3540,7 +3596,7 @@ Module slice. Global Instance AssociatedFunction_chunks_exact : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "chunks_exact" (chunks_exact T). + M.IsAssociatedFunction.C (Self T) "chunks_exact" (chunks_exact T). Admitted. Global Typeclasses Opaque chunks_exact. @@ -3637,7 +3693,7 @@ Module slice. Global Instance AssociatedFunction_chunks_exact_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "chunks_exact_mut" (chunks_exact_mut T). + M.IsAssociatedFunction.C (Self T) "chunks_exact_mut" (chunks_exact_mut T). Admitted. Global Typeclasses Opaque chunks_exact_mut. @@ -3695,7 +3751,12 @@ Module slice. [] |), [ - M.read (| M.get_constant "core::slice::as_chunks_unchecked::N" |); + M.read (| + get_constant (| + "core::slice::as_chunks_unchecked::N", + Ty.path "usize" + |) + |); M.call_closure (| Ty.path "usize", M.get_associated_function (| @@ -3729,7 +3790,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |); - M.read (| M.get_constant "core::slice::as_chunks_unchecked::N" |) + M.read (| + get_constant (| "core::slice::as_chunks_unchecked::N", Ty.path "usize" |) + |) ] |) |) in @@ -3781,7 +3844,7 @@ Module slice. Global Instance AssociatedFunction_as_chunks_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_chunks_unchecked" (as_chunks_unchecked T). + M.IsAssociatedFunction.C (Self T) "as_chunks_unchecked" (as_chunks_unchecked T). Admitted. Global Typeclasses Opaque as_chunks_unchecked. @@ -3817,7 +3880,9 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::as_chunks::N" |), + M.read (| + get_constant (| "core::slice::as_chunks::N", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -3872,9 +3937,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::as_chunks::N" |) + M.read (| get_constant (| "core::slice::as_chunks::N", Ty.path "usize" |) |) |), - M.read (| M.get_constant "core::slice::as_chunks::N" |) + M.read (| get_constant (| "core::slice::as_chunks::N", Ty.path "usize" |) |) |) |) in M.match_operator (| @@ -3951,7 +4016,7 @@ Module slice. Global Instance AssociatedFunction_as_chunks : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_chunks" (as_chunks T). + M.IsAssociatedFunction.C (Self T) "as_chunks" (as_chunks T). Admitted. Global Typeclasses Opaque as_chunks. @@ -3985,7 +4050,9 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::as_rchunks::N" |), + M.read (| + get_constant (| "core::slice::as_rchunks::N", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -4039,7 +4106,7 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::as_rchunks::N" |) + M.read (| get_constant (| "core::slice::as_rchunks::N", Ty.path "usize" |) |) |) |) in M.match_operator (| @@ -4072,7 +4139,9 @@ Module slice. |), BinOp.Wrap.mul (| M.read (| len |), - M.read (| M.get_constant "core::slice::as_rchunks::N" |) + M.read (| + get_constant (| "core::slice::as_rchunks::N", Ty.path "usize" |) + |) |) |) ] @@ -4131,7 +4200,7 @@ Module slice. Global Instance AssociatedFunction_as_rchunks : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_rchunks" (as_rchunks T). + M.IsAssociatedFunction.C (Self T) "as_rchunks" (as_rchunks T). Admitted. Global Typeclasses Opaque as_rchunks. @@ -4160,7 +4229,9 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::array_chunks::N" |), + M.read (| + get_constant (| "core::slice::array_chunks::N", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -4219,7 +4290,7 @@ Module slice. Global Instance AssociatedFunction_array_chunks : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "array_chunks" (array_chunks T). + M.IsAssociatedFunction.C (Self T) "array_chunks" (array_chunks T). Admitted. Global Typeclasses Opaque array_chunks. @@ -4282,7 +4353,10 @@ Module slice. |), [ M.read (| - M.get_constant "core::slice::as_chunks_unchecked_mut::N" + get_constant (| + "core::slice::as_chunks_unchecked_mut::N", + Ty.path "usize" + |) |); M.call_closure (| Ty.path "usize", @@ -4322,7 +4396,12 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |); - M.read (| M.get_constant "core::slice::as_chunks_unchecked_mut::N" |) + M.read (| + get_constant (| + "core::slice::as_chunks_unchecked_mut::N", + Ty.path "usize" + |) + |) ] |) |) in @@ -4394,7 +4473,7 @@ Module slice. Global Instance AssociatedFunction_as_chunks_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_chunks_unchecked_mut" (as_chunks_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "as_chunks_unchecked_mut" (as_chunks_unchecked_mut T). Admitted. Global Typeclasses Opaque as_chunks_unchecked_mut. @@ -4430,7 +4509,12 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::as_chunks_mut::N" |), + M.read (| + get_constant (| + "core::slice::as_chunks_mut::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -4485,9 +4569,9 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::as_chunks_mut::N" |) + M.read (| get_constant (| "core::slice::as_chunks_mut::N", Ty.path "usize" |) |) |), - M.read (| M.get_constant "core::slice::as_chunks_mut::N" |) + M.read (| get_constant (| "core::slice::as_chunks_mut::N", Ty.path "usize" |) |) |) |) in M.match_operator (| @@ -4572,7 +4656,7 @@ Module slice. Global Instance AssociatedFunction_as_chunks_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_chunks_mut" (as_chunks_mut T). + M.IsAssociatedFunction.C (Self T) "as_chunks_mut" (as_chunks_mut T). Admitted. Global Typeclasses Opaque as_chunks_mut. @@ -4611,7 +4695,12 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::as_rchunks_mut::N" |), + M.read (| + get_constant (| + "core::slice::as_rchunks_mut::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -4665,7 +4754,7 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |), - M.read (| M.get_constant "core::slice::as_rchunks_mut::N" |) + M.read (| get_constant (| "core::slice::as_rchunks_mut::N", Ty.path "usize" |) |) |) |) in M.match_operator (| @@ -4698,7 +4787,9 @@ Module slice. |), BinOp.Wrap.mul (| M.read (| len |), - M.read (| M.get_constant "core::slice::as_rchunks_mut::N" |) + M.read (| + get_constant (| "core::slice::as_rchunks_mut::N", Ty.path "usize" |) + |) |) |) ] @@ -4762,7 +4853,7 @@ Module slice. Global Instance AssociatedFunction_as_rchunks_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_rchunks_mut" (as_rchunks_mut T). + M.IsAssociatedFunction.C (Self T) "as_rchunks_mut" (as_rchunks_mut T). Admitted. Global Typeclasses Opaque as_rchunks_mut. @@ -4796,7 +4887,12 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::array_chunks_mut::N" |), + M.read (| + get_constant (| + "core::slice::array_chunks_mut::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -4855,7 +4951,7 @@ Module slice. Global Instance AssociatedFunction_array_chunks_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "array_chunks_mut" (array_chunks_mut T). + M.IsAssociatedFunction.C (Self T) "array_chunks_mut" (array_chunks_mut T). Admitted. Global Typeclasses Opaque array_chunks_mut. @@ -4884,7 +4980,12 @@ Module slice. (M.alloc (| UnOp.not (| BinOp.ne (| - M.read (| M.get_constant "core::slice::array_windows::N" |), + M.read (| + get_constant (| + "core::slice::array_windows::N", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |) @@ -4944,7 +5045,7 @@ Module slice. Global Instance AssociatedFunction_array_windows : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "array_windows" (array_windows T). + M.IsAssociatedFunction.C (Self T) "array_windows" (array_windows T). Admitted. Global Typeclasses Opaque array_windows. @@ -5036,7 +5137,7 @@ Module slice. Global Instance AssociatedFunction_rchunks : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rchunks" (rchunks T). + M.IsAssociatedFunction.C (Self T) "rchunks" (rchunks T). Admitted. Global Typeclasses Opaque rchunks. @@ -5128,7 +5229,7 @@ Module slice. Global Instance AssociatedFunction_rchunks_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rchunks_mut" (rchunks_mut T). + M.IsAssociatedFunction.C (Self T) "rchunks_mut" (rchunks_mut T). Admitted. Global Typeclasses Opaque rchunks_mut. @@ -5220,7 +5321,7 @@ Module slice. Global Instance AssociatedFunction_rchunks_exact : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rchunks_exact" (rchunks_exact T). + M.IsAssociatedFunction.C (Self T) "rchunks_exact" (rchunks_exact T). Admitted. Global Typeclasses Opaque rchunks_exact. @@ -5317,7 +5418,7 @@ Module slice. Global Instance AssociatedFunction_rchunks_exact_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rchunks_exact_mut" (rchunks_exact_mut T). + M.IsAssociatedFunction.C (Self T) "rchunks_exact_mut" (rchunks_exact_mut T). Admitted. Global Typeclasses Opaque rchunks_exact_mut. @@ -5351,7 +5452,7 @@ Module slice. Global Instance AssociatedFunction_chunk_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "chunk_by" (chunk_by T). + M.IsAssociatedFunction.C (Self T) "chunk_by" (chunk_by T). Admitted. Global Typeclasses Opaque chunk_by. @@ -5386,7 +5487,7 @@ Module slice. Global Instance AssociatedFunction_chunk_by_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "chunk_by_mut" (chunk_by_mut T). + M.IsAssociatedFunction.C (Self T) "chunk_by_mut" (chunk_by_mut T). Admitted. Global Typeclasses Opaque chunk_by_mut. @@ -5489,7 +5590,7 @@ Module slice. Global Instance AssociatedFunction_split_at : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at" (split_at T). + M.IsAssociatedFunction.C (Self T) "split_at" (split_at T). Admitted. Global Typeclasses Opaque split_at. @@ -5592,7 +5693,7 @@ Module slice. Global Instance AssociatedFunction_split_at_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_mut" (split_at_mut T). + M.IsAssociatedFunction.C (Self T) "split_at_mut" (split_at_mut T). Admitted. Global Typeclasses Opaque split_at_mut. @@ -5739,7 +5840,7 @@ Module slice. Global Instance AssociatedFunction_split_at_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_unchecked" (split_at_unchecked T). + M.IsAssociatedFunction.C (Self T) "split_at_unchecked" (split_at_unchecked T). Admitted. Global Typeclasses Opaque split_at_unchecked. @@ -5890,7 +5991,7 @@ Module slice. Global Instance AssociatedFunction_split_at_mut_unchecked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_mut_unchecked" (split_at_mut_unchecked T). + M.IsAssociatedFunction.C (Self T) "split_at_mut_unchecked" (split_at_mut_unchecked T). Admitted. Global Typeclasses Opaque split_at_mut_unchecked. @@ -5985,7 +6086,7 @@ Module slice. Global Instance AssociatedFunction_split_at_checked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_checked" (split_at_checked T). + M.IsAssociatedFunction.C (Self T) "split_at_checked" (split_at_checked T). Admitted. Global Typeclasses Opaque split_at_checked. @@ -6083,7 +6184,7 @@ Module slice. Global Instance AssociatedFunction_split_at_mut_checked : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_at_mut_checked" (split_at_mut_checked T). + M.IsAssociatedFunction.C (Self T) "split_at_mut_checked" (split_at_mut_checked T). Admitted. Global Typeclasses Opaque split_at_mut_checked. @@ -6117,7 +6218,7 @@ Module slice. Global Instance AssociatedFunction_split : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split" (split T). + M.IsAssociatedFunction.C (Self T) "split" (split T). Admitted. Global Typeclasses Opaque split. @@ -6152,7 +6253,7 @@ Module slice. Global Instance AssociatedFunction_split_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_mut" (split_mut T). + M.IsAssociatedFunction.C (Self T) "split_mut" (split_mut T). Admitted. Global Typeclasses Opaque split_mut. @@ -6191,7 +6292,7 @@ Module slice. Global Instance AssociatedFunction_split_inclusive : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_inclusive" (split_inclusive T). + M.IsAssociatedFunction.C (Self T) "split_inclusive" (split_inclusive T). Admitted. Global Typeclasses Opaque split_inclusive. @@ -6231,7 +6332,7 @@ Module slice. Global Instance AssociatedFunction_split_inclusive_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_inclusive_mut" (split_inclusive_mut T). + M.IsAssociatedFunction.C (Self T) "split_inclusive_mut" (split_inclusive_mut T). Admitted. Global Typeclasses Opaque split_inclusive_mut. @@ -6265,7 +6366,7 @@ Module slice. Global Instance AssociatedFunction_rsplit : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rsplit" (rsplit T). + M.IsAssociatedFunction.C (Self T) "rsplit" (rsplit T). Admitted. Global Typeclasses Opaque rsplit. @@ -6300,7 +6401,7 @@ Module slice. Global Instance AssociatedFunction_rsplit_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rsplit_mut" (rsplit_mut T). + M.IsAssociatedFunction.C (Self T) "rsplit_mut" (rsplit_mut T). Admitted. Global Typeclasses Opaque rsplit_mut. @@ -6350,7 +6451,7 @@ Module slice. Global Instance AssociatedFunction_splitn : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "splitn" (splitn T). + M.IsAssociatedFunction.C (Self T) "splitn" (splitn T). Admitted. Global Typeclasses Opaque splitn. @@ -6400,7 +6501,7 @@ Module slice. Global Instance AssociatedFunction_splitn_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "splitn_mut" (splitn_mut T). + M.IsAssociatedFunction.C (Self T) "splitn_mut" (splitn_mut T). Admitted. Global Typeclasses Opaque splitn_mut. @@ -6450,7 +6551,7 @@ Module slice. Global Instance AssociatedFunction_rsplitn : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rsplitn" (rsplitn T). + M.IsAssociatedFunction.C (Self T) "rsplitn" (rsplitn T). Admitted. Global Typeclasses Opaque rsplitn. @@ -6500,7 +6601,7 @@ Module slice. Global Instance AssociatedFunction_rsplitn_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rsplitn_mut" (rsplitn_mut T). + M.IsAssociatedFunction.C (Self T) "rsplitn_mut" (rsplitn_mut T). Admitted. Global Typeclasses Opaque rsplitn_mut. @@ -6766,7 +6867,7 @@ Module slice. Global Instance AssociatedFunction_split_once : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "split_once" (split_once T). + M.IsAssociatedFunction.C (Self T) "split_once" (split_once T). Admitted. Global Typeclasses Opaque split_once. @@ -7032,7 +7133,7 @@ Module slice. Global Instance AssociatedFunction_rsplit_once : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rsplit_once" (rsplit_once T). + M.IsAssociatedFunction.C (Self T) "rsplit_once" (rsplit_once T). Admitted. Global Typeclasses Opaque rsplit_once. @@ -7072,7 +7173,7 @@ Module slice. Global Instance AssociatedFunction_contains : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "contains" (contains T). + M.IsAssociatedFunction.C (Self T) "contains" (contains T). Admitted. Global Typeclasses Opaque contains. @@ -7178,7 +7279,7 @@ Module slice. Global Instance AssociatedFunction_starts_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "starts_with" (starts_with T). + M.IsAssociatedFunction.C (Self T) "starts_with" (starts_with T). Admitted. Global Typeclasses Opaque starts_with. @@ -7304,7 +7405,7 @@ Module slice. Global Instance AssociatedFunction_ends_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "ends_with" (ends_with T). + M.IsAssociatedFunction.C (Self T) "ends_with" (ends_with T). Admitted. Global Typeclasses Opaque ends_with. @@ -7500,7 +7601,7 @@ Module slice. Global Instance AssociatedFunction_strip_prefix : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "strip_prefix" (strip_prefix T). + M.IsAssociatedFunction.C (Self T) "strip_prefix" (strip_prefix T). Admitted. Global Typeclasses Opaque strip_prefix. @@ -7715,7 +7816,7 @@ Module slice. Global Instance AssociatedFunction_strip_suffix : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "strip_suffix" (strip_suffix T). + M.IsAssociatedFunction.C (Self T) "strip_suffix" (strip_suffix T). Admitted. Global Typeclasses Opaque strip_suffix. @@ -7791,7 +7892,7 @@ Module slice. Global Instance AssociatedFunction_binary_search : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "binary_search" (binary_search T). + M.IsAssociatedFunction.C (Self T) "binary_search" (binary_search T). Admitted. Global Typeclasses Opaque binary_search. @@ -8222,7 +8323,7 @@ Module slice. Global Instance AssociatedFunction_binary_search_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "binary_search_by" (binary_search_by T). + M.IsAssociatedFunction.C (Self T) "binary_search_by" (binary_search_by T). Admitted. Global Typeclasses Opaque binary_search_by. @@ -8331,7 +8432,7 @@ Module slice. Global Instance AssociatedFunction_binary_search_by_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "binary_search_by_key" (binary_search_by_key T). + M.IsAssociatedFunction.C (Self T) "binary_search_by_key" (binary_search_by_key T). Admitted. Global Typeclasses Opaque binary_search_by_key. @@ -8395,7 +8496,7 @@ Module slice. Global Instance AssociatedFunction_sort_unstable : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort_unstable" (sort_unstable T). + M.IsAssociatedFunction.C (Self T) "sort_unstable" (sort_unstable T). Admitted. Global Typeclasses Opaque sort_unstable. @@ -8571,7 +8672,7 @@ Module slice. Global Instance AssociatedFunction_sort_unstable_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort_unstable_by" (sort_unstable_by T). + M.IsAssociatedFunction.C (Self T) "sort_unstable_by" (sort_unstable_by T). Admitted. Global Typeclasses Opaque sort_unstable_by. @@ -8777,7 +8878,7 @@ Module slice. Global Instance AssociatedFunction_sort_unstable_by_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "sort_unstable_by_key" (sort_unstable_by_key T). + M.IsAssociatedFunction.C (Self T) "sort_unstable_by_key" (sort_unstable_by_key T). Admitted. Global Typeclasses Opaque sort_unstable_by_key. @@ -8829,7 +8930,7 @@ Module slice. Global Instance AssociatedFunction_select_nth_unstable : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "select_nth_unstable" (select_nth_unstable T). + M.IsAssociatedFunction.C (Self T) "select_nth_unstable" (select_nth_unstable T). Admitted. Global Typeclasses Opaque select_nth_unstable. @@ -8984,7 +9085,7 @@ Module slice. Global Instance AssociatedFunction_select_nth_unstable_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "select_nth_unstable_by" (select_nth_unstable_by T). + M.IsAssociatedFunction.C (Self T) "select_nth_unstable_by" (select_nth_unstable_by T). Admitted. Global Typeclasses Opaque select_nth_unstable_by. @@ -9160,10 +9261,7 @@ Module slice. Global Instance AssociatedFunction_select_nth_unstable_by_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait - (Self T) - "select_nth_unstable_by_key" - (select_nth_unstable_by_key T). + M.IsAssociatedFunction.C (Self T) "select_nth_unstable_by_key" (select_nth_unstable_by_key T). Admitted. Global Typeclasses Opaque select_nth_unstable_by_key. @@ -9274,7 +9372,7 @@ Module slice. Global Instance AssociatedFunction_partition_dedup : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "partition_dedup" (partition_dedup T). + M.IsAssociatedFunction.C (Self T) "partition_dedup" (partition_dedup T). Admitted. Global Typeclasses Opaque partition_dedup. @@ -9725,7 +9823,7 @@ Module slice. Global Instance AssociatedFunction_partition_dedup_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "partition_dedup_by" (partition_dedup_by T). + M.IsAssociatedFunction.C (Self T) "partition_dedup_by" (partition_dedup_by T). Admitted. Global Typeclasses Opaque partition_dedup_by. @@ -9896,7 +9994,7 @@ Module slice. Global Instance AssociatedFunction_partition_dedup_by_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "partition_dedup_by_key" (partition_dedup_by_key T). + M.IsAssociatedFunction.C (Self T) "partition_dedup_by_key" (partition_dedup_by_key T). Admitted. Global Typeclasses Opaque partition_dedup_by_key. @@ -10018,7 +10116,7 @@ Module slice. Global Instance AssociatedFunction_rotate_left : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rotate_left" (rotate_left T). + M.IsAssociatedFunction.C (Self T) "rotate_left" (rotate_left T). Admitted. Global Typeclasses Opaque rotate_left. @@ -10140,7 +10238,7 @@ Module slice. Global Instance AssociatedFunction_rotate_right : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "rotate_right" (rotate_right T). + M.IsAssociatedFunction.C (Self T) "rotate_right" (rotate_right T). Admitted. Global Typeclasses Opaque rotate_right. @@ -10186,7 +10284,7 @@ Module slice. Global Instance AssociatedFunction_fill : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fill" (fill T). + M.IsAssociatedFunction.C (Self T) "fill" (fill T). Admitted. Global Typeclasses Opaque fill. @@ -10307,7 +10405,7 @@ Module slice. Global Instance AssociatedFunction_fill_with : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fill_with" (fill_with T). + M.IsAssociatedFunction.C (Self T) "fill_with" (fill_with T). Admitted. Global Typeclasses Opaque fill_with. @@ -10358,7 +10456,7 @@ Module slice. Global Instance AssociatedFunction_clone_from_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "clone_from_slice" (clone_from_slice T). + M.IsAssociatedFunction.C (Self T) "clone_from_slice" (clone_from_slice T). Admitted. Global Typeclasses Opaque clone_from_slice. @@ -10524,7 +10622,7 @@ Module slice. Global Instance AssociatedFunction_copy_from_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_from_slice" (copy_from_slice T). + M.IsAssociatedFunction.C (Self T) "copy_from_slice" (copy_from_slice T). Admitted. Global Typeclasses Opaque copy_from_slice. @@ -10738,7 +10836,7 @@ Module slice. Global Instance AssociatedFunction_copy_within : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "copy_within" (copy_within T). + M.IsAssociatedFunction.C (Self T) "copy_within" (copy_within T). Admitted. Global Typeclasses Opaque copy_within. @@ -10894,7 +10992,7 @@ Module slice. Global Instance AssociatedFunction_swap_with_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap_with_slice" (swap_with_slice T). + M.IsAssociatedFunction.C (Self T) "swap_with_slice" (swap_with_slice T). Admitted. Global Typeclasses Opaque swap_with_slice. @@ -10948,7 +11046,9 @@ Module slice. (let self := M.alloc (| self |) in M.read (| let~ gcd : Ty.path "usize" := - M.copy (| M.get_constant "core::slice::align_to_offsets_discriminant" |) in + M.copy (| + get_constant (| "core::slice::align_to_offsets_discriminant", Ty.path "usize" |) + |) in let~ ts : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| @@ -11013,7 +11113,7 @@ Module slice. Global Instance AssociatedFunction_align_to_offsets : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "align_to_offsets" (align_to_offsets T). + M.IsAssociatedFunction.C (Self T) "align_to_offsets" (align_to_offsets T). Admitted. Global Typeclasses Opaque align_to_offsets. @@ -11074,11 +11174,17 @@ Module slice. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |))) |) |)) in @@ -11372,7 +11478,7 @@ Module slice. Global Instance AssociatedFunction_align_to : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "align_to" (align_to T). + M.IsAssociatedFunction.C (Self T) "align_to" (align_to T). Admitted. Global Typeclasses Opaque align_to. @@ -11441,11 +11547,17 @@ Module slice. (M.alloc (| LogicalOp.or (| M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |), ltac:(M.monadic (M.read (| - M.get_constant "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |))) |) |)) in @@ -11742,7 +11854,7 @@ Module slice. Global Instance AssociatedFunction_align_to_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "align_to_mut" (align_to_mut T). + M.IsAssociatedFunction.C (Self T) "align_to_mut" (align_to_mut T). Admitted. Global Typeclasses Opaque align_to_mut. @@ -11912,7 +12024,7 @@ Module slice. Global Instance AssociatedFunction_as_simd : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_simd" (as_simd T). + M.IsAssociatedFunction.C (Self T) "as_simd" (as_simd T). Admitted. Global Typeclasses Opaque as_simd. @@ -12082,7 +12194,7 @@ Module slice. Global Instance AssociatedFunction_as_simd_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_simd_mut" (as_simd_mut T). + M.IsAssociatedFunction.C (Self T) "as_simd_mut" (as_simd_mut T). Admitted. Global Typeclasses Opaque as_simd_mut. @@ -12145,7 +12257,12 @@ Module slice. |) ] |), - M.read (| M.get_constant "core::slice::is_sorted::CHUNK_SIZE" |) + M.read (| + get_constant (| + "core::slice::is_sorted::CHUNK_SIZE", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -12301,7 +12418,10 @@ Module slice. ] |), M.read (| - M.get_constant "core::slice::is_sorted::CHUNK_SIZE" + get_constant (| + "core::slice::is_sorted::CHUNK_SIZE", + Ty.path "usize" + |) |) |) |) @@ -12352,8 +12472,10 @@ Module slice. BinOp.Wrap.add (| M.read (| i |), M.read (| - M.get_constant - "core::slice::is_sorted::CHUNK_SIZE" + get_constant (| + "core::slice::is_sorted::CHUNK_SIZE", + Ty.path "usize" + |) |) |)) ] @@ -12558,7 +12680,10 @@ Module slice. M.read (| β |), BinOp.Wrap.sub (| M.read (| - M.get_constant "core::slice::is_sorted::CHUNK_SIZE" + get_constant (| + "core::slice::is_sorted::CHUNK_SIZE", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -12719,7 +12844,7 @@ Module slice. Global Instance AssociatedFunction_is_sorted : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_sorted" (is_sorted T). + M.IsAssociatedFunction.C (Self T) "is_sorted" (is_sorted T). Admitted. Global Typeclasses Opaque is_sorted. @@ -12859,7 +12984,7 @@ Module slice. Global Instance AssociatedFunction_is_sorted_by : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_sorted_by" (is_sorted_by T). + M.IsAssociatedFunction.C (Self T) "is_sorted_by" (is_sorted_by T). Admitted. Global Typeclasses Opaque is_sorted_by. @@ -12909,7 +13034,7 @@ Module slice. Global Instance AssociatedFunction_is_sorted_by_key : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_sorted_by_key" (is_sorted_by_key T). + M.IsAssociatedFunction.C (Self T) "is_sorted_by_key" (is_sorted_by_key T). Admitted. Global Typeclasses Opaque is_sorted_by_key. @@ -13055,7 +13180,7 @@ Module slice. Global Instance AssociatedFunction_partition_point : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "partition_point" (partition_point T). + M.IsAssociatedFunction.C (Self T) "partition_point" (partition_point T). Admitted. Global Typeclasses Opaque partition_point. @@ -13358,7 +13483,7 @@ Module slice. Global Instance AssociatedFunction_take : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take" (take T). + M.IsAssociatedFunction.C (Self T) "take" (take T). Admitted. Global Typeclasses Opaque take. @@ -13693,7 +13818,7 @@ Module slice. Global Instance AssociatedFunction_take_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take_mut" (take_mut T). + M.IsAssociatedFunction.C (Self T) "take_mut" (take_mut T). Admitted. Global Typeclasses Opaque take_mut. @@ -13869,7 +13994,7 @@ Module slice. Global Instance AssociatedFunction_take_first : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take_first" (take_first T). + M.IsAssociatedFunction.C (Self T) "take_first" (take_first T). Admitted. Global Typeclasses Opaque take_first. @@ -14076,7 +14201,7 @@ Module slice. Global Instance AssociatedFunction_take_first_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take_first_mut" (take_first_mut T). + M.IsAssociatedFunction.C (Self T) "take_first_mut" (take_first_mut T). Admitted. Global Typeclasses Opaque take_first_mut. @@ -14252,7 +14377,7 @@ Module slice. Global Instance AssociatedFunction_take_last : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take_last" (take_last T). + M.IsAssociatedFunction.C (Self T) "take_last" (take_last T). Admitted. Global Typeclasses Opaque take_last. @@ -14454,7 +14579,7 @@ Module slice. Global Instance AssociatedFunction_take_last_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "take_last_mut" (take_last_mut T). + M.IsAssociatedFunction.C (Self T) "take_last_mut" (take_last_mut T). Admitted. Global Typeclasses Opaque take_last_mut. @@ -14672,7 +14797,12 @@ Module slice. [ ("start", Value.Integer IntegerKind.Usize 0); ("end_", - M.read (| M.get_constant "core::slice::get_many_unchecked_mut::N" |)) + M.read (| + get_constant (| + "core::slice::get_many_unchecked_mut::N", + Ty.path "usize" + |) + |)) ] ] |) @@ -14994,7 +15124,7 @@ Module slice. Global Instance AssociatedFunction_get_many_unchecked_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_many_unchecked_mut" (get_many_unchecked_mut T). + M.IsAssociatedFunction.C (Self T) "get_many_unchecked_mut" (get_many_unchecked_mut T). Admitted. Global Typeclasses Opaque get_many_unchecked_mut. @@ -15127,7 +15257,7 @@ Module slice. Global Instance AssociatedFunction_get_many_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_many_mut" (get_many_mut T). + M.IsAssociatedFunction.C (Self T) "get_many_mut" (get_many_mut T). Admitted. Global Typeclasses Opaque get_many_mut. @@ -15169,7 +15299,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15344,7 +15478,7 @@ Module slice. Global Instance AssociatedFunction_elem_offset : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "elem_offset" (elem_offset T). + M.IsAssociatedFunction.C (Self T) "elem_offset" (elem_offset T). Admitted. Global Typeclasses Opaque elem_offset. @@ -15392,7 +15526,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15627,7 +15765,7 @@ Module slice. Global Instance AssociatedFunction_subslice_range : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "subslice_range" (subslice_range T). + M.IsAssociatedFunction.C (Self T) "subslice_range" (subslice_range T). Admitted. Global Typeclasses Opaque subslice_range. End Impl_slice_T. @@ -15670,7 +15808,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15710,7 +15853,7 @@ Module slice. |) ] |); - M.read (| M.get_constant "core::slice::N" |) + M.read (| get_constant (| "core::slice::N", Ty.path "usize" |) |) ] |); M.borrow (| @@ -15745,7 +15888,7 @@ Module slice. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |) ] |); - M.read (| M.get_constant "core::slice::N" |) + M.read (| get_constant (| "core::slice::N", Ty.path "usize" |) |) ] |) |))) @@ -15799,7 +15942,7 @@ Module slice. Global Instance AssociatedFunction_as_flattened : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_flattened" (as_flattened N T). + M.IsAssociatedFunction.C (Self N T) "as_flattened" (as_flattened N T). Admitted. Global Typeclasses Opaque as_flattened. @@ -15841,7 +15984,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -15884,7 +16031,9 @@ Module slice. |) ] |); - M.read (| M.get_constant "core::slice::N" |) + M.read (| + get_constant (| "core::slice::N", Ty.path "usize" |) + |) ] |); M.borrow (| @@ -15924,7 +16073,7 @@ Module slice. |) ] |); - M.read (| M.get_constant "core::slice::N" |) + M.read (| get_constant (| "core::slice::N", Ty.path "usize" |) |) ] |) |))) @@ -15993,7 +16142,7 @@ Module slice. Global Instance AssociatedFunction_as_flattened_mut : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_flattened_mut" (as_flattened_mut N T). + M.IsAssociatedFunction.C (Self N T) "as_flattened_mut" (as_flattened_mut N T). Admitted. Global Typeclasses Opaque as_flattened_mut. End Impl_slice_array_N_T. @@ -16041,7 +16190,7 @@ Module slice. end. Global Instance AssociatedFunction_sort_floats : - M.IsAssociatedFunction.Trait Self "sort_floats" sort_floats. + M.IsAssociatedFunction.C Self "sort_floats" sort_floats. Admitted. Global Typeclasses Opaque sort_floats. End Impl_slice_f32. @@ -16089,7 +16238,7 @@ Module slice. end. Global Instance AssociatedFunction_sort_floats : - M.IsAssociatedFunction.Trait Self "sort_floats" sort_floats. + M.IsAssociatedFunction.C Self "sort_floats" sort_floats. Admitted. Global Typeclasses Opaque sort_floats. End Impl_slice_f64. @@ -16896,7 +17045,7 @@ Module slice. end. Global Instance Instance_IsFunction_get_many_check_valid : - M.IsFunction.Trait "core::slice::get_many_check_valid" get_many_check_valid. + M.IsFunction.C "core::slice::get_many_check_valid" get_many_check_valid. Admitted. Global Typeclasses Opaque get_many_check_valid. diff --git a/CoqOfRust/core/slice/raw.v b/CoqOfRust/core/slice/raw.v index 3a2ff114c..4814f356a 100644 --- a/CoqOfRust/core/slice/raw.v +++ b/CoqOfRust/core/slice/raw.v @@ -100,7 +100,7 @@ Module slice. end. Global Instance Instance_IsFunction_from_raw_parts : - M.IsFunction.Trait "core::slice::raw::from_raw_parts" from_raw_parts. + M.IsFunction.C "core::slice::raw::from_raw_parts" from_raw_parts. Admitted. Global Typeclasses Opaque from_raw_parts. @@ -226,7 +226,7 @@ Module slice. end. Global Instance Instance_IsFunction_from_raw_parts_mut : - M.IsFunction.Trait "core::slice::raw::from_raw_parts_mut" from_raw_parts_mut. + M.IsFunction.C "core::slice::raw::from_raw_parts_mut" from_raw_parts_mut. Admitted. Global Typeclasses Opaque from_raw_parts_mut. @@ -257,7 +257,7 @@ Module slice. end. Global Instance Instance_IsFunction_from_ref : - M.IsFunction.Trait "core::slice::raw::from_ref" from_ref. + M.IsFunction.C "core::slice::raw::from_ref" from_ref. Admitted. Global Typeclasses Opaque from_ref. @@ -293,7 +293,7 @@ Module slice. end. Global Instance Instance_IsFunction_from_mut : - M.IsFunction.Trait "core::slice::raw::from_mut" from_mut. + M.IsFunction.C "core::slice::raw::from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -355,7 +355,7 @@ Module slice. end. Global Instance Instance_IsFunction_from_ptr_range : - M.IsFunction.Trait "core::slice::raw::from_ptr_range" from_ptr_range. + M.IsFunction.C "core::slice::raw::from_ptr_range" from_ptr_range. Admitted. Global Typeclasses Opaque from_ptr_range. @@ -429,7 +429,7 @@ Module slice. end. Global Instance Instance_IsFunction_from_mut_ptr_range : - M.IsFunction.Trait "core::slice::raw::from_mut_ptr_range" from_mut_ptr_range. + M.IsFunction.C "core::slice::raw::from_mut_ptr_range" from_mut_ptr_range. Admitted. Global Typeclasses Opaque from_mut_ptr_range. End raw. diff --git a/CoqOfRust/core/slice/rotate.v b/CoqOfRust/core/slice/rotate.v index dee8e45cb..91d41ba1c 100644 --- a/CoqOfRust/core/slice/rotate.v +++ b/CoqOfRust/core/slice/rotate.v @@ -198,7 +198,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1535,7 +1539,7 @@ Module slice. end. Global Instance Instance_IsFunction_ptr_rotate : - M.IsFunction.Trait "core::slice::rotate::ptr_rotate" ptr_rotate. + M.IsFunction.C "core::slice::rotate::ptr_rotate" ptr_rotate. Admitted. Global Typeclasses Opaque ptr_rotate. diff --git a/CoqOfRust/core/slice/sort/select.v b/CoqOfRust/core/slice/sort/select.v index 62f5671de..bc08d50b3 100644 --- a/CoqOfRust/core/slice/sort/select.v +++ b/CoqOfRust/core/slice/sort/select.v @@ -177,7 +177,12 @@ Module slice. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + (let γ := + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| Value.Tuple [] |))); @@ -477,17 +482,23 @@ Module slice. end. Global Instance Instance_IsFunction_partition_at_index : - M.IsFunction.Trait "core::slice::sort::select::partition_at_index" partition_at_index. + M.IsFunction.C "core::slice::sort::select::partition_at_index" partition_at_index. Admitted. Global Typeclasses Opaque partition_at_index. - Definition value_INSERTION_SORT_THRESHOLD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_INSERTION_SORT_THRESHOLD + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_INSERTION_SORT_THRESHOLD : - (M.get_constant "core::slice::sort::select::INSERTION_SORT_THRESHOLD") = + Global Instance Instance_IsConstant_value_INSERTION_SORT_THRESHOLD : + M.IsFunction.C + "core::slice::sort::select::INSERTION_SORT_THRESHOLD" value_INSERTION_SORT_THRESHOLD. - Global Hint Rewrite Constant_value_INSERTION_SORT_THRESHOLD : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_INSERTION_SORT_THRESHOLD. (* fn partition_at_index_loop<'a, T, F>( @@ -620,8 +631,10 @@ Module slice. ] |), M.read (| - M.get_constant - "core::slice::sort::select::INSERTION_SORT_THRESHOLD" + get_constant (| + "core::slice::sort::select::INSERTION_SORT_THRESHOLD", + Ty.path "usize" + |) |) |) |)) in @@ -1405,9 +1418,7 @@ Module slice. end. Global Instance Instance_IsFunction_partition_at_index_loop : - M.IsFunction.Trait - "core::slice::sort::select::partition_at_index_loop" - partition_at_index_loop. + M.IsFunction.C "core::slice::sort::select::partition_at_index_loop" partition_at_index_loop. Admitted. Global Typeclasses Opaque partition_at_index_loop. @@ -1673,7 +1684,7 @@ Module slice. end. Global Instance Instance_IsFunction_min_index : - M.IsFunction.Trait "core::slice::sort::select::min_index" min_index. + M.IsFunction.C "core::slice::sort::select::min_index" min_index. Admitted. Global Typeclasses Opaque min_index. @@ -1939,7 +1950,7 @@ Module slice. end. Global Instance Instance_IsFunction_max_index : - M.IsFunction.Trait "core::slice::sort::select::max_index" max_index. + M.IsFunction.C "core::slice::sort::select::max_index" max_index. Admitted. Global Typeclasses Opaque max_index. @@ -2087,8 +2098,10 @@ Module slice. UnOp.not (| UnOp.not (| M.read (| - M.get_constant - "core::mem::SizedTypeProperties::IS_ZST" + get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |) |) |) |) @@ -2147,8 +2160,10 @@ Module slice. ] |), M.read (| - M.get_constant - "core::slice::sort::select::INSERTION_SORT_THRESHOLD" + get_constant (| + "core::slice::sort::select::INSERTION_SORT_THRESHOLD", + Ty.path "usize" + |) |) |) |)) in @@ -2618,7 +2633,7 @@ Module slice. end. Global Instance Instance_IsFunction_median_of_medians : - M.IsFunction.Trait "core::slice::sort::select::median_of_medians" median_of_medians. + M.IsFunction.C "core::slice::sort::select::median_of_medians" median_of_medians. Admitted. Global Typeclasses Opaque median_of_medians. @@ -3078,7 +3093,7 @@ Module slice. end. Global Instance Instance_IsFunction_median_of_ninthers : - M.IsFunction.Trait "core::slice::sort::select::median_of_ninthers" median_of_ninthers. + M.IsFunction.C "core::slice::sort::select::median_of_ninthers" median_of_ninthers. Admitted. Global Typeclasses Opaque median_of_ninthers. @@ -3873,7 +3888,7 @@ Module slice. end. Global Instance Instance_IsFunction_ninther : - M.IsFunction.Trait "core::slice::sort::select::ninther" ninther. + M.IsFunction.C "core::slice::sort::select::ninther" ninther. Admitted. Global Typeclasses Opaque ninther. @@ -4141,7 +4156,7 @@ Module slice. end. Global Instance Instance_IsFunction_median_idx : - M.IsFunction.Trait "core::slice::sort::select::median_idx" median_idx. + M.IsFunction.C "core::slice::sort::select::median_idx" median_idx. Admitted. Global Typeclasses Opaque median_idx. End select. diff --git a/CoqOfRust/core/slice/sort/shared/mod.v b/CoqOfRust/core/slice/sort/shared/mod.v index a218f6b5f..8dbba8c03 100644 --- a/CoqOfRust/core/slice/sort/shared/mod.v +++ b/CoqOfRust/core/slice/sort/shared/mod.v @@ -449,7 +449,7 @@ Module slice. end. Global Instance Instance_IsFunction_find_existing_run : - M.IsFunction.Trait "core::slice::sort::shared::find_existing_run" find_existing_run. + M.IsFunction.C "core::slice::sort::shared::find_existing_run" find_existing_run. Admitted. Global Typeclasses Opaque find_existing_run. End shared. diff --git a/CoqOfRust/core/slice/sort/shared/pivot.v b/CoqOfRust/core/slice/sort/shared/pivot.v index 75356ce06..98fcf0adb 100644 --- a/CoqOfRust/core/slice/sort/shared/pivot.v +++ b/CoqOfRust/core/slice/sort/shared/pivot.v @@ -5,13 +5,19 @@ Module slice. Module sort. Module shared. Module pivot. - Definition value_PSEUDO_MEDIAN_REC_THRESHOLD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 64 |))). + Definition value_PSEUDO_MEDIAN_REC_THRESHOLD + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 64 |))). - Axiom Constant_value_PSEUDO_MEDIAN_REC_THRESHOLD : - (M.get_constant "core::slice::sort::shared::pivot::PSEUDO_MEDIAN_REC_THRESHOLD") = + Global Instance Instance_IsConstant_value_PSEUDO_MEDIAN_REC_THRESHOLD : + M.IsFunction.C + "core::slice::sort::shared::pivot::PSEUDO_MEDIAN_REC_THRESHOLD" value_PSEUDO_MEDIAN_REC_THRESHOLD. - Global Hint Rewrite Constant_value_PSEUDO_MEDIAN_REC_THRESHOLD : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_PSEUDO_MEDIAN_REC_THRESHOLD. (* pub fn choose_pivot bool>(v: &[T], is_less: &mut F) -> usize { @@ -157,8 +163,10 @@ Module slice. BinOp.lt (| M.read (| len |), M.read (| - M.get_constant - "core::slice::sort::shared::pivot::PSEUDO_MEDIAN_REC_THRESHOLD" + get_constant (| + "core::slice::sort::shared::pivot::PSEUDO_MEDIAN_REC_THRESHOLD", + Ty.path "usize" + |) |) |) |)) in @@ -251,7 +259,7 @@ Module slice. end. Global Instance Instance_IsFunction_choose_pivot : - M.IsFunction.Trait "core::slice::sort::shared::pivot::choose_pivot" choose_pivot. + M.IsFunction.C "core::slice::sort::shared::pivot::choose_pivot" choose_pivot. Admitted. Global Typeclasses Opaque choose_pivot. @@ -302,8 +310,10 @@ Module slice. Value.Integer IntegerKind.Usize 8 |), M.read (| - M.get_constant - "core::slice::sort::shared::pivot::PSEUDO_MEDIAN_REC_THRESHOLD" + get_constant (| + "core::slice::sort::shared::pivot::PSEUDO_MEDIAN_REC_THRESHOLD", + Ty.path "usize" + |) |) |) |)) in @@ -505,7 +515,7 @@ Module slice. end. Global Instance Instance_IsFunction_median3_rec : - M.IsFunction.Trait "core::slice::sort::shared::pivot::median3_rec" median3_rec. + M.IsFunction.C "core::slice::sort::shared::pivot::median3_rec" median3_rec. Admitted. Global Typeclasses Opaque median3_rec. @@ -674,7 +684,7 @@ Module slice. end. Global Instance Instance_IsFunction_median3 : - M.IsFunction.Trait "core::slice::sort::shared::pivot::median3" median3. + M.IsFunction.C "core::slice::sort::shared::pivot::median3" median3. Admitted. Global Typeclasses Opaque median3. End pivot. diff --git a/CoqOfRust/core/slice/sort/shared/smallsort.v b/CoqOfRust/core/slice/sort/shared/smallsort.v index 9f0894f3c..1a4ab547b 100644 --- a/CoqOfRust/core/slice/sort/shared/smallsort.v +++ b/CoqOfRust/core/slice/sort/shared/smallsort.v @@ -28,8 +28,10 @@ Module slice. | [], [], [] => ltac:(M.monadic (M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD", + Ty.path "usize" + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -145,8 +147,10 @@ Module slice. | [], [], [] => ltac:(M.monadic (M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD", + Ty.path "usize" + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -231,8 +235,10 @@ Module slice. | [], [], [] => ltac:(M.monadic (M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD", + Ty.path "usize" + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -428,24 +434,32 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" + get_constant (| + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE", + Ty.path "usize" + |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD")); + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD", + Ty.path "usize" + |))); fun γ => ltac:(M.monadic - (M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD")) + (get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD", + Ty.path "usize" + |))) ] |) |))) @@ -494,13 +508,17 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" + get_constant (| + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -637,21 +655,27 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" + get_constant (| + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE", + Ty.path "usize" + |) |) |))) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_THRESHOLD")); + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_THRESHOLD", + Ty.path "usize" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -671,13 +695,17 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" + get_constant (| + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -686,12 +714,16 @@ Module slice. M.read (| γ |), Value.Bool true |) in - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD")); + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD", + Ty.path "usize" + |))); fun γ => ltac:(M.monadic - (M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD")) + (get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD", + Ty.path "usize" + |))) ] |))) ] @@ -757,13 +789,17 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" + get_constant (| + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE", + Ty.path "usize" + |) |) |))) |) @@ -808,13 +844,17 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" + get_constant (| + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -891,66 +931,104 @@ Module slice. ]. End Impl_core_slice_sort_shared_smallsort_UnstableSmallSortFreezeTypeImpl_where_core_slice_sort_shared_FreezeMarker_T_where_core_slice_sort_shared_smallsort_CopyMarker_T_for_T. - Definition value_SMALL_SORT_FALLBACK_THRESHOLD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_SMALL_SORT_FALLBACK_THRESHOLD + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_SMALL_SORT_FALLBACK_THRESHOLD : - (M.get_constant "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD") = + Global Instance Instance_IsConstant_value_SMALL_SORT_FALLBACK_THRESHOLD : + M.IsFunction.C + "core::slice::sort::shared::smallsort::SMALL_SORT_FALLBACK_THRESHOLD" value_SMALL_SORT_FALLBACK_THRESHOLD. - Global Hint Rewrite Constant_value_SMALL_SORT_FALLBACK_THRESHOLD : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SMALL_SORT_FALLBACK_THRESHOLD. - Definition value_SMALL_SORT_GENERAL_THRESHOLD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). + Definition value_SMALL_SORT_GENERAL_THRESHOLD + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). - Axiom Constant_value_SMALL_SORT_GENERAL_THRESHOLD : - (M.get_constant "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD") = + Global Instance Instance_IsConstant_value_SMALL_SORT_GENERAL_THRESHOLD : + M.IsFunction.C + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD" value_SMALL_SORT_GENERAL_THRESHOLD. - Global Hint Rewrite Constant_value_SMALL_SORT_GENERAL_THRESHOLD : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SMALL_SORT_GENERAL_THRESHOLD. - Definition value_SMALL_SORT_GENERAL_SCRATCH_LEN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.add (| - M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD" - |), - Value.Integer IntegerKind.Usize 16 - |) - |))). + Definition value_SMALL_SORT_GENERAL_SCRATCH_LEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.add (| + M.read (| + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_THRESHOLD", + Ty.path "usize" + |) + |), + Value.Integer IntegerKind.Usize 16 + |) + |))). - Axiom Constant_value_SMALL_SORT_GENERAL_SCRATCH_LEN : - (M.get_constant "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN") = + Global Instance Instance_IsConstant_value_SMALL_SORT_GENERAL_SCRATCH_LEN : + M.IsFunction.C + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" value_SMALL_SORT_GENERAL_SCRATCH_LEN. - Global Hint Rewrite Constant_value_SMALL_SORT_GENERAL_SCRATCH_LEN : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SMALL_SORT_GENERAL_SCRATCH_LEN. - Definition value_SMALL_SORT_NETWORK_THRESHOLD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). + Definition value_SMALL_SORT_NETWORK_THRESHOLD + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). - Axiom Constant_value_SMALL_SORT_NETWORK_THRESHOLD : - (M.get_constant "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_THRESHOLD") = + Global Instance Instance_IsConstant_value_SMALL_SORT_NETWORK_THRESHOLD : + M.IsFunction.C + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_THRESHOLD" value_SMALL_SORT_NETWORK_THRESHOLD. - Global Hint Rewrite Constant_value_SMALL_SORT_NETWORK_THRESHOLD : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SMALL_SORT_NETWORK_THRESHOLD. - Definition value_SMALL_SORT_NETWORK_SCRATCH_LEN : Value.t := - M.run_constant - ltac:(M.monadic - (M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_THRESHOLD")). + Definition value_SMALL_SORT_NETWORK_SCRATCH_LEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_THRESHOLD", + Ty.path "usize" + |))). - Axiom Constant_value_SMALL_SORT_NETWORK_SCRATCH_LEN : - (M.get_constant "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN") = + Global Instance Instance_IsConstant_value_SMALL_SORT_NETWORK_SCRATCH_LEN : + M.IsFunction.C + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN" value_SMALL_SORT_NETWORK_SCRATCH_LEN. - Global Hint Rewrite Constant_value_SMALL_SORT_NETWORK_SCRATCH_LEN : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SMALL_SORT_NETWORK_SCRATCH_LEN. - Definition value_MAX_STACK_ARRAY_SIZE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4096 |))). + Definition value_MAX_STACK_ARRAY_SIZE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4096 |))). - Axiom Constant_value_MAX_STACK_ARRAY_SIZE : - (M.get_constant "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE") = + Global Instance Instance_IsConstant_value_MAX_STACK_ARRAY_SIZE : + M.IsFunction.C + "core::slice::sort::shared::smallsort::MAX_STACK_ARRAY_SIZE" value_MAX_STACK_ARRAY_SIZE. - Global Hint Rewrite Constant_value_MAX_STACK_ARRAY_SIZE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_STACK_ARRAY_SIZE. (* fn small_sort_fallback bool>(v: &mut [T], is_less: &mut F) { @@ -1019,7 +1097,7 @@ Module slice. end. Global Instance Instance_IsFunction_small_sort_fallback : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::small_sort_fallback" small_sort_fallback. Admitted. @@ -1136,8 +1214,10 @@ Module slice. [ M.borrow (| Pointer.Kind.MutRef, stack_array |) ] |)); M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN", + Ty.path "usize" + |) |) ] |) @@ -1166,7 +1246,7 @@ Module slice. end. Global Instance Instance_IsFunction_small_sort_general : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::small_sort_general" small_sort_general. Admitted. @@ -1412,8 +1492,10 @@ Module slice. (M.alloc (| LogicalOp.and (| M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::small_sort_general_with_scratch_discriminant" + get_constant (| + "core::slice::sort::shared::smallsort::small_sort_general_with_scratch_discriminant", + Ty.path "bool" + |) |), ltac:(M.monadic (BinOp.ge (| @@ -2111,7 +2193,7 @@ Module slice. end. Global Instance Instance_IsFunction_small_sort_general_with_scratch : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::small_sort_general_with_scratch" small_sort_general_with_scratch. Admitted. @@ -2325,8 +2407,10 @@ Module slice. BinOp.gt (| M.read (| len |), M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_NETWORK_SCRATCH_LEN", + Ty.path "usize" + |) |) |) |)) in @@ -2787,7 +2871,7 @@ Module slice. end. Global Instance Instance_IsFunction_small_sort_network : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::small_sort_network" small_sort_network. Admitted. @@ -3006,7 +3090,7 @@ Module slice. end. Global Instance Instance_IsFunction_swap_if_less : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::swap_if_less" swap_if_less. + M.IsFunction.C "core::slice::sort::shared::smallsort::swap_if_less" swap_if_less. Admitted. Global Typeclasses Opaque swap_if_less. @@ -3544,7 +3628,7 @@ Module slice. end. Global Instance Instance_IsFunction_sort9_optimal : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::sort9_optimal" sort9_optimal. + M.IsFunction.C "core::slice::sort::shared::smallsort::sort9_optimal" sort9_optimal. Admitted. Global Typeclasses Opaque sort9_optimal. @@ -4442,7 +4526,7 @@ Module slice. end. Global Instance Instance_IsFunction_sort13_optimal : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::sort13_optimal" sort13_optimal. + M.IsFunction.C "core::slice::sort::shared::smallsort::sort13_optimal" sort13_optimal. Admitted. Global Typeclasses Opaque sort13_optimal. @@ -4807,7 +4891,7 @@ Module slice. end. Global Instance Instance_IsFunction_insert_tail : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::insert_tail" insert_tail. + M.IsFunction.C "core::slice::sort::shared::smallsort::insert_tail" insert_tail. Admitted. Global Typeclasses Opaque insert_tail. @@ -5010,7 +5094,7 @@ Module slice. end. Global Instance Instance_IsFunction_insertion_sort_shift_left : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::insertion_sort_shift_left" insertion_sort_shift_left. Admitted. @@ -5548,7 +5632,7 @@ Module slice. end. Global Instance Instance_IsFunction_sort4_stable : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::sort4_stable" sort4_stable. + M.IsFunction.C "core::slice::sort::shared::smallsort::sort4_stable" sort4_stable. Admitted. Global Typeclasses Opaque sort4_stable. @@ -5584,7 +5668,7 @@ Module slice. end. Global Instance Instance_IsFunction_select : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::sort4_stable::select" select. + M.IsFunction.C "core::slice::sort::shared::smallsort::sort4_stable::select" select. Admitted. Global Typeclasses Opaque select. End sort4_stable. @@ -5715,7 +5799,7 @@ Module slice. end. Global Instance Instance_IsFunction_sort8_stable : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::sort8_stable" sort8_stable. + M.IsFunction.C "core::slice::sort::shared::smallsort::sort8_stable" sort8_stable. Admitted. Global Typeclasses Opaque sort8_stable. @@ -5893,7 +5977,7 @@ Module slice. end. Global Instance Instance_IsFunction_merge_up : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::merge_up" merge_up. + M.IsFunction.C "core::slice::sort::shared::smallsort::merge_up" merge_up. Admitted. Global Typeclasses Opaque merge_up. @@ -6071,7 +6155,7 @@ Module slice. end. Global Instance Instance_IsFunction_merge_down : - M.IsFunction.Trait "core::slice::sort::shared::smallsort::merge_down" merge_down. + M.IsFunction.C "core::slice::sort::shared::smallsort::merge_down" merge_down. Admitted. Global Typeclasses Opaque merge_down. @@ -6634,7 +6718,7 @@ Module slice. end. Global Instance Instance_IsFunction_bidirectional_merge : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::bidirectional_merge" bidirectional_merge. Admitted. @@ -6704,7 +6788,7 @@ Module slice. end. Global Instance Instance_IsFunction_panic_on_ord_violation : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::panic_on_ord_violation" panic_on_ord_violation. Admitted. @@ -6736,7 +6820,7 @@ Module slice. end. Global Instance Instance_IsFunction_has_efficient_in_place_swap : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::shared::smallsort::has_efficient_in_place_swap" has_efficient_in_place_swap. Admitted. diff --git a/CoqOfRust/core/slice/sort/stable/drift.v b/CoqOfRust/core/slice/sort/stable/drift.v index 33a1b51b0..9122f38d8 100644 --- a/CoqOfRust/core/slice/sort/stable/drift.v +++ b/CoqOfRust/core/slice/sort/stable/drift.v @@ -185,12 +185,16 @@ Module slice. M.read (| len |), BinOp.Wrap.mul (| M.read (| - M.get_constant - "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN" + get_constant (| + "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN", + Ty.path "usize" + |) |), M.read (| - M.get_constant - "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN" + get_constant (| + "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN", + Ty.path "usize" + |) |) |) |) @@ -213,8 +217,10 @@ Module slice. |) |); M.read (| - M.get_constant - "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN" + get_constant (| + "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN", + Ty.path "usize" + |) |) ] |) @@ -1018,18 +1024,24 @@ Module slice. end. Global Instance Instance_IsFunction_sort : - M.IsFunction.Trait "core::slice::sort::stable::drift::sort" sort. + M.IsFunction.C "core::slice::sort::stable::drift::sort" sort. Admitted. Global Typeclasses Opaque sort. Module sort. - Definition value_MIN_SQRT_RUN_LEN : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 64 |))). + Definition value_MIN_SQRT_RUN_LEN + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 64 |))). - Axiom Constant_value_MIN_SQRT_RUN_LEN : - (M.get_constant "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN") = + Global Instance Instance_IsConstant_value_MIN_SQRT_RUN_LEN : + M.IsFunction.C + "core::slice::sort::stable::drift::sort::MIN_SQRT_RUN_LEN" value_MIN_SQRT_RUN_LEN. - Global Hint Rewrite Constant_value_MIN_SQRT_RUN_LEN : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MIN_SQRT_RUN_LEN. End sort. (* @@ -1062,8 +1074,20 @@ Module slice. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "core::num::BITS" |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "BITS", + Ty.path "u32" + |) + |), + M.read (| + get_associated_constant (| + Ty.path "u64", + "BITS", + Ty.path "u32" + |) + |) |) |)) in let _ := @@ -1123,7 +1147,7 @@ Module slice. end. Global Instance Instance_IsFunction_merge_tree_scale_factor : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::stable::drift::merge_tree_scale_factor" merge_tree_scale_factor. Admitted. @@ -1177,7 +1201,7 @@ Module slice. end. Global Instance Instance_IsFunction_merge_tree_depth : - M.IsFunction.Trait "core::slice::sort::stable::drift::merge_tree_depth" merge_tree_depth. + M.IsFunction.C "core::slice::sort::stable::drift::merge_tree_depth" merge_tree_depth. Admitted. Global Typeclasses Opaque merge_tree_depth. @@ -1233,7 +1257,7 @@ Module slice. end. Global Instance Instance_IsFunction_sqrt_approx : - M.IsFunction.Trait "core::slice::sort::stable::drift::sqrt_approx" sqrt_approx. + M.IsFunction.C "core::slice::sort::stable::drift::sqrt_approx" sqrt_approx. Admitted. Global Typeclasses Opaque sqrt_approx. @@ -1624,7 +1648,7 @@ Module slice. end. Global Instance Instance_IsFunction_logical_merge : - M.IsFunction.Trait "core::slice::sort::stable::drift::logical_merge" logical_merge. + M.IsFunction.C "core::slice::sort::stable::drift::logical_merge" logical_merge. Admitted. Global Typeclasses Opaque logical_merge. @@ -2010,7 +2034,7 @@ Module slice. end. Global Instance Instance_IsFunction_create_run : - M.IsFunction.Trait "core::slice::sort::stable::drift::create_run" create_run. + M.IsFunction.C "core::slice::sort::stable::drift::create_run" create_run. Admitted. Global Typeclasses Opaque create_run. @@ -2082,7 +2106,7 @@ Module slice. end. Global Instance Instance_IsFunction_stable_quicksort : - M.IsFunction.Trait "core::slice::sort::stable::drift::stable_quicksort" stable_quicksort. + M.IsFunction.C "core::slice::sort::stable::drift::stable_quicksort" stable_quicksort. Admitted. Global Typeclasses Opaque stable_quicksort. @@ -2158,7 +2182,7 @@ Module slice. end. Global Instance AssociatedFunction_new_sorted : - M.IsAssociatedFunction.Trait Self "new_sorted" new_sorted. + M.IsAssociatedFunction.C Self "new_sorted" new_sorted. Admitted. Global Typeclasses Opaque new_sorted. @@ -2179,7 +2203,7 @@ Module slice. end. Global Instance AssociatedFunction_new_unsorted : - M.IsAssociatedFunction.Trait Self "new_unsorted" new_unsorted. + M.IsAssociatedFunction.C Self "new_unsorted" new_unsorted. Admitted. Global Typeclasses Opaque new_unsorted. @@ -2208,8 +2232,7 @@ Module slice. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_sorted : - M.IsAssociatedFunction.Trait Self "sorted" sorted. + Global Instance AssociatedFunction_sorted : M.IsAssociatedFunction.C Self "sorted" sorted. Admitted. Global Typeclasses Opaque sorted. @@ -2236,7 +2259,7 @@ Module slice. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. End Impl_core_slice_sort_stable_drift_DriftsortRun. diff --git a/CoqOfRust/core/slice/sort/stable/merge.v b/CoqOfRust/core/slice/sort/stable/merge.v index e2d9c237d..790abf5c4 100644 --- a/CoqOfRust/core/slice/sort/stable/merge.v +++ b/CoqOfRust/core/slice/sort/stable/merge.v @@ -362,7 +362,7 @@ Module slice. end. Global Instance Instance_IsFunction_merge : - M.IsFunction.Trait "core::slice::sort::stable::merge::merge" merge. + M.IsFunction.C "core::slice::sort::stable::merge::merge" merge. Admitted. Global Typeclasses Opaque merge. @@ -656,7 +656,7 @@ Module slice. Global Instance AssociatedFunction_merge_up : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "merge_up" (merge_up T). + M.IsAssociatedFunction.C (Self T) "merge_up" (merge_up T). Admitted. Global Typeclasses Opaque merge_up. @@ -949,7 +949,7 @@ Module slice. Global Instance AssociatedFunction_merge_down : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "merge_down" (merge_down T). + M.IsAssociatedFunction.C (Self T) "merge_down" (merge_down T). Admitted. Global Typeclasses Opaque merge_down. End Impl_core_slice_sort_stable_merge_MergeState_T. diff --git a/CoqOfRust/core/slice/sort/stable/mod.v b/CoqOfRust/core/slice/sort/stable/mod.v index 466e8605e..e4bc543e4 100644 --- a/CoqOfRust/core/slice/sort/stable/mod.v +++ b/CoqOfRust/core/slice/sort/stable/mod.v @@ -77,7 +77,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -145,8 +149,10 @@ Module slice. BinOp.le (| M.read (| len |), M.read (| - M.get_constant - "core::slice::sort::stable::sort::MAX_LEN_ALWAYS_INSERTION_SORT" + get_constant (| + "core::slice::sort::stable::sort::MAX_LEN_ALWAYS_INSERTION_SORT", + Ty.path "usize" + |) |) |) ] @@ -208,18 +214,24 @@ Module slice. end. Global Instance Instance_IsFunction_sort : - M.IsFunction.Trait "core::slice::sort::stable::sort" sort. + M.IsFunction.C "core::slice::sort::stable::sort" sort. Admitted. Global Typeclasses Opaque sort. Module sort. - Definition value_MAX_LEN_ALWAYS_INSERTION_SORT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 20 |))). + Definition value_MAX_LEN_ALWAYS_INSERTION_SORT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 20 |))). - Axiom Constant_value_MAX_LEN_ALWAYS_INSERTION_SORT : - (M.get_constant "core::slice::sort::stable::sort::MAX_LEN_ALWAYS_INSERTION_SORT") = + Global Instance Instance_IsConstant_value_MAX_LEN_ALWAYS_INSERTION_SORT : + M.IsFunction.C + "core::slice::sort::stable::sort::MAX_LEN_ALWAYS_INSERTION_SORT" value_MAX_LEN_ALWAYS_INSERTION_SORT. - Global Hint Rewrite Constant_value_MAX_LEN_ALWAYS_INSERTION_SORT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_LEN_ALWAYS_INSERTION_SORT. End sort. (* @@ -268,8 +280,10 @@ Module slice. M.alloc (| BinOp.Wrap.div (| M.read (| - M.get_constant - "core::slice::sort::stable::driftsort_main::MAX_FULL_ALLOC_BYTES" + get_constant (| + "core::slice::sort::stable::driftsort_main::MAX_FULL_ALLOC_BYTES", + Ty.path "usize" + |) |), M.call_closure (| Ty.path "usize", @@ -310,8 +324,10 @@ Module slice. ] |); M.read (| - M.get_constant - "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN" + get_constant (| + "core::slice::sort::shared::smallsort::SMALL_SORT_GENERAL_SCRATCH_LEN", + Ty.path "usize" + |) |) ] |) @@ -534,18 +550,24 @@ Module slice. end. Global Instance Instance_IsFunction_driftsort_main : - M.IsFunction.Trait "core::slice::sort::stable::driftsort_main" driftsort_main. + M.IsFunction.C "core::slice::sort::stable::driftsort_main" driftsort_main. Admitted. Global Typeclasses Opaque driftsort_main. Module driftsort_main. - Definition value_MAX_FULL_ALLOC_BYTES : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8000000 |))). + Definition value_MAX_FULL_ALLOC_BYTES + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8000000 |))). - Axiom Constant_value_MAX_FULL_ALLOC_BYTES : - (M.get_constant "core::slice::sort::stable::driftsort_main::MAX_FULL_ALLOC_BYTES") = + Global Instance Instance_IsConstant_value_MAX_FULL_ALLOC_BYTES : + M.IsFunction.C + "core::slice::sort::stable::driftsort_main::MAX_FULL_ALLOC_BYTES" value_MAX_FULL_ALLOC_BYTES. - Global Hint Rewrite Constant_value_MAX_FULL_ALLOC_BYTES : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_FULL_ALLOC_BYTES. End driftsort_main. (* Trait *) @@ -593,7 +615,15 @@ Module slice. ("_align", Value.Array []); ("storage", repeat (| - M.read (| M.get_constant "core::slice::sort::stable::new_discriminant" |), + M.read (| + get_constant (| + "core::slice::sort::stable::new_discriminant", + Ty.apply + (Ty.path "core::mem::maybe_uninit::MaybeUninit") + [] + [ Ty.path "u8" ] + |) + |), N |)) ])) @@ -602,7 +632,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "new" (new N T). + M.IsAssociatedFunction.C (Self N T) "new" (new N T). Admitted. Global Typeclasses Opaque new. @@ -633,7 +663,9 @@ Module slice. let~ len : Ty.path "usize" := M.alloc (| BinOp.Wrap.div (| - M.read (| M.get_constant "core::slice::sort::stable::N" |), + M.read (| + get_constant (| "core::slice::sort::stable::N", Ty.path "usize" |) + |), M.call_closure (| Ty.path "usize", M.get_function (| "core::mem::size_of", [], [ T ] |), @@ -757,7 +789,7 @@ Module slice. Global Instance AssociatedFunction_as_uninit_slice_mut : forall (N : Value.t) (T : Ty.t), - M.IsAssociatedFunction.Trait (Self N T) "as_uninit_slice_mut" (as_uninit_slice_mut N T). + M.IsAssociatedFunction.C (Self N T) "as_uninit_slice_mut" (as_uninit_slice_mut N T). Admitted. Global Typeclasses Opaque as_uninit_slice_mut. End Impl_core_slice_sort_stable_AlignedStorage_N_T. diff --git a/CoqOfRust/core/slice/sort/stable/quicksort.v b/CoqOfRust/core/slice/sort/stable/quicksort.v index 15aef7f4a..52d635938 100644 --- a/CoqOfRust/core/slice/sort/stable/quicksort.v +++ b/CoqOfRust/core/slice/sort/stable/quicksort.v @@ -843,7 +843,7 @@ Module slice. end. Global Instance Instance_IsFunction_quicksort : - M.IsFunction.Trait "core::slice::sort::stable::quicksort::quicksort" quicksort. + M.IsFunction.C "core::slice::sort::stable::quicksort::quicksort" quicksort. Admitted. Global Typeclasses Opaque quicksort. @@ -1111,8 +1111,10 @@ Module slice. ltac:(M.monadic (let γ := M.use - (M.get_constant - "core::slice::sort::stable::quicksort::stable_partition_discriminant") in + (get_constant (| + "core::slice::sort::stable::quicksort::stable_partition_discriminant", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -1142,8 +1144,10 @@ Module slice. M.read (| loop_end_pos |); BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::slice::sort::stable::quicksort::stable_partition::UNROLL_LEN" + get_constant (| + "core::slice::sort::stable::quicksort::stable_partition::UNROLL_LEN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -1905,20 +1909,20 @@ Module slice. end. Global Instance Instance_IsFunction_stable_partition : - M.IsFunction.Trait - "core::slice::sort::stable::quicksort::stable_partition" - stable_partition. + M.IsFunction.C "core::slice::sort::stable::quicksort::stable_partition" stable_partition. Admitted. Global Typeclasses Opaque stable_partition. Module stable_partition. - Definition value_UNROLL_LEN : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). + Definition value_UNROLL_LEN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). - Axiom Constant_value_UNROLL_LEN : - (M.get_constant "core::slice::sort::stable::quicksort::stable_partition::UNROLL_LEN") = + Global Instance Instance_IsConstant_value_UNROLL_LEN : + M.IsFunction.C + "core::slice::sort::stable::quicksort::stable_partition::UNROLL_LEN" value_UNROLL_LEN. - Global Hint Rewrite Constant_value_UNROLL_LEN : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_UNROLL_LEN. End stable_partition. (* StructRecord @@ -1976,7 +1980,7 @@ Module slice. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -2165,7 +2169,7 @@ Module slice. Global Instance AssociatedFunction_partition_one : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "partition_one" (partition_one T). + M.IsAssociatedFunction.C (Self T) "partition_one" (partition_one T). Admitted. Global Typeclasses Opaque partition_one. End Impl_core_slice_sort_stable_quicksort_PartitionState_T. @@ -2268,7 +2272,7 @@ Module slice. end. Global Instance Instance_IsFunction_has_direct_interior_mutability : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::stable::quicksort::has_direct_interior_mutability" has_direct_interior_mutability. Admitted. diff --git a/CoqOfRust/core/slice/sort/unstable/heapsort.v b/CoqOfRust/core/slice/sort/unstable/heapsort.v index c962fe497..8ce6a71b1 100644 --- a/CoqOfRust/core/slice/sort/unstable/heapsort.v +++ b/CoqOfRust/core/slice/sort/unstable/heapsort.v @@ -302,7 +302,7 @@ Module slice. end. Global Instance Instance_IsFunction_heapsort : - M.IsFunction.Trait "core::slice::sort::unstable::heapsort::heapsort" heapsort. + M.IsFunction.C "core::slice::sort::unstable::heapsort::heapsort" heapsort. Admitted. Global Typeclasses Opaque heapsort. @@ -683,7 +683,7 @@ Module slice. end. Global Instance Instance_IsFunction_sift_down : - M.IsFunction.Trait "core::slice::sort::unstable::heapsort::sift_down" sift_down. + M.IsFunction.C "core::slice::sort::unstable::heapsort::sift_down" sift_down. Admitted. Global Typeclasses Opaque sift_down. End heapsort. diff --git a/CoqOfRust/core/slice/sort/unstable/mod.v b/CoqOfRust/core/slice/sort/unstable/mod.v index 929f59f17..140f1fbfa 100644 --- a/CoqOfRust/core/slice/sort/unstable/mod.v +++ b/CoqOfRust/core/slice/sort/unstable/mod.v @@ -56,7 +56,11 @@ Module slice. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::mem::SizedTypeProperties::IS_ZST") in + M.use + (get_constant (| + "core::mem::SizedTypeProperties::IS_ZST", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -124,8 +128,10 @@ Module slice. BinOp.le (| M.read (| len |), M.read (| - M.get_constant - "core::slice::sort::unstable::sort::MAX_LEN_ALWAYS_INSERTION_SORT" + get_constant (| + "core::slice::sort::unstable::sort::MAX_LEN_ALWAYS_INSERTION_SORT", + Ty.path "usize" + |) |) |) ] @@ -183,18 +189,24 @@ Module slice. end. Global Instance Instance_IsFunction_sort : - M.IsFunction.Trait "core::slice::sort::unstable::sort" sort. + M.IsFunction.C "core::slice::sort::unstable::sort" sort. Admitted. Global Typeclasses Opaque sort. Module sort. - Definition value_MAX_LEN_ALWAYS_INSERTION_SORT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 20 |))). + Definition value_MAX_LEN_ALWAYS_INSERTION_SORT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 20 |))). - Axiom Constant_value_MAX_LEN_ALWAYS_INSERTION_SORT : - (M.get_constant "core::slice::sort::unstable::sort::MAX_LEN_ALWAYS_INSERTION_SORT") = + Global Instance Instance_IsConstant_value_MAX_LEN_ALWAYS_INSERTION_SORT : + M.IsFunction.C + "core::slice::sort::unstable::sort::MAX_LEN_ALWAYS_INSERTION_SORT" value_MAX_LEN_ALWAYS_INSERTION_SORT. - Global Hint Rewrite Constant_value_MAX_LEN_ALWAYS_INSERTION_SORT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_LEN_ALWAYS_INSERTION_SORT. End sort. (* @@ -384,7 +396,7 @@ Module slice. end. Global Instance Instance_IsFunction_ipnsort : - M.IsFunction.Trait "core::slice::sort::unstable::ipnsort" ipnsort. + M.IsFunction.C "core::slice::sort::unstable::ipnsort" ipnsort. Admitted. Global Typeclasses Opaque ipnsort. End unstable. diff --git a/CoqOfRust/core/slice/sort/unstable/quicksort.v b/CoqOfRust/core/slice/sort/unstable/quicksort.v index cb3a36edb..5516d1d7e 100644 --- a/CoqOfRust/core/slice/sort/unstable/quicksort.v +++ b/CoqOfRust/core/slice/sort/unstable/quicksort.v @@ -776,7 +776,7 @@ Module slice. end. Global Instance Instance_IsFunction_quicksort : - M.IsFunction.Trait "core::slice::sort::unstable::quicksort::quicksort" quicksort. + M.IsFunction.C "core::slice::sort::unstable::quicksort::quicksort" quicksort. Admitted. Global Typeclasses Opaque quicksort. @@ -969,8 +969,19 @@ Module slice. M.call_closure (| Ty.path "usize", M.read (| - M.get_constant - "core::slice::sort::unstable::quicksort::partition_discriminant" + get_constant (| + "core::slice::sort::unstable::quicksort::partition_discriminant", + Ty.function + [ + Ty.apply + (Ty.path "&mut") + [] + [ Ty.apply (Ty.path "slice") [] [ T ] ]; + Ty.apply (Ty.path "&") [] [ T ]; + Ty.apply (Ty.path "&mut") [] [ F ] + ] + (Ty.path "usize") + |) |), [ M.borrow (| @@ -1048,7 +1059,7 @@ Module slice. end. Global Instance Instance_IsFunction_partition : - M.IsFunction.Trait "core::slice::sort::unstable::quicksort::partition" partition. + M.IsFunction.C "core::slice::sort::unstable::quicksort::partition" partition. Admitted. Global Typeclasses Opaque partition. @@ -1098,8 +1109,10 @@ Module slice. [] |), M.read (| - M.get_constant - "core::slice::sort::unstable::quicksort::inst_partition::MAX_BRANCHLESS_PARTITION_SIZE" + get_constant (| + "core::slice::sort::unstable::quicksort::inst_partition::MAX_BRANCHLESS_PARTITION_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -1132,21 +1145,24 @@ Module slice. end. Global Instance Instance_IsFunction_inst_partition : - M.IsFunction.Trait - "core::slice::sort::unstable::quicksort::inst_partition" - inst_partition. + M.IsFunction.C "core::slice::sort::unstable::quicksort::inst_partition" inst_partition. Admitted. Global Typeclasses Opaque inst_partition. Module inst_partition. - Definition value_MAX_BRANCHLESS_PARTITION_SIZE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 96 |))). + Definition value_MAX_BRANCHLESS_PARTITION_SIZE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 96 |))). - Axiom Constant_value_MAX_BRANCHLESS_PARTITION_SIZE : - (M.get_constant - "core::slice::sort::unstable::quicksort::inst_partition::MAX_BRANCHLESS_PARTITION_SIZE") = + Global Instance Instance_IsConstant_value_MAX_BRANCHLESS_PARTITION_SIZE : + M.IsFunction.C + "core::slice::sort::unstable::quicksort::inst_partition::MAX_BRANCHLESS_PARTITION_SIZE" value_MAX_BRANCHLESS_PARTITION_SIZE. - Global Hint Rewrite Constant_value_MAX_BRANCHLESS_PARTITION_SIZE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_BRANCHLESS_PARTITION_SIZE. End inst_partition. (* @@ -1811,7 +1827,7 @@ Module slice. end. Global Instance Instance_IsFunction_partition_hoare_branchy_cyclic : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::unstable::quicksort::partition_hoare_branchy_cyclic" partition_hoare_branchy_cyclic. Admitted. @@ -2320,8 +2336,10 @@ Module slice. |) in let~ unroll_len : Ty.path "usize" := M.copy (| - M.get_constant - "core::slice::sort::unstable::quicksort::partition_lomuto_branchless_cyclic_discriminant" + get_constant (| + "core::slice::sort::unstable::quicksort::partition_lomuto_branchless_cyclic_discriminant", + Ty.path "usize" + |) |) in let~ unroll_end : Ty.apply (Ty.path "*mut") [] [ T ] := M.alloc (| @@ -2773,7 +2791,7 @@ Module slice. end. Global Instance Instance_IsFunction_partition_lomuto_branchless_cyclic : - M.IsFunction.Trait + M.IsFunction.C "core::slice::sort::unstable::quicksort::partition_lomuto_branchless_cyclic" partition_lomuto_branchless_cyclic. Admitted. diff --git a/CoqOfRust/core/str/converts.v b/CoqOfRust/core/str/converts.v index 5a98c725e..06d99447c 100644 --- a/CoqOfRust/core/str/converts.v +++ b/CoqOfRust/core/str/converts.v @@ -80,7 +80,7 @@ Module str. end. Global Instance Instance_IsFunction_from_utf8 : - M.IsFunction.Trait "core::str::converts::from_utf8" from_utf8. + M.IsFunction.C "core::str::converts::from_utf8" from_utf8. Admitted. Global Typeclasses Opaque from_utf8. @@ -171,7 +171,7 @@ Module str. end. Global Instance Instance_IsFunction_from_utf8_mut : - M.IsFunction.Trait "core::str::converts::from_utf8_mut" from_utf8_mut. + M.IsFunction.C "core::str::converts::from_utf8_mut" from_utf8_mut. Admitted. Global Typeclasses Opaque from_utf8_mut. @@ -203,7 +203,7 @@ Module str. end. Global Instance Instance_IsFunction_from_utf8_unchecked : - M.IsFunction.Trait "core::str::converts::from_utf8_unchecked" from_utf8_unchecked. + M.IsFunction.C "core::str::converts::from_utf8_unchecked" from_utf8_unchecked. Admitted. Global Typeclasses Opaque from_utf8_unchecked. @@ -256,7 +256,7 @@ Module str. end. Global Instance Instance_IsFunction_from_utf8_unchecked_mut : - M.IsFunction.Trait "core::str::converts::from_utf8_unchecked_mut" from_utf8_unchecked_mut. + M.IsFunction.C "core::str::converts::from_utf8_unchecked_mut" from_utf8_unchecked_mut. Admitted. Global Typeclasses Opaque from_utf8_unchecked_mut. @@ -295,7 +295,7 @@ Module str. end. Global Instance Instance_IsFunction_from_raw_parts : - M.IsFunction.Trait "core::str::converts::from_raw_parts" from_raw_parts. + M.IsFunction.C "core::str::converts::from_raw_parts" from_raw_parts. Admitted. Global Typeclasses Opaque from_raw_parts. @@ -344,7 +344,7 @@ Module str. end. Global Instance Instance_IsFunction_from_raw_parts_mut : - M.IsFunction.Trait "core::str::converts::from_raw_parts_mut" from_raw_parts_mut. + M.IsFunction.C "core::str::converts::from_raw_parts_mut" from_raw_parts_mut. Admitted. Global Typeclasses Opaque from_raw_parts_mut. End converts. diff --git a/CoqOfRust/core/str/count.v b/CoqOfRust/core/str/count.v index 9201a955a..72d8250f1 100644 --- a/CoqOfRust/core/str/count.v +++ b/CoqOfRust/core/str/count.v @@ -3,27 +3,28 @@ Require Import CoqOfRust.CoqOfRust. Module str. Module count. - Definition value_USIZE_SIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), - [] - |) - |))). + Definition value_USIZE_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), + [] + |) + |))). - Axiom Constant_value_USIZE_SIZE : - (M.get_constant "core::str::count::USIZE_SIZE") = value_USIZE_SIZE. - Global Hint Rewrite Constant_value_USIZE_SIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_USIZE_SIZE : + M.IsFunction.C "core::str::count::USIZE_SIZE" value_USIZE_SIZE. + Admitted. + Global Typeclasses Opaque value_USIZE_SIZE. - Definition value_UNROLL_INNER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). + Definition value_UNROLL_INNER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). - Axiom Constant_value_UNROLL_INNER : - (M.get_constant "core::str::count::UNROLL_INNER") = value_UNROLL_INNER. - Global Hint Rewrite Constant_value_UNROLL_INNER : constant_rewrites. + Global Instance Instance_IsConstant_value_UNROLL_INNER : + M.IsFunction.C "core::str::count::UNROLL_INNER" value_UNROLL_INNER. + Admitted. + Global Typeclasses Opaque value_UNROLL_INNER. (* pub(super) fn count_chars(s: &str) -> usize { @@ -63,8 +64,18 @@ Module str. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| s |) |) |) ] |), BinOp.Wrap.mul (| - M.read (| M.get_constant "core::str::count::USIZE_SIZE" |), - M.read (| M.get_constant "core::str::count::UNROLL_INNER" |) + M.read (| + get_constant (| + "core::str::count::USIZE_SIZE", + Ty.path "usize" + |) + |), + M.read (| + get_constant (| + "core::str::count::UNROLL_INNER", + Ty.path "usize" + |) + |) |) |))) |) @@ -107,7 +118,7 @@ Module str. end. Global Instance Instance_IsFunction_count_chars : - M.IsFunction.Trait "core::str::count::count_chars" count_chars. + M.IsFunction.C "core::str::count::count_chars" count_chars. Admitted. Global Typeclasses Opaque count_chars. @@ -297,7 +308,10 @@ Module str. ] |), M.read (| - M.get_constant "core::str::count::USIZE_SIZE" + get_constant (| + "core::str::count::USIZE_SIZE", + Ty.path "usize" + |) |) |))) |), @@ -322,7 +336,10 @@ Module str. ] |), M.read (| - M.get_constant "core::str::count::USIZE_SIZE" + get_constant (| + "core::str::count::USIZE_SIZE", + Ty.path "usize" + |) |) |))) |) @@ -446,8 +463,10 @@ Module str. M.deref (| M.read (| body |) |) |); M.read (| - M.get_constant - "core::str::count::do_count_chars::CHUNK_SIZE" + get_constant (| + "core::str::count::do_count_chars::CHUNK_SIZE", + Ty.path "usize" + |) |) ] |) @@ -1248,17 +1267,18 @@ Module str. end. Global Instance Instance_IsFunction_do_count_chars : - M.IsFunction.Trait "core::str::count::do_count_chars" do_count_chars. + M.IsFunction.C "core::str::count::do_count_chars" do_count_chars. Admitted. Global Typeclasses Opaque do_count_chars. Module do_count_chars. - Definition value_CHUNK_SIZE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 192 |))). + Definition value_CHUNK_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 192 |))). - Axiom Constant_value_CHUNK_SIZE : - (M.get_constant "core::str::count::do_count_chars::CHUNK_SIZE") = value_CHUNK_SIZE. - Global Hint Rewrite Constant_value_CHUNK_SIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_CHUNK_SIZE : + M.IsFunction.C "core::str::count::do_count_chars::CHUNK_SIZE" value_CHUNK_SIZE. + Admitted. + Global Typeclasses Opaque value_CHUNK_SIZE. End do_count_chars. (* @@ -1280,32 +1300,37 @@ Module str. (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.read (| + get_constant (| + "core::str::count::contains_non_continuation_byte::LSB", + Ty.path "usize" + |) + |)))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_contains_non_continuation_byte : - M.IsFunction.Trait + M.IsFunction.C "core::str::count::contains_non_continuation_byte" contains_non_continuation_byte. Admitted. Global Typeclasses Opaque contains_non_continuation_byte. Module contains_non_continuation_byte. - Definition value_LSB : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), - [ Value.Integer IntegerKind.U8 1 ] - |) - |))). + Definition value_LSB (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), + [ Value.Integer IntegerKind.U8 1 ] + |) + |))). - Axiom Constant_value_LSB : - (M.get_constant "core::str::count::contains_non_continuation_byte::LSB") = value_LSB. - Global Hint Rewrite Constant_value_LSB : constant_rewrites. + Global Instance Instance_IsConstant_value_LSB : + M.IsFunction.C "core::str::count::contains_non_continuation_byte::LSB" value_LSB. + Admitted. + Global Typeclasses Opaque value_LSB. End contains_non_continuation_byte. (* @@ -1329,11 +1354,19 @@ Module str. BinOp.bit_and (M.read (| values |)) (M.read (| - M.get_constant "core::str::count::sum_bytes_in_usize::SKIP_BYTES" + get_constant (| + "core::str::count::sum_bytes_in_usize::SKIP_BYTES", + Ty.path "usize" + |) |)), 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" |)) + (M.read (| + get_constant (| + "core::str::count::sum_bytes_in_usize::SKIP_BYTES", + Ty.path "usize" + |) + |)) |) |) in M.alloc (| @@ -1343,12 +1376,17 @@ Module str. M.get_associated_function (| Ty.path "usize", "wrapping_mul", [], [] |), [ M.read (| pair_sum |); - M.read (| M.get_constant "core::str::count::sum_bytes_in_usize::LSB_SHORTS" |) + M.read (| + get_constant (| + "core::str::count::sum_bytes_in_usize::LSB_SHORTS", + Ty.path "usize" + |) + |) ] |), BinOp.Wrap.mul (| BinOp.Wrap.sub (| - M.read (| M.get_constant "core::str::count::USIZE_SIZE" |), + M.read (| get_constant (| "core::str::count::USIZE_SIZE", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 2 |), Value.Integer IntegerKind.Usize 8 @@ -1360,40 +1398,40 @@ Module str. end. Global Instance Instance_IsFunction_sum_bytes_in_usize : - M.IsFunction.Trait "core::str::count::sum_bytes_in_usize" sum_bytes_in_usize. + M.IsFunction.C "core::str::count::sum_bytes_in_usize" sum_bytes_in_usize. Admitted. Global Typeclasses Opaque sum_bytes_in_usize. Module sum_bytes_in_usize. - Definition value_LSB_SHORTS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u16", [], [] |), - [ Value.Integer IntegerKind.U16 1 ] - |) - |))). + Definition value_LSB_SHORTS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u16", [], [] |), + [ Value.Integer IntegerKind.U16 1 ] + |) + |))). - Axiom Constant_value_LSB_SHORTS : - (M.get_constant "core::str::count::sum_bytes_in_usize::LSB_SHORTS") = value_LSB_SHORTS. - Global Hint Rewrite Constant_value_LSB_SHORTS : constant_rewrites. + Global Instance Instance_IsConstant_value_LSB_SHORTS : + M.IsFunction.C "core::str::count::sum_bytes_in_usize::LSB_SHORTS" value_LSB_SHORTS. + Admitted. + Global Typeclasses Opaque value_LSB_SHORTS. - Definition value_SKIP_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u16", [], [] |), - [ Value.Integer IntegerKind.U16 255 ] - |) - |))). + Definition value_SKIP_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u16", [], [] |), + [ Value.Integer IntegerKind.U16 255 ] + |) + |))). - Axiom Constant_value_SKIP_BYTES : - (M.get_constant "core::str::count::sum_bytes_in_usize::SKIP_BYTES") = value_SKIP_BYTES. - Global Hint Rewrite Constant_value_SKIP_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_SKIP_BYTES : + M.IsFunction.C "core::str::count::sum_bytes_in_usize::SKIP_BYTES" value_SKIP_BYTES. + Admitted. + Global Typeclasses Opaque value_SKIP_BYTES. End sum_bytes_in_usize. (* @@ -1520,7 +1558,7 @@ Module str. end. Global Instance Instance_IsFunction_char_count_general_case : - M.IsFunction.Trait "core::str::count::char_count_general_case" char_count_general_case. + M.IsFunction.C "core::str::count::char_count_general_case" char_count_general_case. Admitted. Global Typeclasses Opaque char_count_general_case. End count. diff --git a/CoqOfRust/core/str/error.v b/CoqOfRust/core/str/error.v index 93f1ef5ad..b5e8fe43a 100644 --- a/CoqOfRust/core/str/error.v +++ b/CoqOfRust/core/str/error.v @@ -282,7 +282,7 @@ Module str. end. Global Instance AssociatedFunction_valid_up_to : - M.IsAssociatedFunction.Trait Self "valid_up_to" valid_up_to. + M.IsAssociatedFunction.C Self "valid_up_to" valid_up_to. Admitted. Global Typeclasses Opaque valid_up_to. @@ -334,7 +334,7 @@ Module str. end. Global Instance AssociatedFunction_error_len : - M.IsAssociatedFunction.Trait Self "error_len" error_len. + M.IsAssociatedFunction.C Self "error_len" error_len. Admitted. Global Typeclasses Opaque error_len. End Impl_core_str_error_Utf8Error. diff --git a/CoqOfRust/core/str/iter.v b/CoqOfRust/core/str/iter.v index ca65c1b43..747702848 100644 --- a/CoqOfRust/core/str/iter.v +++ b/CoqOfRust/core/str/iter.v @@ -249,7 +249,10 @@ Module str. BinOp.ge (| M.read (| remainder |), M.read (| - M.get_constant "core::str::iter::advance_by::CHUNK_SIZE" + get_constant (| + "core::str::iter::advance_by::CHUNK_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -324,8 +327,10 @@ Module str. BinOp.gt (| M.read (| remainder |), M.read (| - M.get_constant - "core::str::iter::advance_by::CHUNK_SIZE" + get_constant (| + "core::str::iter::advance_by::CHUNK_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -381,8 +386,10 @@ Module str. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "core::str::iter::advance_by::CHUNK_SIZE" + get_constant (| + "core::str::iter::advance_by::CHUNK_SIZE", + Ty.path "usize" + |) |) |) |) @@ -427,8 +434,10 @@ Module str. ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| - M.get_constant - "core::str::iter::advance_by::CHUNK_SIZE" + get_constant (| + "core::str::iter::advance_by::CHUNK_SIZE", + Ty.path "usize" + |) |)) ] ] @@ -1848,7 +1857,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. End Impl_core_str_iter_Chars. @@ -2480,7 +2489,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -2504,7 +2513,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_offset : M.IsAssociatedFunction.Trait Self "offset" offset. + Global Instance AssociatedFunction_offset : M.IsAssociatedFunction.C Self "offset" offset. Admitted. Global Typeclasses Opaque offset. End Impl_core_str_iter_CharIndices. @@ -3379,8 +3388,12 @@ Module str. (* const MAY_HAVE_SIDE_EFFECT: bool = false; *) (* Ty.path "bool" *) - Definition value_MAY_HAVE_SIDE_EFFECT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_MAY_HAVE_SIDE_EFFECT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). Axiom Implements : M.IsTraitInstance @@ -3389,7 +3402,7 @@ Module str. (* Trait polymorphic types *) [] Self (* Instance *) - [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Constant value_MAY_HAVE_SIDE_EFFECT) ]. + [ ("value_MAY_HAVE_SIDE_EFFECT", InstanceField.Method value_MAY_HAVE_SIDE_EFFECT) ]. End Impl_core_iter_adapters_zip_TrustedRandomAccessNoCoerce_for_core_str_iter_Bytes. Module Impl_core_clone_Clone_where_core_str_pattern_Pattern_P_for_core_str_iter_SplitInternal_P. @@ -3931,7 +3944,7 @@ Module str. Global Instance AssociatedFunction_get_end : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "get_end" (get_end P). + M.IsAssociatedFunction.C (Self P) "get_end" (get_end P). Admitted. Global Typeclasses Opaque get_end. @@ -4139,7 +4152,7 @@ Module str. Global Instance AssociatedFunction_next : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next" (next P). + M.IsAssociatedFunction.C (Self P) "next" (next P). Admitted. Global Typeclasses Opaque next. @@ -4353,7 +4366,7 @@ Module str. Global Instance AssociatedFunction_next_inclusive : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next_inclusive" (next_inclusive P). + M.IsAssociatedFunction.C (Self P) "next_inclusive" (next_inclusive P). Admitted. Global Typeclasses Opaque next_inclusive. @@ -4771,7 +4784,7 @@ Module str. Global Instance AssociatedFunction_next_back : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next_back" (next_back P). + M.IsAssociatedFunction.C (Self P) "next_back" (next_back P). Admitted. Global Typeclasses Opaque next_back. @@ -5199,7 +5212,7 @@ Module str. Global Instance AssociatedFunction_next_back_inclusive : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next_back_inclusive" (next_back_inclusive P). + M.IsAssociatedFunction.C (Self P) "next_back_inclusive" (next_back_inclusive P). Admitted. Global Typeclasses Opaque next_back_inclusive. @@ -5335,7 +5348,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitInternal_P. @@ -5915,7 +5928,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_Split_P. @@ -5961,7 +5974,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_RSplit_P. @@ -6558,7 +6571,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitTerminator_P. @@ -6605,7 +6618,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_RSplitTerminator_P. @@ -6956,7 +6969,7 @@ Module str. Global Instance AssociatedFunction_next : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next" (next P). + M.IsAssociatedFunction.C (Self P) "next" (next P). Admitted. Global Typeclasses Opaque next. @@ -7094,7 +7107,7 @@ Module str. Global Instance AssociatedFunction_next_back : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next_back" (next_back P). + M.IsAssociatedFunction.C (Self P) "next_back" (next_back P). Admitted. Global Typeclasses Opaque next_back. @@ -7136,7 +7149,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitNInternal_P. @@ -7621,7 +7634,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitN_P. @@ -7667,7 +7680,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_RSplitN_P. @@ -7991,7 +8004,7 @@ Module str. Global Instance AssociatedFunction_next : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next" (next P). + M.IsAssociatedFunction.C (Self P) "next" (next P). Admitted. Global Typeclasses Opaque next. @@ -8147,7 +8160,7 @@ Module str. Global Instance AssociatedFunction_next_back : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next_back" (next_back P). + M.IsAssociatedFunction.C (Self P) "next_back" (next_back P). Admitted. Global Typeclasses Opaque next_back. End Impl_core_str_iter_MatchIndicesInternal_P. @@ -9015,7 +9028,7 @@ Module str. Global Instance AssociatedFunction_next : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next" (next P). + M.IsAssociatedFunction.C (Self P) "next" (next P). Admitted. Global Typeclasses Opaque next. @@ -9163,7 +9176,7 @@ Module str. Global Instance AssociatedFunction_next_back : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "next_back" (next_back P). + M.IsAssociatedFunction.C (Self P) "next_back" (next_back P). Admitted. Global Typeclasses Opaque next_back. End Impl_core_str_iter_MatchesInternal_P. @@ -10093,7 +10106,7 @@ Module str. end. Global Instance AssociatedFunction_remainder : - M.IsAssociatedFunction.Trait Self "remainder" remainder. + M.IsAssociatedFunction.C Self "remainder" remainder. Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_Lines. @@ -10955,7 +10968,7 @@ Module str. end. Global Instance AssociatedFunction_remainder : - M.IsAssociatedFunction.Trait Self "remainder" remainder. + M.IsAssociatedFunction.C Self "remainder" remainder. Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitWhitespace. @@ -11307,7 +11320,7 @@ Module str. end. Global Instance AssociatedFunction_remainder : - M.IsAssociatedFunction.Trait Self "remainder" remainder. + M.IsAssociatedFunction.C Self "remainder" remainder. Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitAsciiWhitespace. @@ -11620,7 +11633,7 @@ Module str. Global Instance AssociatedFunction_remainder : forall (P : Ty.t), - M.IsAssociatedFunction.Trait (Self P) "remainder" (remainder P). + M.IsAssociatedFunction.C (Self P) "remainder" (remainder P). Admitted. Global Typeclasses Opaque remainder. End Impl_core_str_iter_SplitInclusive_P. diff --git a/CoqOfRust/core/str/lossy.v b/CoqOfRust/core/str/lossy.v index d51692d70..f127264e2 100644 --- a/CoqOfRust/core/str/lossy.v +++ b/CoqOfRust/core/str/lossy.v @@ -23,7 +23,7 @@ Module str. end. Global Instance AssociatedFunction_utf8_chunks : - M.IsAssociatedFunction.Trait Self "utf8_chunks" utf8_chunks. + M.IsAssociatedFunction.C Self "utf8_chunks" utf8_chunks. Admitted. Global Typeclasses Opaque utf8_chunks. End Impl_slice_u8. @@ -371,7 +371,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_valid : M.IsAssociatedFunction.Trait Self "valid" valid. + Global Instance AssociatedFunction_valid : M.IsAssociatedFunction.C Self "valid" valid. Admitted. Global Typeclasses Opaque valid. @@ -395,8 +395,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_invalid : - M.IsAssociatedFunction.Trait Self "invalid" invalid. + Global Instance AssociatedFunction_invalid : M.IsAssociatedFunction.C Self "invalid" invalid. Admitted. Global Typeclasses Opaque invalid. End Impl_core_str_lossy_Utf8Chunk. @@ -2129,7 +2128,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_debug : M.IsAssociatedFunction.Trait Self "debug" debug. + Global Instance AssociatedFunction_debug : M.IsAssociatedFunction.C Self "debug" debug. Admitted. Global Typeclasses Opaque debug. End Impl_core_str_lossy_Utf8Chunks. @@ -2467,8 +2466,10 @@ Module str. IntegerKind.U8 192), M.read (| - M.get_constant - "core::str::lossy::next::TAG_CONT_U8" + get_constant (| + "core::str::lossy::next::TAG_CONT_U8", + Ty.path "u8" + |) |) |) |)) in @@ -2668,8 +2669,10 @@ Module str. IntegerKind.U8 192), M.read (| - M.get_constant - "core::str::lossy::next::TAG_CONT_U8" + get_constant (| + "core::str::lossy::next::TAG_CONT_U8", + Ty.path "u8" + |) |) |) |)) in @@ -2856,8 +2859,10 @@ Module str. IntegerKind.U8 192), M.read (| - M.get_constant - "core::str::lossy::next::TAG_CONT_U8" + get_constant (| + "core::str::lossy::next::TAG_CONT_U8", + Ty.path "u8" + |) |) |) |)) in @@ -2931,8 +2936,10 @@ Module str. IntegerKind.U8 192), M.read (| - M.get_constant - "core::str::lossy::next::TAG_CONT_U8" + get_constant (| + "core::str::lossy::next::TAG_CONT_U8", + Ty.path "u8" + |) |) |) |)) in diff --git a/CoqOfRust/core/str/mod.v b/CoqOfRust/core/str/mod.v index ac4a8a506..cfd8fe920 100644 --- a/CoqOfRust/core/str/mod.v +++ b/CoqOfRust/core/str/mod.v @@ -41,7 +41,7 @@ Module str. end. Global Instance Instance_IsFunction_slice_error_fail : - M.IsFunction.Trait "core::str::slice_error_fail" slice_error_fail. + M.IsFunction.C "core::str::slice_error_fail" slice_error_fail. Admitted. Global Typeclasses Opaque slice_error_fail. @@ -114,7 +114,7 @@ Module str. end. Global Instance Instance_IsFunction_slice_error_fail_ct : - M.IsFunction.Trait "core::str::slice_error_fail_ct" slice_error_fail_ct. + M.IsFunction.C "core::str::slice_error_fail_ct" slice_error_fail_ct. Admitted. Global Typeclasses Opaque slice_error_fail_ct. @@ -169,7 +169,12 @@ Module str. M.get_associated_function (| Ty.path "str", "floor_char_boundary", [], [] |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| s |) |) |); - M.read (| M.get_constant "core::str::slice_error_fail_rt::MAX_DISPLAY_LENGTH" |) + M.read (| + get_constant (| + "core::str::slice_error_fail_rt::MAX_DISPLAY_LENGTH", + Ty.path "usize" + |) + |) ] |) |) in @@ -810,18 +815,18 @@ Module str. end. Global Instance Instance_IsFunction_slice_error_fail_rt : - M.IsFunction.Trait "core::str::slice_error_fail_rt" slice_error_fail_rt. + M.IsFunction.C "core::str::slice_error_fail_rt" slice_error_fail_rt. Admitted. Global Typeclasses Opaque slice_error_fail_rt. Module slice_error_fail_rt. - Definition value_MAX_DISPLAY_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_MAX_DISPLAY_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_MAX_DISPLAY_LENGTH : - (M.get_constant "core::str::slice_error_fail_rt::MAX_DISPLAY_LENGTH") = - value_MAX_DISPLAY_LENGTH. - Global Hint Rewrite Constant_value_MAX_DISPLAY_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_DISPLAY_LENGTH : + M.IsFunction.C "core::str::slice_error_fail_rt::MAX_DISPLAY_LENGTH" value_MAX_DISPLAY_LENGTH. + Admitted. + Global Typeclasses Opaque value_MAX_DISPLAY_LENGTH. End slice_error_fail_rt. Module Impl_str. @@ -861,7 +866,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -886,8 +891,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -1025,7 +1029,7 @@ Module str. end. Global Instance AssociatedFunction_is_char_boundary : - M.IsAssociatedFunction.Trait Self "is_char_boundary" is_char_boundary. + M.IsAssociatedFunction.C Self "is_char_boundary" is_char_boundary. Admitted. Global Typeclasses Opaque is_char_boundary. @@ -1247,7 +1251,7 @@ Module str. end. Global Instance AssociatedFunction_floor_char_boundary : - M.IsAssociatedFunction.Trait Self "floor_char_boundary" floor_char_boundary. + M.IsAssociatedFunction.C Self "floor_char_boundary" floor_char_boundary. Admitted. Global Typeclasses Opaque floor_char_boundary. @@ -1504,7 +1508,7 @@ Module str. end. Global Instance AssociatedFunction_ceil_char_boundary : - M.IsAssociatedFunction.Trait Self "ceil_char_boundary" ceil_char_boundary. + M.IsAssociatedFunction.C Self "ceil_char_boundary" ceil_char_boundary. Admitted. Global Typeclasses Opaque ceil_char_boundary. @@ -1534,8 +1538,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + Global Instance AssociatedFunction_as_bytes : M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -1591,7 +1594,7 @@ Module str. end. Global Instance AssociatedFunction_as_bytes_mut : - M.IsAssociatedFunction.Trait Self "as_bytes_mut" as_bytes_mut. + M.IsAssociatedFunction.C Self "as_bytes_mut" as_bytes_mut. Admitted. Global Typeclasses Opaque as_bytes_mut. @@ -1616,7 +1619,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. @@ -1642,7 +1645,7 @@ Module str. end. Global Instance AssociatedFunction_as_mut_ptr : - M.IsAssociatedFunction.Trait Self "as_mut_ptr" as_mut_ptr. + M.IsAssociatedFunction.C Self "as_mut_ptr" as_mut_ptr. Admitted. Global Typeclasses Opaque as_mut_ptr. @@ -1688,7 +1691,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -1734,8 +1737,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -1793,7 +1795,7 @@ Module str. end. Global Instance AssociatedFunction_get_unchecked : - M.IsAssociatedFunction.Trait Self "get_unchecked" get_unchecked. + M.IsAssociatedFunction.C Self "get_unchecked" get_unchecked. Admitted. Global Typeclasses Opaque get_unchecked. @@ -1864,7 +1866,7 @@ Module str. end. Global Instance AssociatedFunction_get_unchecked_mut : - M.IsAssociatedFunction.Trait Self "get_unchecked_mut" get_unchecked_mut. + M.IsAssociatedFunction.C Self "get_unchecked_mut" get_unchecked_mut. Admitted. Global Typeclasses Opaque get_unchecked_mut. @@ -1915,7 +1917,7 @@ Module str. end. Global Instance AssociatedFunction_slice_unchecked : - M.IsAssociatedFunction.Trait Self "slice_unchecked" slice_unchecked. + M.IsAssociatedFunction.C Self "slice_unchecked" slice_unchecked. Admitted. Global Typeclasses Opaque slice_unchecked. @@ -1979,7 +1981,7 @@ Module str. end. Global Instance AssociatedFunction_slice_mut_unchecked : - M.IsAssociatedFunction.Trait Self "slice_mut_unchecked" slice_mut_unchecked. + M.IsAssociatedFunction.C Self "slice_mut_unchecked" slice_mut_unchecked. Admitted. Global Typeclasses Opaque slice_mut_unchecked. @@ -2057,8 +2059,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_split_at : - M.IsAssociatedFunction.Trait Self "split_at" split_at. + Global Instance AssociatedFunction_split_at : M.IsAssociatedFunction.C Self "split_at" split_at. Admitted. Global Typeclasses Opaque split_at. @@ -2150,7 +2151,7 @@ Module str. end. Global Instance AssociatedFunction_split_at_mut : - M.IsAssociatedFunction.Trait Self "split_at_mut" split_at_mut. + M.IsAssociatedFunction.C Self "split_at_mut" split_at_mut. Admitted. Global Typeclasses Opaque split_at_mut. @@ -2238,7 +2239,7 @@ Module str. end. Global Instance AssociatedFunction_split_at_checked : - M.IsAssociatedFunction.Trait Self "split_at_checked" split_at_checked. + M.IsAssociatedFunction.C Self "split_at_checked" split_at_checked. Admitted. Global Typeclasses Opaque split_at_checked. @@ -2326,7 +2327,7 @@ Module str. end. Global Instance AssociatedFunction_split_at_mut_checked : - M.IsAssociatedFunction.Trait Self "split_at_mut_checked" split_at_mut_checked. + M.IsAssociatedFunction.C Self "split_at_mut_checked" split_at_mut_checked. Admitted. Global Typeclasses Opaque split_at_mut_checked. @@ -2444,7 +2445,7 @@ Module str. end. Global Instance AssociatedFunction_split_at_unchecked : - M.IsAssociatedFunction.Trait Self "split_at_unchecked" split_at_unchecked. + M.IsAssociatedFunction.C Self "split_at_unchecked" split_at_unchecked. Admitted. Global Typeclasses Opaque split_at_unchecked. @@ -2562,7 +2563,7 @@ Module str. end. Global Instance AssociatedFunction_split_at_mut_unchecked : - M.IsAssociatedFunction.Trait Self "split_at_mut_unchecked" split_at_mut_unchecked. + M.IsAssociatedFunction.C Self "split_at_mut_unchecked" split_at_mut_unchecked. Admitted. Global Typeclasses Opaque split_at_mut_unchecked. @@ -2608,7 +2609,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_chars : M.IsAssociatedFunction.Trait Self "chars" chars. + Global Instance AssociatedFunction_chars : M.IsAssociatedFunction.C Self "chars" chars. Admitted. Global Typeclasses Opaque chars. @@ -2637,7 +2638,7 @@ Module str. end. Global Instance AssociatedFunction_char_indices : - M.IsAssociatedFunction.Trait Self "char_indices" char_indices. + M.IsAssociatedFunction.C Self "char_indices" char_indices. Admitted. Global Typeclasses Opaque char_indices. @@ -2699,7 +2700,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bytes : M.IsAssociatedFunction.Trait Self "bytes" bytes. + Global Instance AssociatedFunction_bytes : M.IsAssociatedFunction.C Self "bytes" bytes. Admitted. Global Typeclasses Opaque bytes. @@ -2765,7 +2766,7 @@ Module str. end. Global Instance AssociatedFunction_split_whitespace : - M.IsAssociatedFunction.Trait Self "split_whitespace" split_whitespace. + M.IsAssociatedFunction.C Self "split_whitespace" split_whitespace. Admitted. Global Typeclasses Opaque split_whitespace. @@ -2909,7 +2910,7 @@ Module str. end. Global Instance AssociatedFunction_split_ascii_whitespace : - M.IsAssociatedFunction.Trait Self "split_ascii_whitespace" split_ascii_whitespace. + M.IsAssociatedFunction.C Self "split_ascii_whitespace" split_ascii_whitespace. Admitted. Global Typeclasses Opaque split_ascii_whitespace. @@ -2964,7 +2965,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_lines : M.IsAssociatedFunction.Trait Self "lines" lines. + Global Instance AssociatedFunction_lines : M.IsAssociatedFunction.C Self "lines" lines. Admitted. Global Typeclasses Opaque lines. @@ -2991,7 +2992,7 @@ Module str. end. Global Instance AssociatedFunction_lines_any : - M.IsAssociatedFunction.Trait Self "lines_any" lines_any. + M.IsAssociatedFunction.C Self "lines_any" lines_any. Admitted. Global Typeclasses Opaque lines_any. @@ -3020,7 +3021,7 @@ Module str. end. Global Instance AssociatedFunction_encode_utf16 : - M.IsAssociatedFunction.Trait Self "encode_utf16" encode_utf16. + M.IsAssociatedFunction.C Self "encode_utf16" encode_utf16. Admitted. Global Typeclasses Opaque encode_utf16. @@ -3051,8 +3052,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_contains : - M.IsAssociatedFunction.Trait Self "contains" contains. + Global Instance AssociatedFunction_contains : M.IsAssociatedFunction.C Self "contains" contains. Admitted. Global Typeclasses Opaque contains. @@ -3084,7 +3084,7 @@ Module str. end. Global Instance AssociatedFunction_starts_with : - M.IsAssociatedFunction.Trait Self "starts_with" starts_with. + M.IsAssociatedFunction.C Self "starts_with" starts_with. Admitted. Global Typeclasses Opaque starts_with. @@ -3119,7 +3119,7 @@ Module str. end. Global Instance AssociatedFunction_ends_with : - M.IsAssociatedFunction.Trait Self "ends_with" ends_with. + M.IsAssociatedFunction.C Self "ends_with" ends_with. Admitted. Global Typeclasses Opaque ends_with. @@ -3217,7 +3217,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_find : M.IsAssociatedFunction.Trait Self "find" find. + Global Instance AssociatedFunction_find : M.IsAssociatedFunction.C Self "find" find. Admitted. Global Typeclasses Opaque find. @@ -3318,7 +3318,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_rfind : M.IsAssociatedFunction.Trait Self "rfind" rfind. + Global Instance AssociatedFunction_rfind : M.IsAssociatedFunction.C Self "rfind" rfind. Admitted. Global Typeclasses Opaque rfind. @@ -3376,7 +3376,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_split : M.IsAssociatedFunction.Trait Self "split" split. + Global Instance AssociatedFunction_split : M.IsAssociatedFunction.C Self "split" split. Admitted. Global Typeclasses Opaque split. @@ -3435,7 +3435,7 @@ Module str. end. Global Instance AssociatedFunction_split_inclusive : - M.IsAssociatedFunction.Trait Self "split_inclusive" split_inclusive. + M.IsAssociatedFunction.C Self "split_inclusive" split_inclusive. Admitted. Global Typeclasses Opaque split_inclusive. @@ -3476,7 +3476,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_rsplit : M.IsAssociatedFunction.Trait Self "rsplit" rsplit. + Global Instance AssociatedFunction_rsplit : M.IsAssociatedFunction.C Self "rsplit" rsplit. Admitted. Global Typeclasses Opaque rsplit. @@ -3517,7 +3517,7 @@ Module str. end. Global Instance AssociatedFunction_split_terminator : - M.IsAssociatedFunction.Trait Self "split_terminator" split_terminator. + M.IsAssociatedFunction.C Self "split_terminator" split_terminator. Admitted. Global Typeclasses Opaque split_terminator. @@ -3559,7 +3559,7 @@ Module str. end. Global Instance AssociatedFunction_rsplit_terminator : - M.IsAssociatedFunction.Trait Self "rsplit_terminator" rsplit_terminator. + M.IsAssociatedFunction.C Self "rsplit_terminator" rsplit_terminator. Admitted. Global Typeclasses Opaque rsplit_terminator. @@ -3604,7 +3604,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_splitn : M.IsAssociatedFunction.Trait Self "splitn" splitn. + Global Instance AssociatedFunction_splitn : M.IsAssociatedFunction.C Self "splitn" splitn. Admitted. Global Typeclasses Opaque splitn. @@ -3647,8 +3647,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_rsplitn : - M.IsAssociatedFunction.Trait Self "rsplitn" rsplitn. + Global Instance AssociatedFunction_rsplitn : M.IsAssociatedFunction.C Self "rsplitn" rsplitn. Admitted. Global Typeclasses Opaque rsplitn. @@ -3897,7 +3896,7 @@ Module str. end. Global Instance AssociatedFunction_split_once : - M.IsAssociatedFunction.Trait Self "split_once" split_once. + M.IsAssociatedFunction.C Self "split_once" split_once. Admitted. Global Typeclasses Opaque split_once. @@ -4149,7 +4148,7 @@ Module str. end. Global Instance AssociatedFunction_rsplit_once : - M.IsAssociatedFunction.Trait Self "rsplit_once" rsplit_once. + M.IsAssociatedFunction.C Self "rsplit_once" rsplit_once. Admitted. Global Typeclasses Opaque rsplit_once. @@ -4191,8 +4190,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_matches : - M.IsAssociatedFunction.Trait Self "matches" matches. + Global Instance AssociatedFunction_matches : M.IsAssociatedFunction.C Self "matches" matches. Admitted. Global Typeclasses Opaque matches. @@ -4233,8 +4231,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_rmatches : - M.IsAssociatedFunction.Trait Self "rmatches" rmatches. + Global Instance AssociatedFunction_rmatches : M.IsAssociatedFunction.C Self "rmatches" rmatches. Admitted. Global Typeclasses Opaque rmatches. @@ -4277,7 +4274,7 @@ Module str. end. Global Instance AssociatedFunction_match_indices : - M.IsAssociatedFunction.Trait Self "match_indices" match_indices. + M.IsAssociatedFunction.C Self "match_indices" match_indices. Admitted. Global Typeclasses Opaque match_indices. @@ -4319,7 +4316,7 @@ Module str. end. Global Instance AssociatedFunction_rmatch_indices : - M.IsAssociatedFunction.Trait Self "rmatch_indices" rmatch_indices. + M.IsAssociatedFunction.C Self "rmatch_indices" rmatch_indices. Admitted. Global Typeclasses Opaque rmatch_indices. @@ -4380,7 +4377,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_trim : M.IsAssociatedFunction.Trait Self "trim" trim. + Global Instance AssociatedFunction_trim : M.IsAssociatedFunction.C Self "trim" trim. Admitted. Global Typeclasses Opaque trim. @@ -4442,7 +4439,7 @@ Module str. end. Global Instance AssociatedFunction_trim_start : - M.IsAssociatedFunction.Trait Self "trim_start" trim_start. + M.IsAssociatedFunction.C Self "trim_start" trim_start. Admitted. Global Typeclasses Opaque trim_start. @@ -4503,8 +4500,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_trim_end : - M.IsAssociatedFunction.Trait Self "trim_end" trim_end. + Global Instance AssociatedFunction_trim_end : M.IsAssociatedFunction.C Self "trim_end" trim_end. Admitted. Global Typeclasses Opaque trim_end. @@ -4532,7 +4528,7 @@ Module str. end. Global Instance AssociatedFunction_trim_left : - M.IsAssociatedFunction.Trait Self "trim_left" trim_left. + M.IsAssociatedFunction.C Self "trim_left" trim_left. Admitted. Global Typeclasses Opaque trim_left. @@ -4560,7 +4556,7 @@ Module str. end. Global Instance AssociatedFunction_trim_right : - M.IsAssociatedFunction.Trait Self "trim_right" trim_right. + M.IsAssociatedFunction.C Self "trim_right" trim_right. Admitted. Global Typeclasses Opaque trim_right. @@ -4732,7 +4728,7 @@ Module str. end. Global Instance AssociatedFunction_trim_matches : - M.IsAssociatedFunction.Trait Self "trim_matches" trim_matches. + M.IsAssociatedFunction.C Self "trim_matches" trim_matches. Admitted. Global Typeclasses Opaque trim_matches. @@ -4862,7 +4858,7 @@ Module str. end. Global Instance AssociatedFunction_trim_start_matches : - M.IsAssociatedFunction.Trait Self "trim_start_matches" trim_start_matches. + M.IsAssociatedFunction.C Self "trim_start_matches" trim_start_matches. Admitted. Global Typeclasses Opaque trim_start_matches. @@ -4898,7 +4894,7 @@ Module str. end. Global Instance AssociatedFunction_strip_prefix : - M.IsAssociatedFunction.Trait Self "strip_prefix" strip_prefix. + M.IsAssociatedFunction.C Self "strip_prefix" strip_prefix. Admitted. Global Typeclasses Opaque strip_prefix. @@ -4937,7 +4933,7 @@ Module str. end. Global Instance AssociatedFunction_strip_suffix : - M.IsAssociatedFunction.Trait Self "strip_suffix" strip_suffix. + M.IsAssociatedFunction.C Self "strip_suffix" strip_suffix. Admitted. Global Typeclasses Opaque strip_suffix. @@ -5055,7 +5051,7 @@ Module str. end. Global Instance AssociatedFunction_trim_end_matches : - M.IsAssociatedFunction.Trait Self "trim_end_matches" trim_end_matches. + M.IsAssociatedFunction.C Self "trim_end_matches" trim_end_matches. Admitted. Global Typeclasses Opaque trim_end_matches. @@ -5085,7 +5081,7 @@ Module str. end. Global Instance AssociatedFunction_trim_left_matches : - M.IsAssociatedFunction.Trait Self "trim_left_matches" trim_left_matches. + M.IsAssociatedFunction.C Self "trim_left_matches" trim_left_matches. Admitted. Global Typeclasses Opaque trim_left_matches. @@ -5118,7 +5114,7 @@ Module str. end. Global Instance AssociatedFunction_trim_right_matches : - M.IsAssociatedFunction.Trait Self "trim_right_matches" trim_right_matches. + M.IsAssociatedFunction.C Self "trim_right_matches" trim_right_matches. Admitted. Global Typeclasses Opaque trim_right_matches. @@ -5143,7 +5139,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_parse : M.IsAssociatedFunction.Trait Self "parse" parse. + Global Instance AssociatedFunction_parse : M.IsAssociatedFunction.C Self "parse" parse. Admitted. Global Typeclasses Opaque parse. @@ -5184,8 +5180,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ascii : - M.IsAssociatedFunction.Trait Self "is_ascii" is_ascii. + Global Instance AssociatedFunction_is_ascii : M.IsAssociatedFunction.C Self "is_ascii" is_ascii. Admitted. Global Typeclasses Opaque is_ascii. @@ -5232,8 +5227,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ascii : - M.IsAssociatedFunction.Trait Self "as_ascii" as_ascii. + Global Instance AssociatedFunction_as_ascii : M.IsAssociatedFunction.C Self "as_ascii" as_ascii. Admitted. Global Typeclasses Opaque as_ascii. @@ -5283,7 +5277,7 @@ Module str. end. Global Instance AssociatedFunction_eq_ignore_ascii_case : - M.IsAssociatedFunction.Trait Self "eq_ignore_ascii_case" eq_ignore_ascii_case. + M.IsAssociatedFunction.C Self "eq_ignore_ascii_case" eq_ignore_ascii_case. Admitted. Global Typeclasses Opaque eq_ignore_ascii_case. @@ -5334,7 +5328,7 @@ Module str. end. Global Instance AssociatedFunction_make_ascii_uppercase : - M.IsAssociatedFunction.Trait Self "make_ascii_uppercase" make_ascii_uppercase. + M.IsAssociatedFunction.C Self "make_ascii_uppercase" make_ascii_uppercase. Admitted. Global Typeclasses Opaque make_ascii_uppercase. @@ -5385,7 +5379,7 @@ Module str. end. Global Instance AssociatedFunction_make_ascii_lowercase : - M.IsAssociatedFunction.Trait Self "make_ascii_lowercase" make_ascii_lowercase. + M.IsAssociatedFunction.C Self "make_ascii_lowercase" make_ascii_lowercase. Admitted. Global Typeclasses Opaque make_ascii_lowercase. @@ -5448,7 +5442,7 @@ Module str. end. Global Instance AssociatedFunction_trim_ascii_start : - M.IsAssociatedFunction.Trait Self "trim_ascii_start" trim_ascii_start. + M.IsAssociatedFunction.C Self "trim_ascii_start" trim_ascii_start. Admitted. Global Typeclasses Opaque trim_ascii_start. @@ -5511,7 +5505,7 @@ Module str. end. Global Instance AssociatedFunction_trim_ascii_end : - M.IsAssociatedFunction.Trait Self "trim_ascii_end" trim_ascii_end. + M.IsAssociatedFunction.C Self "trim_ascii_end" trim_ascii_end. Admitted. Global Typeclasses Opaque trim_ascii_end. @@ -5574,7 +5568,7 @@ Module str. end. Global Instance AssociatedFunction_trim_ascii : - M.IsAssociatedFunction.Trait Self "trim_ascii" trim_ascii. + M.IsAssociatedFunction.C Self "trim_ascii" trim_ascii. Admitted. Global Typeclasses Opaque trim_ascii. @@ -5761,8 +5755,13 @@ Module str. [ M.read (| first |); M.read (| - M.get_constant - "core::char::methods::ESCAPE_ALL" + get_associated_constant (| + Ty.path + "core::char::methods::EscapeDebugExtArgs", + "ESCAPE_ALL", + Ty.path + "core::char::methods::EscapeDebugExtArgs" + |) |) ] |))) @@ -5811,7 +5810,7 @@ Module str. end. Global Instance AssociatedFunction_escape_debug : - M.IsAssociatedFunction.Trait Self "escape_debug" escape_debug. + M.IsAssociatedFunction.C Self "escape_debug" escape_debug. Admitted. Global Typeclasses Opaque escape_debug. @@ -5861,7 +5860,7 @@ Module str. end. Global Instance AssociatedFunction_escape_default : - M.IsAssociatedFunction.Trait Self "escape_default" escape_default. + M.IsAssociatedFunction.C Self "escape_default" escape_default. Admitted. Global Typeclasses Opaque escape_default. @@ -5911,7 +5910,7 @@ Module str. end. Global Instance AssociatedFunction_escape_unicode : - M.IsAssociatedFunction.Trait Self "escape_unicode" escape_unicode. + M.IsAssociatedFunction.C Self "escape_unicode" escape_unicode. Admitted. Global Typeclasses Opaque escape_unicode. @@ -5964,7 +5963,7 @@ Module str. end. Global Instance AssociatedFunction_substr_range : - M.IsAssociatedFunction.Trait Self "substr_range" substr_range. + M.IsAssociatedFunction.C Self "substr_range" substr_range. Admitted. Global Typeclasses Opaque substr_range. @@ -5982,7 +5981,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. End Impl_str. diff --git a/CoqOfRust/core/str/pattern.v b/CoqOfRust/core/str/pattern.v index 813a703b5..89181955d 100644 --- a/CoqOfRust/core/str/pattern.v +++ b/CoqOfRust/core/str/pattern.v @@ -2557,7 +2557,7 @@ Module str. end. Global Instance AssociatedFunction_utf8_size : - M.IsAssociatedFunction.Trait Self "utf8_size" utf8_size. + M.IsAssociatedFunction.C Self "utf8_size" utf8_size. Admitted. Global Typeclasses Opaque utf8_size. End Impl_core_str_pattern_CharSearcher. @@ -11861,7 +11861,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_str_pattern_StrSearcher. @@ -12270,7 +12270,13 @@ Module str. "memory" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |) in M.match_operator (| @@ -12661,7 +12667,13 @@ Module str. "memory" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |) in M.match_operator (| @@ -13227,7 +13239,13 @@ Module str. "memory" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |) in M.match_operator (| @@ -13617,7 +13635,13 @@ Module str. "memory" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |) in M.match_operator (| @@ -14844,9 +14868,21 @@ Module str. ("position", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| end_ |)); ("memory", - M.read (| M.get_constant "core::num::MAX" |)); + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |)); ("memory_back", - M.read (| M.get_constant "core::num::MAX" |)) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |)) ] |))) ] @@ -14861,7 +14897,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -14959,7 +14995,7 @@ Module str. end. Global Instance AssociatedFunction_byteset_create : - M.IsAssociatedFunction.Trait Self "byteset_create" byteset_create. + M.IsAssociatedFunction.C Self "byteset_create" byteset_create. Admitted. Global Typeclasses Opaque byteset_create. @@ -14995,7 +15031,7 @@ Module str. end. Global Instance AssociatedFunction_byteset_contains : - M.IsAssociatedFunction.Trait Self "byteset_contains" byteset_contains. + M.IsAssociatedFunction.C Self "byteset_contains" byteset_contains. Admitted. Global Typeclasses Opaque byteset_contains. @@ -16180,7 +16216,7 @@ Module str. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_next : M.IsAssociatedFunction.Trait Self "next" next. + Global Instance AssociatedFunction_next : M.IsAssociatedFunction.C Self "next" next. Admitted. Global Typeclasses Opaque next. @@ -17450,7 +17486,7 @@ Module str. end. Global Instance AssociatedFunction_next_back : - M.IsAssociatedFunction.Trait Self "next_back" next_back. + M.IsAssociatedFunction.C Self "next_back" next_back. Admitted. Global Typeclasses Opaque next_back. @@ -17731,7 +17767,7 @@ Module str. end. Global Instance AssociatedFunction_maximal_suffix : - M.IsAssociatedFunction.Trait Self "maximal_suffix" maximal_suffix. + M.IsAssociatedFunction.C Self "maximal_suffix" maximal_suffix. Admitted. Global Typeclasses Opaque maximal_suffix. @@ -18114,7 +18150,7 @@ Module str. end. Global Instance AssociatedFunction_reverse_maximal_suffix : - M.IsAssociatedFunction.Trait Self "reverse_maximal_suffix" reverse_maximal_suffix. + M.IsAssociatedFunction.C Self "reverse_maximal_suffix" reverse_maximal_suffix. Admitted. Global Typeclasses Opaque reverse_maximal_suffix. End Impl_core_str_pattern_TwoWaySearcher. @@ -18709,7 +18745,16 @@ Module str. ] |), BinOp.Wrap.add (| - M.read (| M.get_constant "core::core_simd::vector::LEN" |), + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) + |), M.read (| last_byte_offset |) |) |) @@ -19707,11 +19752,20 @@ Module str. |), BinOp.Wrap.mul (| M.read (| - M.get_constant - "core::str::pattern::simd_contains::UNROLL" + get_constant (| + "core::str::pattern::simd_contains::UNROLL", + Ty.path "usize" + |) |), M.read (| - M.get_constant "core::core_simd::vector::LEN" + get_associated_constant (| + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) |) |) |), @@ -19779,8 +19833,10 @@ Module str. ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| - M.get_constant - "core::str::pattern::simd_contains::UNROLL" + get_constant (| + "core::str::pattern::simd_contains::UNROLL", + Ty.path "usize" + |) |)) ] ] @@ -19878,8 +19934,19 @@ Module str. BinOp.Wrap.mul (| M.read (| j |), M.read (| - M.get_constant - "core::core_simd::vector::LEN" + get_associated_constant (| + Ty.apply + (Ty.path + "core::core_simd::vector::Simd") + [ + Value.Integer + IntegerKind.Usize + 16 + ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) |) |) |) @@ -19924,8 +19991,10 @@ Module str. ("start", Value.Integer IntegerKind.Usize 0); ("end_", M.read (| - M.get_constant - "core::str::pattern::simd_contains::UNROLL" + get_constant (| + "core::str::pattern::simd_contains::UNROLL", + Ty.path "usize" + |) |)) ] ] @@ -20065,8 +20134,23 @@ Module str. BinOp.Wrap.mul (| M.read (| j |), M.read (| - M.get_constant - "core::core_simd::vector::LEN" + get_associated_constant (| + Ty.apply + (Ty.path + "core::core_simd::vector::Simd") + [ + Value.Integer + IntegerKind.Usize + 16 + ] + [ + Ty.path + "u8" + ], + "LEN", + Ty.path + "usize" + |) |) |) |); @@ -20098,9 +20182,21 @@ Module str. M.read (| β |), BinOp.Wrap.mul (| M.read (| - M.get_constant "core::str::pattern::simd_contains::UNROLL" + get_constant (| + "core::str::pattern::simd_contains::UNROLL", + Ty.path "usize" + |) |), - M.read (| M.get_constant "core::core_simd::vector::LEN" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) + |) |) |) |) @@ -20142,7 +20238,16 @@ Module str. M.read (| i |), M.read (| last_byte_offset |) |), - M.read (| M.get_constant "core::core_simd::vector::LEN" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) + |) |), M.call_closure (| Ty.path "usize", @@ -20264,7 +20369,16 @@ Module str. β, BinOp.Wrap.add (| M.read (| β |), - M.read (| M.get_constant "core::core_simd::vector::LEN" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) + |) |) |) |) in @@ -20301,7 +20415,16 @@ Module str. |), M.read (| last_byte_offset |) |), - M.read (| M.get_constant "core::core_simd::vector::LEN" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "core::core_simd::vector::Simd") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ], + "LEN", + Ty.path "usize" + |) + |) |) |) in let~ mask : Ty.path "u16" := @@ -20378,17 +20501,18 @@ Module str. end. Global Instance Instance_IsFunction_simd_contains : - M.IsFunction.Trait "core::str::pattern::simd_contains" simd_contains. + M.IsFunction.C "core::str::pattern::simd_contains" simd_contains. Admitted. Global Typeclasses Opaque simd_contains. Module simd_contains. - Definition value_UNROLL : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). + Definition value_UNROLL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). - Axiom Constant_value_UNROLL : - (M.get_constant "core::str::pattern::simd_contains::UNROLL") = value_UNROLL. - Global Hint Rewrite Constant_value_UNROLL : constant_rewrites. + Global Instance Instance_IsConstant_value_UNROLL : + M.IsFunction.C "core::str::pattern::simd_contains::UNROLL" value_UNROLL. + Admitted. + Global Typeclasses Opaque value_UNROLL. End simd_contains. (* @@ -21201,7 +21325,7 @@ Module str. end. Global Instance Instance_IsFunction_small_slice_eq : - M.IsFunction.Trait "core::str::pattern::small_slice_eq" small_slice_eq. + M.IsFunction.C "core::str::pattern::small_slice_eq" small_slice_eq. Admitted. Global Typeclasses Opaque small_slice_eq. End pattern. diff --git a/CoqOfRust/core/str/traits.v b/CoqOfRust/core/str/traits.v index f08d8e9f2..2f778b43b 100644 --- a/CoqOfRust/core/str/traits.v +++ b/CoqOfRust/core/str/traits.v @@ -342,7 +342,7 @@ Module str. end. Global Instance Instance_IsFunction_str_index_overflow_fail : - M.IsFunction.Trait "core::str::traits::str_index_overflow_fail" str_index_overflow_fail. + M.IsFunction.C "core::str::traits::str_index_overflow_fail" str_index_overflow_fail. Admitted. Global Typeclasses Opaque str_index_overflow_fail. @@ -4822,7 +4822,13 @@ Module str. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -4911,7 +4917,13 @@ Module str. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5080,7 +5092,13 @@ Module str. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -5186,7 +5204,13 @@ Module str. |) |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -5306,7 +5330,13 @@ Module str. "end" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5385,7 +5415,13 @@ Module str. "end" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5544,7 +5580,13 @@ Module str. "end" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -5637,7 +5679,13 @@ Module str. "end" |) |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |) |)) in let _ := diff --git a/CoqOfRust/core/str/validations.v b/CoqOfRust/core/str/validations.v index 9cc9f2789..b8ccc8b43 100644 --- a/CoqOfRust/core/str/validations.v +++ b/CoqOfRust/core/str/validations.v @@ -23,7 +23,7 @@ Module str. end. Global Instance Instance_IsFunction_utf8_first_byte : - M.IsFunction.Trait "core::str::validations::utf8_first_byte" utf8_first_byte. + M.IsFunction.C "core::str::validations::utf8_first_byte" utf8_first_byte. Admitted. Global Typeclasses Opaque utf8_first_byte. @@ -44,12 +44,14 @@ Module str. (Ty.path "u32") (BinOp.bit_and (M.read (| byte |)) - (M.read (| M.get_constant "core::str::validations::CONT_MASK" |)))))) + (M.read (| + get_constant (| "core::str::validations::CONT_MASK", Ty.path "u8" |) + |)))))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_utf8_acc_cont_byte : - M.IsFunction.Trait "core::str::validations::utf8_acc_cont_byte" utf8_acc_cont_byte. + M.IsFunction.C "core::str::validations::utf8_acc_cont_byte" utf8_acc_cont_byte. Admitted. Global Typeclasses Opaque utf8_acc_cont_byte. @@ -71,7 +73,7 @@ Module str. end. Global Instance Instance_IsFunction_utf8_is_cont_byte : - M.IsFunction.Trait "core::str::validations::utf8_is_cont_byte" utf8_is_cont_byte. + M.IsFunction.C "core::str::validations::utf8_is_cont_byte" utf8_is_cont_byte. Admitted. Global Typeclasses Opaque utf8_is_cont_byte. @@ -380,7 +382,10 @@ Module str. (BinOp.bit_and (M.read (| y |)) (M.read (| - M.get_constant "core::str::validations::CONT_MASK" + get_constant (| + "core::str::validations::CONT_MASK", + Ty.path "u8" + |) |))); M.read (| z |) ] @@ -493,7 +498,7 @@ Module str. end. Global Instance Instance_IsFunction_next_code_point : - M.IsFunction.Trait "core::str::validations::next_code_point" next_code_point. + M.IsFunction.C "core::str::validations::next_code_point" next_code_point. Admitted. Global Typeclasses Opaque next_code_point. @@ -946,24 +951,24 @@ Module str. end. Global Instance Instance_IsFunction_next_code_point_reverse : - M.IsFunction.Trait "core::str::validations::next_code_point_reverse" next_code_point_reverse. + M.IsFunction.C "core::str::validations::next_code_point_reverse" next_code_point_reverse. Admitted. Global Typeclasses Opaque next_code_point_reverse. - Definition value_NONASCII_MASK : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), - [ Value.Integer IntegerKind.U8 128 ] - |) - |))). + Definition value_NONASCII_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "repeat_u8", [], [] |), + [ Value.Integer IntegerKind.U8 128 ] + |) + |))). - Axiom Constant_value_NONASCII_MASK : - (M.get_constant "core::str::validations::NONASCII_MASK") = value_NONASCII_MASK. - Global Hint Rewrite Constant_value_NONASCII_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_NONASCII_MASK : + M.IsFunction.C "core::str::validations::NONASCII_MASK" value_NONASCII_MASK. + Admitted. + Global Typeclasses Opaque value_NONASCII_MASK. (* const fn contains_nonascii(x: usize) -> bool { @@ -978,14 +983,16 @@ Module str. BinOp.ne (| BinOp.bit_and (M.read (| x |)) - (M.read (| M.get_constant "core::str::validations::NONASCII_MASK" |)), + (M.read (| + get_constant (| "core::str::validations::NONASCII_MASK", Ty.path "usize" |) + |)), Value.Integer IntegerKind.Usize 0 |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_contains_nonascii : - M.IsFunction.Trait "core::str::validations::contains_nonascii" contains_nonascii. + M.IsFunction.C "core::str::validations::contains_nonascii" contains_nonascii. Admitted. Global Typeclasses Opaque contains_nonascii. @@ -1144,7 +1151,10 @@ Module str. BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant "core::str::validations::run_utf8_validation::USIZE_BYTES" + get_constant (| + "core::str::validations::run_utf8_validation::USIZE_BYTES", + Ty.path "usize" + |) |) |) |) in @@ -2253,7 +2263,13 @@ Module str. LogicalOp.and (| BinOp.ne (| M.read (| align |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) |), ltac:(M.monadic (BinOp.eq (| @@ -2272,8 +2288,10 @@ Module str. ] |), M.read (| - M.get_constant - "core::str::validations::run_utf8_validation::USIZE_BYTES" + get_constant (| + "core::str::validations::run_utf8_validation::USIZE_BYTES", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.Usize 0 @@ -2589,306 +2607,305 @@ Module str. end. Global Instance Instance_IsFunction_run_utf8_validation : - M.IsFunction.Trait "core::str::validations::run_utf8_validation" run_utf8_validation. + M.IsFunction.C "core::str::validations::run_utf8_validation" run_utf8_validation. Admitted. Global Typeclasses Opaque run_utf8_validation. Module run_utf8_validation. - Definition value_USIZE_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), - [] - |) - |))). + Definition value_USIZE_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_function (| "core::mem::size_of", [], [ Ty.path "usize" ] |), + [] + |) + |))). - Axiom Constant_value_USIZE_BYTES : - (M.get_constant "core::str::validations::run_utf8_validation::USIZE_BYTES") = - value_USIZE_BYTES. - Global Hint Rewrite Constant_value_USIZE_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_USIZE_BYTES : + M.IsFunction.C "core::str::validations::run_utf8_validation::USIZE_BYTES" value_USIZE_BYTES. + Admitted. + Global Typeclasses Opaque value_USIZE_BYTES. End run_utf8_validation. - Definition value_UTF8_CHAR_WIDTH : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 - ] - |) + Definition value_UTF8_CHAR_WIDTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_UTF8_CHAR_WIDTH : - (M.get_constant "core::str::validations::UTF8_CHAR_WIDTH") = value_UTF8_CHAR_WIDTH. - Global Hint Rewrite Constant_value_UTF8_CHAR_WIDTH : constant_rewrites. + Global Instance Instance_IsConstant_value_UTF8_CHAR_WIDTH : + M.IsFunction.C "core::str::validations::UTF8_CHAR_WIDTH" value_UTF8_CHAR_WIDTH. + Admitted. + Global Typeclasses Opaque value_UTF8_CHAR_WIDTH. (* pub const fn utf8_char_width(b: u8) -> usize { @@ -2904,7 +2921,22 @@ Module str. (Ty.path "usize") (M.read (| M.SubPointer.get_array_field (| - M.deref (| M.read (| M.get_constant "core::str::validations::UTF8_CHAR_WIDTH" |) |), + M.deref (| + M.read (| + get_constant (| + "core::str::validations::UTF8_CHAR_WIDTH", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.path "u8" ] + ] + |) + |) + |), M.cast (Ty.path "usize") (M.read (| b |)) |) |)))) @@ -2912,15 +2944,16 @@ Module str. end. Global Instance Instance_IsFunction_utf8_char_width : - M.IsFunction.Trait "core::str::validations::utf8_char_width" utf8_char_width. + M.IsFunction.C "core::str::validations::utf8_char_width" utf8_char_width. Admitted. Global Typeclasses Opaque utf8_char_width. - Definition value_CONT_MASK : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 63 |))). + Definition value_CONT_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 63 |))). - Axiom Constant_value_CONT_MASK : - (M.get_constant "core::str::validations::CONT_MASK") = value_CONT_MASK. - Global Hint Rewrite Constant_value_CONT_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_CONT_MASK : + M.IsFunction.C "core::str::validations::CONT_MASK" value_CONT_MASK. + Admitted. + Global Typeclasses Opaque value_CONT_MASK. End validations. End str. diff --git a/CoqOfRust/core/sync/atomic.v b/CoqOfRust/core/sync/atomic.v index 7d354121c..10e732a64 100644 --- a/CoqOfRust/core/sync/atomic.v +++ b/CoqOfRust/core/sync/atomic.v @@ -3,12 +3,17 @@ Require Import CoqOfRust.CoqOfRust. Module sync. Module atomic. - Definition value_EMULATE_ATOMIC_BOOL : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Bool false |))). + Definition value_EMULATE_ATOMIC_BOOL + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Bool false |))). - Axiom Constant_value_EMULATE_ATOMIC_BOOL : - (M.get_constant "core::sync::atomic::EMULATE_ATOMIC_BOOL") = value_EMULATE_ATOMIC_BOOL. - Global Hint Rewrite Constant_value_EMULATE_ATOMIC_BOOL : constant_rewrites. + Global Instance Instance_IsConstant_value_EMULATE_ATOMIC_BOOL : + M.IsFunction.C "core::sync::atomic::EMULATE_ATOMIC_BOOL" value_EMULATE_ATOMIC_BOOL. + Admitted. + Global Typeclasses Opaque value_EMULATE_ATOMIC_BOOL. (* StructRecord { @@ -448,25 +453,20 @@ Module sync. (* Instance *) [ ("hash", InstanceField.Method hash) ]. End Impl_core_hash_Hash_for_core_sync_atomic_Ordering. - Definition value_ATOMIC_BOOL_INIT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::sync::atomic::AtomicBool", - M.get_associated_function (| - Ty.path "core::sync::atomic::AtomicBool", - "new", - [], - [] - |), - [ Value.Bool false ] - |) - |))). + Definition value_ATOMIC_BOOL_INIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::sync::atomic::AtomicBool", + M.get_associated_function (| Ty.path "core::sync::atomic::AtomicBool", "new", [], [] |), + [ Value.Bool false ] + |) + |))). - Axiom Constant_value_ATOMIC_BOOL_INIT : - (M.get_constant "core::sync::atomic::ATOMIC_BOOL_INIT") = value_ATOMIC_BOOL_INIT. - Global Hint Rewrite Constant_value_ATOMIC_BOOL_INIT : constant_rewrites. + Global Instance Instance_IsConstant_value_ATOMIC_BOOL_INIT : + M.IsFunction.C "core::sync::atomic::ATOMIC_BOOL_INIT" value_ATOMIC_BOOL_INIT. + Admitted. + Global Typeclasses Opaque value_ATOMIC_BOOL_INIT. Module Impl_core_sync_atomic_AtomicBool. Definition Self : Ty.t := Ty.path "core::sync::atomic::AtomicBool". @@ -499,7 +499,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -538,7 +538,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -597,8 +597,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -652,7 +651,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -705,7 +704,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -764,7 +763,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -803,7 +802,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -854,7 +853,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -910,7 +909,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -938,7 +937,12 @@ Module sync. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::sync::atomic::EMULATE_ATOMIC_BOOL") in + (let γ := + M.use + (get_constant (| + "core::sync::atomic::EMULATE_ATOMIC_BOOL", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.match_operator (| Some (Ty.path "bool"), @@ -1038,7 +1042,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -1115,7 +1119,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -1180,7 +1184,12 @@ Module sync. [ fun γ => ltac:(M.monadic - (let γ := M.use (M.get_constant "core::sync::atomic::EMULATE_ATOMIC_BOOL") in + (let γ := + M.use + (get_constant (| + "core::sync::atomic::EMULATE_ATOMIC_BOOL", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ order : Ty.path "core::sync::atomic::Ordering" := M.copy (| @@ -1571,7 +1580,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -1616,7 +1625,11 @@ Module sync. fun γ => ltac:(M.monadic (let γ := - M.use (M.get_constant "core::sync::atomic::EMULATE_ATOMIC_BOOL") in + M.use + (get_constant (| + "core::sync::atomic::EMULATE_ATOMIC_BOOL", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| @@ -1730,7 +1743,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -1781,7 +1794,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -1859,7 +1872,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -1910,7 +1923,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -1961,7 +1974,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -1994,7 +2007,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_not : - M.IsAssociatedFunction.Trait Self "fetch_not" fetch_not. + M.IsAssociatedFunction.C Self "fetch_not" fetch_not. Admitted. Global Typeclasses Opaque fetch_not. @@ -2041,7 +2054,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. @@ -2207,7 +2220,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. End Impl_core_sync_atomic_AtomicBool. @@ -2253,7 +2266,7 @@ Module sync. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -2297,7 +2310,7 @@ Module sync. Global Instance AssociatedFunction_from_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_ptr" (from_ptr T). + M.IsAssociatedFunction.C (Self T) "from_ptr" (from_ptr T). Admitted. Global Typeclasses Opaque from_ptr. @@ -2349,7 +2362,7 @@ Module sync. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -2425,7 +2438,7 @@ Module sync. Global Instance AssociatedFunction_from_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut" (from_mut T). + M.IsAssociatedFunction.C (Self T) "from_mut" (from_mut T). Admitted. Global Typeclasses Opaque from_mut. @@ -2490,7 +2503,7 @@ Module sync. Global Instance AssociatedFunction_get_mut_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut_slice" (get_mut_slice T). + M.IsAssociatedFunction.C (Self T) "get_mut_slice" (get_mut_slice T). Admitted. Global Typeclasses Opaque get_mut_slice. @@ -2558,7 +2571,7 @@ Module sync. Global Instance AssociatedFunction_from_mut_slice : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut_slice" (from_mut_slice T). + M.IsAssociatedFunction.C (Self T) "from_mut_slice" (from_mut_slice T). Admitted. Global Typeclasses Opaque from_mut_slice. @@ -2599,7 +2612,7 @@ Module sync. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. @@ -2656,7 +2669,7 @@ Module sync. Global Instance AssociatedFunction_load : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "load" (load T). + M.IsAssociatedFunction.C (Self T) "load" (load T). Admitted. Global Typeclasses Opaque load. @@ -2721,7 +2734,7 @@ Module sync. Global Instance AssociatedFunction_store : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "store" (store T). + M.IsAssociatedFunction.C (Self T) "store" (store T). Admitted. Global Typeclasses Opaque store. @@ -2778,7 +2791,7 @@ Module sync. Global Instance AssociatedFunction_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "swap" (swap T). + M.IsAssociatedFunction.C (Self T) "swap" (swap T). Admitted. Global Typeclasses Opaque swap. @@ -2865,7 +2878,7 @@ Module sync. Global Instance AssociatedFunction_compare_and_swap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "compare_and_swap" (compare_and_swap T). + M.IsAssociatedFunction.C (Self T) "compare_and_swap" (compare_and_swap T). Admitted. Global Typeclasses Opaque compare_and_swap. @@ -2940,7 +2953,7 @@ Module sync. Global Instance AssociatedFunction_compare_exchange : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "compare_exchange" (compare_exchange T). + M.IsAssociatedFunction.C (Self T) "compare_exchange" (compare_exchange T). Admitted. Global Typeclasses Opaque compare_exchange. @@ -3018,7 +3031,7 @@ Module sync. Global Instance AssociatedFunction_compare_exchange_weak : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "compare_exchange_weak" (compare_exchange_weak T). + M.IsAssociatedFunction.C (Self T) "compare_exchange_weak" (compare_exchange_weak T). Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -3194,7 +3207,7 @@ Module sync. Global Instance AssociatedFunction_fetch_update : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_update" (fetch_update T). + M.IsAssociatedFunction.C (Self T) "fetch_update" (fetch_update T). Admitted. Global Typeclasses Opaque fetch_update. @@ -3246,7 +3259,7 @@ Module sync. Global Instance AssociatedFunction_fetch_ptr_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_ptr_add" (fetch_ptr_add T). + M.IsAssociatedFunction.C (Self T) "fetch_ptr_add" (fetch_ptr_add T). Admitted. Global Typeclasses Opaque fetch_ptr_add. @@ -3298,7 +3311,7 @@ Module sync. Global Instance AssociatedFunction_fetch_ptr_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_ptr_sub" (fetch_ptr_sub T). + M.IsAssociatedFunction.C (Self T) "fetch_ptr_sub" (fetch_ptr_sub T). Admitted. Global Typeclasses Opaque fetch_ptr_sub. @@ -3370,7 +3383,7 @@ Module sync. Global Instance AssociatedFunction_fetch_byte_add : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_byte_add" (fetch_byte_add T). + M.IsAssociatedFunction.C (Self T) "fetch_byte_add" (fetch_byte_add T). Admitted. Global Typeclasses Opaque fetch_byte_add. @@ -3442,7 +3455,7 @@ Module sync. Global Instance AssociatedFunction_fetch_byte_sub : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_byte_sub" (fetch_byte_sub T). + M.IsAssociatedFunction.C (Self T) "fetch_byte_sub" (fetch_byte_sub T). Admitted. Global Typeclasses Opaque fetch_byte_sub. @@ -3509,7 +3522,7 @@ Module sync. Global Instance AssociatedFunction_fetch_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_or" (fetch_or T). + M.IsAssociatedFunction.C (Self T) "fetch_or" (fetch_or T). Admitted. Global Typeclasses Opaque fetch_or. @@ -3576,7 +3589,7 @@ Module sync. Global Instance AssociatedFunction_fetch_and : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_and" (fetch_and T). + M.IsAssociatedFunction.C (Self T) "fetch_and" (fetch_and T). Admitted. Global Typeclasses Opaque fetch_and. @@ -3643,7 +3656,7 @@ Module sync. Global Instance AssociatedFunction_fetch_xor : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "fetch_xor" (fetch_xor T). + M.IsAssociatedFunction.C (Self T) "fetch_xor" (fetch_xor T). Admitted. Global Typeclasses Opaque fetch_xor. @@ -3685,7 +3698,7 @@ Module sync. Global Instance AssociatedFunction_as_ptr : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ptr" (as_ptr T). + M.IsAssociatedFunction.C (Self T) "as_ptr" (as_ptr T). Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicPtr_T. @@ -3942,7 +3955,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3981,7 +3994,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -4027,8 +4040,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -4097,7 +4109,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -4150,7 +4162,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -4224,7 +4236,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -4260,7 +4272,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -4307,7 +4319,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -4360,7 +4372,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -4407,7 +4419,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -4490,7 +4502,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -4550,7 +4562,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -4612,7 +4624,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -4660,7 +4672,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -4708,7 +4720,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -4756,7 +4768,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -4804,7 +4816,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -4852,7 +4864,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -4900,7 +4912,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -5059,7 +5071,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -5107,7 +5119,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -5155,7 +5167,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -5191,7 +5203,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicI8. @@ -5375,7 +5387,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5414,7 +5426,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -5460,8 +5472,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -5530,7 +5541,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -5583,7 +5594,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -5657,7 +5668,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -5693,7 +5704,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -5740,7 +5751,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -5793,7 +5804,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -5840,7 +5851,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -5923,7 +5934,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -5983,7 +5994,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -6045,7 +6056,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -6093,7 +6104,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -6141,7 +6152,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -6189,7 +6200,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -6237,7 +6248,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -6285,7 +6296,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -6333,7 +6344,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -6492,7 +6503,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -6540,7 +6551,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -6588,7 +6599,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -6624,7 +6635,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicU8. @@ -6818,7 +6829,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -6857,7 +6868,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -6903,8 +6914,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -6973,7 +6983,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -7026,7 +7036,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -7100,7 +7110,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -7136,7 +7146,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -7183,7 +7193,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -7236,7 +7246,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -7283,7 +7293,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -7366,7 +7376,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -7426,7 +7436,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -7488,7 +7498,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -7536,7 +7546,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -7584,7 +7594,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -7632,7 +7642,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -7680,7 +7690,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -7728,7 +7738,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -7776,7 +7786,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -7938,7 +7948,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -7986,7 +7996,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -8034,7 +8044,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -8070,7 +8080,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicI16. @@ -8264,7 +8274,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -8303,7 +8313,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -8349,8 +8359,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -8419,7 +8428,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -8472,7 +8481,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -8546,7 +8555,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -8582,7 +8591,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -8629,7 +8638,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -8682,7 +8691,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -8729,7 +8738,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -8812,7 +8821,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -8872,7 +8881,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -8934,7 +8943,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -8982,7 +8991,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -9030,7 +9039,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -9078,7 +9087,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -9126,7 +9135,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -9174,7 +9183,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -9222,7 +9231,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -9384,7 +9393,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -9432,7 +9441,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -9480,7 +9489,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -9516,7 +9525,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicU16. @@ -9710,7 +9719,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -9749,7 +9758,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -9795,8 +9804,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -9865,7 +9873,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -9918,7 +9926,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -9992,7 +10000,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -10028,7 +10036,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -10075,7 +10083,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -10128,7 +10136,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -10175,7 +10183,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -10258,7 +10266,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -10318,7 +10326,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -10380,7 +10388,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -10428,7 +10436,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -10476,7 +10484,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -10524,7 +10532,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -10572,7 +10580,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -10620,7 +10628,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -10668,7 +10676,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -10830,7 +10838,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -10878,7 +10886,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -10926,7 +10934,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -10962,7 +10970,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicI32. @@ -11156,7 +11164,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -11195,7 +11203,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -11241,8 +11249,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -11311,7 +11318,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -11364,7 +11371,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -11438,7 +11445,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -11474,7 +11481,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -11521,7 +11528,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -11574,7 +11581,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -11621,7 +11628,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -11704,7 +11711,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -11764,7 +11771,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -11826,7 +11833,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -11874,7 +11881,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -11922,7 +11929,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -11970,7 +11977,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -12018,7 +12025,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -12066,7 +12073,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -12114,7 +12121,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -12276,7 +12283,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -12324,7 +12331,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -12372,7 +12379,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -12408,7 +12415,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicU32. @@ -12602,7 +12609,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -12641,7 +12648,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -12687,8 +12694,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -12757,7 +12763,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -12810,7 +12816,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -12884,7 +12890,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -12920,7 +12926,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -12967,7 +12973,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -13020,7 +13026,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -13067,7 +13073,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -13150,7 +13156,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -13210,7 +13216,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -13272,7 +13278,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -13320,7 +13326,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -13368,7 +13374,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -13416,7 +13422,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -13464,7 +13470,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -13512,7 +13518,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -13560,7 +13566,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -13722,7 +13728,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -13770,7 +13776,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -13818,7 +13824,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -13854,7 +13860,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicI64. @@ -14048,7 +14054,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -14087,7 +14093,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -14133,8 +14139,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -14203,7 +14208,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -14256,7 +14261,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -14330,7 +14335,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -14366,7 +14371,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -14413,7 +14418,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -14466,7 +14471,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -14513,7 +14518,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -14596,7 +14601,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -14656,7 +14661,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -14718,7 +14723,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -14766,7 +14771,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -14814,7 +14819,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -14862,7 +14867,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -14910,7 +14915,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -14958,7 +14963,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -15006,7 +15011,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -15168,7 +15173,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -15216,7 +15221,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -15264,7 +15269,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -15300,7 +15305,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicU64. @@ -15494,7 +15499,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -15533,7 +15538,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -15579,8 +15584,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -15649,7 +15653,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -15702,7 +15706,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -15776,7 +15780,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -15812,7 +15816,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -15859,7 +15863,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -15916,7 +15920,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -15963,7 +15967,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -16049,7 +16053,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -16109,7 +16113,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -16171,7 +16175,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -16219,7 +16223,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -16267,7 +16271,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -16315,7 +16319,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -16363,7 +16367,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -16411,7 +16415,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -16459,7 +16463,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -16621,7 +16625,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -16669,7 +16673,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -16717,7 +16721,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -16753,7 +16757,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicIsize. @@ -16947,7 +16951,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -16986,7 +16990,7 @@ Module sync. end. Global Instance AssociatedFunction_from_ptr : - M.IsAssociatedFunction.Trait Self "from_ptr" from_ptr. + M.IsAssociatedFunction.C Self "from_ptr" from_ptr. Admitted. Global Typeclasses Opaque from_ptr. @@ -17032,8 +17036,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : - M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -17102,7 +17105,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut : - M.IsAssociatedFunction.Trait Self "from_mut" from_mut. + M.IsAssociatedFunction.C Self "from_mut" from_mut. Admitted. Global Typeclasses Opaque from_mut. @@ -17155,7 +17158,7 @@ Module sync. end. Global Instance AssociatedFunction_get_mut_slice : - M.IsAssociatedFunction.Trait Self "get_mut_slice" get_mut_slice. + M.IsAssociatedFunction.C Self "get_mut_slice" get_mut_slice. Admitted. Global Typeclasses Opaque get_mut_slice. @@ -17229,7 +17232,7 @@ Module sync. end. Global Instance AssociatedFunction_from_mut_slice : - M.IsAssociatedFunction.Trait Self "from_mut_slice" from_mut_slice. + M.IsAssociatedFunction.C Self "from_mut_slice" from_mut_slice. Admitted. Global Typeclasses Opaque from_mut_slice. @@ -17265,7 +17268,7 @@ Module sync. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -17312,7 +17315,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_load : M.IsAssociatedFunction.Trait Self "load" load. + Global Instance AssociatedFunction_load : M.IsAssociatedFunction.C Self "load" load. Admitted. Global Typeclasses Opaque load. @@ -17369,7 +17372,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_store : M.IsAssociatedFunction.Trait Self "store" store. + Global Instance AssociatedFunction_store : M.IsAssociatedFunction.C Self "store" store. Admitted. Global Typeclasses Opaque store. @@ -17416,7 +17419,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -17502,7 +17505,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_and_swap : - M.IsAssociatedFunction.Trait Self "compare_and_swap" compare_and_swap. + M.IsAssociatedFunction.C Self "compare_and_swap" compare_and_swap. Admitted. Global Typeclasses Opaque compare_and_swap. @@ -17562,7 +17565,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange : - M.IsAssociatedFunction.Trait Self "compare_exchange" compare_exchange. + M.IsAssociatedFunction.C Self "compare_exchange" compare_exchange. Admitted. Global Typeclasses Opaque compare_exchange. @@ -17624,7 +17627,7 @@ Module sync. end. Global Instance AssociatedFunction_compare_exchange_weak : - M.IsAssociatedFunction.Trait Self "compare_exchange_weak" compare_exchange_weak. + M.IsAssociatedFunction.C Self "compare_exchange_weak" compare_exchange_weak. Admitted. Global Typeclasses Opaque compare_exchange_weak. @@ -17672,7 +17675,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_add : - M.IsAssociatedFunction.Trait Self "fetch_add" fetch_add. + M.IsAssociatedFunction.C Self "fetch_add" fetch_add. Admitted. Global Typeclasses Opaque fetch_add. @@ -17720,7 +17723,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_sub : - M.IsAssociatedFunction.Trait Self "fetch_sub" fetch_sub. + M.IsAssociatedFunction.C Self "fetch_sub" fetch_sub. Admitted. Global Typeclasses Opaque fetch_sub. @@ -17768,7 +17771,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_and : - M.IsAssociatedFunction.Trait Self "fetch_and" fetch_and. + M.IsAssociatedFunction.C Self "fetch_and" fetch_and. Admitted. Global Typeclasses Opaque fetch_and. @@ -17816,7 +17819,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_nand : - M.IsAssociatedFunction.Trait Self "fetch_nand" fetch_nand. + M.IsAssociatedFunction.C Self "fetch_nand" fetch_nand. Admitted. Global Typeclasses Opaque fetch_nand. @@ -17864,7 +17867,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_or : - M.IsAssociatedFunction.Trait Self "fetch_or" fetch_or. + M.IsAssociatedFunction.C Self "fetch_or" fetch_or. Admitted. Global Typeclasses Opaque fetch_or. @@ -17912,7 +17915,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_xor : - M.IsAssociatedFunction.Trait Self "fetch_xor" fetch_xor. + M.IsAssociatedFunction.C Self "fetch_xor" fetch_xor. Admitted. Global Typeclasses Opaque fetch_xor. @@ -18074,7 +18077,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_update : - M.IsAssociatedFunction.Trait Self "fetch_update" fetch_update. + M.IsAssociatedFunction.C Self "fetch_update" fetch_update. Admitted. Global Typeclasses Opaque fetch_update. @@ -18122,7 +18125,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_max : - M.IsAssociatedFunction.Trait Self "fetch_max" fetch_max. + M.IsAssociatedFunction.C Self "fetch_max" fetch_max. Admitted. Global Typeclasses Opaque fetch_max. @@ -18170,7 +18173,7 @@ Module sync. end. Global Instance AssociatedFunction_fetch_min : - M.IsAssociatedFunction.Trait Self "fetch_min" fetch_min. + M.IsAssociatedFunction.C Self "fetch_min" fetch_min. Admitted. Global Typeclasses Opaque fetch_min. @@ -18206,50 +18209,50 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.Trait Self "as_ptr" as_ptr. + Global Instance AssociatedFunction_as_ptr : M.IsAssociatedFunction.C Self "as_ptr" as_ptr. Admitted. Global Typeclasses Opaque as_ptr. End Impl_core_sync_atomic_AtomicUsize. - Definition value_ATOMIC_ISIZE_INIT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_ATOMIC_ISIZE_INIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::sync::atomic::AtomicIsize", + M.get_associated_function (| Ty.path "core::sync::atomic::AtomicIsize", - M.get_associated_function (| - Ty.path "core::sync::atomic::AtomicIsize", - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Isize 0 ] - |) - |))). + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Isize 0 ] + |) + |))). - Axiom Constant_value_ATOMIC_ISIZE_INIT : - (M.get_constant "core::sync::atomic::ATOMIC_ISIZE_INIT") = value_ATOMIC_ISIZE_INIT. - Global Hint Rewrite Constant_value_ATOMIC_ISIZE_INIT : constant_rewrites. + Global Instance Instance_IsConstant_value_ATOMIC_ISIZE_INIT : + M.IsFunction.C "core::sync::atomic::ATOMIC_ISIZE_INIT" value_ATOMIC_ISIZE_INIT. + Admitted. + Global Typeclasses Opaque value_ATOMIC_ISIZE_INIT. - Definition value_ATOMIC_USIZE_INIT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_ATOMIC_USIZE_INIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::sync::atomic::AtomicUsize", + M.get_associated_function (| Ty.path "core::sync::atomic::AtomicUsize", - M.get_associated_function (| - Ty.path "core::sync::atomic::AtomicUsize", - "new", - [], - [] - |), - [ Value.Integer IntegerKind.Usize 0 ] - |) - |))). + "new", + [], + [] + |), + [ Value.Integer IntegerKind.Usize 0 ] + |) + |))). - Axiom Constant_value_ATOMIC_USIZE_INIT : - (M.get_constant "core::sync::atomic::ATOMIC_USIZE_INIT") = value_ATOMIC_USIZE_INIT. - Global Hint Rewrite Constant_value_ATOMIC_USIZE_INIT : constant_rewrites. + Global Instance Instance_IsConstant_value_ATOMIC_USIZE_INIT : + M.IsFunction.C "core::sync::atomic::ATOMIC_USIZE_INIT" value_ATOMIC_USIZE_INIT. + Admitted. + Global Typeclasses Opaque value_ATOMIC_USIZE_INIT. (* fn strongest_failure_ordering(order: Ordering) -> Ordering { @@ -18303,9 +18306,7 @@ Module sync. end. Global Instance Instance_IsFunction_strongest_failure_ordering : - M.IsFunction.Trait - "core::sync::atomic::strongest_failure_ordering" - strongest_failure_ordering. + M.IsFunction.C "core::sync::atomic::strongest_failure_ordering" strongest_failure_ordering. Admitted. Global Typeclasses Opaque strongest_failure_ordering. @@ -18452,7 +18453,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_store : - M.IsFunction.Trait "core::sync::atomic::atomic_store" atomic_store. + M.IsFunction.C "core::sync::atomic::atomic_store" atomic_store. Admitted. Global Typeclasses Opaque atomic_store. @@ -18595,7 +18596,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_load : - M.IsFunction.Trait "core::sync::atomic::atomic_load" atomic_load. + M.IsFunction.C "core::sync::atomic::atomic_load" atomic_load. Admitted. Global Typeclasses Opaque atomic_load. @@ -18682,7 +18683,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_swap : - M.IsFunction.Trait "core::sync::atomic::atomic_swap" atomic_swap. + M.IsFunction.C "core::sync::atomic::atomic_swap" atomic_swap. Admitted. Global Typeclasses Opaque atomic_swap. @@ -18769,7 +18770,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_add : - M.IsFunction.Trait "core::sync::atomic::atomic_add" atomic_add. + M.IsFunction.C "core::sync::atomic::atomic_add" atomic_add. Admitted. Global Typeclasses Opaque atomic_add. @@ -18856,7 +18857,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_sub : - M.IsFunction.Trait "core::sync::atomic::atomic_sub" atomic_sub. + M.IsFunction.C "core::sync::atomic::atomic_sub" atomic_sub. Admitted. Global Typeclasses Opaque atomic_sub. @@ -19315,7 +19316,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_compare_exchange : - M.IsFunction.Trait "core::sync::atomic::atomic_compare_exchange" atomic_compare_exchange. + M.IsFunction.C "core::sync::atomic::atomic_compare_exchange" atomic_compare_exchange. Admitted. Global Typeclasses Opaque atomic_compare_exchange. @@ -19778,7 +19779,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_compare_exchange_weak : - M.IsFunction.Trait + M.IsFunction.C "core::sync::atomic::atomic_compare_exchange_weak" atomic_compare_exchange_weak. Admitted. @@ -19867,7 +19868,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_and : - M.IsFunction.Trait "core::sync::atomic::atomic_and" atomic_and. + M.IsFunction.C "core::sync::atomic::atomic_and" atomic_and. Admitted. Global Typeclasses Opaque atomic_and. @@ -19954,7 +19955,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_nand : - M.IsFunction.Trait "core::sync::atomic::atomic_nand" atomic_nand. + M.IsFunction.C "core::sync::atomic::atomic_nand" atomic_nand. Admitted. Global Typeclasses Opaque atomic_nand. @@ -20041,7 +20042,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_or : - M.IsFunction.Trait "core::sync::atomic::atomic_or" atomic_or. + M.IsFunction.C "core::sync::atomic::atomic_or" atomic_or. Admitted. Global Typeclasses Opaque atomic_or. @@ -20128,7 +20129,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_xor : - M.IsFunction.Trait "core::sync::atomic::atomic_xor" atomic_xor. + M.IsFunction.C "core::sync::atomic::atomic_xor" atomic_xor. Admitted. Global Typeclasses Opaque atomic_xor. @@ -20215,7 +20216,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_max : - M.IsFunction.Trait "core::sync::atomic::atomic_max" atomic_max. + M.IsFunction.C "core::sync::atomic::atomic_max" atomic_max. Admitted. Global Typeclasses Opaque atomic_max. @@ -20302,7 +20303,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_min : - M.IsFunction.Trait "core::sync::atomic::atomic_min" atomic_min. + M.IsFunction.C "core::sync::atomic::atomic_min" atomic_min. Admitted. Global Typeclasses Opaque atomic_min. @@ -20389,7 +20390,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_umax : - M.IsFunction.Trait "core::sync::atomic::atomic_umax" atomic_umax. + M.IsFunction.C "core::sync::atomic::atomic_umax" atomic_umax. Admitted. Global Typeclasses Opaque atomic_umax. @@ -20476,7 +20477,7 @@ Module sync. end. Global Instance Instance_IsFunction_atomic_umin : - M.IsFunction.Trait "core::sync::atomic::atomic_umin" atomic_umin. + M.IsFunction.C "core::sync::atomic::atomic_umin" atomic_umin. Admitted. Global Typeclasses Opaque atomic_umin. @@ -20587,8 +20588,7 @@ Module sync. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_fence : - M.IsFunction.Trait "core::sync::atomic::fence" fence. + Global Instance Instance_IsFunction_fence : M.IsFunction.C "core::sync::atomic::fence" fence. Admitted. Global Typeclasses Opaque fence. @@ -20719,7 +20719,7 @@ Module sync. end. Global Instance Instance_IsFunction_compiler_fence : - M.IsFunction.Trait "core::sync::atomic::compiler_fence" compiler_fence. + M.IsFunction.C "core::sync::atomic::compiler_fence" compiler_fence. Admitted. Global Typeclasses Opaque compiler_fence. @@ -20940,7 +20940,7 @@ Module sync. end. Global Instance Instance_IsFunction_spin_loop_hint : - M.IsFunction.Trait "core::sync::atomic::spin_loop_hint" spin_loop_hint. + M.IsFunction.C "core::sync::atomic::spin_loop_hint" spin_loop_hint. Admitted. Global Typeclasses Opaque spin_loop_hint. End atomic. diff --git a/CoqOfRust/core/sync/exclusive.v b/CoqOfRust/core/sync/exclusive.v index 85f99f1e3..e34e530c1 100644 --- a/CoqOfRust/core/sync/exclusive.v +++ b/CoqOfRust/core/sync/exclusive.v @@ -140,7 +140,7 @@ Module sync. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -167,7 +167,7 @@ Module sync. Global Instance AssociatedFunction_into_inner : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_inner" (into_inner T). + M.IsAssociatedFunction.C (Self T) "into_inner" (into_inner T). Admitted. Global Typeclasses Opaque into_inner. (* @@ -204,7 +204,7 @@ Module sync. Global Instance AssociatedFunction_get_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_mut" (get_mut T). + M.IsAssociatedFunction.C (Self T) "get_mut" (get_mut T). Admitted. Global Typeclasses Opaque get_mut. @@ -273,7 +273,7 @@ Module sync. Global Instance AssociatedFunction_get_pin_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "get_pin_mut" (get_pin_mut T). + M.IsAssociatedFunction.C (Self T) "get_pin_mut" (get_pin_mut T). Admitted. Global Typeclasses Opaque get_pin_mut. @@ -328,7 +328,7 @@ Module sync. Global Instance AssociatedFunction_from_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_mut" (from_mut T). + M.IsAssociatedFunction.C (Self T) "from_mut" (from_mut T). Admitted. Global Typeclasses Opaque from_mut. @@ -419,7 +419,7 @@ Module sync. Global Instance AssociatedFunction_from_pin_mut : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "from_pin_mut" (from_pin_mut T). + M.IsAssociatedFunction.C (Self T) "from_pin_mut" (from_pin_mut T). Admitted. Global Typeclasses Opaque from_pin_mut. End Impl_core_sync_exclusive_Exclusive_T. diff --git a/CoqOfRust/core/task/poll.v b/CoqOfRust/core/task/poll.v index 011d67e15..889805717 100644 --- a/CoqOfRust/core/task/poll.v +++ b/CoqOfRust/core/task/poll.v @@ -773,7 +773,7 @@ Module task. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. @@ -811,7 +811,7 @@ Module task. Global Instance AssociatedFunction_is_ready : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_ready" (is_ready T). + M.IsAssociatedFunction.C (Self T) "is_ready" (is_ready T). Admitted. Global Typeclasses Opaque is_ready. @@ -843,7 +843,7 @@ Module task. Global Instance AssociatedFunction_is_pending : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_pending" (is_pending T). + M.IsAssociatedFunction.C (Self T) "is_pending" (is_pending T). Admitted. Global Typeclasses Opaque is_pending. End Impl_core_task_poll_Poll_T. @@ -953,7 +953,7 @@ Module task. Global Instance AssociatedFunction_map_ok : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_ok" (map_ok T E). + M.IsAssociatedFunction.C (Self T E) "map_ok" (map_ok T E). Admitted. Global Typeclasses Opaque map_ok. @@ -1055,7 +1055,7 @@ Module task. Global Instance AssociatedFunction_map_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_err" (map_err T E). + M.IsAssociatedFunction.C (Self T E) "map_err" (map_err T E). Admitted. Global Typeclasses Opaque map_err. End Impl_core_task_poll_Poll_core_result_Result_T_E. @@ -1210,7 +1210,7 @@ Module task. Global Instance AssociatedFunction_map_ok : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_ok" (map_ok T E). + M.IsAssociatedFunction.C (Self T E) "map_ok" (map_ok T E). Admitted. Global Typeclasses Opaque map_ok. @@ -1352,7 +1352,7 @@ Module task. Global Instance AssociatedFunction_map_err : forall (T E : Ty.t), - M.IsAssociatedFunction.Trait (Self T E) "map_err" (map_err T E). + M.IsAssociatedFunction.C (Self T E) "map_err" (map_err T E). Admitted. Global Typeclasses Opaque map_err. End Impl_core_task_poll_Poll_core_option_Option_core_result_Result_T_E. diff --git a/CoqOfRust/core/task/wake.v b/CoqOfRust/core/task/wake.v index ce0d59253..ddbe5aaa7 100644 --- a/CoqOfRust/core/task/wake.v +++ b/CoqOfRust/core/task/wake.v @@ -189,7 +189,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -209,34 +209,36 @@ Module task. }; *) (* Ty.path "core::task::wake::RawWaker" *) - Definition value_NOOP : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::task::wake::RawWaker", - M.get_associated_function (| Ty.path "core::task::wake::RawWaker", "new", [], [] |), - [ - M.call_closure (| - Ty.apply (Ty.path "*const") [] [ Ty.tuple [] ], - M.get_function (| "core::ptr::null", [], [ Ty.tuple [] ] |), - [] - |); - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.get_constant "core::task::wake::NOOP::VTABLE" + Definition value_NOOP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::task::wake::RawWaker", + M.get_associated_function (| Ty.path "core::task::wake::RawWaker", "new", [], [] |), + [ + M.call_closure (| + Ty.apply (Ty.path "*const") [] [ Ty.tuple [] ], + M.get_function (| "core::ptr::null", [], [ Ty.tuple [] ] |), + [] + |); + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + get_constant (| + "core::task::wake::NOOP::VTABLE", + Ty.path "core::task::wake::RawWakerVTable" |) |) |) - ] - |) - |))). + |) + ] + |) + |))). Global Instance AssociatedConstant_value_NOOP : - M.IsAssociatedConstant.Trait Self "value_NOOP" value_NOOP. + M.IsAssociatedFunction.C Self "NOOP" value_NOOP. Admitted. Global Typeclasses Opaque value_NOOP. End Impl_core_task_wake_RawWaker. @@ -564,7 +566,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_core_task_wake_RawWakerVTable. @@ -760,7 +762,7 @@ Module task. end. Global Instance AssociatedFunction_from_waker : - M.IsAssociatedFunction.Trait Self "from_waker" from_waker. + M.IsAssociatedFunction.C Self "from_waker" from_waker. Admitted. Global Typeclasses Opaque from_waker. @@ -794,7 +796,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_waker : M.IsAssociatedFunction.Trait Self "waker" waker. + Global Instance AssociatedFunction_waker : M.IsAssociatedFunction.C Self "waker" waker. Admitted. Global Typeclasses Opaque waker. @@ -829,7 +831,7 @@ Module task. end. Global Instance AssociatedFunction_local_waker : - M.IsAssociatedFunction.Trait Self "local_waker" local_waker. + M.IsAssociatedFunction.C Self "local_waker" local_waker. Admitted. Global Typeclasses Opaque local_waker. @@ -915,7 +917,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ext : M.IsAssociatedFunction.Trait Self "ext" ext. + Global Instance AssociatedFunction_ext : M.IsAssociatedFunction.C Self "ext" ext. Admitted. Global Typeclasses Opaque ext. End Impl_core_task_wake_Context. @@ -1205,7 +1207,7 @@ Module task. end. Global Instance AssociatedFunction_from_waker : - M.IsAssociatedFunction.Trait Self "from_waker" from_waker. + M.IsAssociatedFunction.C Self "from_waker" from_waker. Admitted. Global Typeclasses Opaque from_waker. @@ -1323,7 +1325,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from : M.IsAssociatedFunction.Trait Self "from" from. + Global Instance AssociatedFunction_from : M.IsAssociatedFunction.C Self "from" from. Admitted. Global Typeclasses Opaque from. @@ -1342,7 +1344,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_waker : M.IsAssociatedFunction.Trait Self "waker" waker. + Global Instance AssociatedFunction_waker : M.IsAssociatedFunction.C Self "waker" waker. Admitted. Global Typeclasses Opaque waker. @@ -1364,7 +1366,7 @@ Module task. end. Global Instance AssociatedFunction_local_waker : - M.IsAssociatedFunction.Trait Self "local_waker" local_waker. + M.IsAssociatedFunction.C Self "local_waker" local_waker. Admitted. Global Typeclasses Opaque local_waker. @@ -1390,7 +1392,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ext : M.IsAssociatedFunction.Trait Self "ext" ext. + Global Instance AssociatedFunction_ext : M.IsAssociatedFunction.C Self "ext" ext. Admitted. Global Typeclasses Opaque ext. @@ -1472,7 +1474,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_build : M.IsAssociatedFunction.Trait Self "build" build. + Global Instance AssociatedFunction_build : M.IsAssociatedFunction.C Self "build" build. Admitted. Global Typeclasses Opaque build. End Impl_core_task_wake_ContextBuilder. @@ -1644,7 +1646,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wake : M.IsAssociatedFunction.Trait Self "wake" wake. + Global Instance AssociatedFunction_wake : M.IsAssociatedFunction.C Self "wake" wake. Admitted. Global Typeclasses Opaque wake. @@ -1701,7 +1703,7 @@ Module task. end. Global Instance AssociatedFunction_wake_by_ref : - M.IsAssociatedFunction.Trait Self "wake_by_ref" wake_by_ref. + M.IsAssociatedFunction.C Self "wake_by_ref" wake_by_ref. Admitted. Global Typeclasses Opaque wake_by_ref. @@ -1802,7 +1804,7 @@ Module task. end. Global Instance AssociatedFunction_will_wake : - M.IsAssociatedFunction.Trait Self "will_wake" will_wake. + M.IsAssociatedFunction.C Self "will_wake" will_wake. Admitted. Global Typeclasses Opaque will_wake. @@ -1828,7 +1830,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1847,7 +1849,7 @@ Module task. end. Global Instance AssociatedFunction_from_raw : - M.IsAssociatedFunction.Trait Self "from_raw" from_raw. + M.IsAssociatedFunction.C Self "from_raw" from_raw. Admitted. Global Typeclasses Opaque from_raw. @@ -1860,11 +1862,17 @@ Module task. Definition noop (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with | [], [], [] => - ltac:(M.monadic (M.read (| M.get_constant "core::task::wake::noop::WAKER" |))) + ltac:(M.monadic + (M.read (| + get_constant (| + "core::task::wake::noop::WAKER", + Ty.apply (Ty.path "&") [] [ Ty.path "core::task::wake::Waker" ] + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_noop : M.IsAssociatedFunction.Trait Self "noop" noop. + Global Instance AssociatedFunction_noop : M.IsAssociatedFunction.C Self "noop" noop. Admitted. Global Typeclasses Opaque noop. @@ -1892,7 +1900,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_data : M.IsAssociatedFunction.Trait Self "data" data. + Global Instance AssociatedFunction_data : M.IsAssociatedFunction.C Self "data" data. Admitted. Global Typeclasses Opaque data. @@ -1920,7 +1928,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_vtable : M.IsAssociatedFunction.Trait Self "vtable" vtable. + Global Instance AssociatedFunction_vtable : M.IsAssociatedFunction.C Self "vtable" vtable. Admitted. Global Typeclasses Opaque vtable. End Impl_core_task_wake_Waker. @@ -2435,7 +2443,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wake : M.IsAssociatedFunction.Trait Self "wake" wake. + Global Instance AssociatedFunction_wake : M.IsAssociatedFunction.C Self "wake" wake. Admitted. Global Typeclasses Opaque wake. @@ -2492,7 +2500,7 @@ Module task. end. Global Instance AssociatedFunction_wake_by_ref : - M.IsAssociatedFunction.Trait Self "wake_by_ref" wake_by_ref. + M.IsAssociatedFunction.C Self "wake_by_ref" wake_by_ref. Admitted. Global Typeclasses Opaque wake_by_ref. @@ -2593,7 +2601,7 @@ Module task. end. Global Instance AssociatedFunction_will_wake : - M.IsAssociatedFunction.Trait Self "will_wake" will_wake. + M.IsAssociatedFunction.C Self "will_wake" will_wake. Admitted. Global Typeclasses Opaque will_wake. @@ -2619,7 +2627,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2638,7 +2646,7 @@ Module task. end. Global Instance AssociatedFunction_from_raw : - M.IsAssociatedFunction.Trait Self "from_raw" from_raw. + M.IsAssociatedFunction.C Self "from_raw" from_raw. Admitted. Global Typeclasses Opaque from_raw. @@ -2651,11 +2659,17 @@ Module task. Definition noop (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with | [], [], [] => - ltac:(M.monadic (M.read (| M.get_constant "core::task::wake::noop::WAKER" |))) + ltac:(M.monadic + (M.read (| + get_constant (| + "core::task::wake::noop::WAKER", + Ty.apply (Ty.path "&") [] [ Ty.path "core::task::wake::LocalWaker" ] + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_noop : M.IsAssociatedFunction.Trait Self "noop" noop. + Global Instance AssociatedFunction_noop : M.IsAssociatedFunction.C Self "noop" noop. Admitted. Global Typeclasses Opaque noop. @@ -2683,7 +2697,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_data : M.IsAssociatedFunction.Trait Self "data" data. + Global Instance AssociatedFunction_data : M.IsAssociatedFunction.C Self "data" data. Admitted. Global Typeclasses Opaque data. @@ -2711,7 +2725,7 @@ Module task. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_vtable : M.IsAssociatedFunction.Trait Self "vtable" vtable. + Global Instance AssociatedFunction_vtable : M.IsAssociatedFunction.C Self "vtable" vtable. Admitted. Global Typeclasses Opaque vtable. End Impl_core_task_wake_LocalWaker. diff --git a/CoqOfRust/core/time.v b/CoqOfRust/core/time.v index 0dff17f37..7f110eef4 100644 --- a/CoqOfRust/core/time.v +++ b/CoqOfRust/core/time.v @@ -2,68 +2,77 @@ Require Import CoqOfRust.CoqOfRust. Module time. - Definition value_NANOS_PER_SEC : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000000 |))). + Definition value_NANOS_PER_SEC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000000 |))). - Axiom Constant_value_NANOS_PER_SEC : - (M.get_constant "core::time::NANOS_PER_SEC") = value_NANOS_PER_SEC. - Global Hint Rewrite Constant_value_NANOS_PER_SEC : constant_rewrites. + Global Instance Instance_IsConstant_value_NANOS_PER_SEC : + M.IsFunction.C "core::time::NANOS_PER_SEC" value_NANOS_PER_SEC. + Admitted. + Global Typeclasses Opaque value_NANOS_PER_SEC. - Definition value_NANOS_PER_MILLI : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000 |))). + Definition value_NANOS_PER_MILLI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000000 |))). - Axiom Constant_value_NANOS_PER_MILLI : - (M.get_constant "core::time::NANOS_PER_MILLI") = value_NANOS_PER_MILLI. - Global Hint Rewrite Constant_value_NANOS_PER_MILLI : constant_rewrites. + Global Instance Instance_IsConstant_value_NANOS_PER_MILLI : + M.IsFunction.C "core::time::NANOS_PER_MILLI" value_NANOS_PER_MILLI. + Admitted. + Global Typeclasses Opaque value_NANOS_PER_MILLI. - Definition value_NANOS_PER_MICRO : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000 |))). + Definition value_NANOS_PER_MICRO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1000 |))). - Axiom Constant_value_NANOS_PER_MICRO : - (M.get_constant "core::time::NANOS_PER_MICRO") = value_NANOS_PER_MICRO. - Global Hint Rewrite Constant_value_NANOS_PER_MICRO : constant_rewrites. + Global Instance Instance_IsConstant_value_NANOS_PER_MICRO : + M.IsFunction.C "core::time::NANOS_PER_MICRO" value_NANOS_PER_MICRO. + Admitted. + Global Typeclasses Opaque value_NANOS_PER_MICRO. - Definition value_MILLIS_PER_SEC : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000 |))). + Definition value_MILLIS_PER_SEC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000 |))). - Axiom Constant_value_MILLIS_PER_SEC : - (M.get_constant "core::time::MILLIS_PER_SEC") = value_MILLIS_PER_SEC. - Global Hint Rewrite Constant_value_MILLIS_PER_SEC : constant_rewrites. + Global Instance Instance_IsConstant_value_MILLIS_PER_SEC : + M.IsFunction.C "core::time::MILLIS_PER_SEC" value_MILLIS_PER_SEC. + Admitted. + Global Typeclasses Opaque value_MILLIS_PER_SEC. - Definition value_MICROS_PER_SEC : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000000 |))). + Definition value_MICROS_PER_SEC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000000 |))). - Axiom Constant_value_MICROS_PER_SEC : - (M.get_constant "core::time::MICROS_PER_SEC") = value_MICROS_PER_SEC. - Global Hint Rewrite Constant_value_MICROS_PER_SEC : constant_rewrites. + Global Instance Instance_IsConstant_value_MICROS_PER_SEC : + M.IsFunction.C "core::time::MICROS_PER_SEC" value_MICROS_PER_SEC. + Admitted. + Global Typeclasses Opaque value_MICROS_PER_SEC. - Definition value_SECS_PER_MINUTE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 60 |))). + Definition value_SECS_PER_MINUTE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 60 |))). - Axiom Constant_value_SECS_PER_MINUTE : - (M.get_constant "core::time::SECS_PER_MINUTE") = value_SECS_PER_MINUTE. - Global Hint Rewrite Constant_value_SECS_PER_MINUTE : constant_rewrites. + Global Instance Instance_IsConstant_value_SECS_PER_MINUTE : + M.IsFunction.C "core::time::SECS_PER_MINUTE" value_SECS_PER_MINUTE. + Admitted. + Global Typeclasses Opaque value_SECS_PER_MINUTE. - Definition value_MINS_PER_HOUR : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 60 |))). + Definition value_MINS_PER_HOUR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 60 |))). - Axiom Constant_value_MINS_PER_HOUR : - (M.get_constant "core::time::MINS_PER_HOUR") = value_MINS_PER_HOUR. - Global Hint Rewrite Constant_value_MINS_PER_HOUR : constant_rewrites. + Global Instance Instance_IsConstant_value_MINS_PER_HOUR : + M.IsFunction.C "core::time::MINS_PER_HOUR" value_MINS_PER_HOUR. + Admitted. + Global Typeclasses Opaque value_MINS_PER_HOUR. - Definition value_HOURS_PER_DAY : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 24 |))). + Definition value_HOURS_PER_DAY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 24 |))). - Axiom Constant_value_HOURS_PER_DAY : - (M.get_constant "core::time::HOURS_PER_DAY") = value_HOURS_PER_DAY. - Global Hint Rewrite Constant_value_HOURS_PER_DAY : constant_rewrites. + Global Instance Instance_IsConstant_value_HOURS_PER_DAY : + M.IsFunction.C "core::time::HOURS_PER_DAY" value_HOURS_PER_DAY. + Admitted. + Global Typeclasses Opaque value_HOURS_PER_DAY. - Definition value_DAYS_PER_WEEK : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 7 |))). + Definition value_DAYS_PER_WEEK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 7 |))). - Axiom Constant_value_DAYS_PER_WEEK : - (M.get_constant "core::time::DAYS_PER_WEEK") = value_DAYS_PER_WEEK. - Global Hint Rewrite Constant_value_DAYS_PER_WEEK : constant_rewrites. + Global Instance Instance_IsConstant_value_DAYS_PER_WEEK : + M.IsFunction.C "core::time::DAYS_PER_WEEK" value_DAYS_PER_WEEK. + Admitted. + Global Typeclasses Opaque value_DAYS_PER_WEEK. (* StructTuple { @@ -359,15 +368,13 @@ Module time. (* const ZERO: Self = unsafe { Nanoseconds(0) }; *) (* Ty.path "core::time::Nanoseconds" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "core::time::Nanoseconds" [ Value.Integer IntegerKind.U32 0 ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "core::time::Nanoseconds" [ Value.Integer IntegerKind.U32 0 ] + |))). - Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + Global Instance AssociatedConstant_value_ZERO : M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. End Impl_core_time_Nanoseconds. @@ -382,7 +389,15 @@ Module time. *) Definition default (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "core::time::ZERO" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| + get_associated_constant (| + Ty.path "core::time::Nanoseconds", + "ZERO", + Ty.path "core::time::Nanoseconds" + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -958,115 +973,107 @@ Module time. (* pub const SECOND: Duration = Duration::from_secs(1); *) (* Ty.path "core::time::Duration" *) - Definition value_SECOND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::time::Duration", - M.get_associated_function (| Ty.path "core::time::Duration", "from_secs", [], [] |), - [ Value.Integer IntegerKind.U64 1 ] - |) - |))). + Definition value_SECOND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::time::Duration", + M.get_associated_function (| Ty.path "core::time::Duration", "from_secs", [], [] |), + [ Value.Integer IntegerKind.U64 1 ] + |) + |))). Global Instance AssociatedConstant_value_SECOND : - M.IsAssociatedConstant.Trait Self "value_SECOND" value_SECOND. + M.IsAssociatedFunction.C Self "SECOND" value_SECOND. Admitted. Global Typeclasses Opaque value_SECOND. (* pub const MILLISECOND: Duration = Duration::from_millis(1); *) (* Ty.path "core::time::Duration" *) - Definition value_MILLISECOND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::time::Duration", - M.get_associated_function (| Ty.path "core::time::Duration", "from_millis", [], [] |), - [ Value.Integer IntegerKind.U64 1 ] - |) - |))). + Definition value_MILLISECOND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::time::Duration", + M.get_associated_function (| Ty.path "core::time::Duration", "from_millis", [], [] |), + [ Value.Integer IntegerKind.U64 1 ] + |) + |))). Global Instance AssociatedConstant_value_MILLISECOND : - M.IsAssociatedConstant.Trait Self "value_MILLISECOND" value_MILLISECOND. + M.IsAssociatedFunction.C Self "MILLISECOND" value_MILLISECOND. Admitted. Global Typeclasses Opaque value_MILLISECOND. (* pub const MICROSECOND: Duration = Duration::from_micros(1); *) (* Ty.path "core::time::Duration" *) - Definition value_MICROSECOND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::time::Duration", - M.get_associated_function (| Ty.path "core::time::Duration", "from_micros", [], [] |), - [ Value.Integer IntegerKind.U64 1 ] - |) - |))). + Definition value_MICROSECOND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::time::Duration", + M.get_associated_function (| Ty.path "core::time::Duration", "from_micros", [], [] |), + [ Value.Integer IntegerKind.U64 1 ] + |) + |))). Global Instance AssociatedConstant_value_MICROSECOND : - M.IsAssociatedConstant.Trait Self "value_MICROSECOND" value_MICROSECOND. + M.IsAssociatedFunction.C Self "MICROSECOND" value_MICROSECOND. Admitted. Global Typeclasses Opaque value_MICROSECOND. (* pub const NANOSECOND: Duration = Duration::from_nanos(1); *) (* Ty.path "core::time::Duration" *) - Definition value_NANOSECOND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::time::Duration", - M.get_associated_function (| Ty.path "core::time::Duration", "from_nanos", [], [] |), - [ Value.Integer IntegerKind.U64 1 ] - |) - |))). + Definition value_NANOSECOND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::time::Duration", + M.get_associated_function (| Ty.path "core::time::Duration", "from_nanos", [], [] |), + [ Value.Integer IntegerKind.U64 1 ] + |) + |))). Global Instance AssociatedConstant_value_NANOSECOND : - M.IsAssociatedConstant.Trait Self "value_NANOSECOND" value_NANOSECOND. + M.IsAssociatedFunction.C Self "NANOSECOND" value_NANOSECOND. Admitted. Global Typeclasses Opaque value_NANOSECOND. (* pub const ZERO: Duration = Duration::from_nanos(0); *) (* Ty.path "core::time::Duration" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::time::Duration", - M.get_associated_function (| Ty.path "core::time::Duration", "from_nanos", [], [] |), - [ Value.Integer IntegerKind.U64 0 ] - |) - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::time::Duration", + M.get_associated_function (| Ty.path "core::time::Duration", "from_nanos", [], [] |), + [ Value.Integer IntegerKind.U64 0 ] + |) + |))). - Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + Global Instance AssociatedConstant_value_ZERO : M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. (* pub const MAX: Duration = Duration::new(u64::MAX, NANOS_PER_SEC - 1); *) (* Ty.path "core::time::Duration" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "core::time::Duration", - M.get_associated_function (| Ty.path "core::time::Duration", "new", [], [] |), - [ - M.read (| M.get_constant "core::num::MAX" |); - BinOp.Wrap.sub (| - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |), - Value.Integer IntegerKind.U32 1 - |) - ] - |) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "core::time::Duration", + M.get_associated_function (| Ty.path "core::time::Duration", "new", [], [] |), + [ + M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |); + BinOp.Wrap.sub (| + M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |), + Value.Integer IntegerKind.U32 1 + |) + ] + |) + |))). - Global Instance AssociatedConstant_value_MAX : - M.IsAssociatedConstant.Trait Self "value_MAX" value_MAX. + Global Instance AssociatedConstant_value_MAX : M.IsAssociatedFunction.C Self "MAX" value_MAX. Admitted. Global Typeclasses Opaque value_MAX. @@ -1103,7 +1110,9 @@ Module time. (M.alloc (| BinOp.lt (| M.read (| nanos |), - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + M.read (| + get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) + |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1138,7 +1147,9 @@ Module time. (Ty.path "u64") (BinOp.Wrap.div (| M.read (| nanos |), - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + M.read (| + get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) + |) |)) ] |); @@ -1153,7 +1164,7 @@ Module time. M.alloc (| BinOp.Wrap.rem (| M.read (| nanos |), - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |) |) |) in M.alloc (| @@ -1171,7 +1182,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1187,13 +1198,22 @@ Module time. (let secs := M.alloc (| secs |) in Value.StructRecord "core::time::Duration" - [ ("secs", M.read (| secs |)); ("nanos", M.read (| M.get_constant "core::time::ZERO" |)) + [ + ("secs", M.read (| secs |)); + ("nanos", + M.read (| + get_associated_constant (| + Ty.path "core::time::Nanoseconds", + "ZERO", + Ty.path "core::time::Nanoseconds" + |) + |)) ])) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_from_secs : - M.IsAssociatedFunction.Trait Self "from_secs" from_secs. + M.IsAssociatedFunction.C Self "from_secs" from_secs. Admitted. Global Typeclasses Opaque from_secs. @@ -1218,7 +1238,7 @@ Module time. M.alloc (| BinOp.Wrap.div (| M.read (| millis |), - M.read (| M.get_constant "core::time::MILLIS_PER_SEC" |) + M.read (| get_constant (| "core::time::MILLIS_PER_SEC", Ty.path "u64" |) |) |) |) in let~ subsec_millis : Ty.path "u32" := @@ -1227,7 +1247,7 @@ Module time. (Ty.path "u32") (BinOp.Wrap.rem (| M.read (| millis |), - M.read (| M.get_constant "core::time::MILLIS_PER_SEC" |) + M.read (| get_constant (| "core::time::MILLIS_PER_SEC", Ty.path "u64" |) |) |)) |) in let~ subsec_nanos : Ty.path "core::time::Nanoseconds" := @@ -1237,7 +1257,7 @@ Module time. [ BinOp.Wrap.mul (| M.read (| subsec_millis |), - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |) + M.read (| get_constant (| "core::time::NANOS_PER_MILLI", Ty.path "u32" |) |) |) ] |) in @@ -1251,7 +1271,7 @@ Module time. end. Global Instance AssociatedFunction_from_millis : - M.IsAssociatedFunction.Trait Self "from_millis" from_millis. + M.IsAssociatedFunction.C Self "from_millis" from_millis. Admitted. Global Typeclasses Opaque from_millis. @@ -1276,7 +1296,7 @@ Module time. M.alloc (| BinOp.Wrap.div (| M.read (| micros |), - M.read (| M.get_constant "core::time::MICROS_PER_SEC" |) + M.read (| get_constant (| "core::time::MICROS_PER_SEC", Ty.path "u64" |) |) |) |) in let~ subsec_micros : Ty.path "u32" := @@ -1285,7 +1305,7 @@ Module time. (Ty.path "u32") (BinOp.Wrap.rem (| M.read (| micros |), - M.read (| M.get_constant "core::time::MICROS_PER_SEC" |) + M.read (| get_constant (| "core::time::MICROS_PER_SEC", Ty.path "u64" |) |) |)) |) in let~ subsec_nanos : Ty.path "core::time::Nanoseconds" := @@ -1295,7 +1315,7 @@ Module time. [ BinOp.Wrap.mul (| M.read (| subsec_micros |), - M.read (| M.get_constant "core::time::NANOS_PER_MICRO" |) + M.read (| get_constant (| "core::time::NANOS_PER_MICRO", Ty.path "u32" |) |) |) ] |) in @@ -1309,7 +1329,7 @@ Module time. end. Global Instance AssociatedFunction_from_micros : - M.IsAssociatedFunction.Trait Self "from_micros" from_micros. + M.IsAssociatedFunction.C Self "from_micros" from_micros. Admitted. Global Typeclasses Opaque from_micros. @@ -1334,7 +1354,9 @@ Module time. M.alloc (| BinOp.Wrap.div (| M.read (| nanos |), - M.read (| M.get_constant "core::time::from_nanos::NANOS_PER_SEC" |) + M.read (| + get_constant (| "core::time::from_nanos::NANOS_PER_SEC", Ty.path "u64" |) + |) |) |) in let~ subsec_nanos : Ty.path "u32" := @@ -1343,7 +1365,9 @@ Module time. (Ty.path "u32") (BinOp.Wrap.rem (| M.read (| nanos |), - M.read (| M.get_constant "core::time::from_nanos::NANOS_PER_SEC" |) + M.read (| + get_constant (| "core::time::from_nanos::NANOS_PER_SEC", Ty.path "u64" |) + |) |)) |) in let~ subsec_nanos : Ty.path "core::time::Nanoseconds" := @@ -1360,7 +1384,7 @@ Module time. end. Global Instance AssociatedFunction_from_nanos : - M.IsAssociatedFunction.Trait Self "from_nanos" from_nanos. + M.IsAssociatedFunction.C Self "from_nanos" from_nanos. Admitted. Global Typeclasses Opaque from_nanos. @@ -1392,16 +1416,32 @@ Module time. BinOp.gt (| M.read (| weeks |), BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |), BinOp.Wrap.mul (| BinOp.Wrap.mul (| BinOp.Wrap.mul (| - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |), - M.read (| M.get_constant "core::time::MINS_PER_HOUR" |) + M.read (| + get_constant (| + "core::time::SECS_PER_MINUTE", + Ty.path "u64" + |) + |), + M.read (| + get_constant (| + "core::time::MINS_PER_HOUR", + Ty.path "u64" + |) + |) |), - M.read (| M.get_constant "core::time::HOURS_PER_DAY" |) + M.read (| + get_constant (| "core::time::HOURS_PER_DAY", Ty.path "u64" |) + |) |), - M.read (| M.get_constant "core::time::DAYS_PER_WEEK" |) + M.read (| + get_constant (| "core::time::DAYS_PER_WEEK", Ty.path "u64" |) + |) |) |) |) @@ -1453,13 +1493,13 @@ Module time. BinOp.Wrap.mul (| BinOp.Wrap.mul (| M.read (| weeks |), - M.read (| M.get_constant "core::time::MINS_PER_HOUR" |) + M.read (| get_constant (| "core::time::MINS_PER_HOUR", Ty.path "u64" |) |) |), - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |) + M.read (| get_constant (| "core::time::SECS_PER_MINUTE", Ty.path "u64" |) |) |), - M.read (| M.get_constant "core::time::HOURS_PER_DAY" |) + M.read (| get_constant (| "core::time::HOURS_PER_DAY", Ty.path "u64" |) |) |), - M.read (| M.get_constant "core::time::DAYS_PER_WEEK" |) + M.read (| get_constant (| "core::time::DAYS_PER_WEEK", Ty.path "u64" |) |) |) ] |) @@ -1469,7 +1509,7 @@ Module time. end. Global Instance AssociatedFunction_from_weeks : - M.IsAssociatedFunction.Trait Self "from_weeks" from_weeks. + M.IsAssociatedFunction.C Self "from_weeks" from_weeks. Admitted. Global Typeclasses Opaque from_weeks. @@ -1501,13 +1541,24 @@ Module time. BinOp.gt (| M.read (| days |), BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |), BinOp.Wrap.mul (| BinOp.Wrap.mul (| - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |), - M.read (| M.get_constant "core::time::MINS_PER_HOUR" |) + M.read (| + get_constant (| + "core::time::SECS_PER_MINUTE", + Ty.path "u64" + |) + |), + M.read (| + get_constant (| "core::time::MINS_PER_HOUR", Ty.path "u64" |) + |) |), - M.read (| M.get_constant "core::time::HOURS_PER_DAY" |) + M.read (| + get_constant (| "core::time::HOURS_PER_DAY", Ty.path "u64" |) + |) |) |) |) @@ -1558,11 +1609,11 @@ Module time. BinOp.Wrap.mul (| BinOp.Wrap.mul (| M.read (| days |), - M.read (| M.get_constant "core::time::MINS_PER_HOUR" |) + M.read (| get_constant (| "core::time::MINS_PER_HOUR", Ty.path "u64" |) |) |), - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |) + M.read (| get_constant (| "core::time::SECS_PER_MINUTE", Ty.path "u64" |) |) |), - M.read (| M.get_constant "core::time::HOURS_PER_DAY" |) + M.read (| get_constant (| "core::time::HOURS_PER_DAY", Ty.path "u64" |) |) |) ] |) @@ -1572,7 +1623,7 @@ Module time. end. Global Instance AssociatedFunction_from_days : - M.IsAssociatedFunction.Trait Self "from_days" from_days. + M.IsAssociatedFunction.C Self "from_days" from_days. Admitted. Global Typeclasses Opaque from_days. @@ -1604,10 +1655,16 @@ Module time. BinOp.gt (| M.read (| hours |), BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |), BinOp.Wrap.mul (| - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |), - M.read (| M.get_constant "core::time::MINS_PER_HOUR" |) + M.read (| + get_constant (| "core::time::SECS_PER_MINUTE", Ty.path "u64" |) + |), + M.read (| + get_constant (| "core::time::MINS_PER_HOUR", Ty.path "u64" |) + |) |) |) |) @@ -1657,9 +1714,9 @@ Module time. BinOp.Wrap.mul (| BinOp.Wrap.mul (| M.read (| hours |), - M.read (| M.get_constant "core::time::MINS_PER_HOUR" |) + M.read (| get_constant (| "core::time::MINS_PER_HOUR", Ty.path "u64" |) |) |), - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |) + M.read (| get_constant (| "core::time::SECS_PER_MINUTE", Ty.path "u64" |) |) |) ] |) @@ -1669,7 +1726,7 @@ Module time. end. Global Instance AssociatedFunction_from_hours : - M.IsAssociatedFunction.Trait Self "from_hours" from_hours. + M.IsAssociatedFunction.C Self "from_hours" from_hours. Admitted. Global Typeclasses Opaque from_hours. @@ -1701,8 +1758,12 @@ Module time. BinOp.gt (| M.read (| mins |), BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |), + M.read (| + get_constant (| "core::time::SECS_PER_MINUTE", Ty.path "u64" |) + |) |) |) |)) in @@ -1750,7 +1811,7 @@ Module time. [ BinOp.Wrap.mul (| M.read (| mins |), - M.read (| M.get_constant "core::time::SECS_PER_MINUTE" |) + M.read (| get_constant (| "core::time::SECS_PER_MINUTE", Ty.path "u64" |) |) |) ] |) @@ -1760,7 +1821,7 @@ Module time. end. Global Instance AssociatedFunction_from_mins : - M.IsAssociatedFunction.Trait Self "from_mins" from_mins. + M.IsAssociatedFunction.C Self "from_mins" from_mins. Admitted. Global Typeclasses Opaque from_mins. @@ -1804,8 +1865,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_zero : - M.IsAssociatedFunction.Trait Self "is_zero" is_zero. + Global Instance AssociatedFunction_is_zero : M.IsAssociatedFunction.C Self "is_zero" is_zero. Admitted. Global Typeclasses Opaque is_zero. @@ -1829,8 +1889,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_secs : - M.IsAssociatedFunction.Trait Self "as_secs" as_secs. + Global Instance AssociatedFunction_as_secs : M.IsAssociatedFunction.C Self "as_secs" as_secs. Admitted. Global Typeclasses Opaque as_secs. @@ -1856,13 +1915,13 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |) + M.read (| get_constant (| "core::time::NANOS_PER_MILLI", Ty.path "u32" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_subsec_millis : - M.IsAssociatedFunction.Trait Self "subsec_millis" subsec_millis. + M.IsAssociatedFunction.C Self "subsec_millis" subsec_millis. Admitted. Global Typeclasses Opaque subsec_millis. @@ -1888,13 +1947,13 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MICRO" |) + M.read (| get_constant (| "core::time::NANOS_PER_MICRO", Ty.path "u32" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_subsec_micros : - M.IsAssociatedFunction.Trait Self "subsec_micros" subsec_micros. + M.IsAssociatedFunction.C Self "subsec_micros" subsec_micros. Admitted. Global Typeclasses Opaque subsec_micros. @@ -1923,7 +1982,7 @@ Module time. end. Global Instance AssociatedFunction_subsec_nanos : - M.IsAssociatedFunction.Trait Self "subsec_nanos" subsec_nanos. + M.IsAssociatedFunction.C Self "subsec_nanos" subsec_nanos. Admitted. Global Typeclasses Opaque subsec_nanos. @@ -1948,7 +2007,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::time::MILLIS_PER_SEC" |)) + M.cast + (Ty.path "u128") + (M.read (| get_constant (| "core::time::MILLIS_PER_SEC", Ty.path "u64" |) |)) |), M.cast (Ty.path "u128") @@ -1964,14 +2025,14 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |) + M.read (| get_constant (| "core::time::NANOS_PER_MILLI", Ty.path "u32" |) |) |)) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_as_millis : - M.IsAssociatedFunction.Trait Self "as_millis" as_millis. + M.IsAssociatedFunction.C Self "as_millis" as_millis. Admitted. Global Typeclasses Opaque as_millis. @@ -1996,7 +2057,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::time::MICROS_PER_SEC" |)) + M.cast + (Ty.path "u128") + (M.read (| get_constant (| "core::time::MICROS_PER_SEC", Ty.path "u64" |) |)) |), M.cast (Ty.path "u128") @@ -2012,14 +2075,14 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MICRO" |) + M.read (| get_constant (| "core::time::NANOS_PER_MICRO", Ty.path "u32" |) |) |)) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_as_micros : - M.IsAssociatedFunction.Trait Self "as_micros" as_micros. + M.IsAssociatedFunction.C Self "as_micros" as_micros. Admitted. Global Typeclasses Opaque as_micros. @@ -2044,7 +2107,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "u128") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |), M.cast (Ty.path "u128") @@ -2063,8 +2128,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_nanos : - M.IsAssociatedFunction.Trait Self "as_nanos" as_nanos. + Global Instance AssociatedFunction_as_nanos : M.IsAssociatedFunction.C Self "as_nanos" as_nanos. Admitted. Global Typeclasses Opaque as_nanos. @@ -2147,8 +2211,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_abs_diff : - M.IsAssociatedFunction.Trait Self "abs_diff" abs_diff. + Global Instance AssociatedFunction_abs_diff : M.IsAssociatedFunction.C Self "abs_diff" abs_diff. Admitted. Global Typeclasses Opaque abs_diff. @@ -2259,7 +2322,12 @@ Module time. (M.alloc (| BinOp.ge (| M.read (| nanos |), - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + M.read (| + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) + |) |) |)) in let _ := @@ -2274,7 +2342,12 @@ Module time. β, BinOp.Wrap.sub (| M.read (| β |), - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + M.read (| + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) + |) |) |) |) in @@ -2356,7 +2429,10 @@ Module time. BinOp.lt (| M.read (| nanos |), M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |) |) @@ -2417,7 +2493,7 @@ Module time. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -2464,7 +2540,11 @@ Module time. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::time::MAX")) + get_associated_constant (| + Ty.path "core::time::Duration", + "MAX", + Ty.path "core::time::Duration" + |))) ] |) |))) @@ -2472,7 +2552,7 @@ Module time. end. Global Instance AssociatedFunction_saturating_add : - M.IsAssociatedFunction.Trait Self "saturating_add" saturating_add. + M.IsAssociatedFunction.C Self "saturating_add" saturating_add. Admitted. Global Typeclasses Opaque saturating_add. @@ -2663,7 +2743,10 @@ Module time. |) |), M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |), M.read (| @@ -2724,7 +2807,10 @@ Module time. BinOp.lt (| M.read (| nanos |), M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |) |) @@ -2785,7 +2871,7 @@ Module time. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -2832,7 +2918,11 @@ Module time. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::time::ZERO")) + get_associated_constant (| + Ty.path "core::time::Duration", + "ZERO", + Ty.path "core::time::Duration" + |))) ] |) |))) @@ -2840,7 +2930,7 @@ Module time. end. Global Instance AssociatedFunction_saturating_sub : - M.IsAssociatedFunction.Trait Self "saturating_sub" saturating_sub. + M.IsAssociatedFunction.C Self "saturating_sub" saturating_sub. Admitted. Global Typeclasses Opaque saturating_sub. @@ -2894,7 +2984,7 @@ Module time. M.read (| total_nanos |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |) |) in let~ nanos : Ty.path "u32" := @@ -2905,7 +2995,9 @@ Module time. M.read (| total_nanos |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + (M.read (| + get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) + |)) |)) |) in let~ _ : Ty.tuple [] := @@ -3003,8 +3095,10 @@ Module time. BinOp.lt (| M.read (| nanos |), M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |) |) @@ -3073,7 +3167,7 @@ Module time. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -3120,7 +3214,11 @@ Module time. fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "core::option::Option::None" |) in - M.get_constant "core::time::MAX")) + get_associated_constant (| + Ty.path "core::time::Duration", + "MAX", + Ty.path "core::time::Duration" + |))) ] |) |))) @@ -3128,7 +3226,7 @@ Module time. end. Global Instance AssociatedFunction_saturating_mul : - M.IsAssociatedFunction.Trait Self "saturating_mul" saturating_mul. + M.IsAssociatedFunction.C Self "saturating_mul" saturating_mul. Admitted. Global Typeclasses Opaque saturating_mul. @@ -3258,7 +3356,10 @@ Module time. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |)) |), M.cast (Ty.path "u64") (M.read (| extra_nanos |)) @@ -3295,8 +3396,10 @@ Module time. BinOp.lt (| M.read (| nanos |), M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |) |) @@ -3361,7 +3464,7 @@ Module time. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -3399,14 +3502,16 @@ Module time. 0 |) |)), - M.cast (Ty.path "f64") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "f64") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_as_secs_f64 : - M.IsAssociatedFunction.Trait Self "as_secs_f64" as_secs_f64. + M.IsAssociatedFunction.C Self "as_secs_f64" as_secs_f64. Admitted. Global Typeclasses Opaque as_secs_f64. @@ -3444,14 +3549,16 @@ Module time. 0 |) |)), - M.cast (Ty.path "f32") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "f32") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_as_secs_f32 : - M.IsAssociatedFunction.Trait Self "as_secs_f32" as_secs_f32. + M.IsAssociatedFunction.C Self "as_secs_f32" as_secs_f32. Admitted. Global Typeclasses Opaque as_secs_f32. @@ -3477,7 +3584,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "f64") (M.read (| M.get_constant "core::time::MILLIS_PER_SEC" |)) + M.cast + (Ty.path "f64") + (M.read (| get_constant (| "core::time::MILLIS_PER_SEC", Ty.path "u64" |) |)) |), BinOp.Wrap.div (| M.cast @@ -3493,14 +3602,16 @@ Module time. 0 |) |)), - M.cast (Ty.path "f64") (M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |)) + M.cast + (Ty.path "f64") + (M.read (| get_constant (| "core::time::NANOS_PER_MILLI", Ty.path "u32" |) |)) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_as_millis_f64 : - M.IsAssociatedFunction.Trait Self "as_millis_f64" as_millis_f64. + M.IsAssociatedFunction.C Self "as_millis_f64" as_millis_f64. Admitted. Global Typeclasses Opaque as_millis_f64. @@ -3526,7 +3637,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "f32") (M.read (| M.get_constant "core::time::MILLIS_PER_SEC" |)) + M.cast + (Ty.path "f32") + (M.read (| get_constant (| "core::time::MILLIS_PER_SEC", Ty.path "u64" |) |)) |), BinOp.Wrap.div (| M.cast @@ -3542,14 +3655,16 @@ Module time. 0 |) |)), - M.cast (Ty.path "f32") (M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |)) + M.cast + (Ty.path "f32") + (M.read (| get_constant (| "core::time::NANOS_PER_MILLI", Ty.path "u32" |) |)) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_as_millis_f32 : - M.IsAssociatedFunction.Trait Self "as_millis_f32" as_millis_f32. + M.IsAssociatedFunction.C Self "as_millis_f32" as_millis_f32. Admitted. Global Typeclasses Opaque as_millis_f32. @@ -3638,7 +3753,7 @@ Module time. end. Global Instance AssociatedFunction_from_secs_f64 : - M.IsAssociatedFunction.Trait Self "from_secs_f64" from_secs_f64. + M.IsAssociatedFunction.C Self "from_secs_f64" from_secs_f64. Admitted. Global Typeclasses Opaque from_secs_f64. @@ -3727,7 +3842,7 @@ Module time. end. Global Instance AssociatedFunction_from_secs_f32 : - M.IsAssociatedFunction.Trait Self "from_secs_f32" from_secs_f32. + M.IsAssociatedFunction.C Self "from_secs_f32" from_secs_f32. Admitted. Global Typeclasses Opaque from_secs_f32. @@ -3764,8 +3879,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_mul_f64 : - M.IsAssociatedFunction.Trait Self "mul_f64" mul_f64. + Global Instance AssociatedFunction_mul_f64 : M.IsAssociatedFunction.C Self "mul_f64" mul_f64. Admitted. Global Typeclasses Opaque mul_f64. @@ -3802,8 +3916,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_mul_f32 : - M.IsAssociatedFunction.Trait Self "mul_f32" mul_f32. + Global Instance AssociatedFunction_mul_f32 : M.IsAssociatedFunction.C Self "mul_f32" mul_f32. Admitted. Global Typeclasses Opaque mul_f32. @@ -3840,8 +3953,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_f64 : - M.IsAssociatedFunction.Trait Self "div_f64" div_f64. + Global Instance AssociatedFunction_div_f64 : M.IsAssociatedFunction.C Self "div_f64" div_f64. Admitted. Global Typeclasses Opaque div_f64. @@ -3878,8 +3990,7 @@ Module time. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_div_f32 : - M.IsAssociatedFunction.Trait Self "div_f32" div_f32. + Global Instance AssociatedFunction_div_f32 : M.IsAssociatedFunction.C Self "div_f32" div_f32. Admitted. Global Typeclasses Opaque div_f32. @@ -3910,7 +4021,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "f64") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "f64") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |), M.cast (Ty.path "f64") @@ -3940,7 +4053,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "f64") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "f64") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |), M.cast (Ty.path "f64") @@ -3963,7 +4078,7 @@ Module time. end. Global Instance AssociatedFunction_div_duration_f64 : - M.IsAssociatedFunction.Trait Self "div_duration_f64" div_duration_f64. + M.IsAssociatedFunction.C Self "div_duration_f64" div_duration_f64. Admitted. Global Typeclasses Opaque div_duration_f64. @@ -3994,7 +4109,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "f32") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "f32") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |), M.cast (Ty.path "f32") @@ -4024,7 +4141,9 @@ Module time. "secs" |) |)), - M.cast (Ty.path "f32") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "f32") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |), M.cast (Ty.path "f32") @@ -4047,7 +4166,7 @@ Module time. end. Global Instance AssociatedFunction_div_duration_f32 : - M.IsAssociatedFunction.Trait Self "div_duration_f32" div_duration_f32. + M.IsAssociatedFunction.C Self "div_duration_f32" div_duration_f32. Admitted. Global Typeclasses Opaque div_duration_f32. (* @@ -4120,9 +4239,19 @@ Module time. BinOp.bit_or (BinOp.bit_and (M.read (| bits |)) - (M.read (| M.get_constant "core::time::try_from_secs_f32::MANT_MASK" |))) + (M.read (| + get_constant (| + "core::time::try_from_secs_f32::MANT_MASK", + Ty.path "u32" + |) + |))) (BinOp.Wrap.add (| - M.read (| M.get_constant "core::time::try_from_secs_f32::MANT_MASK" |), + M.read (| + get_constant (| + "core::time::try_from_secs_f32::MANT_MASK", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 1 |)) |) in @@ -4133,8 +4262,15 @@ Module time. (Ty.path "i16") (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 (| + get_constant (| + "core::time::try_from_secs_f32::EXP_MASK", + Ty.path "u32" + |) + |))), + M.read (| + get_constant (| "core::time::try_from_secs_f32::MIN_EXP", Ty.path "i16" |) + |) |) |) in M.match_operator (| @@ -4220,7 +4356,13 @@ Module time. [], [] |), - [ M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + [ + M.read (| + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) + |) ] |), M.call_closure (| @@ -4331,7 +4473,10 @@ Module time. (BinOp.ne (| M.read (| nanos |), M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |))) |) @@ -4422,8 +4567,10 @@ Module time. M.read (| exp |) |)) (M.read (| - M.get_constant - "core::time::try_from_secs_f32::MANT_MASK" + get_constant (| + "core::time::try_from_secs_f32::MANT_MASK", + Ty.path "u32" + |) |)) ] |) @@ -4446,7 +4593,10 @@ Module time. |), [ M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) ] |), @@ -4551,8 +4701,10 @@ Module time. (BinOp.ne (| M.read (| nanos |), M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |))) |) @@ -4691,7 +4843,7 @@ Module time. end. Global Instance AssociatedFunction_try_from_secs_f32 : - M.IsAssociatedFunction.Trait Self "try_from_secs_f32" try_from_secs_f32. + M.IsAssociatedFunction.C Self "try_from_secs_f32" try_from_secs_f32. Admitted. Global Typeclasses Opaque try_from_secs_f32. @@ -4765,9 +4917,19 @@ Module time. BinOp.bit_or (BinOp.bit_and (M.read (| bits |)) - (M.read (| M.get_constant "core::time::try_from_secs_f64::MANT_MASK" |))) + (M.read (| + get_constant (| + "core::time::try_from_secs_f64::MANT_MASK", + Ty.path "u64" + |) + |))) (BinOp.Wrap.add (| - M.read (| M.get_constant "core::time::try_from_secs_f64::MANT_MASK" |), + M.read (| + get_constant (| + "core::time::try_from_secs_f64::MANT_MASK", + Ty.path "u64" + |) + |), Value.Integer IntegerKind.U64 1 |)) |) in @@ -4778,8 +4940,15 @@ Module time. (Ty.path "i16") (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 (| + get_constant (| + "core::time::try_from_secs_f64::EXP_MASK", + Ty.path "u64" + |) + |))), + M.read (| + get_constant (| "core::time::try_from_secs_f64::MIN_EXP", Ty.path "i16" |) + |) |) |) in M.match_operator (| @@ -4865,7 +5034,13 @@ Module time. [], [] |), - [ M.read (| M.get_constant "core::time::NANOS_PER_SEC" |) + [ + M.read (| + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) + |) ] |), M.call_closure (| @@ -4976,7 +5151,10 @@ Module time. (BinOp.ne (| M.read (| nanos |), M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |))) |) @@ -5067,8 +5245,10 @@ Module time. M.read (| exp |) |)) (M.read (| - M.get_constant - "core::time::try_from_secs_f64::MANT_MASK" + get_constant (| + "core::time::try_from_secs_f64::MANT_MASK", + Ty.path "u64" + |) |)) ] |) @@ -5091,7 +5271,10 @@ Module time. |), [ M.read (| - M.get_constant "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) ] |), @@ -5196,8 +5379,10 @@ Module time. (BinOp.ne (| M.read (| nanos |), M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |) |))) |) @@ -5336,7 +5521,7 @@ Module time. end. Global Instance AssociatedFunction_try_from_secs_f64 : - M.IsAssociatedFunction.Trait Self "try_from_secs_f64" try_from_secs_f64. + M.IsAssociatedFunction.C Self "try_from_secs_f64" try_from_secs_f64. Admitted. Global Typeclasses Opaque try_from_secs_f64. End Impl_core_time_Duration. @@ -6015,8 +6200,10 @@ Module time. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |)) |) ] @@ -6040,8 +6227,10 @@ Module time. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |)) |), M.cast @@ -6093,7 +6282,9 @@ Module time. M.read (| total_nanos |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + (M.read (| + get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) + |)) |) ] |); @@ -6111,7 +6302,9 @@ Module time. total_nanos, BinOp.Wrap.rem (| M.read (| total_nanos |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "u64") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |) |) |) in @@ -6360,8 +6553,10 @@ Module time. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |)) |) ] @@ -6385,8 +6580,10 @@ Module time. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::time::NANOS_PER_SEC" + get_constant (| + "core::time::NANOS_PER_SEC", + Ty.path "u32" + |) |)) |), M.cast @@ -6438,7 +6635,9 @@ Module time. M.read (| total_nanos |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + (M.read (| + get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) + |)) |) ] |); @@ -6456,7 +6655,9 @@ Module time. total_nanos, BinOp.Wrap.rem (| M.read (| total_nanos |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::time::NANOS_PER_SEC" |)) + M.cast + (Ty.path "u64") + (M.read (| get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) |)) |) |) |) in @@ -6766,7 +6967,9 @@ Module time. |) |); BinOp.Wrap.div (| - M.read (| M.get_constant "core::time::NANOS_PER_SEC" |), + M.read (| + get_constant (| "core::time::NANOS_PER_SEC", Ty.path "u32" |) + |), Value.Integer IntegerKind.U32 10 |); M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| prefix |) |) |); @@ -6801,7 +7004,12 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |) + M.read (| + get_constant (| + "core::time::NANOS_PER_MILLI", + Ty.path "u32" + |) + |) |) |)) in let _ := @@ -6829,7 +7037,12 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |) + M.read (| + get_constant (| + "core::time::NANOS_PER_MILLI", + Ty.path "u32" + |) + |) |)); BinOp.Wrap.rem (| M.read (| @@ -6843,10 +7056,20 @@ Module time. 0 |) |), - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |) + M.read (| + get_constant (| + "core::time::NANOS_PER_MILLI", + Ty.path "u32" + |) + |) |); BinOp.Wrap.div (| - M.read (| M.get_constant "core::time::NANOS_PER_MILLI" |), + M.read (| + get_constant (| + "core::time::NANOS_PER_MILLI", + Ty.path "u32" + |) + |), Value.Integer IntegerKind.U32 10 |); M.borrow (| @@ -6885,7 +7108,10 @@ Module time. |) |), M.read (| - M.get_constant "core::time::NANOS_PER_MICRO" + get_constant (| + "core::time::NANOS_PER_MICRO", + Ty.path "u32" + |) |) |) |)) in @@ -6926,7 +7152,10 @@ Module time. |) |), M.read (| - M.get_constant "core::time::NANOS_PER_MICRO" + get_constant (| + "core::time::NANOS_PER_MICRO", + Ty.path "u32" + |) |) |)); BinOp.Wrap.rem (| @@ -6942,12 +7171,18 @@ Module time. |) |), M.read (| - M.get_constant "core::time::NANOS_PER_MICRO" + get_constant (| + "core::time::NANOS_PER_MICRO", + Ty.path "u32" + |) |) |); BinOp.Wrap.div (| M.read (| - M.get_constant "core::time::NANOS_PER_MICRO" + get_constant (| + "core::time::NANOS_PER_MICRO", + Ty.path "u32" + |) |), Value.Integer IntegerKind.U32 10 |); @@ -7299,7 +7534,7 @@ Module time. end. Global Instance AssociatedFunction_description : - M.IsAssociatedFunction.Trait Self "description" description. + M.IsAssociatedFunction.C Self "description" description. Admitted. Global Typeclasses Opaque description. End Impl_core_time_TryFromFloatSecsError. diff --git a/CoqOfRust/core/ub_checks.v b/CoqOfRust/core/ub_checks.v index 7f7ae79a0..8d8da60e5 100644 --- a/CoqOfRust/core/ub_checks.v +++ b/CoqOfRust/core/ub_checks.v @@ -46,7 +46,7 @@ Module hint. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::hint::unreachable_unchecked::precondition_check" precondition_check. + M.IsFunction.C "core::hint::unreachable_unchecked::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End unreachable_unchecked. @@ -96,7 +96,7 @@ Module hint. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::hint::assert_unchecked::precondition_check" precondition_check. + M.IsFunction.C "core::hint::assert_unchecked::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End assert_unchecked. @@ -220,9 +220,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait - "core::intrinsics::copy_nonoverlapping::precondition_check" - precondition_check. + M.IsFunction.C "core::intrinsics::copy_nonoverlapping::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End copy_nonoverlapping. @@ -305,7 +303,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::intrinsics::copy::precondition_check" precondition_check. + M.IsFunction.C "core::intrinsics::copy::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End copy. @@ -371,7 +369,7 @@ Module intrinsics. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::intrinsics::write_bytes::precondition_check" precondition_check. + M.IsFunction.C "core::intrinsics::write_bytes::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End write_bytes. @@ -497,7 +495,7 @@ Module ptr. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::ptr::swap_nonoverlapping::precondition_check" precondition_check. + M.IsFunction.C "core::ptr::swap_nonoverlapping::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End swap_nonoverlapping. @@ -563,7 +561,7 @@ Module ptr. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::ptr::replace::precondition_check" precondition_check. + M.IsFunction.C "core::ptr::replace::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End replace. @@ -629,7 +627,7 @@ Module ptr. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::ptr::read::precondition_check" precondition_check. + M.IsFunction.C "core::ptr::read::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End read. @@ -699,7 +697,7 @@ Module ptr. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::ptr::write::precondition_check" precondition_check. + M.IsFunction.C "core::ptr::write::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End write. @@ -765,7 +763,7 @@ Module ptr. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::ptr::read_volatile::precondition_check" precondition_check. + M.IsFunction.C "core::ptr::read_volatile::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End read_volatile. @@ -835,7 +833,7 @@ Module ptr. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait "core::ptr::write_volatile::precondition_check" precondition_check. + M.IsFunction.C "core::ptr::write_volatile::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End write_volatile. @@ -892,7 +890,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_check_language_ub : - M.IsFunction.Trait "core::ub_checks::check_language_ub" check_language_ub. + M.IsFunction.C "core::ub_checks::check_language_ub" check_language_ub. Admitted. Global Typeclasses Opaque check_language_ub. @@ -955,9 +953,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_maybe_is_aligned_and_not_null : - M.IsFunction.Trait - "core::ub_checks::maybe_is_aligned_and_not_null" - maybe_is_aligned_and_not_null. + M.IsFunction.C "core::ub_checks::maybe_is_aligned_and_not_null" maybe_is_aligned_and_not_null. Admitted. Global Typeclasses Opaque maybe_is_aligned_and_not_null. @@ -988,12 +984,16 @@ Module ub_checks. BinOp.eq (| M.read (| size |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| Ty.path "usize", "MAX", Ty.path "usize" |))); fun γ => ltac:(M.monadic (M.alloc (| BinOp.Wrap.div (| - M.cast (Ty.path "usize") (M.read (| M.get_constant "core::num::MAX" |)), + M.cast + (Ty.path "usize") + (M.read (| + get_associated_constant (| Ty.path "isize", "MAX", Ty.path "isize" |) + |)), M.read (| size |) |) |))) @@ -1006,7 +1006,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_is_valid_allocation_size : - M.IsFunction.Trait "core::ub_checks::is_valid_allocation_size" is_valid_allocation_size. + M.IsFunction.C "core::ub_checks::is_valid_allocation_size" is_valid_allocation_size. Admitted. Global Typeclasses Opaque is_valid_allocation_size. @@ -1089,7 +1089,7 @@ Module ub_checks. end. Global Instance Instance_IsFunction_maybe_is_nonoverlapping : - M.IsFunction.Trait "core::ub_checks::maybe_is_nonoverlapping" maybe_is_nonoverlapping. + M.IsFunction.C "core::ub_checks::maybe_is_nonoverlapping" maybe_is_nonoverlapping. Admitted. Global Typeclasses Opaque maybe_is_nonoverlapping. End ub_checks. @@ -1183,7 +1183,7 @@ Module char. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait + M.IsFunction.C "core::char::convert::from_u32_unchecked::precondition_check" precondition_check. Admitted. @@ -1272,9 +1272,7 @@ Module slice. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait - "core::slice::raw::from_raw_parts::precondition_check" - precondition_check. + M.IsFunction.C "core::slice::raw::from_raw_parts::precondition_check" precondition_check. Admitted. Global Typeclasses Opaque precondition_check. End from_raw_parts. @@ -1357,7 +1355,7 @@ Module slice. end. Global Instance Instance_IsFunction_precondition_check : - M.IsFunction.Trait + M.IsFunction.C "core::slice::raw::from_raw_parts_mut::precondition_check" precondition_check. Admitted. diff --git a/CoqOfRust/core/unicode/mod.v b/CoqOfRust/core/unicode/mod.v index 75d7dfdd3..6c9d56352 100644 --- a/CoqOfRust/core/unicode/mod.v +++ b/CoqOfRust/core/unicode/mod.v @@ -2,10 +2,15 @@ Require Import CoqOfRust.CoqOfRust. Module unicode. - Definition value_UNICODE_VERSION : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "core::unicode::unicode_data::UNICODE_VERSION")). + Definition value_UNICODE_VERSION (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "core::unicode::unicode_data::UNICODE_VERSION", + Ty.tuple [ Ty.path "u8"; Ty.path "u8"; Ty.path "u8" ] + |))). - Axiom Constant_value_UNICODE_VERSION : - (M.get_constant "core::unicode::UNICODE_VERSION") = value_UNICODE_VERSION. - Global Hint Rewrite Constant_value_UNICODE_VERSION : constant_rewrites. + Global Instance Instance_IsConstant_value_UNICODE_VERSION : + M.IsFunction.C "core::unicode::UNICODE_VERSION" value_UNICODE_VERSION. + Admitted. + Global Typeclasses Opaque value_UNICODE_VERSION. End unicode. diff --git a/CoqOfRust/core/unicode/printable.v b/CoqOfRust/core/unicode/printable.v index c027f09cb..c1810c1f0 100644 --- a/CoqOfRust/core/unicode/printable.v +++ b/CoqOfRust/core/unicode/printable.v @@ -657,7 +657,7 @@ Module unicode. end. Global Instance Instance_IsFunction_check : - M.IsFunction.Trait "core::unicode::printable::check" check. + M.IsFunction.C "core::unicode::printable::check" check. Admitted. Global Typeclasses Opaque check. @@ -793,8 +793,21 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::printable::SINGLETONS0U" + get_constant (| + "core::unicode::printable::SINGLETONS0U", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ + Ty.tuple + [ Ty.path "u8"; Ty.path "u8" ] + ] + ] + |) |) |) |); @@ -802,8 +815,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::printable::SINGLETONS0L" + get_constant (| + "core::unicode::printable::SINGLETONS0L", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ] + |) |) |) |); @@ -811,8 +834,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::printable::NORMAL0" + get_constant (| + "core::unicode::printable::NORMAL0", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -854,8 +887,22 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::printable::SINGLETONS1U" + get_constant (| + "core::unicode::printable::SINGLETONS1U", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ + Ty.tuple + [ Ty.path "u8"; Ty.path "u8" + ] + ] + ] + |) |) |) |); @@ -863,8 +910,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::printable::SINGLETONS1L" + get_constant (| + "core::unicode::printable::SINGLETONS1L", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ] + |) |) |) |); @@ -872,8 +929,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::printable::NORMAL1" + get_constant (| + "core::unicode::printable::NORMAL1", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -1327,1595 +1394,1595 @@ Module unicode. end. Global Instance Instance_IsFunction_is_printable : - M.IsFunction.Trait "core::unicode::printable::is_printable" is_printable. + M.IsFunction.C "core::unicode::printable::is_printable" is_printable. Admitted. Global Typeclasses Opaque is_printable. - Definition value_SINGLETONS0U : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 4 ]; - 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 4 ]; - 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 ] - ] - |) + Definition value_SINGLETONS0U (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 4 ]; + 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 4 ]; + 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 ] + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_SINGLETONS0U : - (M.get_constant "core::unicode::printable::SINGLETONS0U") = value_SINGLETONS0U. - Global Hint Rewrite Constant_value_SINGLETONS0U : constant_rewrites. + Global Instance Instance_IsConstant_value_SINGLETONS0U : + M.IsFunction.C "core::unicode::printable::SINGLETONS0U" value_SINGLETONS0U. + Admitted. + Global Typeclasses Opaque value_SINGLETONS0U. - Definition value_SINGLETONS0L : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 77; - 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 0; - 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 206; - Value.Integer IntegerKind.U8 207; - 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 - ] - |) + Definition value_SINGLETONS0L (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 77; + 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 0; + 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 206; + Value.Integer IntegerKind.U8 207; + 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 + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_SINGLETONS0L : - (M.get_constant "core::unicode::printable::SINGLETONS0L") = value_SINGLETONS0L. - Global Hint Rewrite Constant_value_SINGLETONS0L : constant_rewrites. + Global Instance Instance_IsConstant_value_SINGLETONS0L : + M.IsFunction.C "core::unicode::printable::SINGLETONS0L" value_SINGLETONS0L. + Admitted. + Global Typeclasses Opaque value_SINGLETONS0L. - Definition value_SINGLETONS1U : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 28 ]; - 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 4 ]; - Value.Tuple - [ Value.Integer IntegerKind.U8 251; Value.Integer IntegerKind.U8 1 ] - ] - |) + Definition value_SINGLETONS1U (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 28 ]; + 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 4 ]; + Value.Tuple + [ Value.Integer IntegerKind.U8 251; Value.Integer IntegerKind.U8 1 ] + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_SINGLETONS1U : - (M.get_constant "core::unicode::printable::SINGLETONS1U") = value_SINGLETONS1U. - Global Hint Rewrite Constant_value_SINGLETONS1U : constant_rewrites. + Global Instance Instance_IsConstant_value_SINGLETONS1U : + M.IsFunction.C "core::unicode::printable::SINGLETONS1U" value_SINGLETONS1U. + Admitted. + Global Typeclasses Opaque value_SINGLETONS1U. - Definition value_SINGLETONS1L : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 138; - Value.Integer IntegerKind.U8 140; - Value.Integer IntegerKind.U8 141; - Value.Integer IntegerKind.U8 143; - Value.Integer IntegerKind.U8 182; - Value.Integer IntegerKind.U8 193; - Value.Integer IntegerKind.U8 195; - Value.Integer IntegerKind.U8 196; - Value.Integer IntegerKind.U8 198; - Value.Integer IntegerKind.U8 203; - Value.Integer IntegerKind.U8 214; - 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 221; - Value.Integer IntegerKind.U8 222; - Value.Integer IntegerKind.U8 147 - ] - |) + Definition value_SINGLETONS1L (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 138; + Value.Integer IntegerKind.U8 140; + Value.Integer IntegerKind.U8 141; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 182; + Value.Integer IntegerKind.U8 193; + Value.Integer IntegerKind.U8 195; + Value.Integer IntegerKind.U8 196; + Value.Integer IntegerKind.U8 198; + Value.Integer IntegerKind.U8 203; + Value.Integer IntegerKind.U8 214; + 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 221; + Value.Integer IntegerKind.U8 222; + Value.Integer IntegerKind.U8 147 + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_SINGLETONS1L : - (M.get_constant "core::unicode::printable::SINGLETONS1L") = value_SINGLETONS1L. - Global Hint Rewrite Constant_value_SINGLETONS1L : constant_rewrites. + Global Instance Instance_IsConstant_value_SINGLETONS1L : + M.IsFunction.C "core::unicode::printable::SINGLETONS1L" value_SINGLETONS1L. + Admitted. + Global Typeclasses Opaque value_SINGLETONS1L. - Definition value_NORMAL0 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 8; - Value.Integer IntegerKind.U8 129; - Value.Integer IntegerKind.U8 28; - 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 128; - Value.Integer IntegerKind.U8 244; - 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 62; - Value.Integer IntegerKind.U8 5; - 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 154; - Value.Integer IntegerKind.U8 22; - 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 129; - Value.Integer IntegerKind.U8 16; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 128; - Value.Integer IntegerKind.U8 225; - Value.Integer IntegerKind.U8 9; - Value.Integer IntegerKind.U8 242; - Value.Integer IntegerKind.U8 158; - 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 221; - Value.Integer IntegerKind.U8 21; - 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 - ] - |) + Definition value_NORMAL0 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 8; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 28; + 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 128; + Value.Integer IntegerKind.U8 244; + 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 62; + Value.Integer IntegerKind.U8 5; + 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 154; + Value.Integer IntegerKind.U8 22; + 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 129; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 225; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 242; + Value.Integer IntegerKind.U8 158; + 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 221; + Value.Integer IntegerKind.U8 21; + 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 + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_NORMAL0 : - (M.get_constant "core::unicode::printable::NORMAL0") = value_NORMAL0. - Global Hint Rewrite Constant_value_NORMAL0 : constant_rewrites. + Global Instance Instance_IsConstant_value_NORMAL0 : + M.IsFunction.C "core::unicode::printable::NORMAL0" value_NORMAL0. + Admitted. + Global Typeclasses Opaque value_NORMAL0. - Definition value_NORMAL1 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 3; - Value.Integer IntegerKind.U8 52; - Value.Integer IntegerKind.U8 12; - 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 6; - Value.Integer IntegerKind.U8 38; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 29; - Value.Integer IntegerKind.U8 8; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 128; - Value.Integer IntegerKind.U8 208; - Value.Integer IntegerKind.U8 82; - Value.Integer IntegerKind.U8 16; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 55; - Value.Integer IntegerKind.U8 44; - 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 11; - Value.Integer IntegerKind.U8 89; - Value.Integer IntegerKind.U8 8; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 29; - 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 6; - Value.Integer IntegerKind.U8 20; - Value.Integer IntegerKind.U8 28; - 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 182; - Value.Integer IntegerKind.U8 34; - Value.Integer IntegerKind.U8 14; - Value.Integer IntegerKind.U8 10; - Value.Integer IntegerKind.U8 6; - 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 29; - Value.Integer IntegerKind.U8 85; - 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 10; - Value.Integer IntegerKind.U8 143; - Value.Integer IntegerKind.U8 155; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 130; - Value.Integer IntegerKind.U8 71; - Value.Integer IntegerKind.U8 154; - Value.Integer IntegerKind.U8 185; - Value.Integer IntegerKind.U8 58; - Value.Integer IntegerKind.U8 134; - Value.Integer IntegerKind.U8 198; - 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 129; - Value.Integer IntegerKind.U8 176; - Value.Integer IntegerKind.U8 58; - Value.Integer IntegerKind.U8 128; - Value.Integer IntegerKind.U8 198; - 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 41; - Value.Integer IntegerKind.U8 10; - 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 143; - Value.Integer IntegerKind.U8 96; - Value.Integer IntegerKind.U8 128; - Value.Integer IntegerKind.U8 250; - Value.Integer IntegerKind.U8 6; - Value.Integer IntegerKind.U8 129; - Value.Integer IntegerKind.U8 180; - Value.Integer IntegerKind.U8 76; - 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 128; - Value.Integer IntegerKind.U8 214; - Value.Integer IntegerKind.U8 43; - Value.Integer IntegerKind.U8 4; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 129; - Value.Integer IntegerKind.U8 224; - 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 44; - Value.Integer IntegerKind.U8 4; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 62; - 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 10; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 56; - Value.Integer IntegerKind.U8 7; - Value.Integer IntegerKind.U8 28; - Value.Integer IntegerKind.U8 6; - Value.Integer IntegerKind.U8 9; - Value.Integer IntegerKind.U8 7; - Value.Integer IntegerKind.U8 128; - Value.Integer IntegerKind.U8 250; - Value.Integer IntegerKind.U8 132; - Value.Integer IntegerKind.U8 6 - ] - |) + Definition value_NORMAL1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 3; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 12; + 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 6; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 208; + Value.Integer IntegerKind.U8 82; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 44; + 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 11; + Value.Integer IntegerKind.U8 89; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 29; + 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 6; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 28; + 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 182; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 6; + 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 29; + Value.Integer IntegerKind.U8 85; + 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 10; + Value.Integer IntegerKind.U8 143; + Value.Integer IntegerKind.U8 155; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 130; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 154; + Value.Integer IntegerKind.U8 185; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 134; + Value.Integer IntegerKind.U8 198; + 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 129; + Value.Integer IntegerKind.U8 176; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 198; + 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 41; + Value.Integer IntegerKind.U8 10; + 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 143; + Value.Integer IntegerKind.U8 96; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 250; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 180; + Value.Integer IntegerKind.U8 76; + 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 128; + Value.Integer IntegerKind.U8 214; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 129; + Value.Integer IntegerKind.U8 224; + 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 44; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 62; + 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 10; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 128; + Value.Integer IntegerKind.U8 250; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 6 + ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_NORMAL1 : - (M.get_constant "core::unicode::printable::NORMAL1") = value_NORMAL1. - Global Hint Rewrite Constant_value_NORMAL1 : constant_rewrites. + Global Instance Instance_IsConstant_value_NORMAL1 : + M.IsFunction.C "core::unicode::printable::NORMAL1" value_NORMAL1. + Admitted. + Global Typeclasses Opaque value_NORMAL1. End printable. End unicode. diff --git a/CoqOfRust/core/unicode/unicode_data.v b/CoqOfRust/core/unicode/unicode_data.v index fc290b5a7..08d67dd6d 100644 --- a/CoqOfRust/core/unicode/unicode_data.v +++ b/CoqOfRust/core/unicode/unicode_data.v @@ -75,7 +75,10 @@ Module unicode. BinOp.Wrap.div (| M.read (| bucket_idx |), M.read (| - M.get_constant "core::unicode::unicode_data::bitset_search::CHUNK_SIZE" + get_constant (| + "core::unicode::unicode_data::bitset_search::CHUNK_SIZE", + Ty.path "usize" + |) |) |) |) in @@ -84,7 +87,10 @@ Module unicode. BinOp.Wrap.rem (| M.read (| bucket_idx |), M.read (| - M.get_constant "core::unicode::unicode_data::bitset_search::CHUNK_SIZE" + get_constant (| + "core::unicode::unicode_data::bitset_search::CHUNK_SIZE", + Ty.path "usize" + |) |) |) |) in @@ -360,7 +366,7 @@ Module unicode. end. Global Instance Instance_IsFunction_bitset_search : - M.IsFunction.Trait "core::unicode::unicode_data::bitset_search" bitset_search. + M.IsFunction.C "core::unicode::unicode_data::bitset_search" bitset_search. Admitted. Global Typeclasses Opaque bitset_search. @@ -387,7 +393,7 @@ Module unicode. end. Global Instance Instance_IsFunction_decode_prefix_sum : - M.IsFunction.Trait "core::unicode::unicode_data::decode_prefix_sum" decode_prefix_sum. + M.IsFunction.C "core::unicode::unicode_data::decode_prefix_sum" decode_prefix_sum. Admitted. Global Typeclasses Opaque decode_prefix_sum. @@ -411,7 +417,7 @@ Module unicode. end. Global Instance Instance_IsFunction_decode_length : - M.IsFunction.Trait "core::unicode::unicode_data::decode_length" decode_length. + M.IsFunction.C "core::unicode::unicode_data::decode_length" decode_length. Admitted. Global Typeclasses Opaque decode_length. @@ -885,1625 +891,1630 @@ Module unicode. end. Global Instance Instance_IsFunction_skip_search : - M.IsFunction.Trait "core::unicode::unicode_data::skip_search" skip_search. + M.IsFunction.C "core::unicode::unicode_data::skip_search" skip_search. Admitted. Global Typeclasses Opaque skip_search. - Definition value_UNICODE_VERSION : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Tuple - [ - Value.Integer IntegerKind.U8 16; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0 - ] - |))). + Definition value_UNICODE_VERSION (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Tuple + [ + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 + ] + |))). - Axiom Constant_value_UNICODE_VERSION : - (M.get_constant "core::unicode::unicode_data::UNICODE_VERSION") = value_UNICODE_VERSION. - Global Hint Rewrite Constant_value_UNICODE_VERSION : constant_rewrites. + Global Instance Instance_IsConstant_value_UNICODE_VERSION : + M.IsFunction.C "core::unicode::unicode_data::UNICODE_VERSION" value_UNICODE_VERSION. + Admitted. + Global Typeclasses Opaque value_UNICODE_VERSION. Module alphabetic. - Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U32 706; - Value.Integer IntegerKind.U32 33559113; - Value.Integer IntegerKind.U32 876615277; - Value.Integer IntegerKind.U32 956309270; - Value.Integer IntegerKind.U32 1166025910; - Value.Integer IntegerKind.U32 1314925568; - Value.Integer IntegerKind.U32 1319120901; - Value.Integer IntegerKind.U32 1398813696; - Value.Integer IntegerKind.U32 1449151936; - Value.Integer IntegerKind.U32 1451271309; - Value.Integer IntegerKind.U32 1455465997; - Value.Integer IntegerKind.U32 1463867300; - Value.Integer IntegerKind.U32 1652619520; - Value.Integer IntegerKind.U32 1663105646; - Value.Integer IntegerKind.U32 1665203518; - Value.Integer IntegerKind.U32 1711342208; - Value.Integer IntegerKind.U32 1797326647; - Value.Integer IntegerKind.U32 1895898848; - Value.Integer IntegerKind.U32 2560697242; - Value.Integer IntegerKind.U32 2583768976; - Value.Integer IntegerKind.U32 2594255920; - Value.Integer IntegerKind.U32 2600551419; - Value.Integer IntegerKind.U32 2608940615; - Value.Integer IntegerKind.U32 2613141760; - Value.Integer IntegerKind.U32 2615240704; - Value.Integer IntegerKind.U32 2619435577; - Value.Integer IntegerKind.U32 2621533504; - Value.Integer IntegerKind.U32 2652997624; - Value.Integer IntegerKind.U32 2688650454; - Value.Integer IntegerKind.U32 2692853744; - Value.Integer IntegerKind.U32 2699145507; - Value.Integer IntegerKind.U32 2713826044; - Value.Integer IntegerKind.U32 2734799872; - Value.Integer IntegerKind.U32 2736903168; - Value.Integer IntegerKind.U32 2757875366; - Value.Integer IntegerKind.U32 2835472128; - Value.Integer IntegerKind.U32 2883707536; - Value.Integer IntegerKind.U32 2934039760; - Value.Integer IntegerKind.U32 2942429152; - Value.Integer IntegerKind.U32 2955013632; - Value.Integer IntegerKind.U32 2988568880; - Value.Integer IntegerKind.U32 3126984704; - Value.Integer IntegerKind.U32 3139610336; - Value.Integer IntegerKind.U32 3141711674; - Value.Integer IntegerKind.U32 3145911970; - Value.Integer IntegerKind.U32 3154308065; - Value.Integer IntegerKind.U32 3158503006; - Value.Integer IntegerKind.U32 3162699776; - Value.Integer IntegerKind.U32 3164797470; - Value.Integer IntegerKind.U32 3166896128; - Value.Integer IntegerKind.U32 3168998219; - Value.Integer IntegerKind.U32 3171099568; - Value.Integer IntegerKind.U32 3176407984 - ] - |) - |))). + Definition value_SHORT_OFFSET_RUNS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U32 706; + Value.Integer IntegerKind.U32 33559113; + Value.Integer IntegerKind.U32 876615277; + Value.Integer IntegerKind.U32 956309270; + Value.Integer IntegerKind.U32 1166025910; + Value.Integer IntegerKind.U32 1314925568; + Value.Integer IntegerKind.U32 1319120901; + Value.Integer IntegerKind.U32 1398813696; + Value.Integer IntegerKind.U32 1449151936; + Value.Integer IntegerKind.U32 1451271309; + Value.Integer IntegerKind.U32 1455465997; + Value.Integer IntegerKind.U32 1463867300; + Value.Integer IntegerKind.U32 1652619520; + Value.Integer IntegerKind.U32 1663105646; + Value.Integer IntegerKind.U32 1665203518; + Value.Integer IntegerKind.U32 1711342208; + Value.Integer IntegerKind.U32 1797326647; + Value.Integer IntegerKind.U32 1895898848; + Value.Integer IntegerKind.U32 2560697242; + Value.Integer IntegerKind.U32 2583768976; + Value.Integer IntegerKind.U32 2594255920; + Value.Integer IntegerKind.U32 2600551419; + Value.Integer IntegerKind.U32 2608940615; + Value.Integer IntegerKind.U32 2613141760; + Value.Integer IntegerKind.U32 2615240704; + Value.Integer IntegerKind.U32 2619435577; + Value.Integer IntegerKind.U32 2621533504; + Value.Integer IntegerKind.U32 2652997624; + Value.Integer IntegerKind.U32 2688650454; + Value.Integer IntegerKind.U32 2692853744; + Value.Integer IntegerKind.U32 2699145507; + Value.Integer IntegerKind.U32 2713826044; + Value.Integer IntegerKind.U32 2734799872; + Value.Integer IntegerKind.U32 2736903168; + Value.Integer IntegerKind.U32 2757875366; + Value.Integer IntegerKind.U32 2835472128; + Value.Integer IntegerKind.U32 2883707536; + Value.Integer IntegerKind.U32 2934039760; + Value.Integer IntegerKind.U32 2942429152; + Value.Integer IntegerKind.U32 2955013632; + Value.Integer IntegerKind.U32 2988568880; + Value.Integer IntegerKind.U32 3126984704; + Value.Integer IntegerKind.U32 3139610336; + Value.Integer IntegerKind.U32 3141711674; + Value.Integer IntegerKind.U32 3145911970; + Value.Integer IntegerKind.U32 3154308065; + Value.Integer IntegerKind.U32 3158503006; + Value.Integer IntegerKind.U32 3162699776; + Value.Integer IntegerKind.U32 3164797470; + Value.Integer IntegerKind.U32 3166896128; + Value.Integer IntegerKind.U32 3168998219; + Value.Integer IntegerKind.U32 3171099568; + Value.Integer IntegerKind.U32 3176407984 + ] + |) + |))). - Axiom Constant_value_SHORT_OFFSET_RUNS : - (M.get_constant "core::unicode::unicode_data::alphabetic::SHORT_OFFSET_RUNS") = + Global Instance Instance_IsConstant_value_SHORT_OFFSET_RUNS : + M.IsFunction.C + "core::unicode::unicode_data::alphabetic::SHORT_OFFSET_RUNS" value_SHORT_OFFSET_RUNS. - Global Hint Rewrite Constant_value_SHORT_OFFSET_RUNS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SHORT_OFFSET_RUNS. - Definition value_OFFSETS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 29; - Value.Integer IntegerKind.U8 18; - 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 8; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 8; - 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 11; - Value.Integer IntegerKind.U8 5; - 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 19; - Value.Integer IntegerKind.U8 34; - 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 67; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 8; - Value.Integer IntegerKind.U8 21; - 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 3; - Value.Integer IntegerKind.U8 52; - Value.Integer IntegerKind.U8 12; - 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 34; - Value.Integer IntegerKind.U8 28; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 23; - Value.Integer IntegerKind.U8 250; - 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 16; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 55; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 3; - 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 28; - Value.Integer IntegerKind.U8 10; - 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 38; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 10; - 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 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 1; - Value.Integer IntegerKind.U8 44; - 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 199; - Value.Integer IntegerKind.U8 33; - Value.Integer IntegerKind.U8 31; - 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 25; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 47; - 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 45; - Value.Integer IntegerKind.U8 211; - 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 41; - Value.Integer IntegerKind.U8 10; - 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 228; - Value.Integer IntegerKind.U8 30; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 1; - 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 15; - Value.Integer IntegerKind.U8 0; - 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 - ] - |) - |))). + Definition value_OFFSETS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 29; + Value.Integer IntegerKind.U8 18; + 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 8; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + 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 11; + Value.Integer IntegerKind.U8 5; + 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 19; + Value.Integer IntegerKind.U8 34; + 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 67; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 21; + 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 3; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 12; + 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 34; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 250; + 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 16; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 3; + 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 28; + Value.Integer IntegerKind.U8 10; + 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 38; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 10; + 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 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 1; + Value.Integer IntegerKind.U8 44; + 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 199; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 31; + 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 25; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 47; + 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 45; + Value.Integer IntegerKind.U8 211; + 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 41; + Value.Integer IntegerKind.U8 10; + 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 228; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + 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 15; + Value.Integer IntegerKind.U8 0; + 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 + ] + |) + |))). - Axiom Constant_value_OFFSETS : - (M.get_constant "core::unicode::unicode_data::alphabetic::OFFSETS") = value_OFFSETS. - Global Hint Rewrite Constant_value_OFFSETS : constant_rewrites. + Global Instance Instance_IsConstant_value_OFFSETS : + M.IsFunction.C "core::unicode::unicode_data::alphabetic::OFFSETS" value_OFFSETS. + Admitted. + Global Typeclasses Opaque value_OFFSETS. (* pub fn lookup(c: char) -> bool { @@ -2535,8 +2546,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::alphabetic::SHORT_OFFSET_RUNS" + get_constant (| + "core::unicode::unicode_data::alphabetic::SHORT_OFFSET_RUNS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 53 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -2549,7 +2570,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::alphabetic::OFFSETS" + get_constant (| + "core::unicode::unicode_data::alphabetic::OFFSETS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 1515 ] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -2561,984 +2593,989 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::alphabetic::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::alphabetic::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End alphabetic. Module case_ignorable. - Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 1277237295; - Value.Integer IntegerKind.U32 1537284411; - Value.Integer IntegerKind.U32 1545673776; - Value.Integer IntegerKind.U32 1604394739; - Value.Integer IntegerKind.U32 1667314736; - Value.Integer IntegerKind.U32 1692492062; - Value.Integer IntegerKind.U32 1700883184; - Value.Integer IntegerKind.U32 1709272384; - Value.Integer IntegerKind.U32 1721855823; - Value.Integer IntegerKind.U32 1730260976; - Value.Integer IntegerKind.U32 1747041437; - Value.Integer IntegerKind.U32 1759629056; - Value.Integer IntegerKind.U32 1768018279; - Value.Integer IntegerKind.U32 1776409088; - Value.Integer IntegerKind.U32 1797382144; - Value.Integer IntegerKind.U32 1822548654; - Value.Integer IntegerKind.U32 1856103659; - Value.Integer IntegerKind.U32 1864493264; - Value.Integer IntegerKind.U32 1872884731; - Value.Integer IntegerKind.U32 1882062849; - Value.Integer IntegerKind.U32 1887371760 - ] - |) - |))). + Definition value_SHORT_OFFSET_RUNS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 1277237295; + Value.Integer IntegerKind.U32 1537284411; + Value.Integer IntegerKind.U32 1545673776; + Value.Integer IntegerKind.U32 1604394739; + Value.Integer IntegerKind.U32 1667314736; + Value.Integer IntegerKind.U32 1692492062; + Value.Integer IntegerKind.U32 1700883184; + Value.Integer IntegerKind.U32 1709272384; + Value.Integer IntegerKind.U32 1721855823; + Value.Integer IntegerKind.U32 1730260976; + Value.Integer IntegerKind.U32 1747041437; + Value.Integer IntegerKind.U32 1759629056; + Value.Integer IntegerKind.U32 1768018279; + Value.Integer IntegerKind.U32 1776409088; + Value.Integer IntegerKind.U32 1797382144; + Value.Integer IntegerKind.U32 1822548654; + Value.Integer IntegerKind.U32 1856103659; + Value.Integer IntegerKind.U32 1864493264; + Value.Integer IntegerKind.U32 1872884731; + Value.Integer IntegerKind.U32 1882062849; + Value.Integer IntegerKind.U32 1887371760 + ] + |) + |))). - Axiom Constant_value_SHORT_OFFSET_RUNS : - (M.get_constant "core::unicode::unicode_data::case_ignorable::SHORT_OFFSET_RUNS") = + Global Instance Instance_IsConstant_value_SHORT_OFFSET_RUNS : + M.IsFunction.C + "core::unicode::unicode_data::case_ignorable::SHORT_OFFSET_RUNS" value_SHORT_OFFSET_RUNS. - Global Hint Rewrite Constant_value_SHORT_OFFSET_RUNS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SHORT_OFFSET_RUNS. - Definition value_OFFSETS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 5; - Value.Integer IntegerKind.U8 9; - 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 38; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 26; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 79; - Value.Integer IntegerKind.U8 4; - 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 70; - Value.Integer IntegerKind.U8 6; - Value.Integer IntegerKind.U8 13; - 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 14; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 85; - 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 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 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 23; - 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 12; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 3; - 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 3; - Value.Integer IntegerKind.U8 40; - Value.Integer IntegerKind.U8 2; - 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 254; - Value.Integer IntegerKind.U8 2; - 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 - ] - |) - |))). + Definition value_OFFSETS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 5; + Value.Integer IntegerKind.U8 9; + 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 38; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 4; + 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 70; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 13; + 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 14; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 85; + 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 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 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 23; + 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 12; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + 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 3; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 2; + 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 254; + Value.Integer IntegerKind.U8 2; + 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 + ] + |) + |))). - Axiom Constant_value_OFFSETS : - (M.get_constant "core::unicode::unicode_data::case_ignorable::OFFSETS") = value_OFFSETS. - Global Hint Rewrite Constant_value_OFFSETS : constant_rewrites. + Global Instance Instance_IsConstant_value_OFFSETS : + M.IsFunction.C "core::unicode::unicode_data::case_ignorable::OFFSETS" value_OFFSETS. + Admitted. + Global Typeclasses Opaque value_OFFSETS. (* pub fn lookup(c: char) -> bool { @@ -3570,8 +3607,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::case_ignorable::SHORT_OFFSET_RUNS" + get_constant (| + "core::unicode::unicode_data::case_ignorable::SHORT_OFFSET_RUNS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 37 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -3584,7 +3631,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::case_ignorable::OFFSETS" + get_constant (| + "core::unicode::unicode_data::case_ignorable::OFFSETS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 905 ] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -3596,383 +3654,388 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::case_ignorable::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::case_ignorable::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End case_ignorable. Module cased. - Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 501313088; - Value.Integer IntegerKind.U32 505533440; - Value.Integer IntegerKind.U32 509728422; - Value.Integer IntegerKind.U32 587325184; - Value.Integer IntegerKind.U32 635559984; - Value.Integer IntegerKind.U32 648145152; - Value.Integer IntegerKind.U32 652341552; - Value.Integer IntegerKind.U32 657650058 - ] - |) - |))). + Definition value_SHORT_OFFSET_RUNS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 501313088; + Value.Integer IntegerKind.U32 505533440; + Value.Integer IntegerKind.U32 509728422; + Value.Integer IntegerKind.U32 587325184; + Value.Integer IntegerKind.U32 635559984; + Value.Integer IntegerKind.U32 648145152; + Value.Integer IntegerKind.U32 652341552; + Value.Integer IntegerKind.U32 657650058 + ] + |) + |))). - Axiom Constant_value_SHORT_OFFSET_RUNS : - (M.get_constant "core::unicode::unicode_data::cased::SHORT_OFFSET_RUNS") = + Global Instance Instance_IsConstant_value_SHORT_OFFSET_RUNS : + M.IsFunction.C + "core::unicode::unicode_data::cased::SHORT_OFFSET_RUNS" value_SHORT_OFFSET_RUNS. - Global Hint Rewrite Constant_value_SHORT_OFFSET_RUNS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SHORT_OFFSET_RUNS. - Definition value_OFFSETS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 11; - Value.Integer IntegerKind.U8 5; - 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 62; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 8; - Value.Integer IntegerKind.U8 21; - 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 93; - Value.Integer IntegerKind.U8 22; - Value.Integer IntegerKind.U8 10; - Value.Integer IntegerKind.U8 22; - 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 - ] - |) - |))). + Definition value_OFFSETS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 11; + Value.Integer IntegerKind.U8 5; + 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 62; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 21; + 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 93; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 22; + 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 + ] + |) + |))). - Axiom Constant_value_OFFSETS : - (M.get_constant "core::unicode::unicode_data::cased::OFFSETS") = value_OFFSETS. - Global Hint Rewrite Constant_value_OFFSETS : constant_rewrites. + Global Instance Instance_IsConstant_value_OFFSETS : + M.IsFunction.C "core::unicode::unicode_data::cased::OFFSETS" value_OFFSETS. + Admitted. + Global Typeclasses Opaque value_OFFSETS. (* pub fn lookup(c: char) -> bool { @@ -4004,7 +4067,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::cased::SHORT_OFFSET_RUNS" + get_constant (| + "core::unicode::unicode_data::cased::SHORT_OFFSET_RUNS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 22 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -4016,7 +4090,20 @@ Module unicode. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "core::unicode::unicode_data::cased::OFFSETS" |) + M.read (| + get_constant (| + "core::unicode::unicode_data::cased::OFFSETS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 319 ] + [ Ty.path "u8" ] + ] + |) + |) |) |) |) @@ -4027,41 +4114,44 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::cased::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::cased::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End cased. Module cc. - Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| M.alloc (| Value.Array [ Value.Integer IntegerKind.U32 1114272 ] |) |))). + Definition value_SHORT_OFFSET_RUNS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| M.alloc (| Value.Array [ Value.Integer IntegerKind.U32 1114272 ] |) |))). - Axiom Constant_value_SHORT_OFFSET_RUNS : - (M.get_constant "core::unicode::unicode_data::cc::SHORT_OFFSET_RUNS") = - value_SHORT_OFFSET_RUNS. - Global Hint Rewrite Constant_value_SHORT_OFFSET_RUNS : constant_rewrites. + Global Instance Instance_IsConstant_value_SHORT_OFFSET_RUNS : + M.IsFunction.C "core::unicode::unicode_data::cc::SHORT_OFFSET_RUNS" value_SHORT_OFFSET_RUNS. + Admitted. + Global Typeclasses Opaque value_SHORT_OFFSET_RUNS. - Definition value_OFFSETS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_OFFSETS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_OFFSETS : - (M.get_constant "core::unicode::unicode_data::cc::OFFSETS") = value_OFFSETS. - Global Hint Rewrite Constant_value_OFFSETS : constant_rewrites. + Global Instance Instance_IsConstant_value_OFFSETS : + M.IsFunction.C "core::unicode::unicode_data::cc::OFFSETS" value_OFFSETS. + Admitted. + Global Typeclasses Opaque value_OFFSETS. (* pub fn lookup(c: char) -> bool { @@ -4093,7 +4183,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::cc::SHORT_OFFSET_RUNS" + get_constant (| + "core::unicode::unicode_data::cc::SHORT_OFFSET_RUNS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 1 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -4105,7 +4206,20 @@ Module unicode. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "core::unicode::unicode_data::cc::OFFSETS" |) + M.read (| + get_constant (| + "core::unicode::unicode_data::cc::OFFSETS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 5 ] + [ Ty.path "u8" ] + ] + |) + |) |) |) |) @@ -4116,827 +4230,832 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::cc::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::cc::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End cc. Module grapheme_extend. - Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 723528943; - Value.Integer IntegerKind.U32 731918378; - Value.Integer IntegerKind.U32 744531567; - Value.Integer IntegerKind.U32 752920578; - Value.Integer IntegerKind.U32 769719070; - 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 971053103; - Value.Integer IntegerKind.U32 1256266800; - Value.Integer IntegerKind.U32 1323376371; - Value.Integer IntegerKind.U32 1386296384; - Value.Integer IntegerKind.U32 1407279390; - Value.Integer IntegerKind.U32 1415670512; - Value.Integer IntegerKind.U32 1424060239; - Value.Integer IntegerKind.U32 1432468637; - Value.Integer IntegerKind.U32 1449250560; - Value.Integer IntegerKind.U32 1453445477; - Value.Integer IntegerKind.U32 1461836288; - Value.Integer IntegerKind.U32 1487003648; - Value.Integer IntegerKind.U32 1512170158; - Value.Integer IntegerKind.U32 1541530860; - Value.Integer IntegerKind.U32 1549920464; - Value.Integer IntegerKind.U32 1559101472; - Value.Integer IntegerKind.U32 1568604656 - ] - |) - |))). + Definition value_SHORT_OFFSET_RUNS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 723528943; + Value.Integer IntegerKind.U32 731918378; + Value.Integer IntegerKind.U32 744531567; + Value.Integer IntegerKind.U32 752920578; + Value.Integer IntegerKind.U32 769719070; + 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 971053103; + Value.Integer IntegerKind.U32 1256266800; + Value.Integer IntegerKind.U32 1323376371; + Value.Integer IntegerKind.U32 1386296384; + Value.Integer IntegerKind.U32 1407279390; + Value.Integer IntegerKind.U32 1415670512; + Value.Integer IntegerKind.U32 1424060239; + Value.Integer IntegerKind.U32 1432468637; + Value.Integer IntegerKind.U32 1449250560; + Value.Integer IntegerKind.U32 1453445477; + Value.Integer IntegerKind.U32 1461836288; + Value.Integer IntegerKind.U32 1487003648; + Value.Integer IntegerKind.U32 1512170158; + Value.Integer IntegerKind.U32 1541530860; + Value.Integer IntegerKind.U32 1549920464; + Value.Integer IntegerKind.U32 1559101472; + Value.Integer IntegerKind.U32 1568604656 + ] + |) + |))). - Axiom Constant_value_SHORT_OFFSET_RUNS : - (M.get_constant "core::unicode::unicode_data::grapheme_extend::SHORT_OFFSET_RUNS") = + Global Instance Instance_IsConstant_value_SHORT_OFFSET_RUNS : + M.IsFunction.C + "core::unicode::unicode_data::grapheme_extend::SHORT_OFFSET_RUNS" value_SHORT_OFFSET_RUNS. - Global Hint Rewrite Constant_value_SHORT_OFFSET_RUNS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SHORT_OFFSET_RUNS. - Definition value_OFFSETS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 59; - Value.Integer IntegerKind.U8 9; - 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 2; - 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 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 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 4; - Value.Integer IntegerKind.U8 28; - 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 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 10; - Value.Integer IntegerKind.U8 4; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 38; - 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 6; - 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 5; - Value.Integer IntegerKind.U8 56; - 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 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 44; - 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 2; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 36; - 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 65; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 79; - Value.Integer IntegerKind.U8 4; - 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 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 8; - 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 4; - 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 12; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 9; - 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 67; - 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 3; - Value.Integer IntegerKind.U8 4; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 14; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 85; - 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 8; - Value.Integer IntegerKind.U8 101; - 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 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 4; - 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 3; - Value.Integer IntegerKind.U8 23; - 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 12; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 3; - 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 11; - Value.Integer IntegerKind.U8 2; - 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 5; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 6; - 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 254; - Value.Integer IntegerKind.U8 2; - 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 - ] - |) - |))). + Definition value_OFFSETS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 59; + Value.Integer IntegerKind.U8 9; + 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 2; + 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 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 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 4; + Value.Integer IntegerKind.U8 28; + 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 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 10; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 38; + 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 6; + 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 5; + Value.Integer IntegerKind.U8 56; + 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 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 44; + 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 2; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 36; + 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 65; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 79; + Value.Integer IntegerKind.U8 4; + 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 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 8; + 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 4; + 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 12; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 9; + 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 67; + 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 3; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 85; + 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 8; + Value.Integer IntegerKind.U8 101; + 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 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 4; + 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 3; + Value.Integer IntegerKind.U8 23; + 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 12; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 3; + 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 11; + Value.Integer IntegerKind.U8 2; + 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 5; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 6; + 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 254; + Value.Integer IntegerKind.U8 2; + 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 + ] + |) + |))). - Axiom Constant_value_OFFSETS : - (M.get_constant "core::unicode::unicode_data::grapheme_extend::OFFSETS") = value_OFFSETS. - Global Hint Rewrite Constant_value_OFFSETS : constant_rewrites. + Global Instance Instance_IsConstant_value_OFFSETS : + M.IsFunction.C "core::unicode::unicode_data::grapheme_extend::OFFSETS" value_OFFSETS. + Admitted. + Global Typeclasses Opaque value_OFFSETS. (* pub fn lookup(c: char) -> bool { @@ -4968,7 +5087,7 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::grapheme_extend::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::grapheme_extend::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. @@ -5002,8 +5121,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::grapheme_extend::SHORT_OFFSET_RUNS" + get_constant (| + "core::unicode::unicode_data::grapheme_extend::SHORT_OFFSET_RUNS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 34 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -5016,7 +5145,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::grapheme_extend::OFFSETS" + get_constant (| + "core::unicode::unicode_data::grapheme_extend::OFFSETS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 751 ] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -5028,668 +5168,668 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup_slow : - M.IsFunction.Trait "core::unicode::unicode_data::grapheme_extend::lookup_slow" lookup_slow. + M.IsFunction.C "core::unicode::unicode_data::grapheme_extend::lookup_slow" lookup_slow. Admitted. Global Typeclasses Opaque lookup_slow. End grapheme_extend. Module lowercase. - Definition value_BITSET_CHUNKS_MAP : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_BITSET_CHUNKS_MAP + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_BITSET_CHUNKS_MAP : - (M.get_constant "core::unicode::unicode_data::lowercase::BITSET_CHUNKS_MAP") = + Global Instance Instance_IsConstant_value_BITSET_CHUNKS_MAP : + M.IsFunction.C + "core::unicode::unicode_data::lowercase::BITSET_CHUNKS_MAP" value_BITSET_CHUNKS_MAP. - Global Hint Rewrite Constant_value_BITSET_CHUNKS_MAP : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_CHUNKS_MAP. - Definition value_BITSET_INDEX_CHUNKS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Array - [ - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 61; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - 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 56; - Value.Integer IntegerKind.U8 0 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 67; - Value.Integer IntegerKind.U8 43; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 52; - Value.Integer IntegerKind.U8 48; - Value.Integer IntegerKind.U8 50; - Value.Integer IntegerKind.U8 33 - ]; - Value.Array - [ - 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 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.Integer IntegerKind.U8 0 - ]; - Value.Array - [ - 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 16; - Value.Integer IntegerKind.U8 58; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 62; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 71; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 46; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 56; - Value.Integer IntegerKind.U8 56; - Value.Integer IntegerKind.U8 56; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 22; - Value.Integer IntegerKind.U8 22; - Value.Integer IntegerKind.U8 69; - 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 70; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 29; - Value.Integer IntegerKind.U8 15; - Value.Integer IntegerKind.U8 75; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 IntegerKind.U8 0; - Value.Integer IntegerKind.U8 66; - Value.Integer IntegerKind.U8 34; - Value.Integer IntegerKind.U8 17; - Value.Integer IntegerKind.U8 23; - Value.Integer IntegerKind.U8 53; - Value.Integer IntegerKind.U8 54; - Value.Integer IntegerKind.U8 49; - Value.Integer IntegerKind.U8 47; - 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 IntegerKind.U8 11; - Value.Integer IntegerKind.U8 60; - 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 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 IntegerKind.U8 16; - Value.Integer IntegerKind.U8 51; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 21; - Value.Integer IntegerKind.U8 68; - Value.Integer IntegerKind.U8 9; - Value.Integer IntegerKind.U8 59; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 IntegerKind.U8 16; - Value.Integer IntegerKind.U8 72; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer 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 IntegerKind.U8 65; - Value.Integer IntegerKind.U8 41; - Value.Integer IntegerKind.U8 55; - Value.Integer IntegerKind.U8 12; - Value.Integer IntegerKind.U8 77; - Value.Integer IntegerKind.U8 63; - Value.Integer IntegerKind.U8 18; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 7; - Value.Integer IntegerKind.U8 64; - Value.Integer IntegerKind.U8 76; - Value.Integer IntegerKind.U8 20; - Value.Integer IntegerKind.U8 73; - Value.Integer IntegerKind.U8 74; - Value.Integer IntegerKind.U8 4; - Value.Integer IntegerKind.U8 45 - ] - ] - |) - |))). + Definition value_BITSET_INDEX_CHUNKS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Array + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + 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 56; + Value.Integer IntegerKind.U8 0 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 33 + ]; + Value.Array + [ + 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 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.Integer IntegerKind.U8 0 + ]; + Value.Array + [ + 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 16; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 71; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 69; + 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 IntegerKind.U8 0; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 47; + 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 IntegerKind.U8 11; + Value.Integer IntegerKind.U8 60; + 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 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 IntegerKind.U8 16; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 68; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 IntegerKind.U8 16; + Value.Integer IntegerKind.U8 72; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer 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 IntegerKind.U8 65; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 77; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 76; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 73; + Value.Integer IntegerKind.U8 74; + Value.Integer IntegerKind.U8 4; + Value.Integer IntegerKind.U8 45 + ] + ] + |) + |))). - Axiom Constant_value_BITSET_INDEX_CHUNKS : - (M.get_constant "core::unicode::unicode_data::lowercase::BITSET_INDEX_CHUNKS") = + Global Instance Instance_IsConstant_value_BITSET_INDEX_CHUNKS : + M.IsFunction.C + "core::unicode::unicode_data::lowercase::BITSET_INDEX_CHUNKS" value_BITSET_INDEX_CHUNKS. - Global Hint Rewrite Constant_value_BITSET_INDEX_CHUNKS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_INDEX_CHUNKS. - Definition value_BITSET_CANONICAL : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 530298856301798666; - 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 1535; - 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 - ] - |) - |))). + Definition value_BITSET_CANONICAL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 530298856301798666; + 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 1535; + 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 + ] + |) + |))). - Axiom Constant_value_BITSET_CANONICAL : - (M.get_constant "core::unicode::unicode_data::lowercase::BITSET_CANONICAL") = + Global Instance Instance_IsConstant_value_BITSET_CANONICAL : + M.IsFunction.C + "core::unicode::unicode_data::lowercase::BITSET_CANONICAL" value_BITSET_CANONICAL. - Global Hint Rewrite Constant_value_BITSET_CANONICAL : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_CANONICAL. - Definition value_BITSET_MAPPING : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 186 ]; - 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 ] - ] - |) - |))). + Definition value_BITSET_MAPPING (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 186 ]; + 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 ] + ] + |) + |))). - Axiom Constant_value_BITSET_MAPPING : - (M.get_constant "core::unicode::unicode_data::lowercase::BITSET_MAPPING") = + Global Instance Instance_IsConstant_value_BITSET_MAPPING : + M.IsFunction.C + "core::unicode::unicode_data::lowercase::BITSET_MAPPING" value_BITSET_MAPPING. - Global Hint Rewrite Constant_value_BITSET_MAPPING : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_MAPPING. (* pub const fn lookup(c: char) -> bool { @@ -5729,7 +5869,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::lowercase::BITSET_CHUNKS_MAP" + get_constant (| + "core::unicode::unicode_data::lowercase::BITSET_CHUNKS_MAP", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 123 ] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -5742,8 +5893,23 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::lowercase::BITSET_INDEX_CHUNKS" + get_constant (| + "core::unicode::unicode_data::lowercase::BITSET_INDEX_CHUNKS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 20 ] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ] + ] + ] + |) |) |) |) @@ -5756,7 +5922,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::lowercase::BITSET_CANONICAL" + get_constant (| + "core::unicode::unicode_data::lowercase::BITSET_CANONICAL", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 56 ] + [ Ty.path "u64" ] + ] + |) |) |) |) @@ -5769,7 +5946,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::lowercase::BITSET_MAPPING" + get_constant (| + "core::unicode::unicode_data::lowercase::BITSET_MAPPING", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 22 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + ] + |) |) |) |) @@ -5781,373 +5969,376 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::lowercase::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::lowercase::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End lowercase. Module n. - Definition value_SHORT_OFFSET_RUNS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 396432464; - Value.Integer IntegerKind.U32 438376016; - Value.Integer IntegerKind.U32 446765280; - Value.Integer IntegerKind.U32 463543280; - Value.Integer IntegerKind.U32 471932752; - Value.Integer IntegerKind.U32 488711168; - Value.Integer IntegerKind.U32 497115440; - Value.Integer IntegerKind.U32 501312096; - Value.Integer IntegerKind.U32 505507184; - Value.Integer IntegerKind.U32 522284672; - Value.Integer IntegerKind.U32 526503152; - Value.Integer IntegerKind.U32 530698944; - Value.Integer IntegerKind.U32 534894542; - Value.Integer IntegerKind.U32 547479872; - Value.Integer IntegerKind.U32 551674608; - Value.Integer IntegerKind.U32 555869424; - Value.Integer IntegerKind.U32 560064711; - Value.Integer IntegerKind.U32 568454257; - Value.Integer IntegerKind.U32 576844032; - Value.Integer IntegerKind.U32 597818352; - Value.Integer IntegerKind.U32 603126778 - ] - |) - |))). + Definition value_SHORT_OFFSET_RUNS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 396432464; + Value.Integer IntegerKind.U32 438376016; + Value.Integer IntegerKind.U32 446765280; + Value.Integer IntegerKind.U32 463543280; + Value.Integer IntegerKind.U32 471932752; + Value.Integer IntegerKind.U32 488711168; + Value.Integer IntegerKind.U32 497115440; + Value.Integer IntegerKind.U32 501312096; + Value.Integer IntegerKind.U32 505507184; + Value.Integer IntegerKind.U32 522284672; + Value.Integer IntegerKind.U32 526503152; + Value.Integer IntegerKind.U32 530698944; + Value.Integer IntegerKind.U32 534894542; + Value.Integer IntegerKind.U32 547479872; + Value.Integer IntegerKind.U32 551674608; + Value.Integer IntegerKind.U32 555869424; + Value.Integer IntegerKind.U32 560064711; + Value.Integer IntegerKind.U32 568454257; + Value.Integer IntegerKind.U32 576844032; + Value.Integer IntegerKind.U32 597818352; + Value.Integer IntegerKind.U32 603126778 + ] + |) + |))). - Axiom Constant_value_SHORT_OFFSET_RUNS : - (M.get_constant "core::unicode::unicode_data::n::SHORT_OFFSET_RUNS") = - value_SHORT_OFFSET_RUNS. - Global Hint Rewrite Constant_value_SHORT_OFFSET_RUNS : constant_rewrites. + Global Instance Instance_IsConstant_value_SHORT_OFFSET_RUNS : + M.IsFunction.C "core::unicode::unicode_data::n::SHORT_OFFSET_RUNS" value_SHORT_OFFSET_RUNS. + Admitted. + Global Typeclasses Opaque value_SHORT_OFFSET_RUNS. - Definition value_OFFSETS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 6; - 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 6; - Value.Integer IntegerKind.U8 20; - Value.Integer IntegerKind.U8 76; - 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 10; - Value.Integer IntegerKind.U8 86; - 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 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 10; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 23; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 10; - 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 247; - 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 - ] - |) - |))). + Definition value_OFFSETS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 6; + 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 6; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 76; + 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 10; + Value.Integer IntegerKind.U8 86; + 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 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 10; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 23; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 10; + 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 247; + 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 + ] + |) + |))). - Axiom Constant_value_OFFSETS : - (M.get_constant "core::unicode::unicode_data::n::OFFSETS") = value_OFFSETS. - Global Hint Rewrite Constant_value_OFFSETS : constant_rewrites. + Global Instance Instance_IsConstant_value_OFFSETS : + M.IsFunction.C "core::unicode::unicode_data::n::OFFSETS" value_OFFSETS. + Admitted. + Global Typeclasses Opaque value_OFFSETS. (* pub fn lookup(c: char) -> bool { @@ -6179,7 +6370,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::n::SHORT_OFFSET_RUNS" + get_constant (| + "core::unicode::unicode_data::n::SHORT_OFFSET_RUNS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 42 ] + [ Ty.path "u32" ] + ] + |) |) |) |) @@ -6191,7 +6393,20 @@ Module unicode. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "core::unicode::unicode_data::n::OFFSETS" |) + M.read (| + get_constant (| + "core::unicode::unicode_data::n::OFFSETS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 289 ] + [ Ty.path "u8" ] + ] + |) + |) |) |) |) @@ -6202,611 +6417,604 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::n::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::n::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End n. Module uppercase. - Definition value_BITSET_CHUNKS_MAP : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_BITSET_CHUNKS_MAP + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_BITSET_CHUNKS_MAP : - (M.get_constant "core::unicode::unicode_data::uppercase::BITSET_CHUNKS_MAP") = + Global Instance Instance_IsConstant_value_BITSET_CHUNKS_MAP : + M.IsFunction.C + "core::unicode::unicode_data::uppercase::BITSET_CHUNKS_MAP" value_BITSET_CHUNKS_MAP. - Global Hint Rewrite Constant_value_BITSET_CHUNKS_MAP : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_CHUNKS_MAP. - Definition value_BITSET_INDEX_CHUNKS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 35; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 1 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 5; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 40; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 17; - Value.Integer IntegerKind.U8 17; - Value.Integer IntegerKind.U8 63; - Value.Integer IntegerKind.U8 17; - Value.Integer IntegerKind.U8 43; - Value.Integer IntegerKind.U8 29; - Value.Integer IntegerKind.U8 24; - Value.Integer IntegerKind.U8 23 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 9; - Value.Integer IntegerKind.U8 8; - Value.Integer IntegerKind.U8 45; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 37; - Value.Integer IntegerKind.U8 28; - Value.Integer IntegerKind.U8 67; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 55; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 62; - Value.Integer IntegerKind.U8 61; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 20; - Value.Integer IntegerKind.U8 14; - Value.Integer IntegerKind.U8 16; - Value.Integer IntegerKind.U8 4 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 56; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 59; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 31; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 60; - Value.Integer IntegerKind.U8 46; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 49; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 32; - Value.Integer IntegerKind.U8 36; - Value.Integer IntegerKind.U8 21; - Value.Integer IntegerKind.U8 22; - Value.Integer IntegerKind.U8 15; - Value.Integer IntegerKind.U8 13; - Value.Integer IntegerKind.U8 34; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 11; - Value.Integer IntegerKind.U8 30; - Value.Integer IntegerKind.U8 39 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 52; - Value.Integer IntegerKind.U8 54; - Value.Integer IntegerKind.U8 26; - Value.Integer IntegerKind.U8 50; - Value.Integer IntegerKind.U8 12; - Value.Integer IntegerKind.U8 7; - Value.Integer IntegerKind.U8 25; - Value.Integer IntegerKind.U8 51; - Value.Integer IntegerKind.U8 41; - Value.Integer IntegerKind.U8 53; - Value.Integer IntegerKind.U8 6; - Value.Integer IntegerKind.U8 3; - Value.Integer IntegerKind.U8 66; - Value.Integer IntegerKind.U8 65; - Value.Integer IntegerKind.U8 64; - Value.Integer IntegerKind.U8 68 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 57; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 9; - Value.Integer IntegerKind.U8 47; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 42; - Value.Integer IntegerKind.U8 33; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 58; - Value.Integer IntegerKind.U8 19; - Value.Integer IntegerKind.U8 2; - Value.Integer IntegerKind.U8 18; - Value.Integer IntegerKind.U8 10; - Value.Integer IntegerKind.U8 48; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ]; - Value.Array - [ - Value.Integer IntegerKind.U8 58; - Value.Integer IntegerKind.U8 38; - Value.Integer IntegerKind.U8 17; - Value.Integer IntegerKind.U8 27; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44; - Value.Integer IntegerKind.U8 44 - ] - ] - |) - |))). + Definition value_BITSET_INDEX_CHUNKS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 35; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 1 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 5; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 40; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 63; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 43; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 24; + Value.Integer IntegerKind.U8 23 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 8; + Value.Integer IntegerKind.U8 45; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 37; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 55; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 62; + Value.Integer IntegerKind.U8 61; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 20; + Value.Integer IntegerKind.U8 14; + Value.Integer IntegerKind.U8 16; + Value.Integer IntegerKind.U8 4 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 56; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 59; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 31; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 60; + Value.Integer IntegerKind.U8 46; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 49; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 21; + Value.Integer IntegerKind.U8 22; + Value.Integer IntegerKind.U8 15; + Value.Integer IntegerKind.U8 13; + Value.Integer IntegerKind.U8 34; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 11; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 39 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 52; + Value.Integer IntegerKind.U8 54; + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 50; + Value.Integer IntegerKind.U8 12; + Value.Integer IntegerKind.U8 7; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 51; + Value.Integer IntegerKind.U8 41; + Value.Integer IntegerKind.U8 53; + Value.Integer IntegerKind.U8 6; + Value.Integer IntegerKind.U8 3; + Value.Integer IntegerKind.U8 66; + Value.Integer IntegerKind.U8 65; + Value.Integer IntegerKind.U8 64; + Value.Integer IntegerKind.U8 68 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 9; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 42; + Value.Integer IntegerKind.U8 33; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 19; + Value.Integer IntegerKind.U8 2; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 10; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ]; + Value.Array + [ + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 38; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44; + Value.Integer IntegerKind.U8 44 + ] + ] + |) + |))). - Axiom Constant_value_BITSET_INDEX_CHUNKS : - (M.get_constant "core::unicode::unicode_data::uppercase::BITSET_INDEX_CHUNKS") = + Global Instance Instance_IsConstant_value_BITSET_INDEX_CHUNKS : + M.IsFunction.C + "core::unicode::unicode_data::uppercase::BITSET_INDEX_CHUNKS" value_BITSET_INDEX_CHUNKS. - Global Hint Rewrite Constant_value_BITSET_INDEX_CHUNKS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_INDEX_CHUNKS. - Definition value_BITSET_CANONICAL : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U64 576460743713488896; - Value.Integer IntegerKind.U64 18014398509481983; - Value.Integer IntegerKind.U64 6148914691236516865; - Value.Integer IntegerKind.U64 576460735123554305; - Value.Integer IntegerKind.U64 9007199611329269; - 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 274877841408; - 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 16717361816799216128; - Value.Integer IntegerKind.U64 17293822586282573568; - Value.Integer IntegerKind.U64 17870001846429417472; - Value.Integer IntegerKind.U64 18374966856193736448 - ] - |) - |))). + Definition value_BITSET_CANONICAL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U64 576460743713488896; + Value.Integer IntegerKind.U64 18014398509481983; + Value.Integer IntegerKind.U64 6148914691236516865; + Value.Integer IntegerKind.U64 576460735123554305; + Value.Integer IntegerKind.U64 9007199611329269; + 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 274877841408; + 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 16717361816799216128; + Value.Integer IntegerKind.U64 17293822586282573568; + Value.Integer IntegerKind.U64 17870001846429417472; + Value.Integer IntegerKind.U64 18374966856193736448 + ] + |) + |))). - Axiom Constant_value_BITSET_CANONICAL : - (M.get_constant "core::unicode::unicode_data::uppercase::BITSET_CANONICAL") = + Global Instance Instance_IsConstant_value_BITSET_CANONICAL : + M.IsFunction.C + "core::unicode::unicode_data::uppercase::BITSET_CANONICAL" value_BITSET_CANONICAL. - Global Hint Rewrite Constant_value_BITSET_CANONICAL : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_CANONICAL. - Definition value_BITSET_MAPPING : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 ] - ] - |) - |))). + Definition value_BITSET_MAPPING (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 ] + ] + |) + |))). - Axiom Constant_value_BITSET_MAPPING : - (M.get_constant "core::unicode::unicode_data::uppercase::BITSET_MAPPING") = + Global Instance Instance_IsConstant_value_BITSET_MAPPING : + M.IsFunction.C + "core::unicode::unicode_data::uppercase::BITSET_MAPPING" value_BITSET_MAPPING. - Global Hint Rewrite Constant_value_BITSET_MAPPING : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BITSET_MAPPING. (* pub const fn lookup(c: char) -> bool { @@ -6846,7 +7054,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::uppercase::BITSET_CHUNKS_MAP" + get_constant (| + "core::unicode::unicode_data::uppercase::BITSET_CHUNKS_MAP", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 125 ] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -6859,8 +7078,23 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::uppercase::BITSET_INDEX_CHUNKS" + get_constant (| + "core::unicode::unicode_data::uppercase::BITSET_INDEX_CHUNKS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 17 ] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "u8" ] + ] + ] + |) |) |) |) @@ -6873,7 +7107,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::uppercase::BITSET_CANONICAL" + get_constant (| + "core::unicode::unicode_data::uppercase::BITSET_CANONICAL", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 44 ] + [ Ty.path "u64" ] + ] + |) |) |) |) @@ -6886,7 +7131,18 @@ Module unicode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "core::unicode::unicode_data::uppercase::BITSET_MAPPING" + get_constant (| + "core::unicode::unicode_data::uppercase::BITSET_MAPPING", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 25 ] + [ Ty.tuple [ Ty.path "u8"; Ty.path "u8" ] ] + ] + |) |) |) |) @@ -6898,283 +7154,284 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::uppercase::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::uppercase::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End uppercase. Module white_space. - Definition value_WHITESPACE_MAP : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - 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 - ] - |) - |))). + Definition value_WHITESPACE_MAP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + 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 + ] + |) + |))). - Axiom Constant_value_WHITESPACE_MAP : - (M.get_constant "core::unicode::unicode_data::white_space::WHITESPACE_MAP") = + Global Instance Instance_IsConstant_value_WHITESPACE_MAP : + M.IsFunction.C + "core::unicode::unicode_data::white_space::WHITESPACE_MAP" value_WHITESPACE_MAP. - Global Hint Rewrite Constant_value_WHITESPACE_MAP : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_WHITESPACE_MAP. (* pub const fn lookup(c: char) -> bool { @@ -7216,8 +7473,18 @@ Module unicode. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::white_space::WHITESPACE_MAP" + get_constant (| + "core::unicode::unicode_data::white_space::WHITESPACE_MAP", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.path "u8" ] + ] + |) |) |), BinOp.bit_and @@ -7256,8 +7523,18 @@ Module unicode. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::white_space::WHITESPACE_MAP" + get_constant (| + "core::unicode::unicode_data::white_space::WHITESPACE_MAP", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.path "u8" ] + ] + |) |) |), BinOp.bit_and @@ -7290,18 +7567,19 @@ Module unicode. end. Global Instance Instance_IsFunction_lookup : - M.IsFunction.Trait "core::unicode::unicode_data::white_space::lookup" lookup. + M.IsFunction.C "core::unicode::unicode_data::white_space::lookup" lookup. Admitted. Global Typeclasses Opaque lookup. End white_space. Module conversions. - Definition value_INDEX_MASK : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 4194304 |))). + Definition value_INDEX_MASK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 4194304 |))). - Axiom Constant_value_INDEX_MASK : - (M.get_constant "core::unicode::unicode_data::conversions::INDEX_MASK") = value_INDEX_MASK. - Global Hint Rewrite Constant_value_INDEX_MASK : constant_rewrites. + Global Instance Instance_IsConstant_value_INDEX_MASK : + M.IsFunction.C "core::unicode::unicode_data::conversions::INDEX_MASK" value_INDEX_MASK. + Admitted. + Global Typeclasses Opaque value_INDEX_MASK. (* pub fn to_lower(c: char) -> [char; 3] { @@ -7460,8 +7738,26 @@ Module unicode. M.read (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::LOWERCASE_TABLE" + get_constant (| + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ + Ty.tuple + [ Ty.path "char"; Ty.path "u32" ] + ] + ] + ] + |) |) |) |) @@ -7554,8 +7850,30 @@ Module unicode. M.read (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::LOWERCASE_TABLE" + get_constant (| + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ + Ty.tuple + [ + Ty.path + "char"; + Ty.path "u32" + ] + ] + ] + ] + |) |) |) |) @@ -7770,8 +8088,39 @@ Module unicode. M.read (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::LOWERCASE_TABLE_MULTI" + get_constant (| + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE_MULTI", + Ty.apply + (Ty.path + "&") + [] + [ + Ty.apply + (Ty.path + "&") + [] + [ + Ty.apply + (Ty.path + "slice") + [] + [ + Ty.apply + (Ty.path + "array") + [ + Value.Integer + IntegerKind.Usize + 3 + ] + [ + Ty.path + "char" + ] + ] + ] + ] + |) |) |) |) @@ -7786,8 +8135,11 @@ Module unicode. |)) (BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::INDEX_MASK" + get_constant (| + "core::unicode::unicode_data::conversions::INDEX_MASK", + Ty.path + "u32" + |) |), Value.Integer IntegerKind.U32 @@ -7824,7 +8176,7 @@ Module unicode. end. Global Instance Instance_IsFunction_to_lower : - M.IsFunction.Trait "core::unicode::unicode_data::conversions::to_lower" to_lower. + M.IsFunction.C "core::unicode::unicode_data::conversions::to_lower" to_lower. Admitted. Global Typeclasses Opaque to_lower. @@ -7985,8 +8337,26 @@ Module unicode. M.read (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::UPPERCASE_TABLE" + get_constant (| + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ + Ty.tuple + [ Ty.path "char"; Ty.path "u32" ] + ] + ] + ] + |) |) |) |) @@ -8079,8 +8449,30 @@ Module unicode. M.read (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::UPPERCASE_TABLE" + get_constant (| + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ + Ty.tuple + [ + Ty.path + "char"; + Ty.path "u32" + ] + ] + ] + ] + |) |) |) |) @@ -8295,8 +8687,39 @@ Module unicode. M.read (| M.deref (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::UPPERCASE_TABLE_MULTI" + get_constant (| + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE_MULTI", + Ty.apply + (Ty.path + "&") + [] + [ + Ty.apply + (Ty.path + "&") + [] + [ + Ty.apply + (Ty.path + "slice") + [] + [ + Ty.apply + (Ty.path + "array") + [ + Value.Integer + IntegerKind.Usize + 3 + ] + [ + Ty.path + "char" + ] + ] + ] + ] + |) |) |) |) @@ -8311,8 +8734,11 @@ Module unicode. |)) (BinOp.Wrap.sub (| M.read (| - M.get_constant - "core::unicode::unicode_data::conversions::INDEX_MASK" + get_constant (| + "core::unicode::unicode_data::conversions::INDEX_MASK", + Ty.path + "u32" + |) |), Value.Integer IntegerKind.U32 @@ -8349,6308 +8775,5741 @@ Module unicode. end. Global Instance Instance_IsFunction_to_upper : - M.IsFunction.Trait "core::unicode::unicode_data::conversions::to_upper" to_upper. + M.IsFunction.C "core::unicode::unicode_data::conversions::to_upper" to_upper. Admitted. Global Typeclasses Opaque to_upper. - Definition value_LOWERCASE_TABLE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 7305; Value.Integer IntegerKind.U32 7306 ]; - 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 42955; Value.Integer IntegerKind.U32 612 ]; - Value.Tuple - [ Value.UnicodeChar 42956; Value.Integer IntegerKind.U32 42957 ]; - 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 42970; Value.Integer IntegerKind.U32 42971 ]; - Value.Tuple - [ Value.UnicodeChar 42972; Value.Integer IntegerKind.U32 411 ]; - 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 68944; Value.Integer IntegerKind.U32 68976 ]; - Value.Tuple - [ Value.UnicodeChar 68945; Value.Integer IntegerKind.U32 68977 ]; - Value.Tuple - [ Value.UnicodeChar 68946; Value.Integer IntegerKind.U32 68978 ]; - Value.Tuple - [ Value.UnicodeChar 68947; Value.Integer IntegerKind.U32 68979 ]; - Value.Tuple - [ Value.UnicodeChar 68948; Value.Integer IntegerKind.U32 68980 ]; - Value.Tuple - [ Value.UnicodeChar 68949; Value.Integer IntegerKind.U32 68981 ]; - Value.Tuple - [ Value.UnicodeChar 68950; Value.Integer IntegerKind.U32 68982 ]; - Value.Tuple - [ Value.UnicodeChar 68951; Value.Integer IntegerKind.U32 68983 ]; - Value.Tuple - [ Value.UnicodeChar 68952; Value.Integer IntegerKind.U32 68984 ]; - Value.Tuple - [ Value.UnicodeChar 68953; Value.Integer IntegerKind.U32 68985 ]; - Value.Tuple - [ Value.UnicodeChar 68954; Value.Integer IntegerKind.U32 68986 ]; - Value.Tuple - [ Value.UnicodeChar 68955; Value.Integer IntegerKind.U32 68987 ]; - Value.Tuple - [ Value.UnicodeChar 68956; Value.Integer IntegerKind.U32 68988 ]; - Value.Tuple - [ Value.UnicodeChar 68957; Value.Integer IntegerKind.U32 68989 ]; - Value.Tuple - [ Value.UnicodeChar 68958; Value.Integer IntegerKind.U32 68990 ]; - Value.Tuple - [ Value.UnicodeChar 68959; Value.Integer IntegerKind.U32 68991 ]; - Value.Tuple - [ Value.UnicodeChar 68960; Value.Integer IntegerKind.U32 68992 ]; - Value.Tuple - [ Value.UnicodeChar 68961; Value.Integer IntegerKind.U32 68993 ]; - Value.Tuple - [ Value.UnicodeChar 68962; Value.Integer IntegerKind.U32 68994 ]; - Value.Tuple - [ Value.UnicodeChar 68963; Value.Integer IntegerKind.U32 68995 ]; - Value.Tuple - [ Value.UnicodeChar 68964; Value.Integer IntegerKind.U32 68996 ]; - Value.Tuple - [ Value.UnicodeChar 68965; Value.Integer IntegerKind.U32 68997 ]; - 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 ] - ] - |) + Definition value_LOWERCASE_TABLE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 7305; Value.Integer IntegerKind.U32 7306 ]; + 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 42955; Value.Integer IntegerKind.U32 612 ]; + Value.Tuple + [ Value.UnicodeChar 42956; Value.Integer IntegerKind.U32 42957 ]; + 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 42970; Value.Integer IntegerKind.U32 42971 ]; + Value.Tuple + [ Value.UnicodeChar 42972; Value.Integer IntegerKind.U32 411 ]; + 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 68944; Value.Integer IntegerKind.U32 68976 ]; + Value.Tuple + [ Value.UnicodeChar 68945; Value.Integer IntegerKind.U32 68977 ]; + Value.Tuple + [ Value.UnicodeChar 68946; Value.Integer IntegerKind.U32 68978 ]; + Value.Tuple + [ Value.UnicodeChar 68947; Value.Integer IntegerKind.U32 68979 ]; + Value.Tuple + [ Value.UnicodeChar 68948; Value.Integer IntegerKind.U32 68980 ]; + Value.Tuple + [ Value.UnicodeChar 68949; Value.Integer IntegerKind.U32 68981 ]; + Value.Tuple + [ Value.UnicodeChar 68950; Value.Integer IntegerKind.U32 68982 ]; + Value.Tuple + [ Value.UnicodeChar 68951; Value.Integer IntegerKind.U32 68983 ]; + Value.Tuple + [ Value.UnicodeChar 68952; Value.Integer IntegerKind.U32 68984 ]; + Value.Tuple + [ Value.UnicodeChar 68953; Value.Integer IntegerKind.U32 68985 ]; + Value.Tuple + [ Value.UnicodeChar 68954; Value.Integer IntegerKind.U32 68986 ]; + Value.Tuple + [ Value.UnicodeChar 68955; Value.Integer IntegerKind.U32 68987 ]; + Value.Tuple + [ Value.UnicodeChar 68956; Value.Integer IntegerKind.U32 68988 ]; + Value.Tuple + [ Value.UnicodeChar 68957; Value.Integer IntegerKind.U32 68989 ]; + Value.Tuple + [ Value.UnicodeChar 68958; Value.Integer IntegerKind.U32 68990 ]; + Value.Tuple + [ Value.UnicodeChar 68959; Value.Integer IntegerKind.U32 68991 ]; + Value.Tuple + [ Value.UnicodeChar 68960; Value.Integer IntegerKind.U32 68992 ]; + Value.Tuple + [ Value.UnicodeChar 68961; Value.Integer IntegerKind.U32 68993 ]; + Value.Tuple + [ Value.UnicodeChar 68962; Value.Integer IntegerKind.U32 68994 ]; + Value.Tuple + [ Value.UnicodeChar 68963; Value.Integer IntegerKind.U32 68995 ]; + Value.Tuple + [ Value.UnicodeChar 68964; Value.Integer IntegerKind.U32 68996 ]; + Value.Tuple + [ Value.UnicodeChar 68965; Value.Integer IntegerKind.U32 68997 ]; + 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 ] + ] |) |) |) |) - |))). + |) + |))). - Axiom Constant_value_LOWERCASE_TABLE : - (M.get_constant "core::unicode::unicode_data::conversions::LOWERCASE_TABLE") = + Global Instance Instance_IsConstant_value_LOWERCASE_TABLE : + M.IsFunction.C + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE" value_LOWERCASE_TABLE. - Global Hint Rewrite Constant_value_LOWERCASE_TABLE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWERCASE_TABLE. - Definition value_LOWERCASE_TABLE_MULTI : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - Value.Array - [ Value.UnicodeChar 105; Value.UnicodeChar 775; Value.UnicodeChar 0 ] - ] - |) + Definition value_LOWERCASE_TABLE_MULTI + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + Value.Array + [ Value.UnicodeChar 105; Value.UnicodeChar 775; Value.UnicodeChar 0 ] + ] |) |) |) |) - |))). + |) + |))). - Axiom Constant_value_LOWERCASE_TABLE_MULTI : - (M.get_constant "core::unicode::unicode_data::conversions::LOWERCASE_TABLE_MULTI") = + Global Instance Instance_IsConstant_value_LOWERCASE_TABLE_MULTI : + M.IsFunction.C + "core::unicode::unicode_data::conversions::LOWERCASE_TABLE_MULTI" value_LOWERCASE_TABLE_MULTI. - Global Hint Rewrite Constant_value_LOWERCASE_TABLE_MULTI : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_LOWERCASE_TABLE_MULTI. - Definition value_UPPERCASE_TABLE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - 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 411; Value.Integer IntegerKind.U32 42972 ]; - 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 612; Value.Integer IntegerKind.U32 42955 ]; - 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 7306; Value.Integer IntegerKind.U32 7305 ]; - 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 42957; Value.Integer IntegerKind.U32 42956 ]; - 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 42971; Value.Integer IntegerKind.U32 42970 ]; - 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 68976; Value.Integer IntegerKind.U32 68944 ]; - Value.Tuple - [ Value.UnicodeChar 68977; Value.Integer IntegerKind.U32 68945 ]; - Value.Tuple - [ Value.UnicodeChar 68978; Value.Integer IntegerKind.U32 68946 ]; - Value.Tuple - [ Value.UnicodeChar 68979; Value.Integer IntegerKind.U32 68947 ]; - Value.Tuple - [ Value.UnicodeChar 68980; Value.Integer IntegerKind.U32 68948 ]; - Value.Tuple - [ Value.UnicodeChar 68981; Value.Integer IntegerKind.U32 68949 ]; - Value.Tuple - [ Value.UnicodeChar 68982; Value.Integer IntegerKind.U32 68950 ]; - Value.Tuple - [ Value.UnicodeChar 68983; Value.Integer IntegerKind.U32 68951 ]; - Value.Tuple - [ Value.UnicodeChar 68984; Value.Integer IntegerKind.U32 68952 ]; - Value.Tuple - [ Value.UnicodeChar 68985; Value.Integer IntegerKind.U32 68953 ]; - Value.Tuple - [ Value.UnicodeChar 68986; Value.Integer IntegerKind.U32 68954 ]; - Value.Tuple - [ Value.UnicodeChar 68987; Value.Integer IntegerKind.U32 68955 ]; - Value.Tuple - [ Value.UnicodeChar 68988; Value.Integer IntegerKind.U32 68956 ]; - Value.Tuple - [ Value.UnicodeChar 68989; Value.Integer IntegerKind.U32 68957 ]; - Value.Tuple - [ Value.UnicodeChar 68990; Value.Integer IntegerKind.U32 68958 ]; - Value.Tuple - [ Value.UnicodeChar 68991; Value.Integer IntegerKind.U32 68959 ]; - Value.Tuple - [ Value.UnicodeChar 68992; Value.Integer IntegerKind.U32 68960 ]; - Value.Tuple - [ Value.UnicodeChar 68993; Value.Integer IntegerKind.U32 68961 ]; - Value.Tuple - [ Value.UnicodeChar 68994; Value.Integer IntegerKind.U32 68962 ]; - Value.Tuple - [ Value.UnicodeChar 68995; Value.Integer IntegerKind.U32 68963 ]; - Value.Tuple - [ Value.UnicodeChar 68996; Value.Integer IntegerKind.U32 68964 ]; - Value.Tuple - [ Value.UnicodeChar 68997; Value.Integer IntegerKind.U32 68965 ]; - 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 ] - ] - |) + Definition value_UPPERCASE_TABLE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + 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 411; Value.Integer IntegerKind.U32 42972 ]; + 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 612; Value.Integer IntegerKind.U32 42955 ]; + 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 7306; Value.Integer IntegerKind.U32 7305 ]; + 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 42957; Value.Integer IntegerKind.U32 42956 ]; + 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 42971; Value.Integer IntegerKind.U32 42970 ]; + 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 68976; Value.Integer IntegerKind.U32 68944 ]; + Value.Tuple + [ Value.UnicodeChar 68977; Value.Integer IntegerKind.U32 68945 ]; + Value.Tuple + [ Value.UnicodeChar 68978; Value.Integer IntegerKind.U32 68946 ]; + Value.Tuple + [ Value.UnicodeChar 68979; Value.Integer IntegerKind.U32 68947 ]; + Value.Tuple + [ Value.UnicodeChar 68980; Value.Integer IntegerKind.U32 68948 ]; + Value.Tuple + [ Value.UnicodeChar 68981; Value.Integer IntegerKind.U32 68949 ]; + Value.Tuple + [ Value.UnicodeChar 68982; Value.Integer IntegerKind.U32 68950 ]; + Value.Tuple + [ Value.UnicodeChar 68983; Value.Integer IntegerKind.U32 68951 ]; + Value.Tuple + [ Value.UnicodeChar 68984; Value.Integer IntegerKind.U32 68952 ]; + Value.Tuple + [ Value.UnicodeChar 68985; Value.Integer IntegerKind.U32 68953 ]; + Value.Tuple + [ Value.UnicodeChar 68986; Value.Integer IntegerKind.U32 68954 ]; + Value.Tuple + [ Value.UnicodeChar 68987; Value.Integer IntegerKind.U32 68955 ]; + Value.Tuple + [ Value.UnicodeChar 68988; Value.Integer IntegerKind.U32 68956 ]; + Value.Tuple + [ Value.UnicodeChar 68989; Value.Integer IntegerKind.U32 68957 ]; + Value.Tuple + [ Value.UnicodeChar 68990; Value.Integer IntegerKind.U32 68958 ]; + Value.Tuple + [ Value.UnicodeChar 68991; Value.Integer IntegerKind.U32 68959 ]; + Value.Tuple + [ Value.UnicodeChar 68992; Value.Integer IntegerKind.U32 68960 ]; + Value.Tuple + [ Value.UnicodeChar 68993; Value.Integer IntegerKind.U32 68961 ]; + Value.Tuple + [ Value.UnicodeChar 68994; Value.Integer IntegerKind.U32 68962 ]; + Value.Tuple + [ Value.UnicodeChar 68995; Value.Integer IntegerKind.U32 68963 ]; + Value.Tuple + [ Value.UnicodeChar 68996; Value.Integer IntegerKind.U32 68964 ]; + Value.Tuple + [ Value.UnicodeChar 68997; Value.Integer IntegerKind.U32 68965 ]; + 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 ] + ] |) |) |) |) - |))). + |) + |))). - Axiom Constant_value_UPPERCASE_TABLE : - (M.get_constant "core::unicode::unicode_data::conversions::UPPERCASE_TABLE") = + Global Instance Instance_IsConstant_value_UPPERCASE_TABLE : + M.IsFunction.C + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE" value_UPPERCASE_TABLE. - Global Hint Rewrite Constant_value_UPPERCASE_TABLE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_UPPERCASE_TABLE. - Definition value_UPPERCASE_TABLE_MULTI : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - Value.Array - [ Value.UnicodeChar 83; Value.UnicodeChar 83; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 700; Value.UnicodeChar 78; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 74; Value.UnicodeChar 780; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 769 - ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 769 - ]; - Value.Array - [ Value.UnicodeChar 1333; Value.UnicodeChar 1362; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 72; Value.UnicodeChar 817; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 84; Value.UnicodeChar 776; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 87; Value.UnicodeChar 778; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 89; Value.UnicodeChar 778; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 65; Value.UnicodeChar 702; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 768 - ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 769 - ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 834 - ]; - Value.Array - [ Value.UnicodeChar 7944; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7945; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7946; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7947; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7948; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7949; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7950; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7951; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7944; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7945; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7946; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7947; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7948; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7949; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7950; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7951; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7976; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7977; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7978; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7979; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7980; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7981; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7982; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7983; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7976; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7977; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7978; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7979; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7980; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7981; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7982; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 7983; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8040; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8041; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8042; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8043; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8044; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8045; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8046; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8047; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8040; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8041; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8042; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8043; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8044; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8045; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8046; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8047; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 8122; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 913; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 902; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 913; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 913; Value.UnicodeChar 834; Value.UnicodeChar 921 - ]; - Value.Array - [ Value.UnicodeChar 913; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 8138; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 919; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 905; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 919; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 919; Value.UnicodeChar 834; Value.UnicodeChar 921 - ]; - Value.Array - [ Value.UnicodeChar 919; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 768 - ]; - Value.Array - [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 769 - ]; - Value.Array - [ Value.UnicodeChar 921; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 834 - ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 768 - ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 769 - ]; - Value.Array - [ Value.UnicodeChar 929; Value.UnicodeChar 787; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 834 - ]; - Value.Array - [ Value.UnicodeChar 8186; Value.UnicodeChar 921; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 937; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 911; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 937; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 937; Value.UnicodeChar 834; Value.UnicodeChar 921 - ]; - Value.Array - [ Value.UnicodeChar 937; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 70; Value.UnicodeChar 70; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 70; Value.UnicodeChar 73; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 70; Value.UnicodeChar 76; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 70; Value.UnicodeChar 70; Value.UnicodeChar 73 ]; - Value.Array - [ Value.UnicodeChar 70; Value.UnicodeChar 70; Value.UnicodeChar 76 ]; - Value.Array - [ Value.UnicodeChar 83; Value.UnicodeChar 84; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 83; Value.UnicodeChar 84; Value.UnicodeChar 0 ]; - Value.Array - [ Value.UnicodeChar 1348; Value.UnicodeChar 1350; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 1348; Value.UnicodeChar 1333; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 1348; Value.UnicodeChar 1339; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 1358; Value.UnicodeChar 1350; Value.UnicodeChar 0 - ]; - Value.Array - [ Value.UnicodeChar 1348; Value.UnicodeChar 1341; Value.UnicodeChar 0 - ] - ] - |) + Definition value_UPPERCASE_TABLE_MULTI + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + Value.Array + [ Value.UnicodeChar 83; Value.UnicodeChar 83; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 700; Value.UnicodeChar 78; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 74; Value.UnicodeChar 780; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 769 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 769 ]; + Value.Array + [ Value.UnicodeChar 1333; Value.UnicodeChar 1362; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 72; Value.UnicodeChar 817; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 84; Value.UnicodeChar 776; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 87; Value.UnicodeChar 778; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 89; Value.UnicodeChar 778; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 65; Value.UnicodeChar 702; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 768 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 769 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 787; Value.UnicodeChar 834 ]; + Value.Array + [ Value.UnicodeChar 7944; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7945; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7946; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7947; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7948; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7949; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7950; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7951; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7944; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7945; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7946; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7947; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7948; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7949; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7950; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7951; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7976; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7977; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7978; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7979; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7980; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7981; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7982; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7983; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7976; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7977; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7978; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7979; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7980; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7981; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7982; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 7983; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8040; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8041; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8042; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8043; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8044; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8045; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8046; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8047; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8040; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8041; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8042; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8043; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8044; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8045; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8046; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8047; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8122; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 913; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 902; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 913; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 913; Value.UnicodeChar 834; Value.UnicodeChar 921 ]; + Value.Array + [ Value.UnicodeChar 913; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 8138; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 919; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 905; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 919; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 919; Value.UnicodeChar 834; Value.UnicodeChar 921 ]; + Value.Array + [ Value.UnicodeChar 919; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 768 ]; + Value.Array + [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 769 ]; + Value.Array + [ Value.UnicodeChar 921; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 921; Value.UnicodeChar 776; Value.UnicodeChar 834 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 768 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 769 ]; + Value.Array + [ Value.UnicodeChar 929; Value.UnicodeChar 787; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 933; Value.UnicodeChar 776; Value.UnicodeChar 834 ]; + Value.Array + [ Value.UnicodeChar 8186; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 937; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 911; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 937; Value.UnicodeChar 834; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 937; Value.UnicodeChar 834; Value.UnicodeChar 921 ]; + Value.Array + [ Value.UnicodeChar 937; Value.UnicodeChar 921; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 70; Value.UnicodeChar 70; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 70; Value.UnicodeChar 73; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 70; Value.UnicodeChar 76; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 70; Value.UnicodeChar 70; Value.UnicodeChar 73 ]; + Value.Array + [ Value.UnicodeChar 70; Value.UnicodeChar 70; Value.UnicodeChar 76 ]; + Value.Array + [ Value.UnicodeChar 83; Value.UnicodeChar 84; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 83; Value.UnicodeChar 84; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 1348; Value.UnicodeChar 1350; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 1348; Value.UnicodeChar 1333; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 1348; Value.UnicodeChar 1339; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 1358; Value.UnicodeChar 1350; Value.UnicodeChar 0 ]; + Value.Array + [ Value.UnicodeChar 1348; Value.UnicodeChar 1341; Value.UnicodeChar 0 ] + ] |) |) |) |) - |))). + |) + |))). - Axiom Constant_value_UPPERCASE_TABLE_MULTI : - (M.get_constant "core::unicode::unicode_data::conversions::UPPERCASE_TABLE_MULTI") = + Global Instance Instance_IsConstant_value_UPPERCASE_TABLE_MULTI : + M.IsFunction.C + "core::unicode::unicode_data::conversions::UPPERCASE_TABLE_MULTI" value_UPPERCASE_TABLE_MULTI. - Global Hint Rewrite Constant_value_UPPERCASE_TABLE_MULTI : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_UPPERCASE_TABLE_MULTI. End conversions. End unicode_data. End unicode. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/add_one.v b/CoqOfRust/examples/axiomatized/examples/custom/add_one.v index 2941a1814..3c73e9ca2 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/add_one.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/add_one.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter add_one : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_add_one : M.IsFunction.Trait "add_one::add_one" add_one. +Global Instance Instance_IsFunction_add_one : M.IsFunction.C "add_one::add_one" add_one. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/constructor_as_function.v b/CoqOfRust/examples/axiomatized/examples/custom/constructor_as_function.v index b61df0e99..add61480b 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/constructor_as_function.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/constructor_as_function.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter matching : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_matching : - M.IsFunction.Trait "constructor_as_function::matching" matching. + M.IsFunction.C "constructor_as_function::matching" matching. Admitted. (* StructTuple @@ -31,5 +31,5 @@ End Impl_core_fmt_Debug_for_constructor_as_function_Constructor. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "constructor_as_function::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "constructor_as_function::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/hello_world.v b/CoqOfRust/examples/axiomatized/examples/custom/hello_world.v index db5342f45..3f32283fc 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/hello_world.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/hello_world.v @@ -1,12 +1,12 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter message : Value.t. +Parameter message : PolymorphicFunction.t. -Axiom Constant_message : (M.get_constant "hello_world::message") = message. -Global Hint Rewrite Constant_message : constant_rewrites. +Global Instance Instance_IsConstant_message : M.IsFunction.C "hello_world::message" message. +Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hello_world::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hello_world::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/impl_param.v b/CoqOfRust/examples/axiomatized/examples/custom/impl_param.v index 52cfa9a80..c9ce1a4a0 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/impl_param.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/impl_param.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter with_impls : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_with_impls : - M.IsFunction.Trait "impl_param::with_impls" with_impls. +Global Instance Instance_IsFunction_with_impls : M.IsFunction.C "impl_param::with_impls" with_impls. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/module_duplicate.v b/CoqOfRust/examples/axiomatized/examples/custom/module_duplicate.v index b62ae81e6..26ab36a2b 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/module_duplicate.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/module_duplicate.v @@ -6,18 +6,17 @@ Module foo. Parameter f_foo_gre : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_f_foo_gre : - M.IsFunction.Trait "module_duplicate::foo::gre::f_foo_gre" f_foo_gre. + M.IsFunction.C "module_duplicate::foo::gre::f_foo_gre" f_foo_gre. Admitted. End gre. Parameter f_foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_f_foo : - M.IsFunction.Trait "module_duplicate::foo::f_foo" f_foo. + Global Instance Instance_IsFunction_f_foo : M.IsFunction.C "module_duplicate::foo::f_foo" f_foo. Admitted. End foo. Parameter f : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_f : M.IsFunction.Trait "module_duplicate::f" f. +Global Instance Instance_IsFunction_f : M.IsFunction.C "module_duplicate::f" f. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/mutual_loop.v b/CoqOfRust/examples/axiomatized/examples/custom/mutual_loop.v index b4b25638d..13eb3acbb 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/mutual_loop.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/mutual_loop.v @@ -14,13 +14,13 @@ Module Impl_mutual_loop_LoopA. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter start_loop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_start_loop : - M.IsAssociatedFunction.Trait Self "start_loop" start_loop. + M.IsAssociatedFunction.C Self "start_loop" start_loop. Admitted. End Impl_mutual_loop_LoopA. @@ -47,12 +47,12 @@ Module Impl_mutual_loop_LoopB. Parameter start_loop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_start_loop : - M.IsAssociatedFunction.Trait Self "start_loop" start_loop. + M.IsAssociatedFunction.C Self "start_loop" start_loop. Admitted. End Impl_mutual_loop_LoopB. Parameter start_loop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_start_loop : - M.IsFunction.Trait "mutual_loop::start_loop" start_loop. + M.IsFunction.C "mutual_loop::start_loop" start_loop. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/pattern_in_function_parameters.v b/CoqOfRust/examples/axiomatized/examples/custom/pattern_in_function_parameters.v index a2c1b75bf..e4e81f5c4 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/pattern_in_function_parameters.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/pattern_in_function_parameters.v @@ -3,12 +3,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter sum : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_sum : - M.IsFunction.Trait "pattern_in_function_parameters::sum" sum. +Global Instance Instance_IsFunction_sum : M.IsFunction.C "pattern_in_function_parameters::sum" sum. Admitted. Parameter steps_between : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_steps_between : - M.IsFunction.Trait "pattern_in_function_parameters::steps_between" steps_between. + M.IsFunction.C "pattern_in_function_parameters::steps_between" steps_between. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_associated_function.v b/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_associated_function.v index 2c1b6bdc1..b62af1d62 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_associated_function.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_associated_function.v @@ -17,12 +17,12 @@ Module Impl_polymorphic_associated_function_Foo_A. Global Instance AssociatedFunction_convert : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "convert" (convert A). + M.IsAssociatedFunction.C (Self A) "convert" (convert A). Admitted. End Impl_polymorphic_associated_function_Foo_A. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "polymorphic_associated_function::main" main. + M.IsFunction.C "polymorphic_associated_function::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_constants.v b/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_constants.v index 545062ed0..8b6ee674e 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_constants.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/polymorphic_constants.v @@ -19,11 +19,11 @@ Module Impl_polymorphic_constants_Foo_N_A. Global Instance AssociatedFunction_convert : forall (N : Value.t) (A : Ty.t), - M.IsAssociatedFunction.Trait (Self N A) "convert" (convert N A). + M.IsAssociatedFunction.C (Self N A) "convert" (convert N A). Admitted. End Impl_polymorphic_constants_Foo_N_A. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "polymorphic_constants::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "polymorphic_constants::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/custom/provided_method.v b/CoqOfRust/examples/axiomatized/examples/custom/provided_method.v index 31afb0edd..ff55441be 100644 --- a/CoqOfRust/examples/axiomatized/examples/custom/provided_method.v +++ b/CoqOfRust/examples/axiomatized/examples/custom/provided_method.v @@ -42,5 +42,5 @@ End Impl_provided_method_ProvidedAndRequired_for_u32. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "provided_method::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "provided_method::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/basic_contract_caller.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/basic_contract_caller.v index 23d237268..8be41cbac 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/basic_contract_caller.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/basic_contract_caller.v @@ -76,17 +76,17 @@ Module Impl_basic_contract_caller_OtherContract. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. End Impl_basic_contract_caller_OtherContract. @@ -103,12 +103,12 @@ Module Impl_basic_contract_caller_BasicContractCaller. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter flip_and_get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_flip_and_get : - M.IsAssociatedFunction.Trait Self "flip_and_get" flip_and_get. + M.IsAssociatedFunction.C Self "flip_and_get" flip_and_get. Admitted. End Impl_basic_contract_caller_BasicContractCaller. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/call_runtime.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/call_runtime.v index 201a267fa..1175912b7 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/call_runtime.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/call_runtime.v @@ -271,7 +271,7 @@ Module Impl_call_runtime_Env. Parameter call_runtime : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_call_runtime : - M.IsAssociatedFunction.Trait Self "call_runtime" call_runtime. + M.IsAssociatedFunction.C Self "call_runtime" call_runtime. Admitted. End Impl_call_runtime_Env. @@ -280,29 +280,28 @@ Module Impl_call_runtime_RuntimeCaller. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter transfer_through_runtime : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_through_runtime : - M.IsAssociatedFunction.Trait Self "transfer_through_runtime" transfer_through_runtime. + M.IsAssociatedFunction.C Self "transfer_through_runtime" transfer_through_runtime. Admitted. Parameter call_nonexistent_extrinsic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_call_nonexistent_extrinsic : - M.IsAssociatedFunction.Trait Self "call_nonexistent_extrinsic" call_nonexistent_extrinsic. + M.IsAssociatedFunction.C Self "call_nonexistent_extrinsic" call_nonexistent_extrinsic. Admitted. End Impl_call_runtime_RuntimeCaller. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/conditional_compilation.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/conditional_compilation.v index 35820d1e1..356d5e221 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/conditional_compilation.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/conditional_compilation.v @@ -114,19 +114,19 @@ Module Impl_conditional_compilation_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Parameter block_number : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_block_number : - M.IsAssociatedFunction.Trait Self "block_number" block_number. + M.IsAssociatedFunction.C Self "block_number" block_number. Admitted. End Impl_conditional_compilation_Env. @@ -143,46 +143,45 @@ Module Impl_conditional_compilation_ConditionalCompilation. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter new_foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new_foo : M.IsAssociatedFunction.Trait Self "new_foo" new_foo. + Global Instance AssociatedFunction_new_foo : M.IsAssociatedFunction.C Self "new_foo" new_foo. Admitted. Parameter new_bar : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new_bar : M.IsAssociatedFunction.Trait Self "new_bar" new_bar. + Global Instance AssociatedFunction_new_bar : M.IsAssociatedFunction.C Self "new_bar" new_bar. Admitted. Parameter new_foo_bar : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_foo_bar : - M.IsAssociatedFunction.Trait Self "new_foo_bar" new_foo_bar. + M.IsAssociatedFunction.C Self "new_foo_bar" new_foo_bar. Admitted. Parameter inherent_flip_foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_inherent_flip_foo : - M.IsAssociatedFunction.Trait Self "inherent_flip_foo" inherent_flip_foo. + M.IsAssociatedFunction.C Self "inherent_flip_foo" inherent_flip_foo. Admitted. Parameter inherent_flip_bar : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_inherent_flip_bar : - M.IsAssociatedFunction.Trait Self "inherent_flip_bar" inherent_flip_bar. + M.IsAssociatedFunction.C Self "inherent_flip_bar" inherent_flip_bar. Admitted. End Impl_conditional_compilation_ConditionalCompilation. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_terminate.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_terminate.v index 1568bcbbc..76a34e07f 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_terminate.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_terminate.v @@ -62,13 +62,13 @@ Module Impl_contract_terminate_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter terminate_contract : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_terminate_contract : - M.IsAssociatedFunction.Trait Self "terminate_contract" terminate_contract. + M.IsAssociatedFunction.C Self "terminate_contract" terminate_contract. Admitted. End Impl_contract_terminate_Env. @@ -85,23 +85,22 @@ Module Impl_contract_terminate_JustTerminate. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter terminate_me : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_terminate_me : - M.IsAssociatedFunction.Trait Self "terminate_me" terminate_me. + M.IsAssociatedFunction.C Self "terminate_me" terminate_me. Admitted. End Impl_contract_terminate_JustTerminate. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_transfer.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_transfer.v index ec7e95173..5c8a65460 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_transfer.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/contract_transfer.v @@ -64,24 +64,23 @@ Module Impl_contract_transfer_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.Trait Self "balance" balance. + Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.C Self "balance" balance. Admitted. Parameter transfer : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Parameter transferred_value : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transferred_value : - M.IsAssociatedFunction.Trait Self "transferred_value" transferred_value. + M.IsAssociatedFunction.C Self "transferred_value" transferred_value. Admitted. End Impl_contract_transfer_Env. @@ -98,28 +97,27 @@ Module Impl_contract_transfer_GiveMe. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter give_me : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_give_me : M.IsAssociatedFunction.Trait Self "give_me" give_me. + Global Instance AssociatedFunction_give_me : M.IsAssociatedFunction.C Self "give_me" give_me. Admitted. Parameter was_it_ten : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_was_it_ten : - M.IsAssociatedFunction.Trait Self "was_it_ten" was_it_ten. + M.IsAssociatedFunction.C Self "was_it_ten" was_it_ten. Admitted. End Impl_contract_transfer_GiveMe. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_allocator.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_allocator.v index aa47eaf6c..91243026d 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_allocator.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_allocator.v @@ -21,21 +21,21 @@ Module Impl_custom_allocator_CustomAllocator. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_default : M.IsAssociatedFunction.Trait Self "default" default. + Global Instance AssociatedFunction_default : M.IsAssociatedFunction.C Self "default" default. Admitted. Parameter flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. End Impl_custom_allocator_CustomAllocator. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_environment.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_environment.v index 531affe1c..e83012c2a 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_environment.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/custom_environment.v @@ -133,13 +133,13 @@ Module Impl_custom_environment_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_custom_environment_Env. @@ -148,22 +148,21 @@ Module Impl_custom_environment_Topics. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter trigger : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_trigger : M.IsAssociatedFunction.Trait Self "trigger" trigger. + Global Instance AssociatedFunction_trigger : M.IsAssociatedFunction.C Self "trigger" trigger. Admitted. End Impl_custom_environment_Topics. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/dns.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/dns.v index 21b42ffc6..5e2257a35 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/dns.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/dns.v @@ -35,49 +35,49 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Parameter get : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Parameter new : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Parameter remove : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Parameter size : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Parameter take : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. End Impl_dns_Mapping_K_V. @@ -259,13 +259,13 @@ Module Impl_dns_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_dns_Env. @@ -298,8 +298,7 @@ End Impl_dns_Env. Parameter zero_address : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_zero_address : - M.IsFunction.Trait "dns::zero_address" zero_address. +Global Instance Instance_IsFunction_zero_address : M.IsFunction.C "dns::zero_address" zero_address. Admitted. Module Impl_core_default_Default_for_dns_DomainNameService. @@ -389,59 +388,56 @@ Module Impl_dns_DomainNameService. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter register : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_register : - M.IsAssociatedFunction.Trait Self "register" register. + Global Instance AssociatedFunction_register : M.IsAssociatedFunction.C Self "register" register. Admitted. Parameter get_owner_or_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_owner_or_default : - M.IsAssociatedFunction.Trait Self "get_owner_or_default" get_owner_or_default. + M.IsAssociatedFunction.C Self "get_owner_or_default" get_owner_or_default. Admitted. Parameter set_address : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_set_address : - M.IsAssociatedFunction.Trait Self "set_address" set_address. + M.IsAssociatedFunction.C Self "set_address" set_address. Admitted. Parameter transfer : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Parameter get_address_or_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_address_or_default : - M.IsAssociatedFunction.Trait Self "get_address_or_default" get_address_or_default. + M.IsAssociatedFunction.C Self "get_address_or_default" get_address_or_default. Admitted. Parameter get_address : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_address : - M.IsAssociatedFunction.Trait Self "get_address" get_address. + M.IsAssociatedFunction.C Self "get_address" get_address. Admitted. Parameter get_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_owner : - M.IsAssociatedFunction.Trait Self "get_owner" get_owner. + M.IsAssociatedFunction.C Self "get_owner" get_owner. Admitted. End Impl_dns_DomainNameService. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/e2e_call_runtime.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/e2e_call_runtime.v index 730f6f8f9..983b5770a 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/e2e_call_runtime.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/e2e_call_runtime.v @@ -64,7 +64,7 @@ Module Impl_e2e_call_runtime_Env. Parameter balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.Trait Self "balance" balance. + Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.C Self "balance" balance. Admitted. End Impl_e2e_call_runtime_Env. @@ -95,23 +95,22 @@ Module Impl_e2e_call_runtime_Contract. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter get_contract_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_contract_balance : - M.IsAssociatedFunction.Trait Self "get_contract_balance" get_contract_balance. + M.IsAssociatedFunction.C Self "get_contract_balance" get_contract_balance. Admitted. End Impl_e2e_call_runtime_Contract. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc1155.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc1155.v index d43c37161..3e2b21a37 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc1155.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc1155.v @@ -35,42 +35,42 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Parameter get : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Parameter remove : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Parameter size : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Parameter take : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. End Impl_erc1155_Mapping_K_V. @@ -176,21 +176,22 @@ Axiom Balance : (Ty.path "erc1155::Balance") = (Ty.path "u128"). Parameter zero_address : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_zero_address : - M.IsFunction.Trait "erc1155::zero_address" zero_address. + M.IsFunction.C "erc1155::zero_address" zero_address. Admitted. -Parameter value_ON_ERC_1155_RECEIVED_SELECTOR : Value.t. +Parameter value_ON_ERC_1155_RECEIVED_SELECTOR : PolymorphicFunction.t. -Axiom Constant_value_ON_ERC_1155_RECEIVED_SELECTOR : - (M.get_constant "erc1155::ON_ERC_1155_RECEIVED_SELECTOR") = value_ON_ERC_1155_RECEIVED_SELECTOR. -Global Hint Rewrite Constant_value_ON_ERC_1155_RECEIVED_SELECTOR : constant_rewrites. +Global Instance Instance_IsConstant_value_ON_ERC_1155_RECEIVED_SELECTOR : + M.IsFunction.C "erc1155::ON_ERC_1155_RECEIVED_SELECTOR" value_ON_ERC_1155_RECEIVED_SELECTOR. +Admitted. -Parameter _ON_ERC_1155_BATCH_RECEIVED_SELECTOR : Value.t. +Parameter _ON_ERC_1155_BATCH_RECEIVED_SELECTOR : PolymorphicFunction.t. -Axiom Constant__ON_ERC_1155_BATCH_RECEIVED_SELECTOR : - (M.get_constant "erc1155::_ON_ERC_1155_BATCH_RECEIVED_SELECTOR") = +Global Instance Instance_IsConstant__ON_ERC_1155_BATCH_RECEIVED_SELECTOR : + M.IsFunction.C + "erc1155::_ON_ERC_1155_BATCH_RECEIVED_SELECTOR" _ON_ERC_1155_BATCH_RECEIVED_SELECTOR. -Global Hint Rewrite Constant__ON_ERC_1155_BATCH_RECEIVED_SELECTOR : constant_rewrites. +Admitted. Axiom TokenId : (Ty.path "erc1155::TokenId") = (Ty.path "u128"). @@ -363,13 +364,13 @@ Module Impl_erc1155_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_erc1155_Env. @@ -414,40 +415,39 @@ Module Impl_erc1155_Contract. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter create : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_create : M.IsAssociatedFunction.Trait Self "create" create. + Global Instance AssociatedFunction_create : M.IsAssociatedFunction.C Self "create" create. Admitted. Parameter mint : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.Trait Self "mint" mint. + Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.C Self "mint" mint. Admitted. Parameter perform_transfer : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_perform_transfer : - M.IsAssociatedFunction.Trait Self "perform_transfer" perform_transfer. + M.IsAssociatedFunction.C Self "perform_transfer" perform_transfer. Admitted. Parameter transfer_acceptance_check : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_acceptance_check : - M.IsAssociatedFunction.Trait Self "transfer_acceptance_check" transfer_acceptance_check. + M.IsAssociatedFunction.C Self "transfer_acceptance_check" transfer_acceptance_check. Admitted. End Impl_erc1155_Contract. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc20.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc20.v index c72a31fcb..1d16d1e83 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc20.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc20.v @@ -35,14 +35,14 @@ Module Impl_erc20_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. End Impl_erc20_Mapping_K_V. @@ -218,13 +218,13 @@ Module Impl_erc20_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_erc20_Env. @@ -233,70 +233,68 @@ Module Impl_erc20_Erc20. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter total_supply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_total_supply : - M.IsAssociatedFunction.Trait Self "total_supply" total_supply. + M.IsAssociatedFunction.C Self "total_supply" total_supply. Admitted. Parameter balance_of_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_balance_of_impl : - M.IsAssociatedFunction.Trait Self "balance_of_impl" balance_of_impl. + M.IsAssociatedFunction.C Self "balance_of_impl" balance_of_impl. Admitted. Parameter balance_of : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_balance_of : - M.IsAssociatedFunction.Trait Self "balance_of" balance_of. + M.IsAssociatedFunction.C Self "balance_of" balance_of. Admitted. Parameter allowance_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_allowance_impl : - M.IsAssociatedFunction.Trait Self "allowance_impl" allowance_impl. + M.IsAssociatedFunction.C Self "allowance_impl" allowance_impl. Admitted. Parameter allowance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_allowance : - M.IsAssociatedFunction.Trait Self "allowance" allowance. + M.IsAssociatedFunction.C Self "allowance" allowance. Admitted. Parameter transfer_from_to : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_from_to : - M.IsAssociatedFunction.Trait Self "transfer_from_to" transfer_from_to. + M.IsAssociatedFunction.C Self "transfer_from_to" transfer_from_to. Admitted. Parameter transfer : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Parameter approve : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.Trait Self "approve" approve. + Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.C Self "approve" approve. Admitted. Parameter transfer_from : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_from : - M.IsAssociatedFunction.Trait Self "transfer_from" transfer_from. + M.IsAssociatedFunction.C Self "transfer_from" transfer_from. Admitted. End Impl_erc20_Erc20. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc721.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc721.v index 8e225b28d..ce4af4415 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc721.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/erc721.v @@ -35,42 +35,42 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Parameter get : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Parameter remove : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Parameter size : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Parameter take : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. End Impl_erc721_Mapping_K_V. @@ -395,13 +395,13 @@ Module Impl_erc721_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_erc721_Env. @@ -410,133 +410,130 @@ Module Impl_erc721_Erc721. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter balance_of_or_zero : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_balance_of_or_zero : - M.IsAssociatedFunction.Trait Self "balance_of_or_zero" balance_of_or_zero. + M.IsAssociatedFunction.C Self "balance_of_or_zero" balance_of_or_zero. Admitted. Parameter clear_approval : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_clear_approval : - M.IsAssociatedFunction.Trait Self "clear_approval" clear_approval. + M.IsAssociatedFunction.C Self "clear_approval" clear_approval. Admitted. Parameter approved_for_all : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_approved_for_all : - M.IsAssociatedFunction.Trait Self "approved_for_all" approved_for_all. + M.IsAssociatedFunction.C Self "approved_for_all" approved_for_all. Admitted. Parameter owner_of : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_owner_of : - M.IsAssociatedFunction.Trait Self "owner_of" owner_of. + Global Instance AssociatedFunction_owner_of : M.IsAssociatedFunction.C Self "owner_of" owner_of. Admitted. Parameter approved_or_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_approved_or_owner : - M.IsAssociatedFunction.Trait Self "approved_or_owner" approved_or_owner. + M.IsAssociatedFunction.C Self "approved_or_owner" approved_or_owner. Admitted. Parameter exists_ : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_exists_ : M.IsAssociatedFunction.Trait Self "exists_" exists_. + Global Instance AssociatedFunction_exists_ : M.IsAssociatedFunction.C Self "exists" exists_. Admitted. Parameter balance_of : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_balance_of : - M.IsAssociatedFunction.Trait Self "balance_of" balance_of. + M.IsAssociatedFunction.C Self "balance_of" balance_of. Admitted. Parameter get_approved : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_approved : - M.IsAssociatedFunction.Trait Self "get_approved" get_approved. + M.IsAssociatedFunction.C Self "get_approved" get_approved. Admitted. Parameter is_approved_for_all : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_is_approved_for_all : - M.IsAssociatedFunction.Trait Self "is_approved_for_all" is_approved_for_all. + M.IsAssociatedFunction.C Self "is_approved_for_all" is_approved_for_all. Admitted. Parameter approve_for_all : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_approve_for_all : - M.IsAssociatedFunction.Trait Self "approve_for_all" approve_for_all. + M.IsAssociatedFunction.C Self "approve_for_all" approve_for_all. Admitted. Parameter set_approval_for_all : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_set_approval_for_all : - M.IsAssociatedFunction.Trait Self "set_approval_for_all" set_approval_for_all. + M.IsAssociatedFunction.C Self "set_approval_for_all" set_approval_for_all. Admitted. Parameter approve_for : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_approve_for : - M.IsAssociatedFunction.Trait Self "approve_for" approve_for. + M.IsAssociatedFunction.C Self "approve_for" approve_for. Admitted. Parameter approve : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.Trait Self "approve" approve. + Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.C Self "approve" approve. Admitted. Parameter remove_token_from : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove_token_from : - M.IsAssociatedFunction.Trait Self "remove_token_from" remove_token_from. + M.IsAssociatedFunction.C Self "remove_token_from" remove_token_from. Admitted. Parameter add_token_to : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_add_token_to : - M.IsAssociatedFunction.Trait Self "add_token_to" add_token_to. + M.IsAssociatedFunction.C Self "add_token_to" add_token_to. Admitted. Parameter transfer_token_from : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_token_from : - M.IsAssociatedFunction.Trait Self "transfer_token_from" transfer_token_from. + M.IsAssociatedFunction.C Self "transfer_token_from" transfer_token_from. Admitted. Parameter transfer : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Parameter transfer_from : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_from : - M.IsAssociatedFunction.Trait Self "transfer_from" transfer_from. + M.IsAssociatedFunction.C Self "transfer_from" transfer_from. Admitted. Parameter mint : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.Trait Self "mint" mint. + Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.C Self "mint" mint. Admitted. Parameter burn : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_burn : M.IsAssociatedFunction.Trait Self "burn" burn. + Global Instance AssociatedFunction_burn : M.IsAssociatedFunction.C Self "burn" burn. Admitted. End Impl_erc721_Erc721. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/flipper.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/flipper.v index 8f07572f5..e71fe68ab 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/flipper.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/flipper.v @@ -14,22 +14,22 @@ Module Impl_flipper_Flipper. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter new_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Parameter flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. End Impl_flipper_Flipper. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/incrementer.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/incrementer.v index 286cdb049..94b9fc34b 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/incrementer.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/incrementer.v @@ -14,22 +14,22 @@ Module Impl_incrementer_Incrementer. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter new_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Parameter inc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.Trait Self "inc" inc. + Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.C Self "inc" inc. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. End Impl_incrementer_Incrementer. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder.v index 2ffa622d5..d005761d0 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder.v @@ -92,7 +92,7 @@ Module Impl_call_builder_Selector. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. End Impl_call_builder_Selector. @@ -123,28 +123,28 @@ Module Impl_call_builder_CallBuilderTest. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter call : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_call : M.IsAssociatedFunction.Trait Self "call" call. + Global Instance AssociatedFunction_call : M.IsAssociatedFunction.C Self "call" call. Admitted. Parameter invoke : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.Trait Self "invoke" invoke. + Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.C Self "invoke" invoke. Admitted. Parameter call_instantiate : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_call_instantiate : - M.IsAssociatedFunction.Trait Self "call_instantiate" call_instantiate. + M.IsAssociatedFunction.C Self "call_instantiate" call_instantiate. Admitted. Parameter call_instantiate_fallible : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_call_instantiate_fallible : - M.IsAssociatedFunction.Trait Self "call_instantiate_fallible" call_instantiate_fallible. + M.IsAssociatedFunction.C Self "call_instantiate_fallible" call_instantiate_fallible. Admitted. End Impl_call_builder_CallBuilderTest. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v index db88d4205..e150bab3c 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/call_builder_delegate.v @@ -50,17 +50,16 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter delegate : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_delegate : - M.IsAssociatedFunction.Trait Self "delegate" delegate. + Global Instance AssociatedFunction_delegate : M.IsAssociatedFunction.C Self "delegate" delegate. Admitted. Parameter invoke : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.Trait Self "invoke" invoke. + Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.C Self "invoke" invoke. Admitted. End Impl_call_builder_delegate_CallBuilderDelegateTest. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v index bdf2dd101..1d9daeffe 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/constructors_return_value.v @@ -136,14 +136,14 @@ Module Impl_constructors_return_value_ReturnFlags. Parameter new_with_reverted : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_with_reverted : - M.IsAssociatedFunction.Trait Self "new_with_reverted" new_with_reverted. + M.IsAssociatedFunction.C Self "new_with_reverted" new_with_reverted. Admitted. End Impl_constructors_return_value_ReturnFlags. Parameter return_value : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_return_value : - M.IsFunction.Trait "constructors_return_value::return_value" return_value. + M.IsFunction.C "constructors_return_value::return_value" return_value. Admitted. Module Impl_constructors_return_value_ConstructorsReturnValue. @@ -151,29 +151,29 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter try_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Parameter revert_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_revert_new : - M.IsAssociatedFunction.Trait Self "revert_new" revert_new. + M.IsAssociatedFunction.C Self "revert_new" revert_new. Admitted. Parameter try_revert_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_try_revert_new : - M.IsAssociatedFunction.Trait Self "try_revert_new" try_revert_new. + M.IsAssociatedFunction.C Self "try_revert_new" try_revert_new. Admitted. Parameter get_value : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_value : - M.IsAssociatedFunction.Trait Self "get_value" get_value. + M.IsAssociatedFunction.C Self "get_value" get_value. Admitted. End Impl_constructors_return_value_ConstructorsReturnValue. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/contract_ref.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/contract_ref.v index 70cd89f01..94072d722 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/contract_ref.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/contract_ref.v @@ -98,39 +98,38 @@ Module Impl_contract_ref_FlipperRef. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter new_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Parameter try_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Parameter flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. End Impl_contract_ref_FlipperRef. @@ -147,21 +146,21 @@ Module Impl_contract_ref_ContractRef. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter try_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Parameter flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. End Impl_contract_ref_ContractRef. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v index d07e22028..a58f7c04b 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/lang_err_integration_tests/integration_flipper.v @@ -36,33 +36,32 @@ Module Impl_integration_flipper_Flipper. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter new_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Parameter try_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Parameter flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Parameter err_flip : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_err_flip : - M.IsAssociatedFunction.Trait Self "err_flip" err_flip. + Global Instance AssociatedFunction_err_flip : M.IsAssociatedFunction.C Self "err_flip" err_flip. Admitted. End Impl_integration_flipper_Flipper. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/mapping_integration_tests.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/mapping_integration_tests.v index dc53e20a5..855a4d0c4 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/mapping_integration_tests.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/mapping_integration_tests.v @@ -37,49 +37,49 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Parameter get : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Parameter new : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Parameter remove : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Parameter size : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Parameter take : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. End Impl_mapping_integration_tests_Mapping_K_V. @@ -146,7 +146,7 @@ Module Impl_mapping_integration_tests_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. End Impl_mapping_integration_tests_Env. @@ -184,53 +184,52 @@ Module Impl_mapping_integration_tests_Mappings. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter get_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_balance : - M.IsAssociatedFunction.Trait Self "get_balance" get_balance. + M.IsAssociatedFunction.C Self "get_balance" get_balance. Admitted. Parameter insert_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert_balance : - M.IsAssociatedFunction.Trait Self "insert_balance" insert_balance. + M.IsAssociatedFunction.C Self "insert_balance" insert_balance. Admitted. Parameter size_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_size_balance : - M.IsAssociatedFunction.Trait Self "size_balance" size_balance. + M.IsAssociatedFunction.C Self "size_balance" size_balance. Admitted. Parameter contains_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_contains_balance : - M.IsAssociatedFunction.Trait Self "contains_balance" contains_balance. + M.IsAssociatedFunction.C Self "contains_balance" contains_balance. Admitted. Parameter remove_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove_balance : - M.IsAssociatedFunction.Trait Self "remove_balance" remove_balance. + M.IsAssociatedFunction.C Self "remove_balance" remove_balance. Admitted. Parameter take_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take_balance : - M.IsAssociatedFunction.Trait Self "take_balance" take_balance. + M.IsAssociatedFunction.C Self "take_balance" take_balance. Admitted. End Impl_mapping_integration_tests_Mappings. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/mother.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/mother.v index 400c8ec65..1992df620 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/mother.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/mother.v @@ -35,14 +35,14 @@ Module Impl_mother_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. End Impl_mother_Mapping_K_V. @@ -603,13 +603,13 @@ Module Impl_mother_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_mother_Env. @@ -645,47 +645,46 @@ Module Impl_mother_Mother. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter new_default : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Parameter failed_new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_failed_new : - M.IsAssociatedFunction.Trait Self "failed_new" failed_new. + M.IsAssociatedFunction.C Self "failed_new" failed_new. Admitted. Parameter echo_auction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_echo_auction : - M.IsAssociatedFunction.Trait Self "echo_auction" echo_auction. + M.IsAssociatedFunction.C Self "echo_auction" echo_auction. Admitted. Parameter revert_or_trap : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_revert_or_trap : - M.IsAssociatedFunction.Trait Self "revert_or_trap" revert_or_trap. + M.IsAssociatedFunction.C Self "revert_or_trap" revert_or_trap. Admitted. Parameter debug_log : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_debug_log : - M.IsAssociatedFunction.Trait Self "debug_log" debug_log. + M.IsAssociatedFunction.C Self "debug_log" debug_log. Admitted. End Impl_mother_Mother. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/multisig.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/multisig.v index 691b226e7..c849ef54b 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/multisig.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/multisig.v @@ -35,42 +35,42 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Parameter get : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Parameter remove : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Parameter size : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Parameter take : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. End Impl_multisig_Mapping_K_V. @@ -215,18 +215,19 @@ Axiom Balance : (Ty.path "multisig::Balance") = (Ty.path "u128"). fields := [ ("caller", Ty.path "multisig::AccountId") ]; } *) -Parameter value_MAX_OWNERS : Value.t. +Parameter value_MAX_OWNERS : PolymorphicFunction.t. -Axiom Constant_value_MAX_OWNERS : (M.get_constant "multisig::MAX_OWNERS") = value_MAX_OWNERS. -Global Hint Rewrite Constant_value_MAX_OWNERS : constant_rewrites. +Global Instance Instance_IsConstant_value_MAX_OWNERS : + M.IsFunction.C "multisig::MAX_OWNERS" value_MAX_OWNERS. +Admitted. Axiom TransactionId : (Ty.path "multisig::TransactionId") = (Ty.path "u32"). -Parameter value_WRONG_TRANSACTION_ID : Value.t. +Parameter value_WRONG_TRANSACTION_ID : PolymorphicFunction.t. -Axiom Constant_value_WRONG_TRANSACTION_ID : - (M.get_constant "multisig::WRONG_TRANSACTION_ID") = value_WRONG_TRANSACTION_ID. -Global Hint Rewrite Constant_value_WRONG_TRANSACTION_ID : constant_rewrites. +Global Instance Instance_IsConstant_value_WRONG_TRANSACTION_ID : + M.IsFunction.C "multisig::WRONG_TRANSACTION_ID" value_WRONG_TRANSACTION_ID. +Admitted. (* StructTuple { @@ -579,25 +580,25 @@ Module Impl_multisig_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Parameter transferred_value : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transferred_value : - M.IsAssociatedFunction.Trait Self "transferred_value" transferred_value. + M.IsAssociatedFunction.C Self "transferred_value" transferred_value. Admitted. Parameter account_id : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_account_id : - M.IsAssociatedFunction.Trait Self "account_id" account_id. + M.IsAssociatedFunction.C Self "account_id" account_id. Admitted. End Impl_multisig_Env. @@ -649,7 +650,7 @@ End Impl_core_default_Default_for_multisig_Multisig. Parameter ensure_requirement_is_valid : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_ensure_requirement_is_valid : - M.IsFunction.Trait "multisig::ensure_requirement_is_valid" ensure_requirement_is_valid. + M.IsFunction.C "multisig::ensure_requirement_is_valid" ensure_requirement_is_valid. Admitted. Module Impl_multisig_Multisig. @@ -657,137 +658,136 @@ Module Impl_multisig_Multisig. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter ensure_confirmed : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_ensure_confirmed : - M.IsAssociatedFunction.Trait Self "ensure_confirmed" ensure_confirmed. + M.IsAssociatedFunction.C Self "ensure_confirmed" ensure_confirmed. Admitted. Parameter ensure_transaction_exists : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_ensure_transaction_exists : - M.IsAssociatedFunction.Trait Self "ensure_transaction_exists" ensure_transaction_exists. + M.IsAssociatedFunction.C Self "ensure_transaction_exists" ensure_transaction_exists. Admitted. Parameter ensure_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_ensure_owner : - M.IsAssociatedFunction.Trait Self "ensure_owner" ensure_owner. + M.IsAssociatedFunction.C Self "ensure_owner" ensure_owner. Admitted. Parameter ensure_caller_is_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_ensure_caller_is_owner : - M.IsAssociatedFunction.Trait Self "ensure_caller_is_owner" ensure_caller_is_owner. + M.IsAssociatedFunction.C Self "ensure_caller_is_owner" ensure_caller_is_owner. Admitted. Parameter ensure_from_wallet : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_ensure_from_wallet : - M.IsAssociatedFunction.Trait Self "ensure_from_wallet" ensure_from_wallet. + M.IsAssociatedFunction.C Self "ensure_from_wallet" ensure_from_wallet. Admitted. Parameter ensure_no_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_ensure_no_owner : - M.IsAssociatedFunction.Trait Self "ensure_no_owner" ensure_no_owner. + M.IsAssociatedFunction.C Self "ensure_no_owner" ensure_no_owner. Admitted. Parameter add_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_add_owner : - M.IsAssociatedFunction.Trait Self "add_owner" add_owner. + M.IsAssociatedFunction.C Self "add_owner" add_owner. Admitted. Parameter owner_index : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_owner_index : - M.IsAssociatedFunction.Trait Self "owner_index" owner_index. + M.IsAssociatedFunction.C Self "owner_index" owner_index. Admitted. Parameter clean_owner_confirmations : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_clean_owner_confirmations : - M.IsAssociatedFunction.Trait Self "clean_owner_confirmations" clean_owner_confirmations. + M.IsAssociatedFunction.C Self "clean_owner_confirmations" clean_owner_confirmations. Admitted. Parameter remove_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_remove_owner : - M.IsAssociatedFunction.Trait Self "remove_owner" remove_owner. + M.IsAssociatedFunction.C Self "remove_owner" remove_owner. Admitted. Parameter replace_owner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_replace_owner : - M.IsAssociatedFunction.Trait Self "replace_owner" replace_owner. + M.IsAssociatedFunction.C Self "replace_owner" replace_owner. Admitted. Parameter change_requirement : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_change_requirement : - M.IsAssociatedFunction.Trait Self "change_requirement" change_requirement. + M.IsAssociatedFunction.C Self "change_requirement" change_requirement. Admitted. Parameter confirm_by_caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_confirm_by_caller : - M.IsAssociatedFunction.Trait Self "confirm_by_caller" confirm_by_caller. + M.IsAssociatedFunction.C Self "confirm_by_caller" confirm_by_caller. Admitted. Parameter submit_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_submit_transaction : - M.IsAssociatedFunction.Trait Self "submit_transaction" submit_transaction. + M.IsAssociatedFunction.C Self "submit_transaction" submit_transaction. Admitted. Parameter take_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_take_transaction : - M.IsAssociatedFunction.Trait Self "take_transaction" take_transaction. + M.IsAssociatedFunction.C Self "take_transaction" take_transaction. Admitted. Parameter cancel_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_cancel_transaction : - M.IsAssociatedFunction.Trait Self "cancel_transaction" cancel_transaction. + M.IsAssociatedFunction.C Self "cancel_transaction" cancel_transaction. Admitted. Parameter confirm_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_confirm_transaction : - M.IsAssociatedFunction.Trait Self "confirm_transaction" confirm_transaction. + M.IsAssociatedFunction.C Self "confirm_transaction" confirm_transaction. Admitted. Parameter revoke_confirmation : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_revoke_confirmation : - M.IsAssociatedFunction.Trait Self "revoke_confirmation" revoke_confirmation. + M.IsAssociatedFunction.C Self "revoke_confirmation" revoke_confirmation. Admitted. Parameter invoke_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_invoke_transaction : - M.IsAssociatedFunction.Trait Self "invoke_transaction" invoke_transaction. + M.IsAssociatedFunction.C Self "invoke_transaction" invoke_transaction. Admitted. Parameter eval_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_eval_transaction : - M.IsAssociatedFunction.Trait Self "eval_transaction" eval_transaction. + M.IsAssociatedFunction.C Self "eval_transaction" eval_transaction. Admitted. End Impl_multisig_Multisig. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/payment_channel.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/payment_channel.v index 1fd574afe..0b8829a95 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/payment_channel.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/payment_channel.v @@ -257,42 +257,41 @@ Module Impl_payment_channel_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Parameter terminate_contract : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_terminate_contract : - M.IsAssociatedFunction.Trait Self "terminate_contract" terminate_contract. + M.IsAssociatedFunction.C Self "terminate_contract" terminate_contract. Admitted. Parameter transfer : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Parameter block_timestamp : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_block_timestamp : - M.IsAssociatedFunction.Trait Self "block_timestamp" block_timestamp. + M.IsAssociatedFunction.C Self "block_timestamp" block_timestamp. Admitted. Parameter balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.Trait Self "balance" balance. + Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.C Self "balance" balance. Admitted. Parameter account_id : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_account_id : - M.IsAssociatedFunction.Trait Self "account_id" account_id. + M.IsAssociatedFunction.C Self "account_id" account_id. Admitted. End Impl_payment_channel_Env. @@ -305,13 +304,13 @@ End Impl_payment_channel_Env. Parameter hash_encoded : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_hash_encoded : - M.IsFunction.Trait "payment_channel::hash_encoded" hash_encoded. + M.IsFunction.C "payment_channel::hash_encoded" hash_encoded. Admitted. Parameter ecdsa_recover : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_ecdsa_recover : - M.IsFunction.Trait "payment_channel::ecdsa_recover" ecdsa_recover. + M.IsFunction.C "payment_channel::ecdsa_recover" ecdsa_recover. Admitted. (* @@ -475,88 +474,86 @@ Module Impl_payment_channel_PaymentChannel. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter is_signature_valid : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_is_signature_valid : - M.IsAssociatedFunction.Trait Self "is_signature_valid" is_signature_valid. + M.IsAssociatedFunction.C Self "is_signature_valid" is_signature_valid. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter close_inner : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_close_inner : - M.IsAssociatedFunction.Trait Self "close_inner" close_inner. + M.IsAssociatedFunction.C Self "close_inner" close_inner. Admitted. Parameter close : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_close : M.IsAssociatedFunction.Trait Self "close" close. + Global Instance AssociatedFunction_close : M.IsAssociatedFunction.C Self "close" close. Admitted. Parameter start_sender_close : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_start_sender_close : - M.IsAssociatedFunction.Trait Self "start_sender_close" start_sender_close. + M.IsAssociatedFunction.C Self "start_sender_close" start_sender_close. Admitted. Parameter claim_timeout : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_claim_timeout : - M.IsAssociatedFunction.Trait Self "claim_timeout" claim_timeout. + M.IsAssociatedFunction.C Self "claim_timeout" claim_timeout. Admitted. Parameter withdraw : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_withdraw : - M.IsAssociatedFunction.Trait Self "withdraw" withdraw. + Global Instance AssociatedFunction_withdraw : M.IsAssociatedFunction.C Self "withdraw" withdraw. Admitted. Parameter get_sender : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_sender : - M.IsAssociatedFunction.Trait Self "get_sender" get_sender. + M.IsAssociatedFunction.C Self "get_sender" get_sender. Admitted. Parameter get_recipient : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_recipient : - M.IsAssociatedFunction.Trait Self "get_recipient" get_recipient. + M.IsAssociatedFunction.C Self "get_recipient" get_recipient. Admitted. Parameter get_expiration : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_expiration : - M.IsAssociatedFunction.Trait Self "get_expiration" get_expiration. + M.IsAssociatedFunction.C Self "get_expiration" get_expiration. Admitted. Parameter get_withdrawn : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_withdrawn : - M.IsAssociatedFunction.Trait Self "get_withdrawn" get_withdrawn. + M.IsAssociatedFunction.C Self "get_withdrawn" get_withdrawn. Admitted. Parameter get_close_duration : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_close_duration : - M.IsAssociatedFunction.Trait Self "get_close_duration" get_close_duration. + M.IsAssociatedFunction.C Self "get_close_duration" get_close_duration. Admitted. Parameter get_balance : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_get_balance : - M.IsAssociatedFunction.Trait Self "get_balance" get_balance. + M.IsAssociatedFunction.C Self "get_balance" get_balance. Admitted. End Impl_payment_channel_PaymentChannel. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash.v index c77f544fa..ab7482f3f 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash.v @@ -14,7 +14,7 @@ Enum Error Parameter set_code_hash : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_set_code_hash : - M.IsFunction.Trait "set_code_hash::set_code_hash" set_code_hash. + M.IsFunction.C "set_code_hash::set_code_hash" set_code_hash. Admitted. (* StructRecord @@ -44,22 +44,21 @@ Module Impl_set_code_hash_Incrementer. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter inc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.Trait Self "inc" inc. + Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.C Self "inc" inc. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Parameter set_code : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_set_code : - M.IsAssociatedFunction.Trait Self "set_code" set_code. + Global Instance AssociatedFunction_set_code : M.IsAssociatedFunction.C Self "set_code" set_code. Admitted. End Impl_set_code_hash_Incrementer. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash/updated_incrementer.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash/updated_incrementer.v index 2a6f0c92b..ea6420df9 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash/updated_incrementer.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/set_code_hash/updated_incrementer.v @@ -77,7 +77,7 @@ Module Impl_updated_incrementer_Env. Parameter set_code_hash : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_set_code_hash : - M.IsAssociatedFunction.Trait Self "set_code_hash" set_code_hash. + M.IsAssociatedFunction.C Self "set_code_hash" set_code_hash. Admitted. End Impl_updated_incrementer_Env. @@ -94,33 +94,31 @@ Module Impl_updated_incrementer_Incrementer. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter inc : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.Trait Self "inc" inc. + Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.C Self "inc" inc. Admitted. Parameter get : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Parameter set_code : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_set_code : - M.IsAssociatedFunction.Trait Self "set_code" set_code. + Global Instance AssociatedFunction_set_code : M.IsAssociatedFunction.C Self "set_code" set_code. Admitted. End Impl_updated_incrementer_Incrementer. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_erc20.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_erc20.v index 26ba87108..103d8074a 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_erc20.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_erc20.v @@ -35,14 +35,14 @@ Module Impl_trait_erc20_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Parameter insert : forall (K V : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. End Impl_trait_erc20_Mapping_K_V. @@ -282,13 +282,13 @@ Module Impl_trait_erc20_Env. Parameter caller : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Parameter emit_event : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. End Impl_trait_erc20_Env. @@ -297,36 +297,35 @@ Module Impl_trait_erc20_Erc20. Parameter init_env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Parameter env : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter balance_of_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_balance_of_impl : - M.IsAssociatedFunction.Trait Self "balance_of_impl" balance_of_impl. + M.IsAssociatedFunction.C Self "balance_of_impl" balance_of_impl. Admitted. Parameter allowance_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_allowance_impl : - M.IsAssociatedFunction.Trait Self "allowance_impl" allowance_impl. + M.IsAssociatedFunction.C Self "allowance_impl" allowance_impl. Admitted. Parameter transfer_from_to : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_from_to : - M.IsAssociatedFunction.Trait Self "transfer_from_to" transfer_from_to. + M.IsAssociatedFunction.C Self "transfer_from_to" transfer_from_to. Admitted. End Impl_trait_erc20_Erc20. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_flipper.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_flipper.v index e7c6f76da..346efd1be 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_flipper.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_flipper.v @@ -17,7 +17,7 @@ Module Impl_trait_flipper_Flipper. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. End Impl_trait_flipper_Flipper. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_incrementer.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_incrementer.v index fb69dc2e1..b7719a708 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_incrementer.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/trait_incrementer.v @@ -20,12 +20,12 @@ Module Impl_trait_incrementer_Incrementer. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter inc_by : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_inc_by : M.IsAssociatedFunction.Trait Self "inc_by" inc_by. + Global Instance AssociatedFunction_inc_by : M.IsAssociatedFunction.C Self "inc_by" inc_by. Admitted. End Impl_trait_incrementer_Incrementer. diff --git a/CoqOfRust/examples/axiomatized/examples/ink_contracts/wildcard_selector.v b/CoqOfRust/examples/axiomatized/examples/ink_contracts/wildcard_selector.v index 2575be054..37d057aa5 100644 --- a/CoqOfRust/examples/axiomatized/examples/ink_contracts/wildcard_selector.v +++ b/CoqOfRust/examples/axiomatized/examples/ink_contracts/wildcard_selector.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter decode_input : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_decode_input : - M.IsFunction.Trait "wildcard_selector::decode_input" decode_input. + M.IsFunction.C "wildcard_selector::decode_input" decode_input. Admitted. (* StructTuple @@ -20,18 +20,17 @@ Module Impl_wildcard_selector_WildcardSelector. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter wildcard : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_wildcard : - M.IsAssociatedFunction.Trait Self "wildcard" wildcard. + Global Instance AssociatedFunction_wildcard : M.IsAssociatedFunction.C Self "wildcard" wildcard. Admitted. Parameter wildcard_complement : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_wildcard_complement : - M.IsAssociatedFunction.Trait Self "wildcard_complement" wildcard_complement. + M.IsAssociatedFunction.C Self "wildcard_complement" wildcard_complement. Admitted. End Impl_wildcard_selector_WildcardSelector. diff --git a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example01.v b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example01.v index cdb4734d5..bb2bf823b 100644 --- a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example01.v +++ b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example01.v @@ -3,15 +3,15 @@ Require Import CoqOfRust.CoqOfRust. Parameter id : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_id : M.IsFunction.Trait "example01::id" id. +Global Instance Instance_IsFunction_id : M.IsFunction.C "example01::id" id. Admitted. Parameter tri : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_tri : M.IsFunction.Trait "example01::tri" tri. +Global Instance Instance_IsFunction_tri : M.IsFunction.C "example01::tri" tri. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example01::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example01::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example02.v b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example02.v index d9ee01fdb..a493fb3e5 100644 --- a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example02.v +++ b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example02.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example02::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example02::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example03.v b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example03.v index d55248899..e184c2624 100644 --- a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example03.v +++ b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example03.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example03::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example03::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example04.v b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example04.v index ec7b5428c..80b9d545e 100644 --- a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example04.v +++ b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example04.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example04::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example04::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example05.v b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example05.v index 165ca0d5b..e50df7406 100644 --- a/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example05.v +++ b/CoqOfRust/examples/axiomatized/examples/monadic_transformation/example05.v @@ -14,11 +14,11 @@ Module Impl_example05_Foo. Parameter plus1 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_plus1 : M.IsAssociatedFunction.Trait Self "plus1" plus1. + Global Instance AssociatedFunction_plus1 : M.IsAssociatedFunction.C Self "plus1" plus1. Admitted. End Impl_example05_Foo. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example05::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example05::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/attributes/dead_code.v b/CoqOfRust/examples/axiomatized/examples/rust_book/attributes/dead_code.v index 20db7c73d..10fa2dd61 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/attributes/dead_code.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/attributes/dead_code.v @@ -4,22 +4,22 @@ Require Import CoqOfRust.CoqOfRust. Parameter used_function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_used_function : - M.IsFunction.Trait "dead_code::used_function" used_function. + M.IsFunction.C "dead_code::used_function" used_function. Admitted. Parameter unused_function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_unused_function : - M.IsFunction.Trait "dead_code::unused_function" unused_function. + M.IsFunction.C "dead_code::unused_function" unused_function. Admitted. Parameter noisy_unused_function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_noisy_unused_function : - M.IsFunction.Trait "dead_code::noisy_unused_function" noisy_unused_function. + M.IsFunction.C "dead_code::noisy_unused_function" noisy_unused_function. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "dead_code::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "dead_code::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/cargo/concurrent_tests.v b/CoqOfRust/examples/axiomatized/examples/rust_book/cargo/concurrent_tests.v index 419c962d6..e3ffd8d09 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/cargo/concurrent_tests.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/cargo/concurrent_tests.v @@ -3,19 +3,19 @@ Require Import CoqOfRust.CoqOfRust. Parameter foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "concurrent_tests::foo" foo. +Global Instance Instance_IsFunction_foo : M.IsFunction.C "concurrent_tests::foo" foo. Admitted. Module tests. Parameter test_file : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_test_file : - M.IsFunction.Trait "concurrent_tests::tests::test_file'1" test_file. + M.IsFunction.C "concurrent_tests::tests::test_file'1" test_file. Admitted. Parameter test_file_also : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_test_file_also : - M.IsFunction.Trait "concurrent_tests::tests::test_file_also'1" test_file_also. + M.IsFunction.C "concurrent_tests::tests::test_file_also'1" test_file_also. Admitted. End tests. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/converting_to_string.v b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/converting_to_string.v index 2d2f97910..cd0a97b83 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/converting_to_string.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/converting_to_string.v @@ -25,5 +25,5 @@ End Impl_core_fmt_Display_for_converting_to_string_Circle. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "converting_to_string::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "converting_to_string::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/from.v b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/from.v index d2730bde0..2c76c5f32 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/from.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/from.v @@ -25,5 +25,5 @@ End Impl_core_convert_From_i32_for_from_Number. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "from::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "from::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/into.v b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/into.v index 1350f6bd5..7adf4a71b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/into.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/into.v @@ -25,5 +25,5 @@ End Impl_core_convert_From_i32_for_into_Number. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "into::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "into::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/parsing_a_string.v b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/parsing_a_string.v index b419cf099..15b24e62d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/parsing_a_string.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/parsing_a_string.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "parsing_a_string::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "parsing_a_string::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/try_from_and_try_into.v b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/try_from_and_try_into.v index c18ee3363..62b28be0d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/try_from_and_try_into.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/conversion/try_from_and_try_into.v @@ -68,5 +68,5 @@ End Impl_core_convert_TryFrom_i32_for_try_from_and_try_into_EvenNumber. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "try_from_and_try_into::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "try_from_and_try_into::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/constants.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/constants.v index aa3a2ba2a..9a4238320 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/constants.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/constants.v @@ -1,22 +1,24 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter value_LANGUAGE : Value.t. +Parameter value_LANGUAGE : PolymorphicFunction.t. -Axiom Constant_value_LANGUAGE : (M.get_constant "constants::LANGUAGE") = value_LANGUAGE. -Global Hint Rewrite Constant_value_LANGUAGE : constant_rewrites. +Global Instance Instance_IsConstant_value_LANGUAGE : + M.IsFunction.C "constants::LANGUAGE" value_LANGUAGE. +Admitted. -Parameter value_THRESHOLD : Value.t. +Parameter value_THRESHOLD : PolymorphicFunction.t. -Axiom Constant_value_THRESHOLD : (M.get_constant "constants::THRESHOLD") = value_THRESHOLD. -Global Hint Rewrite Constant_value_THRESHOLD : constant_rewrites. +Global Instance Instance_IsConstant_value_THRESHOLD : + M.IsFunction.C "constants::THRESHOLD" value_THRESHOLD. +Admitted. Parameter is_big : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_is_big : M.IsFunction.Trait "constants::is_big" is_big. +Global Instance Instance_IsFunction_is_big : M.IsFunction.C "constants::is_big" is_big. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "constants::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "constants::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums.v index 454fc1841..f98e42d1b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums.v @@ -40,10 +40,10 @@ Axiom IsDiscriminant_WebEvent_Click : M.IsDiscriminant "enums::WebEvent::Click" Parameter inspect : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_inspect : M.IsFunction.Trait "enums::inspect" inspect. +Global Instance Instance_IsFunction_inspect : M.IsFunction.C "enums::inspect" inspect. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_c_like.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_c_like.v index 3f1ffd484..06669451e 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_c_like.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_c_like.v @@ -57,5 +57,5 @@ Axiom IsDiscriminant_Color_Blue : M.IsDiscriminant "enums_c_like::Color::Blue" 2 Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums_c_like::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_c_like::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_testcase_linked_list.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_testcase_linked_list.v index 2666c9c9b..6ddea2694 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_testcase_linked_list.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_testcase_linked_list.v @@ -36,28 +36,27 @@ Module Impl_enums_testcase_linked_list_List. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Parameter prepend : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_prepend : M.IsAssociatedFunction.Trait Self "prepend" prepend. + Global Instance AssociatedFunction_prepend : M.IsAssociatedFunction.C Self "prepend" prepend. Admitted. Parameter len : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Parameter stringify : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_stringify : - M.IsAssociatedFunction.Trait Self "stringify" stringify. + M.IsAssociatedFunction.C Self "stringify" stringify. Admitted. End Impl_enums_testcase_linked_list_List. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "enums_testcase_linked_list::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_testcase_linked_list::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v1.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v1.v index e3957a334..c08c9fc49 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v1.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v1.v @@ -31,5 +31,5 @@ Axiom Operations : Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums_type_aliases_v1::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_type_aliases_v1::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v2.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v2.v index 1e16d0921..5d1e9aa1f 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v2.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_type_aliases_v2.v @@ -30,6 +30,6 @@ Module Impl_enums_type_aliases_v2_VeryVerboseEnumOfThingsToDoWithNumbers. Parameter run : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_run : M.IsAssociatedFunction.Trait Self "run" run. + Global Instance AssociatedFunction_run : M.IsAssociatedFunction.C Self "run" run. Admitted. End Impl_enums_type_aliases_v2_VeryVerboseEnumOfThingsToDoWithNumbers. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_use.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_use.v index 75a20f7f4..aceebece7 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_use.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/enums_use.v @@ -47,5 +47,5 @@ Axiom IsDiscriminant_Work_Soldier : M.IsDiscriminant "enums_use::Work::Soldier" Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums_use::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_use::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/structures.v b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/structures.v index 9a82ef98c..fc9a413b6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/structures.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/custom_types/structures.v @@ -58,5 +58,5 @@ End Impl_core_fmt_Debug_for_structures_Person. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "structures::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "structures::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/aliases_for_result.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/aliases_for_result.v index 3fd701dbb..9aad5e891 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/aliases_for_result.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/aliases_for_result.v @@ -9,15 +9,15 @@ Axiom AliasedResult : Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "aliases_for_result::multiply" multiply. + M.IsFunction.C "aliases_for_result::multiply" multiply. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "aliases_for_result::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "aliases_for_result::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "aliases_for_result::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "aliases_for_result::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/boxing_errors.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/boxing_errors.v index 7a5d89821..61f8b40e4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/boxing_errors.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/boxing_errors.v @@ -80,15 +80,15 @@ End Impl_core_error_Error_for_boxing_errors_EmptyVec. Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "boxing_errors::double_first" double_first. + M.IsFunction.C "boxing_errors::double_first" double_first. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "boxing_errors::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "boxing_errors::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "boxing_errors::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "boxing_errors::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_and_then.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_and_then.v index 0fb21b02c..bff99452d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_and_then.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_and_then.v @@ -86,33 +86,33 @@ End Impl_core_fmt_Debug_for_combinators_and_then_Day. Parameter have_ingredients : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_have_ingredients : - M.IsFunction.Trait "combinators_and_then::have_ingredients" have_ingredients. + M.IsFunction.C "combinators_and_then::have_ingredients" have_ingredients. Admitted. Parameter have_recipe : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_have_recipe : - M.IsFunction.Trait "combinators_and_then::have_recipe" have_recipe. + M.IsFunction.C "combinators_and_then::have_recipe" have_recipe. Admitted. Parameter cookable_v1 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_cookable_v1 : - M.IsFunction.Trait "combinators_and_then::cookable_v1" cookable_v1. + M.IsFunction.C "combinators_and_then::cookable_v1" cookable_v1. Admitted. Parameter cookable_v2 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_cookable_v2 : - M.IsFunction.Trait "combinators_and_then::cookable_v2" cookable_v2. + M.IsFunction.C "combinators_and_then::cookable_v2" cookable_v2. Admitted. Parameter eat : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_eat : M.IsFunction.Trait "combinators_and_then::eat" eat. +Global Instance Instance_IsFunction_eat : M.IsFunction.C "combinators_and_then::eat" eat. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "combinators_and_then::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "combinators_and_then::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_map.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_map.v index 1836947b6..a1f9d8ed6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_map.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/combinators_map.v @@ -110,30 +110,30 @@ End Impl_core_fmt_Debug_for_combinators_map_Cooked. Parameter peel : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_peel : M.IsFunction.Trait "combinators_map::peel" peel. +Global Instance Instance_IsFunction_peel : M.IsFunction.C "combinators_map::peel" peel. Admitted. Parameter chop : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_chop : M.IsFunction.Trait "combinators_map::chop" chop. +Global Instance Instance_IsFunction_chop : M.IsFunction.C "combinators_map::chop" chop. Admitted. Parameter cook : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_cook : M.IsFunction.Trait "combinators_map::cook" cook. +Global Instance Instance_IsFunction_cook : M.IsFunction.C "combinators_map::cook" cook. Admitted. Parameter process : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_process : M.IsFunction.Trait "combinators_map::process" process. +Global Instance Instance_IsFunction_process : M.IsFunction.C "combinators_map::process" process. Admitted. Parameter eat : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_eat : M.IsFunction.Trait "combinators_map::eat" eat. +Global Instance Instance_IsFunction_eat : M.IsFunction.C "combinators_map::eat" eat. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "combinators_map::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "combinators_map::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/defining_an_error_type.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/defining_an_error_type.v index 363848ac5..b15b5fe41 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/defining_an_error_type.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/defining_an_error_type.v @@ -62,16 +62,15 @@ End Impl_core_fmt_Display_for_defining_an_error_type_DoubleError. Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "defining_an_error_type::double_first" double_first. + M.IsFunction.C "defining_an_error_type::double_first" double_first. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "defining_an_error_type::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "defining_an_error_type::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "defining_an_error_type::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "defining_an_error_type::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/early_returns.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/early_returns.v index 3f67d3b0a..bba6ab3fb 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/early_returns.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/early_returns.v @@ -3,16 +3,15 @@ Require Import CoqOfRust.CoqOfRust. Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "early_returns::multiply" multiply. +Global Instance Instance_IsFunction_multiply : M.IsFunction.C "early_returns::multiply" multiply. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "early_returns::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "early_returns::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "early_returns::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "early_returns::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark.v index 288a77571..56a3a5dc2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark.v @@ -4,17 +4,15 @@ Require Import CoqOfRust.CoqOfRust. Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "introducing_question_mark::multiply" multiply. + M.IsFunction.C "introducing_question_mark::multiply" multiply. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "introducing_question_mark::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "introducing_question_mark::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "introducing_question_mark::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "introducing_question_mark::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v index c3ddf5d0a..cc64ecb57 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/introducing_question_mark_is_an_replacement_for_deprecated_try.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait + M.IsFunction.C "introducing_question_mark_is_an_replacement_for_deprecated_try::multiply" multiply. Admitted. @@ -12,11 +12,11 @@ Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "introducing_question_mark_is_an_replacement_for_deprecated_try::print" print. + M.IsFunction.C "introducing_question_mark_is_an_replacement_for_deprecated_try::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "introducing_question_mark_is_an_replacement_for_deprecated_try::main" main. + M.IsFunction.C "introducing_question_mark_is_an_replacement_for_deprecated_try::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v index 4d5892f82..7464c9ac4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait + M.IsFunction.C "iterating_over_results_collect_valid_values_and_failures_via_partition::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v index 0f2169dda..d5f1907a6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait + M.IsFunction.C "iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v index 3965b4eea..3f5525966 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_collect_via_map_err_and_filter_map.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_collect_via_map_err_and_filter_map::main" main. + M.IsFunction.C "iterating_over_results_collect_via_map_err_and_filter_map::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v index 3fc12b9c9..be3bdda0b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_fail_entire_operation_via_collect.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_fail_entire_operation_via_collect::main" main. + M.IsFunction.C "iterating_over_results_fail_entire_operation_via_collect::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_failed.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_failed.v index b66b424e1..20fab09d6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_failed.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_failed.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_failed::main" main. + M.IsFunction.C "iterating_over_results_failed::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v index 2aa4c982d..b524fc5af 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/iterating_over_results_handle_via_filter_map.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_handle_via_filter_map::main" main. + M.IsFunction.C "iterating_over_results_handle_via_filter_map::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_combinators.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_combinators.v index 7493d6386..09cc8fbac 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_combinators.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_combinators.v @@ -4,17 +4,17 @@ Require Import CoqOfRust.CoqOfRust. Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "map_in_result_via_combinators::multiply" multiply. + M.IsFunction.C "map_in_result_via_combinators::multiply" multiply. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "map_in_result_via_combinators::print" print. + M.IsFunction.C "map_in_result_via_combinators::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "map_in_result_via_combinators::main" main. + M.IsFunction.C "map_in_result_via_combinators::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_match.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_match.v index 424759938..d094effb6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_match.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/map_in_result_via_match.v @@ -4,16 +4,15 @@ Require Import CoqOfRust.CoqOfRust. Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "map_in_result_via_match::multiply" multiply. + M.IsFunction.C "map_in_result_via_match::multiply" multiply. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "map_in_result_via_match::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "map_in_result_via_match::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "map_in_result_via_match::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "map_in_result_via_match::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/multiple_error_types.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/multiple_error_types.v index 5a8401890..0b340b134 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/multiple_error_types.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/multiple_error_types.v @@ -4,10 +4,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "multiple_error_types::double_first" double_first. + M.IsFunction.C "multiple_error_types::double_first" double_first. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "multiple_error_types::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "multiple_error_types::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/option_and_unwrap.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/option_and_unwrap.v index dea15b8e3..00ebd508f 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/option_and_unwrap.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/option_and_unwrap.v @@ -4,15 +4,15 @@ Require Import CoqOfRust.CoqOfRust. Parameter give_adult : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_give_adult : - M.IsFunction.Trait "option_and_unwrap::give_adult" give_adult. + M.IsFunction.C "option_and_unwrap::give_adult" give_adult. Admitted. Parameter drink : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_drink : M.IsFunction.Trait "option_and_unwrap::drink" drink. +Global Instance Instance_IsFunction_drink : M.IsFunction.C "option_and_unwrap::drink" drink. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "option_and_unwrap::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "option_and_unwrap::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/other_uses_of_question_mark.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/other_uses_of_question_mark.v index 20c7c67d8..15364a596 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/other_uses_of_question_mark.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/other_uses_of_question_mark.v @@ -66,17 +66,16 @@ End Impl_core_error_Error_for_other_uses_of_question_mark_EmptyVec. Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "other_uses_of_question_mark::double_first" double_first. + M.IsFunction.C "other_uses_of_question_mark::double_first" double_first. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "other_uses_of_question_mark::print" print. + M.IsFunction.C "other_uses_of_question_mark::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "other_uses_of_question_mark::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "other_uses_of_question_mark::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/panic.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/panic.v index 84aa8e9d0..c5210b8d8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/panic.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/panic.v @@ -3,10 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter drink : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_drink : M.IsFunction.Trait "panic::drink" drink. +Global Instance Instance_IsFunction_drink : M.IsFunction.C "panic::drink" drink. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "panic::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "panic::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options.v index ecc38b5f5..e73381c56 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options.v @@ -4,11 +4,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "pulling_results_out_of_options::double_first" double_first. + M.IsFunction.C "pulling_results_out_of_options::double_first" double_first. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "pulling_results_out_of_options::main" main. + M.IsFunction.C "pulling_results_out_of_options::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v index 0583016b6..ae4932634 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/pulling_results_out_of_options_with_stop_error_processing.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait + M.IsFunction.C "pulling_results_out_of_options_with_stop_error_processing::double_first" double_first. Admitted. @@ -12,5 +12,5 @@ Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "pulling_results_out_of_options_with_stop_error_processing::main" main. + M.IsFunction.C "pulling_results_out_of_options_with_stop_error_processing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/result_use_in_main.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/result_use_in_main.v index 138fa4515..bc5cd5fd2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/result_use_in_main.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/result_use_in_main.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "result_use_in_main::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "result_use_in_main::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v index 983c0f95b..678a1ba86 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert.v @@ -60,5 +60,5 @@ End Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_get_or_insert_Fru Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_get_or_insert::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_get_or_insert::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v index abf8cc310..d2bb09a06 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_get_or_insert_with.v @@ -60,5 +60,5 @@ End Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_get_or_insert_wit Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_get_or_insert_with::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_get_or_insert_with::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v index e33f277b5..1daa11068 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or.v @@ -60,5 +60,5 @@ End Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_or_Fruit. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_or::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_or::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v index 2156b154f..06cf106c2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_and_defaults_via_or_else.v @@ -60,5 +60,5 @@ End Impl_core_fmt_Debug_for_unpacking_options_and_defaults_via_or_else_Fruit. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_or_else::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_or_else::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_via_question_mark.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_via_question_mark.v index 8a297ca95..eab950cba 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_via_question_mark.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/unpacking_options_via_question_mark.v @@ -101,12 +101,12 @@ Module Impl_unpacking_options_via_question_mark_Person. Parameter work_phone_area_code : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_work_phone_area_code : - M.IsAssociatedFunction.Trait Self "work_phone_area_code" work_phone_area_code. + M.IsAssociatedFunction.C Self "work_phone_area_code" work_phone_area_code. Admitted. End Impl_unpacking_options_via_question_mark_Person. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_via_question_mark::main" main. + M.IsFunction.C "unpacking_options_via_question_mark::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/wrapping_errors.v b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/wrapping_errors.v index bc7908130..a218ca60b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/wrapping_errors.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/error_handling/wrapping_errors.v @@ -88,15 +88,15 @@ End Impl_core_convert_From_core_num_error_ParseIntError_for_wrapping_errors_Doub Parameter double_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "wrapping_errors::double_first" double_first. + M.IsFunction.C "wrapping_errors::double_first" double_first. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "wrapping_errors::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "wrapping_errors::print" print. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "wrapping_errors::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "wrapping_errors::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/blocks.v b/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/blocks.v index 1109aeb70..0d2372536 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/blocks.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/blocks.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "blocks::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "blocks::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/statement.v b/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/statement.v index 2127062e3..2867b6857 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/statement.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/statement.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "statement::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "statement::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/variable_binding_and_expression.v b/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/variable_binding_and_expression.v index 3d7404f5c..7d060847e 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/variable_binding_and_expression.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/expressions/variable_binding_and_expression.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "variable_binding_and_expression::main" main. + M.IsFunction.C "variable_binding_and_expression::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v index 1c4182ad2..c7ec9d797 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_into_iter.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_iterators_into_iter::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "for_and_iterators_into_iter::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter.v index a2c544778..2687a21b8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "for_and_iterators_iter::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "for_and_iterators_iter::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v index d4af61b12..125483150 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_iterators_iter_mut.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_iterators_iter_mut::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "for_and_iterators_iter_mut::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v index 94c5f62a3..92462c51f 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_completely_inclusive.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_range_completely_inclusive::main" main. + M.IsFunction.C "for_and_range_completely_inclusive::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v index a67e81488..53ec92562 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/for_and_range_inclusive_to_exclusive.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_range_inclusive_to_exclusive::main" main. + M.IsFunction.C "for_and_range_inclusive_to_exclusive::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_else.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_else.v index 4db4d14c0..ea54b2659 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_else.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_else.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_else::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_else::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let.v index 05bc9a3e6..e0d5113a8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_challenge.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_challenge.v index 140a376c9..5ff4263bc 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_challenge.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_challenge.v @@ -20,5 +20,5 @@ Axiom IsDiscriminant_Foo_Bar : M.IsDiscriminant "if_let_challenge::Foo::Bar" 0. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let_challenge::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let_challenge::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_dont_use_match.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_dont_use_match.v index b3784b11f..7694d9dfc 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_dont_use_match.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_dont_use_match.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let_dont_use_match::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let_dont_use_match::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_match_enum_values.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_match_enum_values.v index 37089cb81..0cb2e2a6b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_match_enum_values.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/if_let_match_enum_values.v @@ -30,5 +30,5 @@ Axiom IsDiscriminant_Foo_Qux : M.IsDiscriminant "if_let_match_enum_values::Foo:: Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let_match_enum_values::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let_match_enum_values::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/infinite_loop.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/infinite_loop.v index 1707653a7..153f28021 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/infinite_loop.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/infinite_loop.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "infinite_loop::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "infinite_loop::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_nesting_and_labels.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_nesting_and_labels.v index 119be43c0..666bc5cd4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_nesting_and_labels.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_nesting_and_labels.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "loop_nesting_and_labels::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "loop_nesting_and_labels::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_returning_from_loops.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_returning_from_loops.v index 621778cf2..57c285eab 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_returning_from_loops.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/loop_returning_from_loops.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "loop_returning_from_loops::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "loop_returning_from_loops::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match.v index b7b4d92ab..63a0dd9c4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding.v index b2e76b63e..a3f0ce308 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding.v @@ -3,10 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter age : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_age : M.IsFunction.Trait "match_binding::age" age. +Global Instance Instance_IsFunction_age : M.IsFunction.C "match_binding::age" age. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match_binding::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_binding::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v index 2ba959979..ee2882049 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_binding_destructure_enum_variants.v @@ -4,11 +4,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter some_number : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_some_number : - M.IsFunction.Trait "match_binding_destructure_enum_variants::some_number" some_number. + M.IsFunction.C "match_binding_destructure_enum_variants::some_number" some_number. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_binding_destructure_enum_variants::main" main. + M.IsFunction.C "match_binding_destructure_enum_variants::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v index a9624c4d3..18709bea4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_arrays_slices.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_arrays_slices::main" main. + M.IsFunction.C "match_destructuring_arrays_slices::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_enums.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_enums.v index 4ee51d898..d20d9aefc 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_enums.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_enums.v @@ -55,6 +55,5 @@ Axiom IsDiscriminant_Color_CMYK : M.IsDiscriminant "match_destructuring_enums::C Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_enums::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_destructuring_enums::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v index fd3133943..aae1eac76 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_pointers_ref.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_pointers_ref::main" main. + M.IsFunction.C "match_destructuring_pointers_ref::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_structs.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_structs.v index 5596737f5..4f9607b31 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_structs.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_structs.v @@ -11,6 +11,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_structs::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_destructuring_structs::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples.v index ce7f2e6f2..fa244e9ec 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_tuples::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_destructuring_tuples::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v index 59793d44b..2cdaf0e81 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_destructuring_tuples_fixed.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_tuples_fixed::main" main. + M.IsFunction.C "match_destructuring_tuples_fixed::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards.v index bc94ab5c2..a382df256 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards.v @@ -26,5 +26,5 @@ Axiom IsDiscriminant_Temperature_Fahrenheit : Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match_guards::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_guards::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards_unreachable.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards_unreachable.v index 301e8214d..924ac2a70 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards_unreachable.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/match_guards_unreachable.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match_guards_unreachable::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_guards_unreachable::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while.v index 2fa8d33d7..3a5f719bf 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "while::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "while::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let.v index 1df429ef3..fb45534b8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "while_let::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "while_let::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let_match_is_weird.v b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let_match_is_weird.v index 40369e079..997573da4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let_match_is_weird.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/flow_of_control/while_let_match_is_weird.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "while_let_match_is_weird::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "while_let_match_is_weird::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/associated_functions_and_methods.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/associated_functions_and_methods.v index 34e175518..bc1d86d53 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/associated_functions_and_methods.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/associated_functions_and_methods.v @@ -14,12 +14,12 @@ Module Impl_associated_functions_and_methods_Point. Parameter origin : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_origin : M.IsAssociatedFunction.Trait Self "origin" origin. + Global Instance AssociatedFunction_origin : M.IsAssociatedFunction.C Self "origin" origin. Admitted. Parameter new : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. End Impl_associated_functions_and_methods_Point. @@ -40,24 +40,24 @@ Module Impl_associated_functions_and_methods_Rectangle. Parameter get_p1 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_get_p1 : M.IsAssociatedFunction.Trait Self "get_p1" get_p1. + Global Instance AssociatedFunction_get_p1 : M.IsAssociatedFunction.C Self "get_p1" get_p1. Admitted. Parameter area : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_area : M.IsAssociatedFunction.Trait Self "area" area. + Global Instance AssociatedFunction_area : M.IsAssociatedFunction.C Self "area" area. Admitted. Parameter perimeter : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_perimeter : - M.IsAssociatedFunction.Trait Self "perimeter" perimeter. + M.IsAssociatedFunction.C Self "perimeter" perimeter. Admitted. Parameter translate : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_translate : - M.IsAssociatedFunction.Trait Self "translate" translate. + M.IsAssociatedFunction.C Self "translate" translate. Admitted. End Impl_associated_functions_and_methods_Rectangle. @@ -78,12 +78,12 @@ Module Impl_associated_functions_and_methods_Pair. Parameter destroy : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_destroy : M.IsAssociatedFunction.Trait Self "destroy" destroy. + Global Instance AssociatedFunction_destroy : M.IsAssociatedFunction.C Self "destroy" destroy. Admitted. End Impl_associated_functions_and_methods_Pair. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "associated_functions_and_methods::main" main. + M.IsFunction.C "associated_functions_and_methods::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions.v index d352d3ae5..3e3391805 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions.v @@ -3,12 +3,12 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "diverging_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "diverging_functions::main" main. Admitted. Module main. Parameter foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "diverging_functions::main::foo" foo. + Global Instance Instance_IsFunction_foo : M.IsFunction.C "diverging_functions::main::foo" foo. Admitted. End main. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v index ad6944591..14566021a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_example_sum_odd_numbers.v @@ -4,14 +4,14 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "diverging_functions_example_sum_odd_numbers::main" main. + M.IsFunction.C "diverging_functions_example_sum_odd_numbers::main" main. Admitted. Module main. Parameter sum_odd_numbers : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_sum_odd_numbers : - M.IsFunction.Trait + M.IsFunction.C "diverging_functions_example_sum_odd_numbers::main::sum_odd_numbers" sum_odd_numbers. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v index 79e52d8c8..8eff8c00f 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/diverging_functions_no_info_in_return_type.v @@ -4,11 +4,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter some_fn : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_some_fn : - M.IsFunction.Trait "diverging_functions_no_info_in_return_type::some_fn" some_fn. + M.IsFunction.C "diverging_functions_no_info_in_return_type::some_fn" some_fn. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "diverging_functions_no_info_in_return_type::main" main. + M.IsFunction.C "diverging_functions_no_info_in_return_type::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions.v index f0340a4a0..166fe7f66 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions.v @@ -4,21 +4,21 @@ Require Import CoqOfRust.CoqOfRust. Parameter is_divisible_by : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_is_divisible_by : - M.IsFunction.Trait "functions::is_divisible_by" is_divisible_by. + M.IsFunction.C "functions::is_divisible_by" is_divisible_by. Admitted. Parameter fizzbuzz : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_fizzbuzz : M.IsFunction.Trait "functions::fizzbuzz" fizzbuzz. +Global Instance Instance_IsFunction_fizzbuzz : M.IsFunction.C "functions::fizzbuzz" fizzbuzz. Admitted. Parameter fizzbuzz_to : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_fizzbuzz_to : - M.IsFunction.Trait "functions::fizzbuzz_to" fizzbuzz_to. + M.IsFunction.C "functions::fizzbuzz_to" fizzbuzz_to. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures.v index 55208ce62..564f140b3 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "functions_closures::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions_closures::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_input_parameters.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_input_parameters.v index 608f7f508..b9f657c2d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_input_parameters.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_input_parameters.v @@ -4,17 +4,17 @@ Require Import CoqOfRust.CoqOfRust. Parameter apply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_apply : - M.IsFunction.Trait "functions_closures_as_input_parameters::apply" apply. + M.IsFunction.C "functions_closures_as_input_parameters::apply" apply. Admitted. Parameter apply_to_3 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_apply_to_3 : - M.IsFunction.Trait "functions_closures_as_input_parameters::apply_to_3" apply_to_3. + M.IsFunction.C "functions_closures_as_input_parameters::apply_to_3" apply_to_3. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_as_input_parameters::main" main. + M.IsFunction.C "functions_closures_as_input_parameters::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_output_parameters.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_output_parameters.v index f46342f8d..d9399e988 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_output_parameters.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_as_output_parameters.v @@ -4,23 +4,23 @@ Require Import CoqOfRust.CoqOfRust. Parameter create_fn : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_create_fn : - M.IsFunction.Trait "functions_closures_as_output_parameters::create_fn" create_fn. + M.IsFunction.C "functions_closures_as_output_parameters::create_fn" create_fn. Admitted. Parameter create_fnmut : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_create_fnmut : - M.IsFunction.Trait "functions_closures_as_output_parameters::create_fnmut" create_fnmut. + M.IsFunction.C "functions_closures_as_output_parameters::create_fnmut" create_fnmut. Admitted. Parameter create_fnonce : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_create_fnonce : - M.IsFunction.Trait "functions_closures_as_output_parameters::create_fnonce" create_fnonce. + M.IsFunction.C "functions_closures_as_output_parameters::create_fnonce" create_fnonce. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_as_output_parameters::main" main. + M.IsFunction.C "functions_closures_as_output_parameters::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_capturing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_capturing.v index dbc057de0..c44f63366 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_capturing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_capturing.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_capturing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions_closures_capturing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_Iterator_any.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_Iterator_any.v index af9de59de..d58f31fed 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_Iterator_any.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_Iterator_any.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_example_Iterator_any::main" main. + M.IsFunction.C "functions_closures_example_Iterator_any::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v index 9ce5d28dc..5fe9d60b1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_find.v @@ -4,7 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait - "functions_closures_example_searching_through_iterators_Iterator_find::main" - main. + M.IsFunction.C "functions_closures_example_searching_through_iterators_Iterator_find::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v index 3e0d5a85e..2059c0e50 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_example_searching_through_iterators_Iterator_position.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait + M.IsFunction.C "functions_closures_example_searching_through_iterators_Iterator_position::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v index 3fc2c39a3..5f9c736b1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_forced_capturing_with_move.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_forced_capturing_with_move::main" main. + M.IsFunction.C "functions_closures_forced_capturing_with_move::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_input_functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_input_functions.v index 229877f18..3e21b689a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_input_functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_input_functions.v @@ -4,17 +4,17 @@ Require Import CoqOfRust.CoqOfRust. Parameter call_me : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_call_me : - M.IsFunction.Trait "functions_closures_input_functions::call_me" call_me. + M.IsFunction.C "functions_closures_input_functions::call_me" call_me. Admitted. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "functions_closures_input_functions::function" function. + M.IsFunction.C "functions_closures_input_functions::function" function. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_input_functions::main" main. + M.IsFunction.C "functions_closures_input_functions::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define.v index bc9e0682c..c135e312e 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define.v @@ -4,13 +4,13 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_type_anonymity_define::main" main. + M.IsFunction.C "functions_closures_type_anonymity_define::main" main. Admitted. Module main. Parameter apply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_apply : - M.IsFunction.Trait "functions_closures_type_anonymity_define::main::apply" apply. + M.IsFunction.C "functions_closures_type_anonymity_define::main::apply" apply. Admitted. End main. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v index c9c914875..c60fd5ead 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_closures_type_anonymity_define_and_use.v @@ -4,11 +4,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter apply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_apply : - M.IsFunction.Trait "functions_closures_type_anonymity_define_and_use::apply" apply. + M.IsFunction.C "functions_closures_type_anonymity_define_and_use::apply" apply. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_type_anonymity_define_and_use::main" main. + M.IsFunction.C "functions_closures_type_anonymity_define_and_use::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_order.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_order.v index 0855bcf79..cf3bdc611 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_order.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/functions_order.v @@ -22,19 +22,19 @@ Module Impl_functions_order_SomeType. Parameter meth1 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_meth1 : M.IsAssociatedFunction.Trait Self "meth1" meth1. + Global Instance AssociatedFunction_meth1 : M.IsAssociatedFunction.C Self "meth1" meth1. Admitted. Parameter meth2 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_meth2 : M.IsAssociatedFunction.Trait Self "meth2" meth2. + Global Instance AssociatedFunction_meth2 : M.IsAssociatedFunction.C Self "meth2" meth2. Admitted. End Impl_functions_order_SomeType. Parameter depends_on_trait_impl : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_depends_on_trait_impl : - M.IsFunction.Trait "functions_order::depends_on_trait_impl" depends_on_trait_impl. + M.IsFunction.C "functions_order::depends_on_trait_impl" depends_on_trait_impl. Admitted. (* Trait *) @@ -83,37 +83,35 @@ End Impl_functions_order_SomeTrait_for_functions_order_OtherType. Module inner_mod. Parameter bar : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_bar : - M.IsFunction.Trait "functions_order::inner_mod::bar" bar. + Global Instance Instance_IsFunction_bar : M.IsFunction.C "functions_order::inner_mod::bar" bar. Admitted. Parameter tar : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_tar : - M.IsFunction.Trait "functions_order::inner_mod::tar" tar. + Global Instance Instance_IsFunction_tar : M.IsFunction.C "functions_order::inner_mod::tar" tar. Admitted. Module nested_mod. Parameter tick : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_tick : - M.IsFunction.Trait "functions_order::inner_mod::nested_mod::tick" tick. + M.IsFunction.C "functions_order::inner_mod::nested_mod::tick" tick. Admitted. Parameter tack : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_tack : - M.IsFunction.Trait "functions_order::inner_mod::nested_mod::tack" tack. + M.IsFunction.C "functions_order::inner_mod::nested_mod::tack" tack. Admitted. End nested_mod. End inner_mod. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "functions_order::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions_order::main" main. Admitted. Parameter foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "functions_order::foo" foo. +Global Instance Instance_IsFunction_foo : M.IsFunction.C "functions_order::foo" foo. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/higher_order_functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/higher_order_functions.v index 742b89bea..ac6df20a4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/functions/higher_order_functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/functions/higher_order_functions.v @@ -3,11 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter is_odd : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_is_odd : - M.IsFunction.Trait "higher_order_functions::is_odd" is_odd. +Global Instance Instance_IsFunction_is_odd : M.IsFunction.C "higher_order_functions::is_odd" is_odd. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "higher_order_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "higher_order_functions::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics.v index cd02b2b2e..217ec8a69 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics.v @@ -27,5 +27,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_problem.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_problem.v index 74e5e21de..271f778d8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_problem.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_problem.v @@ -38,11 +38,11 @@ End Impl_generics_associated_types_problem_Contains_i32_i32_for_generics_associa Parameter difference : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_difference : - M.IsFunction.Trait "generics_associated_types_problem::difference" difference. + M.IsFunction.C "generics_associated_types_problem::difference" difference. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_associated_types_problem::main" main. + M.IsFunction.C "generics_associated_types_problem::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_solution.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_solution.v index c4bd0405e..373ad558d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_solution.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_associated_types_solution.v @@ -47,13 +47,13 @@ End Impl_generics_associated_types_solution_Contains_for_generics_associated_typ Parameter difference : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_difference : - M.IsFunction.Trait "generics_associated_types_solution::difference" difference. + M.IsFunction.C "generics_associated_types_solution::difference" difference. Admitted. Parameter get_a : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_get_a : - M.IsFunction.Trait "generics_associated_types_solution::get_a" get_a. + M.IsFunction.C "generics_associated_types_solution::get_a" get_a. Admitted. (* Trait *) @@ -83,11 +83,11 @@ End Impl_generics_associated_types_solution_TraitWithParams_I8_12_i32_T_bool_T_f Parameter get_output : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_get_output : - M.IsFunction.Trait "generics_associated_types_solution::get_output" get_output. + M.IsFunction.C "generics_associated_types_solution::get_output" get_output. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_associated_types_solution::main" main. + M.IsFunction.C "generics_associated_types_solution::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds.v index b37a8c56a..bf575dfe6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds.v @@ -51,15 +51,15 @@ End Impl_generics_bounds_HasArea_for_generics_bounds_Rectangle. Parameter print_debug : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print_debug : - M.IsFunction.Trait "generics_bounds::print_debug" print_debug. + M.IsFunction.C "generics_bounds::print_debug" print_debug. Admitted. Parameter area : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_area : M.IsFunction.Trait "generics_bounds::area" area. +Global Instance Instance_IsFunction_area : M.IsFunction.C "generics_bounds::area" area. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_bounds::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_bounds::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v index 507a5d963..80e80fa95 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_bounds_test_case_empty_bounds.v @@ -58,17 +58,17 @@ End Impl_generics_bounds_test_case_empty_bounds_Blue_for_generics_bounds_test_ca Parameter red : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_red : - M.IsFunction.Trait "generics_bounds_test_case_empty_bounds::red" red. + M.IsFunction.C "generics_bounds_test_case_empty_bounds::red" red. Admitted. Parameter blue : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_blue : - M.IsFunction.Trait "generics_bounds_test_case_empty_bounds::blue" blue. + M.IsFunction.C "generics_bounds_test_case_empty_bounds::blue" blue. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_bounds_test_case_empty_bounds::main" main. + M.IsFunction.C "generics_bounds_test_case_empty_bounds::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_functions.v index 739bedb9f..0eda741b3 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_functions.v @@ -27,28 +27,27 @@ Require Import CoqOfRust.CoqOfRust. Parameter reg_fn : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_reg_fn : M.IsFunction.Trait "generics_functions::reg_fn" reg_fn. +Global Instance Instance_IsFunction_reg_fn : M.IsFunction.C "generics_functions::reg_fn" reg_fn. Admitted. Parameter gen_spec_t : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_gen_spec_t : - M.IsFunction.Trait "generics_functions::gen_spec_t" gen_spec_t. + M.IsFunction.C "generics_functions::gen_spec_t" gen_spec_t. Admitted. Parameter gen_spec_i32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_gen_spec_i32 : - M.IsFunction.Trait "generics_functions::gen_spec_i32" gen_spec_i32. + M.IsFunction.C "generics_functions::gen_spec_i32" gen_spec_i32. Admitted. Parameter generic : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_generic : - M.IsFunction.Trait "generics_functions::generic" generic. +Global Instance Instance_IsFunction_generic : M.IsFunction.C "generics_functions::generic" generic. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_functions::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_implementation.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_implementation.v index 0badfcd5a..a5fdbffff 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_implementation.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_implementation.v @@ -22,7 +22,7 @@ Module Impl_generics_implementation_Val. Parameter value : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_value : M.IsAssociatedFunction.Trait Self "value" value. + Global Instance AssociatedFunction_value : M.IsAssociatedFunction.C Self "value" value. Admitted. End Impl_generics_implementation_Val. @@ -34,11 +34,11 @@ Module Impl_generics_implementation_GenVal_T. Global Instance AssociatedFunction_value : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "value" (value T). + M.IsAssociatedFunction.C (Self T) "value" (value T). Admitted. End Impl_generics_implementation_GenVal_T. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_implementation::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_implementation::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_multiple_bounds.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_multiple_bounds.v index a15f351ea..d84e1c368 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_multiple_bounds.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_multiple_bounds.v @@ -4,16 +4,16 @@ Require Import CoqOfRust.CoqOfRust. Parameter compare_prints : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_compare_prints : - M.IsFunction.Trait "generics_multiple_bounds::compare_prints" compare_prints. + M.IsFunction.C "generics_multiple_bounds::compare_prints" compare_prints. Admitted. Parameter compare_types : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_compare_types : - M.IsFunction.Trait "generics_multiple_bounds::compare_types" compare_types. + M.IsFunction.C "generics_multiple_bounds::compare_types" compare_types. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_multiple_bounds::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_multiple_bounds::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom.v index db3967059..fce846f4c 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom.v @@ -22,7 +22,7 @@ Module Impl_generics_new_type_idiom_Years. Parameter to_days : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_to_days : M.IsAssociatedFunction.Trait Self "to_days" to_days. + Global Instance AssociatedFunction_to_days : M.IsAssociatedFunction.C Self "to_days" to_days. Admitted. End Impl_generics_new_type_idiom_Years. @@ -31,18 +31,17 @@ Module Impl_generics_new_type_idiom_Days. Parameter to_years : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_to_years : - M.IsAssociatedFunction.Trait Self "to_years" to_years. + Global Instance AssociatedFunction_to_years : M.IsAssociatedFunction.C Self "to_years" to_years. Admitted. End Impl_generics_new_type_idiom_Days. Parameter old_enough : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_old_enough : - M.IsFunction.Trait "generics_new_type_idiom::old_enough" old_enough. + M.IsFunction.C "generics_new_type_idiom::old_enough" old_enough. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_new_type_idiom::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_new_type_idiom::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v index 472a26724..6776e0a44 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_new_type_idiom_as_base_type.v @@ -12,5 +12,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_new_type_idiom_as_base_type::main" main. + M.IsFunction.C "generics_new_type_idiom_as_base_type::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type.v index d64e8487c..2fa3a1525 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type.v @@ -82,5 +82,5 @@ End Impl_core_cmp_PartialEq_where_core_cmp_PartialEq_A_where_core_cmp_PartialEq_ Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_phantom_type::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_phantom_type::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v index 2ca189ce9..917d0e6f8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_phantom_type_test_case_unit_clarification.v @@ -180,5 +180,5 @@ End Impl_core_ops_arith_Add_generics_phantom_type_test_case_unit_clarification_L Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_phantom_type_test_case_unit_clarification::main" main. + M.IsFunction.C "generics_phantom_type_test_case_unit_clarification::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_traits.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_traits.v index b2f86b627..8299e97c6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_traits.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_traits.v @@ -37,5 +37,5 @@ End Impl_generics_traits_DoubleDrop_T_for_U. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_traits::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_traits::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_where_clauses.v b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_where_clauses.v index 3157c7b23..19f6c9ee8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_where_clauses.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/generics/generics_where_clauses.v @@ -23,5 +23,5 @@ End Impl_generics_where_clauses_PrintInOption_where_core_fmt_Debug_core_option_O Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_where_clauses::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_where_clauses::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/guessing_game/guessing_game.v b/CoqOfRust/examples/axiomatized/examples/rust_book/guessing_game/guessing_game.v index e85e2100e..0213207d2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/guessing_game/guessing_game.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/guessing_game/guessing_game.v @@ -3,11 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter gen_range : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_gen_range : - M.IsFunction.Trait "guessing_game::gen_range" gen_range. +Global Instance Instance_IsFunction_gen_range : M.IsFunction.C "guessing_game::gen_range" gen_range. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "guessing_game::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "guessing_game::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/formatted_print.v b/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/formatted_print.v index 73a8d0710..1fa3ec849 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/formatted_print.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/formatted_print.v @@ -3,7 +3,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "formatted_print::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "formatted_print::main" main. Admitted. Module main. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/hello_world.v b/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/hello_world.v index 4eea6f74a..21bd1c813 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/hello_world.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/hello_world/hello_world.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hello_world::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hello_world::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_example.v b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_example.v index 26fed8e31..1dbd07ab8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_example.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_example.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_example::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_example::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_designators.v b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_designators.v index 5b9203b76..97b86c6de 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_designators.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_designators.v @@ -3,15 +3,15 @@ Require Import CoqOfRust.CoqOfRust. Parameter foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "macro_rules_designators::foo" foo. +Global Instance Instance_IsFunction_foo : M.IsFunction.C "macro_rules_designators::foo" foo. Admitted. Parameter bar : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_bar : M.IsFunction.Trait "macro_rules_designators::bar" bar. +Global Instance Instance_IsFunction_bar : M.IsFunction.C "macro_rules_designators::bar" bar. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_designators::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_designators::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_dsl.v b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_dsl.v index 59b12000f..5138f4429 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_dsl.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_dsl.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_dsl::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_dsl::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_overload.v b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_overload.v index a6c88b291..db5877cdc 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_overload.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_overload.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_overload::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_overload::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_repeat.v b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_repeat.v index 914bae320..9f8f587cf 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_repeat.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_repeat.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_repeat::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_repeat::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v index 9fbe1c74a..be25d2ad4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/macro_rules/macro_rules_variadic_interfaces.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "macro_rules_variadic_interfaces::main" main. + M.IsFunction.C "macro_rules_variadic_interfaces::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/struct_visibility.v b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/struct_visibility.v index 12e0e8639..5f918a999 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/struct_visibility.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/struct_visibility.v @@ -26,12 +26,12 @@ Module my. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. End Impl_struct_visibility_my_ClosedBox_T. End my. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "struct_visibility::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "struct_visibility::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/super_and_self.v b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/super_and_self.v index b223e59c2..bbe922a43 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/super_and_self.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/super_and_self.v @@ -3,15 +3,14 @@ Require Import CoqOfRust.CoqOfRust. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::function" function. +Global Instance Instance_IsFunction_function : M.IsFunction.C "super_and_self::function" function. Admitted. Module cool. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::cool::function" function. + M.IsFunction.C "super_and_self::cool::function" function. Admitted. End cool. @@ -19,25 +18,25 @@ Module my. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::my::function" function. + M.IsFunction.C "super_and_self::my::function" function. Admitted. Module cool. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::my::cool::function" function. + M.IsFunction.C "super_and_self::my::cool::function" function. Admitted. End cool. Parameter indirect_call : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_indirect_call : - M.IsFunction.Trait "super_and_self::my::indirect_call" indirect_call. + M.IsFunction.C "super_and_self::my::indirect_call" indirect_call. Admitted. End my. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "super_and_self::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "super_and_self::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/the_use_as_declaration.v b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/the_use_as_declaration.v index 2eb7651c0..701b6e321 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/the_use_as_declaration.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/the_use_as_declaration.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "the_use_as_declaration::function" function. + M.IsFunction.C "the_use_as_declaration::function" function. Admitted. Module deeply. @@ -12,12 +12,12 @@ Module deeply. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "the_use_as_declaration::deeply::nested::function" function. + M.IsFunction.C "the_use_as_declaration::deeply::nested::function" function. Admitted. End nested. End deeply. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "the_use_as_declaration::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "the_use_as_declaration::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/visibility.v b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/visibility.v index fff10bb54..bb546d779 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/modules/visibility.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/modules/visibility.v @@ -5,38 +5,38 @@ Module my_mod. Parameter private_function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_private_function : - M.IsFunction.Trait "visibility::my_mod::private_function" private_function. + M.IsFunction.C "visibility::my_mod::private_function" private_function. Admitted. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "visibility::my_mod::function" function. + M.IsFunction.C "visibility::my_mod::function" function. Admitted. Parameter indirect_access : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_indirect_access : - M.IsFunction.Trait "visibility::my_mod::indirect_access" indirect_access. + M.IsFunction.C "visibility::my_mod::indirect_access" indirect_access. Admitted. Module nested. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "visibility::my_mod::nested::function" function. + M.IsFunction.C "visibility::my_mod::nested::function" function. Admitted. Parameter private_function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_private_function : - M.IsFunction.Trait "visibility::my_mod::nested::private_function" private_function. + M.IsFunction.C "visibility::my_mod::nested::private_function" private_function. Admitted. Parameter public_function_in_my_mod : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_public_function_in_my_mod : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::nested::public_function_in_my_mod" public_function_in_my_mod. Admitted. @@ -44,7 +44,7 @@ Module my_mod. Parameter public_function_in_nested : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_public_function_in_nested : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::nested::public_function_in_nested" public_function_in_nested. Admitted. @@ -52,7 +52,7 @@ Module my_mod. Parameter public_function_in_super_mod : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_public_function_in_super_mod : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::nested::public_function_in_super_mod" public_function_in_super_mod. Admitted. @@ -61,7 +61,7 @@ Module my_mod. Parameter call_public_function_in_my_mod : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_call_public_function_in_my_mod : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::call_public_function_in_my_mod" call_public_function_in_my_mod. Admitted. @@ -69,32 +69,30 @@ Module my_mod. Parameter public_function_in_crate : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_public_function_in_crate : - M.IsFunction.Trait "visibility::my_mod::public_function_in_crate" public_function_in_crate. + M.IsFunction.C "visibility::my_mod::public_function_in_crate" public_function_in_crate. Admitted. Module private_nested. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "visibility::my_mod::private_nested::function" function. + M.IsFunction.C "visibility::my_mod::private_nested::function" function. Admitted. Parameter restricted_function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_restricted_function : - M.IsFunction.Trait - "visibility::my_mod::private_nested::restricted_function" - restricted_function. + M.IsFunction.C "visibility::my_mod::private_nested::restricted_function" restricted_function. Admitted. End private_nested. End my_mod. Parameter function : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_function : M.IsFunction.Trait "visibility::function" function. +Global Instance Instance_IsFunction_function : M.IsFunction.C "visibility::function" function. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "visibility::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "visibility::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/arrays_and_slices.v b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/arrays_and_slices.v index b92fcd43f..a3900fe94 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/arrays_and_slices.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/arrays_and_slices.v @@ -4,10 +4,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter analyze_slice : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_analyze_slice : - M.IsFunction.Trait "arrays_and_slices::analyze_slice" analyze_slice. + M.IsFunction.C "arrays_and_slices::analyze_slice" analyze_slice. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "arrays_and_slices::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "arrays_and_slices::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/compound_types.v b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/compound_types.v index b4240281a..98376e277 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/compound_types.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/compound_types.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "compound_types::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "compound_types::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/literals_operators.v b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/literals_operators.v index 8f35f153c..137bb69ed 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/literals_operators.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/literals_operators.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "literals_operators::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "literals_operators::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/tuples.v b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/tuples.v index 2229ce7ef..19a96ef46 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/tuples.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/primitives/tuples.v @@ -3,7 +3,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter reverse : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_reverse : M.IsFunction.Trait "tuples::reverse" reverse. +Global Instance Instance_IsFunction_reverse : M.IsFunction.C "tuples::reverse" reverse. Admitted. (* StructTuple @@ -30,5 +30,5 @@ End Impl_core_fmt_Debug_for_tuples_Matrix. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "tuples::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "tuples::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing.v index 12dc256f7..242c3c052 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing.v @@ -4,16 +4,16 @@ Require Import CoqOfRust.CoqOfRust. Parameter eat_box_i32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_eat_box_i32 : - M.IsFunction.Trait "scoping_rules_borrowing::eat_box_i32" eat_box_i32. + M.IsFunction.C "scoping_rules_borrowing::eat_box_i32" eat_box_i32. Admitted. Parameter borrow_i32 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_borrow_i32 : - M.IsFunction.Trait "scoping_rules_borrowing::borrow_i32" borrow_i32. + M.IsFunction.C "scoping_rules_borrowing::borrow_i32" borrow_i32. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scoping_rules_borrowing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scoping_rules_borrowing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v index 1d857a175..621f472f5 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_aliasing.v @@ -12,5 +12,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_borrowing_aliasing::main" main. + M.IsFunction.C "scoping_rules_borrowing_aliasing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v index b6b162ef6..ba0dc2798 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_mutablity.v @@ -43,17 +43,17 @@ End Impl_core_marker_Copy_for_scoping_rules_borrowing_mutablity_Book. Parameter borrow_book : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_borrow_book : - M.IsFunction.Trait "scoping_rules_borrowing_mutablity::borrow_book" borrow_book. + M.IsFunction.C "scoping_rules_borrowing_mutablity::borrow_book" borrow_book. Admitted. Parameter new_edition : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_new_edition : - M.IsFunction.Trait "scoping_rules_borrowing_mutablity::new_edition" new_edition. + M.IsFunction.C "scoping_rules_borrowing_mutablity::new_edition" new_edition. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_borrowing_mutablity::main" main. + M.IsFunction.C "scoping_rules_borrowing_mutablity::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v index 5770f4795..a66f20de8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_borrowing_the_ref_pattern.v @@ -38,5 +38,5 @@ End Impl_core_marker_Copy_for_scoping_rules_borrowing_the_ref_pattern_Point. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_borrowing_the_ref_pattern::main" main. + M.IsFunction.C "scoping_rules_borrowing_the_ref_pattern::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v index 0ad737d8c..6a51d9852 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scoping_rules_lifetimes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scoping_rules_lifetimes::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v index 6515cd681..641519584 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_bounds.v @@ -28,17 +28,17 @@ End Impl_core_fmt_Debug_where_core_fmt_Debug_T_for_scoping_rules_lifetimes_bound Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "scoping_rules_lifetimes_bounds::print" print. + M.IsFunction.C "scoping_rules_lifetimes_bounds::print" print. Admitted. Parameter print_ref : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print_ref : - M.IsFunction.Trait "scoping_rules_lifetimes_bounds::print_ref" print_ref. + M.IsFunction.C "scoping_rules_lifetimes_bounds::print_ref" print_ref. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_bounds::main" main. + M.IsFunction.C "scoping_rules_lifetimes_bounds::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v index 82dba4b47..6850f414a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_coercion.v @@ -4,17 +4,17 @@ Require Import CoqOfRust.CoqOfRust. Parameter multiply : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "scoping_rules_lifetimes_coercion::multiply" multiply. + M.IsFunction.C "scoping_rules_lifetimes_coercion::multiply" multiply. Admitted. Parameter choose_first : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_choose_first : - M.IsFunction.Trait "scoping_rules_lifetimes_coercion::choose_first" choose_first. + M.IsFunction.C "scoping_rules_lifetimes_coercion::choose_first" choose_first. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_coercion::main" main. + M.IsFunction.C "scoping_rules_lifetimes_coercion::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v index 105f895d1..f3cd34123 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_elision.v @@ -4,29 +4,29 @@ Require Import CoqOfRust.CoqOfRust. Parameter elided_input : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_elided_input : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::elided_input" elided_input. + M.IsFunction.C "scoping_rules_lifetimes_elision::elided_input" elided_input. Admitted. Parameter annotated_input : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_annotated_input : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::annotated_input" annotated_input. + M.IsFunction.C "scoping_rules_lifetimes_elision::annotated_input" annotated_input. Admitted. Parameter elided_pass : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_elided_pass : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::elided_pass" elided_pass. + M.IsFunction.C "scoping_rules_lifetimes_elision::elided_pass" elided_pass. Admitted. Parameter annotated_pass : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_annotated_pass : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::annotated_pass" annotated_pass. + M.IsFunction.C "scoping_rules_lifetimes_elision::annotated_pass" annotated_pass. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::main" main. + M.IsFunction.C "scoping_rules_lifetimes_elision::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v index 5b92b3941..51f7a1319 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_functions.v @@ -4,29 +4,29 @@ Require Import CoqOfRust.CoqOfRust. Parameter print_one : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print_one : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::print_one" print_one. + M.IsFunction.C "scoping_rules_lifetimes_functions::print_one" print_one. Admitted. Parameter add_one : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_add_one : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::add_one" add_one. + M.IsFunction.C "scoping_rules_lifetimes_functions::add_one" add_one. Admitted. Parameter print_multi : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_print_multi : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::print_multi" print_multi. + M.IsFunction.C "scoping_rules_lifetimes_functions::print_multi" print_multi. Admitted. Parameter pass_x : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_pass_x : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::pass_x" pass_x. + M.IsFunction.C "scoping_rules_lifetimes_functions::pass_x" pass_x. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::main" main. + M.IsFunction.C "scoping_rules_lifetimes_functions::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v index e1ce64c5f..5e83261b9 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_methods.v @@ -14,17 +14,17 @@ Module Impl_scoping_rules_lifetimes_methods_Owner. Parameter add_one : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_add_one : M.IsAssociatedFunction.Trait Self "add_one" add_one. + Global Instance AssociatedFunction_add_one : M.IsAssociatedFunction.C Self "add_one" add_one. Admitted. Parameter print : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_print : M.IsAssociatedFunction.Trait Self "print" print. + Global Instance AssociatedFunction_print : M.IsAssociatedFunction.C Self "print" print. Admitted. End Impl_scoping_rules_lifetimes_methods_Owner. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_methods::main" main. + M.IsFunction.C "scoping_rules_lifetimes_methods::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v index 3cc73a67b..5b4d807a4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_reference_lifetime_static.v @@ -1,22 +1,20 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter value_NUM : Value.t. +Parameter value_NUM : PolymorphicFunction.t. -Axiom Constant_value_NUM : - (M.get_constant "scoping_rules_lifetimes_reference_lifetime_static::NUM") = value_NUM. -Global Hint Rewrite Constant_value_NUM : constant_rewrites. +Global Instance Instance_IsConstant_value_NUM : + M.IsFunction.C "scoping_rules_lifetimes_reference_lifetime_static::NUM" value_NUM. +Admitted. Parameter coerce_static : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_coerce_static : - M.IsFunction.Trait - "scoping_rules_lifetimes_reference_lifetime_static::coerce_static" - coerce_static. + M.IsFunction.C "scoping_rules_lifetimes_reference_lifetime_static::coerce_static" coerce_static. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_reference_lifetime_static::main" main. + M.IsFunction.C "scoping_rules_lifetimes_reference_lifetime_static::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v index b266e70d1..d99ff836a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_structs.v @@ -88,5 +88,5 @@ End Impl_core_fmt_Debug_for_scoping_rules_lifetimes_structs_Either. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_structs::main" main. + M.IsFunction.C "scoping_rules_lifetimes_structs::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v index ee9fae7fb..039a2c127 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_lifetimes_traits.v @@ -40,5 +40,5 @@ End Impl_core_default_Default_for_scoping_rules_lifetimes_traits_Borrowed. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_traits::main" main. + M.IsFunction.C "scoping_rules_lifetimes_traits::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v index 766270b24..615e23380 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules.v @@ -4,11 +4,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter destroy_box : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_destroy_box : - M.IsFunction.Trait "scoping_rules_ownership_and_rules::destroy_box" destroy_box. + M.IsFunction.C "scoping_rules_ownership_and_rules::destroy_box" destroy_box. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_ownership_and_rules::main" main. + M.IsFunction.C "scoping_rules_ownership_and_rules::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v index fde9b0d10..4b3bc4e66 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_mutablity.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_ownership_and_rules_mutablity::main" main. + M.IsFunction.C "scoping_rules_ownership_and_rules_mutablity::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v index f637dcc46..60469b927 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_ownership_and_rules_partial_moves.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_ownership_and_rules_partial_moves::main" main. + M.IsFunction.C "scoping_rules_ownership_and_rules_partial_moves::main" main. Admitted. Module main. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii.v index 830316f9e..eea9dfdf6 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii.v @@ -4,10 +4,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter create_box : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_create_box : - M.IsFunction.Trait "scoping_rules_raii::create_box" create_box. + M.IsFunction.C "scoping_rules_raii::create_box" create_box. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scoping_rules_raii::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scoping_rules_raii::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v index 4e544c562..7f6a8274e 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/scoping_rules/scoping_rules_raii_desctructor.v @@ -26,5 +26,5 @@ End Impl_core_ops_drop_Drop_for_scoping_rules_raii_desctructor_ToDrop. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_raii_desctructor::main" main. + M.IsFunction.C "scoping_rules_raii_desctructor::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/arc.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/arc.v index 1b3df5ba5..c00fb7de4 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/arc.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/arc.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "arc::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "arc::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/box_stack_heap.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/box_stack_heap.v index 1753fcdcf..1154b8131 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/box_stack_heap.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/box_stack_heap.v @@ -63,16 +63,16 @@ End Impl_core_marker_Copy_for_box_stack_heap_Point. Parameter origin : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_origin : M.IsFunction.Trait "box_stack_heap::origin" origin. +Global Instance Instance_IsFunction_origin : M.IsFunction.C "box_stack_heap::origin" origin. Admitted. Parameter boxed_origin : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_boxed_origin : - M.IsFunction.Trait "box_stack_heap::boxed_origin" boxed_origin. + M.IsFunction.C "box_stack_heap::boxed_origin" boxed_origin. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "box_stack_heap::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "box_stack_heap::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map.v index 2410f772f..1d36d6725 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map.v @@ -3,10 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter call : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_call : M.IsFunction.Trait "hash_map::call" call. +Global Instance Instance_IsFunction_call : M.IsFunction.C "hash_map::call" call. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hash_map::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hash_map::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v index 27456f893..618c8c6b1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_alternate_or_custom_key_types.v @@ -94,11 +94,11 @@ Axiom Accounts : Parameter try_logon : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_try_logon : - M.IsFunction.Trait "hash_map_alternate_or_custom_key_types::try_logon" try_logon. + M.IsFunction.C "hash_map_alternate_or_custom_key_types::try_logon" try_logon. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "hash_map_alternate_or_custom_key_types::main" main. + M.IsFunction.C "hash_map_alternate_or_custom_key_types::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_hash_set.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_hash_set.v index d7dab38ce..0cc96e699 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_hash_set.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/hash_map_hash_set.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hash_map_hash_set::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hash_map_hash_set::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/option.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/option.v index fe538d776..ccbf4fd50 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/option.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/option.v @@ -4,16 +4,16 @@ Require Import CoqOfRust.CoqOfRust. Parameter checked_division : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_checked_division : - M.IsFunction.Trait "option::checked_division" checked_division. + M.IsFunction.C "option::checked_division" checked_division. Admitted. Parameter try_division : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_try_division : - M.IsFunction.Trait "option::try_division" try_division. + M.IsFunction.C "option::try_division" try_division. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "option::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "option::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/panic.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/panic.v index fb081f5c9..dd2c7f4d1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/panic.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/panic.v @@ -3,10 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter division : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_division : M.IsFunction.Trait "panic::division" division. +Global Instance Instance_IsFunction_division : M.IsFunction.C "panic::division" division. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "panic::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "panic::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/rc.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/rc.v index 3dbdb66de..b1a6910a2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/rc.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/rc.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "rc::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "rc::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result.v index 70ac315cb..1a9cee6b1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result.v @@ -55,26 +55,26 @@ Module checked. Parameter div : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_div : M.IsFunction.Trait "result::checked::div" div. + Global Instance Instance_IsFunction_div : M.IsFunction.C "result::checked::div" div. Admitted. Parameter sqrt : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_sqrt : M.IsFunction.Trait "result::checked::sqrt" sqrt. + Global Instance Instance_IsFunction_sqrt : M.IsFunction.C "result::checked::sqrt" sqrt. Admitted. Parameter ln : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance Instance_IsFunction_ln : M.IsFunction.Trait "result::checked::ln" ln. + Global Instance Instance_IsFunction_ln : M.IsFunction.C "result::checked::ln" ln. Admitted. End checked. Parameter op : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_op : M.IsFunction.Trait "result::op" op. +Global Instance Instance_IsFunction_op : M.IsFunction.C "result::op" op. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "result::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "result::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result_chaining_with_question_mark.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result_chaining_with_question_mark.v index f1d0cff11..03d619b82 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result_chaining_with_question_mark.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/result_chaining_with_question_mark.v @@ -58,36 +58,36 @@ Module checked. Parameter div : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_div : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::div" div. + M.IsFunction.C "result_chaining_with_question_mark::checked::div" div. Admitted. Parameter sqrt : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_sqrt : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::sqrt" sqrt. + M.IsFunction.C "result_chaining_with_question_mark::checked::sqrt" sqrt. Admitted. Parameter ln : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_ln : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::ln" ln. + M.IsFunction.C "result_chaining_with_question_mark::checked::ln" ln. Admitted. Parameter op_ : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_op_ : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::op_" op_. + M.IsFunction.C "result_chaining_with_question_mark::checked::op_" op_. Admitted. Parameter op : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_op : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::op" op. + M.IsFunction.C "result_chaining_with_question_mark::checked::op" op. Admitted. End checked. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "result_chaining_with_question_mark::main" main. + M.IsFunction.C "result_chaining_with_question_mark::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings.v index 3c4875666..2db3db0f3 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "strings::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "strings::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v index b37563dce..d2a1662b2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_byte_strings_as_non_utf8.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "strings_byte_strings_as_non_utf8::main" main. + M.IsFunction.C "strings_byte_strings_as_non_utf8::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_literals_and_escapes.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_literals_and_escapes.v index 7ea48cf0f..8f0cb73a8 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_literals_and_escapes.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_literals_and_escapes.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "strings_literals_and_escapes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "strings_literals_and_escapes::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_raw_string_literals.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_raw_string_literals.v index d017eda6e..3fe883a86 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_raw_string_literals.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/strings_raw_string_literals.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "strings_raw_string_literals::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "strings_raw_string_literals::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/vectors.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/vectors.v index 68b11e29e..7319f72a5 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/vectors.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_library_types/vectors.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "vectors::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "vectors::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/channels.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/channels.v index 5b3ddb7cc..87e8bbc9d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/channels.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/channels.v @@ -1,12 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter value_NTHREADS : Value.t. +Parameter value_NTHREADS : PolymorphicFunction.t. -Axiom Constant_value_NTHREADS : (M.get_constant "channels::NTHREADS") = value_NTHREADS. -Global Hint Rewrite Constant_value_NTHREADS : constant_rewrites. +Global Instance Instance_IsConstant_value_NTHREADS : + M.IsFunction.C "channels::NTHREADS" value_NTHREADS. +Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "channels::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "channels::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes.v index 4374d4867..936597ec9 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "child_processes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "child_processes::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_pipes.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_pipes.v index 51b2ca15b..b923a8dfa 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_pipes.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_pipes.v @@ -1,12 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter value_PANGRAM : Value.t. +Parameter value_PANGRAM : PolymorphicFunction.t. -Axiom Constant_value_PANGRAM : (M.get_constant "child_processes_pipes::PANGRAM") = value_PANGRAM. -Global Hint Rewrite Constant_value_PANGRAM : constant_rewrites. +Global Instance Instance_IsConstant_value_PANGRAM : + M.IsFunction.C "child_processes_pipes::PANGRAM" value_PANGRAM. +Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "child_processes_pipes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "child_processes_pipes::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_wait.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_wait.v index 4cc3c0852..056a79411 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_wait.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/child_processes_wait.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "child_processes_wait::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "child_processes_wait::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_create.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_create.v index 25991dfa2..bf07b5e8f 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_create.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_create.v @@ -1,13 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter value_LOREM_IPSUM : Value.t. +Parameter value_LOREM_IPSUM : PolymorphicFunction.t. -Axiom Constant_value_LOREM_IPSUM : - (M.get_constant "file_io_create::LOREM_IPSUM") = value_LOREM_IPSUM. -Global Hint Rewrite Constant_value_LOREM_IPSUM : constant_rewrites. +Global Instance Instance_IsConstant_value_LOREM_IPSUM : + M.IsFunction.C "file_io_create::LOREM_IPSUM" value_LOREM_IPSUM. +Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "file_io_create::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "file_io_create::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_open.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_open.v index 8df4df4f1..a1e440954 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_open.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_open.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "file_io_open::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "file_io_open::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines.v index e60e3a177..98372a90a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines.v @@ -4,10 +4,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter read_lines : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_read_lines : - M.IsFunction.Trait "file_io_read_lines::read_lines" read_lines. + M.IsFunction.C "file_io_read_lines::read_lines" read_lines. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "file_io_read_lines::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "file_io_read_lines::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v index afbe01d43..fd406d819 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/file_io_read_lines_efficient_method.v @@ -4,11 +4,11 @@ Require Import CoqOfRust.CoqOfRust. Parameter read_lines : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_read_lines : - M.IsFunction.Trait "file_io_read_lines_efficient_method::read_lines" read_lines. + M.IsFunction.C "file_io_read_lines_efficient_method::read_lines" read_lines. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "file_io_read_lines_efficient_method::main" main. + M.IsFunction.C "file_io_read_lines_efficient_method::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/filesystem_operations.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/filesystem_operations.v index dec7daffc..228d27b9c 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/filesystem_operations.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/filesystem_operations.v @@ -3,20 +3,20 @@ Require Import CoqOfRust.CoqOfRust. Parameter cat : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_cat : M.IsFunction.Trait "filesystem_operations::cat" cat. +Global Instance Instance_IsFunction_cat : M.IsFunction.C "filesystem_operations::cat" cat. Admitted. Parameter echo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_echo : M.IsFunction.Trait "filesystem_operations::echo" echo. +Global Instance Instance_IsFunction_echo : M.IsFunction.C "filesystem_operations::echo" echo. Admitted. Parameter touch : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_touch : M.IsFunction.Trait "filesystem_operations::touch" touch. +Global Instance Instance_IsFunction_touch : M.IsFunction.C "filesystem_operations::touch" touch. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "filesystem_operations::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "filesystem_operations::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/foreign_function_interface.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/foreign_function_interface.v index e68f7be43..f0532e668 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/foreign_function_interface.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/foreign_function_interface.v @@ -4,24 +4,23 @@ Require Import CoqOfRust.CoqOfRust. Parameter csqrtf : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_csqrtf : - M.IsFunction.Trait "foreign_function_interface::csqrtf" csqrtf. + M.IsFunction.C "foreign_function_interface::csqrtf" csqrtf. Admitted. Parameter ccosf : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_ccosf : - M.IsFunction.Trait "foreign_function_interface::ccosf" ccosf. + M.IsFunction.C "foreign_function_interface::ccosf" ccosf. Admitted. Parameter cos : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_cos : M.IsFunction.Trait "foreign_function_interface::cos" cos. +Global Instance Instance_IsFunction_cos : M.IsFunction.C "foreign_function_interface::cos" cos. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "foreign_function_interface::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "foreign_function_interface::main" main. Admitted. (* StructRecord diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/path.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/path.v index 7313a25ee..d32cbac58 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/path.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/path.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "path::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "path::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments.v index efffc0338..b38e51500 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "program_arguments::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "program_arguments::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments_parsing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments_parsing.v index 47ec7c876..57e7e682c 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments_parsing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/program_arguments_parsing.v @@ -4,23 +4,21 @@ Require Import CoqOfRust.CoqOfRust. Parameter increase : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_increase : - M.IsFunction.Trait "program_arguments_parsing::increase" increase. + M.IsFunction.C "program_arguments_parsing::increase" increase. Admitted. Parameter decrease : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_decrease : - M.IsFunction.Trait "program_arguments_parsing::decrease" decrease. + M.IsFunction.C "program_arguments_parsing::decrease" decrease. Admitted. Parameter help : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_help : - M.IsFunction.Trait "program_arguments_parsing::help" help. +Global Instance Instance_IsFunction_help : M.IsFunction.C "program_arguments_parsing::help" help. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "program_arguments_parsing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "program_arguments_parsing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads.v index cc5b54dbd..9a3fd6c29 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads.v @@ -1,12 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Parameter value_NTHREADS : Value.t. +Parameter value_NTHREADS : PolymorphicFunction.t. -Axiom Constant_value_NTHREADS : (M.get_constant "threads::NTHREADS") = value_NTHREADS. -Global Hint Rewrite Constant_value_NTHREADS : constant_rewrites. +Global Instance Instance_IsConstant_value_NTHREADS : + M.IsFunction.C "threads::NTHREADS" value_NTHREADS. +Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "threads::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "threads::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads_test_case_map_reduce.v b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads_test_case_map_reduce.v index 2105a6794..e930dc330 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads_test_case_map_reduce.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/std_misc/threads_test_case_map_reduce.v @@ -3,6 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "threads_test_case_map_reduce::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "threads_test_case_map_reduce::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/testing/documentation_testing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/testing/documentation_testing.v index 935fd8ee5..1edea411b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/testing/documentation_testing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/testing/documentation_testing.v @@ -3,10 +3,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_add : M.IsFunction.Trait "documentation_testing::add" add. +Global Instance Instance_IsFunction_add : M.IsFunction.C "documentation_testing::add" add. Admitted. Parameter div : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_div : M.IsFunction.Trait "documentation_testing::div" div. +Global Instance Instance_IsFunction_div : M.IsFunction.C "documentation_testing::div" div. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/testing/unit_testing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/testing/unit_testing.v index a6465005c..87a47f032 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/testing/unit_testing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/testing/unit_testing.v @@ -3,24 +3,24 @@ Require Import CoqOfRust.CoqOfRust. Parameter add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_add : M.IsFunction.Trait "unit_testing::add" add. +Global Instance Instance_IsFunction_add : M.IsFunction.C "unit_testing::add" add. Admitted. Parameter bad_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_bad_add : M.IsFunction.Trait "unit_testing::bad_add" bad_add. +Global Instance Instance_IsFunction_bad_add : M.IsFunction.C "unit_testing::bad_add" bad_add. Admitted. Module tests. Parameter test_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_test_add : - M.IsFunction.Trait "unit_testing::tests::test_add'1" test_add. + M.IsFunction.C "unit_testing::tests::test_add'1" test_add. Admitted. Parameter test_bad_add : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_test_bad_add : - M.IsFunction.Trait "unit_testing::tests::test_bad_add'1" test_bad_add. + M.IsFunction.C "unit_testing::tests::test_bad_add'1" test_bad_add. Admitted. End tests. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/clone.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/clone.v index feabdb508..e5fa3b56c 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/clone.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/clone.v @@ -91,5 +91,5 @@ End Impl_core_fmt_Debug_for_clone_Pair. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "clone::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "clone::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/derive.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/derive.v index 8bb4e71f6..29bdb7964 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/derive.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/derive.v @@ -77,7 +77,7 @@ Module Impl_derive_Inches. Parameter to_centimeters : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_to_centimeters : - M.IsAssociatedFunction.Trait Self "to_centimeters" to_centimeters. + M.IsAssociatedFunction.C Self "to_centimeters" to_centimeters. Admitted. End Impl_derive_Inches. @@ -91,5 +91,5 @@ End Impl_derive_Inches. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "derive::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "derive::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/disambiguating_overlapping_traits.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/disambiguating_overlapping_traits.v index 28a64d3c8..8937e49c9 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/disambiguating_overlapping_traits.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/disambiguating_overlapping_traits.v @@ -46,5 +46,5 @@ End Impl_disambiguating_overlapping_traits_AgeWidget_for_disambiguating_overlapp Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "disambiguating_overlapping_traits::main" main. + M.IsFunction.C "disambiguating_overlapping_traits::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/drop.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/drop.v index 6c425fb38..0895abe58 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/drop.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/drop.v @@ -25,5 +25,5 @@ End Impl_core_ops_drop_Drop_for_drop_Droppable. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "drop::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "drop::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/hash.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/hash.v index 687074b43..9abe82b45 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/hash.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/hash.v @@ -28,10 +28,10 @@ End Impl_core_hash_Hash_for_hash_Person. Parameter calculate_hash : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_calculate_hash : - M.IsFunction.Trait "hash::calculate_hash" calculate_hash. + M.IsFunction.C "hash::calculate_hash" calculate_hash. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hash::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hash::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/impl_trait_as_return_type.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/impl_trait_as_return_type.v index 119c1880c..1a8bef559 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/impl_trait_as_return_type.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/impl_trait_as_return_type.v @@ -4,7 +4,7 @@ Require Import CoqOfRust.CoqOfRust. Parameter combine_vecs_explicit_return_type : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_combine_vecs_explicit_return_type : - M.IsFunction.Trait + M.IsFunction.C "impl_trait_as_return_type::combine_vecs_explicit_return_type" combine_vecs_explicit_return_type. Admitted. @@ -12,11 +12,10 @@ Admitted. Parameter combine_vecs : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_combine_vecs : - M.IsFunction.Trait "impl_trait_as_return_type::combine_vecs" combine_vecs. + M.IsFunction.C "impl_trait_as_return_type::combine_vecs" combine_vecs. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "impl_trait_as_return_type::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "impl_trait_as_return_type::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/iterators.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/iterators.v index f25d2b7cc..28bc2a6e0 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/iterators.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/iterators.v @@ -27,10 +27,10 @@ End Impl_core_iter_traits_iterator_Iterator_for_iterators_Fibonacci. Parameter fibonacci : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_fibonacci : M.IsFunction.Trait "iterators::fibonacci" fibonacci. +Global Instance Instance_IsFunction_fibonacci : M.IsFunction.C "iterators::fibonacci" fibonacci. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "iterators::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "iterators::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/operator_overloading.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/operator_overloading.v index 8accfbf63..51b5b7841 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/operator_overloading.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/operator_overloading.v @@ -95,5 +95,5 @@ End Impl_core_ops_arith_Add_operator_overloading_Foo_for_operator_overloading_Ba Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "operator_overloading::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "operator_overloading::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/returning_traits_with_dyn.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/returning_traits_with_dyn.v index 0523647e5..f34abd0f5 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/returning_traits_with_dyn.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/returning_traits_with_dyn.v @@ -51,11 +51,10 @@ End Impl_returning_traits_with_dyn_Animal_for_returning_traits_with_dyn_Cow. Parameter random_animal : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_random_animal : - M.IsFunction.Trait "returning_traits_with_dyn::random_animal" random_animal. + M.IsFunction.C "returning_traits_with_dyn::random_animal" random_animal. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "returning_traits_with_dyn::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "returning_traits_with_dyn::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/supertraits.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/supertraits.v index 65ef89816..259594ab0 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/supertraits.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/supertraits.v @@ -16,10 +16,10 @@ Require Import CoqOfRust.CoqOfRust. Parameter comp_sci_student_greeting : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_comp_sci_student_greeting : - M.IsFunction.Trait "supertraits::comp_sci_student_greeting" comp_sci_student_greeting. + M.IsFunction.C "supertraits::comp_sci_student_greeting" comp_sci_student_greeting. Admitted. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "supertraits::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "supertraits::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/traits.v b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/traits.v index fba2b6dc3..3c0276939 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/traits/traits.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/traits/traits.v @@ -21,12 +21,11 @@ Module Impl_traits_Sheep. Parameter is_naked : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_is_naked : - M.IsAssociatedFunction.Trait Self "is_naked" is_naked. + Global Instance AssociatedFunction_is_naked : M.IsAssociatedFunction.C Self "is_naked" is_naked. Admitted. Parameter shear : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_shear : M.IsAssociatedFunction.Trait Self "shear" shear. + Global Instance AssociatedFunction_shear : M.IsAssociatedFunction.C Self "shear" shear. Admitted. End Impl_traits_Sheep. @@ -59,5 +58,5 @@ End Impl_traits_Animal_for_traits_Sheep. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "traits::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "traits::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/types/aliasing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/types/aliasing.v index 4b973dfa5..27b5ac471 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/types/aliasing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/types/aliasing.v @@ -9,5 +9,5 @@ Axiom U64 : (Ty.path "aliasing::U64") = (Ty.path "u64"). Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "aliasing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "aliasing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/types/casting.v b/CoqOfRust/examples/axiomatized/examples/rust_book/types/casting.v index 662a3b378..93623e7d2 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/types/casting.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/types/casting.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "casting::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "casting::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/types/inference.v b/CoqOfRust/examples/axiomatized/examples/rust_book/types/inference.v index dd370b193..e0665cc24 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/types/inference.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/types/inference.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inference::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inference::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/types/literals.v b/CoqOfRust/examples/axiomatized/examples/rust_book/types/literals.v index 8ed5da57a..6a561a63b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/types/literals.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/types/literals.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "literals::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "literals::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/calling_unsafe_functions.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/calling_unsafe_functions.v index 5c8383fe2..4ea15b39a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/calling_unsafe_functions.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/calling_unsafe_functions.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "calling_unsafe_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "calling_unsafe_functions::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly.v index 80b8694e7..a97b56fa1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v index 994c1918c..c8101482b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_clobbered_registers.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_clobbered_registers::main" main. + M.IsFunction.C "inline_assembly_clobbered_registers::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v index c32620554..b4d80e231 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_explicit_register_operands.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_explicit_register_operands::main" main. + M.IsFunction.C "inline_assembly_explicit_register_operands::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v index b94212055..4e7b37f0c 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_implemented.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inlateout_case_implemented::main" main. + M.IsFunction.C "inline_assembly_inlateout_case_implemented::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v index 9aab4204f..b88b0e766 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_case_non_used.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inlateout_case_non_used::main" main. + M.IsFunction.C "inline_assembly_inlateout_case_non_used::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v index 1f7239f0c..a455c568d 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inlateout_mul.v @@ -4,13 +4,13 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inlateout_mul::main" main. + M.IsFunction.C "inline_assembly_inlateout_mul::main" main. Admitted. Module main. Parameter mul : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_mul : - M.IsFunction.Trait "inline_assembly_inlateout_mul::main::mul" mul. + M.IsFunction.C "inline_assembly_inlateout_mul::main::mul" mul. Admitted. End main. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inout.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inout.v index 03a7ccb91..303c2f05a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inout.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inout.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly_inout::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly_inout::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v index c5571562b..f255ceb0a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inputs_and_outputs::main" main. + M.IsFunction.C "inline_assembly_inputs_and_outputs::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v index 708511b0f..f3e8c701b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inputs_and_outputs_another_example::main" main. + M.IsFunction.C "inline_assembly_inputs_and_outputs_another_example::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v index a35ecbd9c..c4e0c317f 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_inputs_and_outputs_another_example_without_mov.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inputs_and_outputs_another_example_without_mov::main" main. + M.IsFunction.C "inline_assembly_inputs_and_outputs_another_example_without_mov::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_labels.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_labels.v index 9eed19e34..c508ef6fc 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_labels.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_labels.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly_labels::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly_labels::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v index ed9ff2b53..2ab4d8273 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_memory_address_operands.v @@ -4,14 +4,14 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_memory_address_operands::main" main. + M.IsFunction.C "inline_assembly_memory_address_operands::main" main. Admitted. Module main. Parameter load_fpu_control_word : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_load_fpu_control_word : - M.IsFunction.Trait + M.IsFunction.C "inline_assembly_memory_address_operands::main::load_fpu_control_word" load_fpu_control_word. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_options.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_options.v index cc86feaa1..5f170b1e1 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_options.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_options.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly_options::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly_options::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v index 1fb758224..7b42b2c9a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_register_template_modifiers.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_register_template_modifiers::main" main. + M.IsFunction.C "inline_assembly_register_template_modifiers::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v index 7790b31fa..1f2461102 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_scratch_register.v @@ -4,5 +4,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_scratch_register::main" main. + M.IsFunction.C "inline_assembly_scratch_register::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v index a7d5092f3..bf367289a 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/inline_assembly_symbol_operands_and_abi_clobbers.v @@ -4,19 +4,19 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_symbol_operands_and_abi_clobbers::main" main. + M.IsFunction.C "inline_assembly_symbol_operands_and_abi_clobbers::main" main. Admitted. Module main. Parameter foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_foo : - M.IsFunction.Trait "inline_assembly_symbol_operands_and_abi_clobbers::main::foo" foo. + M.IsFunction.C "inline_assembly_symbol_operands_and_abi_clobbers::main::foo" foo. Admitted. Parameter call_foo : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_call_foo : - M.IsFunction.Trait "inline_assembly_symbol_operands_and_abi_clobbers::main::call_foo" call_foo. + M.IsFunction.C "inline_assembly_symbol_operands_and_abi_clobbers::main::call_foo" call_foo. Admitted. End main. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/raw_pointers.v b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/raw_pointers.v index 3681a87ae..e22e0afd0 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/raw_pointers.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/unsafe_operations/raw_pointers.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "raw_pointers::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "raw_pointers::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/declare_first.v b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/declare_first.v index 0e56fd1e4..02b4f06eb 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/declare_first.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/declare_first.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "declare_first::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "declare_first::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/freezing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/freezing.v index 4db0c0240..98f828bca 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/freezing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/freezing.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "freezing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "freezing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/mutability.v b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/mutability.v index 932f4cc93..2936f03fb 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/mutability.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/mutability.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "mutability::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "mutability::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/scope.v b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/scope.v index 466fd862e..d3d55497b 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/scope.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/scope.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scope::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scope::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_bindings.v b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_bindings.v index 7e7bc850b..8c6414b20 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_bindings.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_bindings.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "variable_bindings::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "variable_bindings::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_shadowing.v b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_shadowing.v index 9a8bc05c0..4be6a1ade 100644 --- a/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_shadowing.v +++ b/CoqOfRust/examples/axiomatized/examples/rust_book/variable_bindings/variable_shadowing.v @@ -3,5 +3,5 @@ Require Import CoqOfRust.CoqOfRust. Parameter main : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "variable_shadowing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "variable_shadowing::main" main. Admitted. diff --git a/CoqOfRust/examples/axiomatized/examples/subtle.v b/CoqOfRust/examples/axiomatized/examples/subtle.v index 16382b21a..4cb643d3a 100644 --- a/CoqOfRust/examples/axiomatized/examples/subtle.v +++ b/CoqOfRust/examples/axiomatized/examples/subtle.v @@ -55,7 +55,7 @@ Module Impl_subtle_Choice. Parameter unwrap_u8 : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_unwrap_u8 : - M.IsAssociatedFunction.Trait Self "unwrap_u8" unwrap_u8. + M.IsAssociatedFunction.C Self "unwrap_u8" unwrap_u8. Admitted. End Impl_subtle_Choice. @@ -184,7 +184,7 @@ End Impl_core_ops_bit_Not_for_subtle_Choice. Parameter black_box : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. -Global Instance Instance_IsFunction_black_box : M.IsFunction.Trait "subtle::black_box" black_box. +Global Instance Instance_IsFunction_black_box : M.IsFunction.C "subtle::black_box" black_box. Admitted. Module Impl_core_convert_From_u8_for_subtle_Choice. @@ -680,28 +680,28 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Parameter expect : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_expect : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "expect" (expect T). + M.IsAssociatedFunction.C (Self T) "expect" (expect T). Admitted. Parameter unwrap : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_unwrap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap" (unwrap T). + M.IsAssociatedFunction.C (Self T) "unwrap" (unwrap T). Admitted. Parameter unwrap_or : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_unwrap_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or" (unwrap_or T). + M.IsAssociatedFunction.C (Self T) "unwrap_or" (unwrap_or T). Admitted. Parameter unwrap_or_else : @@ -710,42 +710,42 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_unwrap_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or_else" (unwrap_or_else T). + M.IsAssociatedFunction.C (Self T) "unwrap_or_else" (unwrap_or_else T). Admitted. Parameter is_some : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_is_some : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_some" (is_some T). + M.IsAssociatedFunction.C (Self T) "is_some" (is_some T). Admitted. Parameter is_none : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_is_none : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_none" (is_none T). + M.IsAssociatedFunction.C (Self T) "is_none" (is_none T). Admitted. Parameter map : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Parameter and_then : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_and_then : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "and_then" (and_then T). + M.IsAssociatedFunction.C (Self T) "and_then" (and_then T). Admitted. Parameter or_else : forall (T : Ty.t), (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "or_else" (or_else T). + M.IsAssociatedFunction.C (Self T) "or_else" (or_else T). Admitted. End Impl_subtle_CtOption_T. diff --git a/CoqOfRust/examples/default/examples/custom/add_one.v b/CoqOfRust/examples/default/examples/custom/add_one.v index 9ddaa2f33..1c54c4c82 100644 --- a/CoqOfRust/examples/default/examples/custom/add_one.v +++ b/CoqOfRust/examples/default/examples/custom/add_one.v @@ -15,6 +15,6 @@ Definition add_one (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_add_one : M.IsFunction.Trait "add_one::add_one" add_one. +Global Instance Instance_IsFunction_add_one : M.IsFunction.C "add_one::add_one" add_one. Admitted. Global Typeclasses Opaque 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 e907ce077..e81d12e8c 100644 --- a/CoqOfRust/examples/default/examples/custom/constructor_as_function.v +++ b/CoqOfRust/examples/default/examples/custom/constructor_as_function.v @@ -46,7 +46,7 @@ Definition matching (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_matching : - M.IsFunction.Trait "constructor_as_function::matching" matching. + M.IsFunction.C "constructor_as_function::matching" matching. Admitted. Global Typeclasses Opaque matching. @@ -338,6 +338,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "constructor_as_function::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "constructor_as_function::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/custom/hello_world.v b/CoqOfRust/examples/default/examples/custom/hello_world.v index 96aeb0d8b..f83089c8f 100644 --- a/CoqOfRust/examples/default/examples/custom/hello_world.v +++ b/CoqOfRust/examples/default/examples/custom/hello_world.v @@ -1,11 +1,12 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition message : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Hello, World!" |) |))). +Definition message (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Hello, World!" |) |))). -Axiom Constant_message : (M.get_constant "hello_world::message") = message. -Global Hint Rewrite Constant_message : constant_rewrites. +Global Instance Instance_IsConstant_message : M.IsFunction.C "hello_world::message" message. +Admitted. +Global Typeclasses Opaque message. (* fn main() { @@ -99,7 +100,10 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "hello_world::message" + get_constant (| + "hello_world::message", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |) @@ -501,6 +505,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hello_world::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hello_world::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/custom/impl_param.v b/CoqOfRust/examples/default/examples/custom/impl_param.v index f1816d094..363bac1d4 100644 --- a/CoqOfRust/examples/default/examples/custom/impl_param.v +++ b/CoqOfRust/examples/default/examples/custom/impl_param.v @@ -91,7 +91,6 @@ Definition with_impls (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_with_impls : - M.IsFunction.Trait "impl_param::with_impls" with_impls. +Global Instance Instance_IsFunction_with_impls : M.IsFunction.C "impl_param::with_impls" with_impls. Admitted. Global Typeclasses Opaque with_impls. diff --git a/CoqOfRust/examples/default/examples/custom/module_duplicate.v b/CoqOfRust/examples/default/examples/custom/module_duplicate.v index db801135f..43364f5c4 100644 --- a/CoqOfRust/examples/default/examples/custom/module_duplicate.v +++ b/CoqOfRust/examples/default/examples/custom/module_duplicate.v @@ -51,7 +51,7 @@ Module foo. end. Global Instance Instance_IsFunction_f_foo_gre : - M.IsFunction.Trait "module_duplicate::foo::gre::f_foo_gre" f_foo_gre. + M.IsFunction.C "module_duplicate::foo::gre::f_foo_gre" f_foo_gre. Admitted. Global Typeclasses Opaque f_foo_gre. End gre. @@ -112,8 +112,7 @@ Module foo. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_f_foo : - M.IsFunction.Trait "module_duplicate::foo::f_foo" f_foo. + Global Instance Instance_IsFunction_f_foo : M.IsFunction.C "module_duplicate::foo::f_foo" f_foo. Admitted. Global Typeclasses Opaque f_foo. End foo. @@ -141,6 +140,6 @@ Definition f (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_f : M.IsFunction.Trait "module_duplicate::f" f. +Global Instance Instance_IsFunction_f : M.IsFunction.C "module_duplicate::f" f. Admitted. Global Typeclasses Opaque f. diff --git a/CoqOfRust/examples/default/examples/custom/mutual_loop.v b/CoqOfRust/examples/default/examples/custom/mutual_loop.v index a4a1f3e5d..1edeca591 100644 --- a/CoqOfRust/examples/default/examples/custom/mutual_loop.v +++ b/CoqOfRust/examples/default/examples/custom/mutual_loop.v @@ -23,7 +23,7 @@ Module Impl_mutual_loop_LoopA. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -46,7 +46,7 @@ Module Impl_mutual_loop_LoopA. end. Global Instance AssociatedFunction_start_loop : - M.IsAssociatedFunction.Trait Self "start_loop" start_loop. + M.IsAssociatedFunction.C Self "start_loop" start_loop. Admitted. Global Typeclasses Opaque start_loop. End Impl_mutual_loop_LoopA. @@ -96,7 +96,7 @@ Module Impl_mutual_loop_LoopB. end. Global Instance AssociatedFunction_start_loop : - M.IsAssociatedFunction.Trait Self "start_loop" start_loop. + M.IsAssociatedFunction.C Self "start_loop" start_loop. Admitted. Global Typeclasses Opaque start_loop. End Impl_mutual_loop_LoopB. @@ -135,6 +135,6 @@ Definition start_loop (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_start_loop : - M.IsFunction.Trait "mutual_loop::start_loop" start_loop. + M.IsFunction.C "mutual_loop::start_loop" start_loop. Admitted. Global Typeclasses Opaque 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 71f1210ea..ffc063814 100644 --- a/CoqOfRust/examples/default/examples/custom/pattern_in_function_parameters.v +++ b/CoqOfRust/examples/default/examples/custom/pattern_in_function_parameters.v @@ -27,8 +27,7 @@ Definition sum (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_sum : - M.IsFunction.Trait "pattern_in_function_parameters::sum" sum. +Global Instance Instance_IsFunction_sum : M.IsFunction.C "pattern_in_function_parameters::sum" sum. Admitted. Global Typeclasses Opaque sum. @@ -230,6 +229,6 @@ Definition steps_between (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_steps_between : - M.IsFunction.Trait "pattern_in_function_parameters::steps_between" steps_between. + M.IsFunction.C "pattern_in_function_parameters::steps_between" steps_between. Admitted. Global Typeclasses Opaque 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 9e916c574..35363e36f 100644 --- a/CoqOfRust/examples/default/examples/custom/polymorphic_associated_function.v +++ b/CoqOfRust/examples/default/examples/custom/polymorphic_associated_function.v @@ -49,7 +49,7 @@ Module Impl_polymorphic_associated_function_Foo_A. Global Instance AssociatedFunction_convert : forall (A : Ty.t), - M.IsAssociatedFunction.Trait (Self A) "convert" (convert A). + M.IsAssociatedFunction.C (Self A) "convert" (convert A). Admitted. Global Typeclasses Opaque convert. End Impl_polymorphic_associated_function_Foo_A. @@ -181,6 +181,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "polymorphic_associated_function::main" main. + M.IsFunction.C "polymorphic_associated_function::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/custom/polymorphic_constants.v b/CoqOfRust/examples/default/examples/custom/polymorphic_constants.v index 1c084e20e..c8f98b215 100644 --- a/CoqOfRust/examples/default/examples/custom/polymorphic_constants.v +++ b/CoqOfRust/examples/default/examples/custom/polymorphic_constants.v @@ -57,7 +57,7 @@ Module Impl_polymorphic_constants_Foo_N_A. Global Instance AssociatedFunction_convert : forall (N : Value.t) (A : Ty.t), - M.IsAssociatedFunction.Trait (Self N A) "convert" (convert N A). + M.IsAssociatedFunction.C (Self N A) "convert" (convert N A). Admitted. Global Typeclasses Opaque convert. End Impl_polymorphic_constants_Foo_N_A. @@ -331,6 +331,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "polymorphic_constants::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "polymorphic_constants::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/custom/provided_method.v b/CoqOfRust/examples/default/examples/custom/provided_method.v index 4b37f9c51..4dc3c91d8 100644 --- a/CoqOfRust/examples/default/examples/custom/provided_method.v +++ b/CoqOfRust/examples/default/examples/custom/provided_method.v @@ -316,6 +316,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "provided_method::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "provided_method::main" main. Admitted. Global Typeclasses Opaque 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 ee4773159..c62a4712e 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/basic_contract_caller.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/basic_contract_caller.v @@ -127,7 +127,7 @@ Module Impl_basic_contract_caller_OtherContract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -166,7 +166,7 @@ Module Impl_basic_contract_caller_OtherContract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Global Typeclasses Opaque flip. @@ -190,7 +190,7 @@ Module Impl_basic_contract_caller_OtherContract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. End Impl_basic_contract_caller_OtherContract. @@ -243,7 +243,7 @@ Module Impl_basic_contract_caller_BasicContractCaller. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -307,7 +307,7 @@ Module Impl_basic_contract_caller_BasicContractCaller. end. Global Instance AssociatedFunction_flip_and_get : - M.IsAssociatedFunction.Trait Self "flip_and_get" flip_and_get. + M.IsAssociatedFunction.C Self "flip_and_get" flip_and_get. Admitted. Global Typeclasses Opaque flip_and_get. End Impl_basic_contract_caller_BasicContractCaller. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v b/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v index ab3d944ea..76e3e96ba 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/call_runtime.v @@ -431,7 +431,7 @@ Module Impl_call_runtime_Env. end. Global Instance AssociatedFunction_call_runtime : - M.IsAssociatedFunction.Trait Self "call_runtime" call_runtime. + M.IsAssociatedFunction.C Self "call_runtime" call_runtime. Admitted. Global Typeclasses Opaque call_runtime. End Impl_call_runtime_Env. @@ -458,8 +458,7 @@ Module Impl_call_runtime_RuntimeCaller. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -481,7 +480,7 @@ Module Impl_call_runtime_RuntimeCaller. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -510,7 +509,7 @@ Module Impl_call_runtime_RuntimeCaller. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -640,7 +639,7 @@ Module Impl_call_runtime_RuntimeCaller. end. Global Instance AssociatedFunction_transfer_through_runtime : - M.IsAssociatedFunction.Trait Self "transfer_through_runtime" transfer_through_runtime. + M.IsAssociatedFunction.C Self "transfer_through_runtime" transfer_through_runtime. Admitted. Global Typeclasses Opaque transfer_through_runtime. @@ -722,7 +721,7 @@ Module Impl_call_runtime_RuntimeCaller. end. Global Instance AssociatedFunction_call_nonexistent_extrinsic : - M.IsAssociatedFunction.Trait Self "call_nonexistent_extrinsic" call_nonexistent_extrinsic. + M.IsAssociatedFunction.C Self "call_nonexistent_extrinsic" call_nonexistent_extrinsic. Admitted. Global Typeclasses Opaque call_nonexistent_extrinsic. End Impl_call_runtime_RuntimeCaller. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v b/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v index cc2b49c81..401bb0a84 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/conditional_compilation.v @@ -169,7 +169,7 @@ Module Impl_conditional_compilation_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -195,7 +195,7 @@ Module Impl_conditional_compilation_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. @@ -220,7 +220,7 @@ Module Impl_conditional_compilation_Env. end. Global Instance AssociatedFunction_block_number : - M.IsAssociatedFunction.Trait Self "block_number" block_number. + M.IsAssociatedFunction.C Self "block_number" block_number. Admitted. Global Typeclasses Opaque block_number. End Impl_conditional_compilation_Env. @@ -255,8 +255,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -283,7 +282,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -319,7 +318,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -339,7 +338,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new_foo : M.IsAssociatedFunction.Trait Self "new_foo" new_foo. + Global Instance AssociatedFunction_new_foo : M.IsAssociatedFunction.C Self "new_foo" new_foo. Admitted. Global Typeclasses Opaque new_foo. @@ -359,7 +358,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new_bar : M.IsAssociatedFunction.Trait Self "new_bar" new_bar. + Global Instance AssociatedFunction_new_bar : M.IsAssociatedFunction.C Self "new_bar" new_bar. Admitted. Global Typeclasses Opaque new_bar. @@ -380,7 +379,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. end. Global Instance AssociatedFunction_new_foo_bar : - M.IsAssociatedFunction.Trait Self "new_foo_bar" new_foo_bar. + M.IsAssociatedFunction.C Self "new_foo_bar" new_foo_bar. Admitted. Global Typeclasses Opaque new_foo_bar. @@ -500,7 +499,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. end. Global Instance AssociatedFunction_inherent_flip_foo : - M.IsAssociatedFunction.Trait Self "inherent_flip_foo" inherent_flip_foo. + M.IsAssociatedFunction.C Self "inherent_flip_foo" inherent_flip_foo. Admitted. Global Typeclasses Opaque inherent_flip_foo. @@ -652,7 +651,7 @@ Module Impl_conditional_compilation_ConditionalCompilation. end. Global Instance AssociatedFunction_inherent_flip_bar : - M.IsAssociatedFunction.Trait Self "inherent_flip_bar" inherent_flip_bar. + M.IsAssociatedFunction.C Self "inherent_flip_bar" inherent_flip_bar. Admitted. Global Typeclasses Opaque inherent_flip_bar. End Impl_conditional_compilation_ConditionalCompilation. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v b/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v index 620597d58..55769f9da 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/contract_terminate.v @@ -117,7 +117,7 @@ Module Impl_contract_terminate_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -143,7 +143,7 @@ Module Impl_contract_terminate_Env. end. Global Instance AssociatedFunction_terminate_contract : - M.IsAssociatedFunction.Trait Self "terminate_contract" terminate_contract. + M.IsAssociatedFunction.C Self "terminate_contract" terminate_contract. Admitted. Global Typeclasses Opaque terminate_contract. End Impl_contract_terminate_Env. @@ -178,8 +178,7 @@ Module Impl_contract_terminate_JustTerminate. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -206,7 +205,7 @@ Module Impl_contract_terminate_JustTerminate. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -221,7 +220,7 @@ Module Impl_contract_terminate_JustTerminate. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -297,7 +296,7 @@ Module Impl_contract_terminate_JustTerminate. end. Global Instance AssociatedFunction_terminate_me : - M.IsAssociatedFunction.Trait Self "terminate_me" terminate_me. + M.IsAssociatedFunction.C Self "terminate_me" terminate_me. Admitted. Global Typeclasses Opaque terminate_me. End Impl_contract_terminate_JustTerminate. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v b/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v index 2a1f4c2a0..6b7ebcd06 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/contract_transfer.v @@ -119,7 +119,7 @@ Module Impl_contract_transfer_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -143,7 +143,7 @@ Module Impl_contract_transfer_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.Trait Self "balance" balance. + Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.C Self "balance" balance. Admitted. Global Typeclasses Opaque balance. @@ -169,8 +169,7 @@ Module Impl_contract_transfer_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Global Typeclasses Opaque transfer. @@ -195,7 +194,7 @@ Module Impl_contract_transfer_Env. end. Global Instance AssociatedFunction_transferred_value : - M.IsAssociatedFunction.Trait Self "transferred_value" transferred_value. + M.IsAssociatedFunction.C Self "transferred_value" transferred_value. Admitted. Global Typeclasses Opaque transferred_value. End Impl_contract_transfer_Env. @@ -230,8 +229,7 @@ Module Impl_contract_transfer_GiveMe. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -253,7 +251,7 @@ Module Impl_contract_transfer_GiveMe. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -268,7 +266,7 @@ Module Impl_contract_transfer_GiveMe. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -640,7 +638,7 @@ Module Impl_contract_transfer_GiveMe. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_give_me : M.IsAssociatedFunction.Trait Self "give_me" give_me. + Global Instance AssociatedFunction_give_me : M.IsAssociatedFunction.C Self "give_me" give_me. Admitted. Global Typeclasses Opaque give_me. @@ -825,7 +823,7 @@ Module Impl_contract_transfer_GiveMe. end. Global Instance AssociatedFunction_was_it_ten : - M.IsAssociatedFunction.Trait Self "was_it_ten" was_it_ten. + M.IsAssociatedFunction.C Self "was_it_ten" was_it_ten. Admitted. Global Typeclasses Opaque was_it_ten. End Impl_contract_transfer_GiveMe. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v b/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v index a855807e8..06a28ed5a 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/custom_allocator.v @@ -83,7 +83,7 @@ Module Impl_custom_allocator_CustomAllocator. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -123,7 +123,7 @@ Module Impl_custom_allocator_CustomAllocator. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_default : M.IsAssociatedFunction.Trait Self "default" default. + Global Instance AssociatedFunction_default : M.IsAssociatedFunction.C Self "default" default. Admitted. Global Typeclasses Opaque default. @@ -208,7 +208,7 @@ Module Impl_custom_allocator_CustomAllocator. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Global Typeclasses Opaque flip. @@ -255,7 +255,7 @@ Module Impl_custom_allocator_CustomAllocator. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. End Impl_custom_allocator_CustomAllocator. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v b/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v index e70a94046..bf4e46e36 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/custom_environment.v @@ -273,7 +273,7 @@ Module Impl_custom_environment_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -299,7 +299,7 @@ Module Impl_custom_environment_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_custom_environment_Env. @@ -326,8 +326,7 @@ Module Impl_custom_environment_Topics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -349,7 +348,7 @@ Module Impl_custom_environment_Topics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -378,7 +377,7 @@ Module Impl_custom_environment_Topics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -445,7 +444,7 @@ Module Impl_custom_environment_Topics. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_trigger : M.IsAssociatedFunction.Trait Self "trigger" trigger. + Global Instance AssociatedFunction_trigger : M.IsAssociatedFunction.C Self "trigger" trigger. Admitted. Global Typeclasses Opaque trigger. End Impl_custom_environment_Topics. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/dns.v b/CoqOfRust/examples/default/examples/ink_contracts/dns.v index 84427acb6..cfefd7d2a 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/dns.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/dns.v @@ -94,7 +94,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Global Typeclasses Opaque contains. @@ -122,7 +122,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -151,7 +151,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. @@ -177,7 +177,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Global Typeclasses Opaque new. @@ -205,7 +205,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Global Typeclasses Opaque remove. @@ -233,7 +233,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Global Typeclasses Opaque size. @@ -261,7 +261,7 @@ Module Impl_dns_Mapping_K_V. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. Global Typeclasses Opaque take. End Impl_dns_Mapping_K_V. @@ -541,7 +541,7 @@ Module Impl_dns_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -567,7 +567,7 @@ Module Impl_dns_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_dns_Env. @@ -624,8 +624,7 @@ Definition zero_address (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_zero_address : - M.IsFunction.Trait "dns::zero_address" zero_address. +Global Instance Instance_IsFunction_zero_address : M.IsFunction.C "dns::zero_address" zero_address. Admitted. Global Typeclasses Opaque zero_address. @@ -993,8 +992,7 @@ Module Impl_dns_DomainNameService. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -1016,7 +1014,7 @@ Module Impl_dns_DomainNameService. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -1045,7 +1043,7 @@ Module Impl_dns_DomainNameService. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1225,8 +1223,7 @@ Module Impl_dns_DomainNameService. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_register : - M.IsAssociatedFunction.Trait Self "register" register. + Global Instance AssociatedFunction_register : M.IsAssociatedFunction.C Self "register" register. Admitted. Global Typeclasses Opaque register. @@ -1294,7 +1291,7 @@ Module Impl_dns_DomainNameService. end. Global Instance AssociatedFunction_get_owner_or_default : - M.IsAssociatedFunction.Trait Self "get_owner_or_default" get_owner_or_default. + M.IsAssociatedFunction.C Self "get_owner_or_default" get_owner_or_default. Admitted. Global Typeclasses Opaque get_owner_or_default. @@ -1523,7 +1520,7 @@ Module Impl_dns_DomainNameService. end. Global Instance AssociatedFunction_set_address : - M.IsAssociatedFunction.Trait Self "set_address" set_address. + M.IsAssociatedFunction.C Self "set_address" set_address. Admitted. Global Typeclasses Opaque set_address. @@ -1752,8 +1749,7 @@ Module Impl_dns_DomainNameService. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Global Typeclasses Opaque transfer. @@ -1821,7 +1817,7 @@ Module Impl_dns_DomainNameService. end. Global Instance AssociatedFunction_get_address_or_default : - M.IsAssociatedFunction.Trait Self "get_address_or_default" get_address_or_default. + M.IsAssociatedFunction.C Self "get_address_or_default" get_address_or_default. Admitted. Global Typeclasses Opaque get_address_or_default. @@ -1850,7 +1846,7 @@ Module Impl_dns_DomainNameService. end. Global Instance AssociatedFunction_get_address : - M.IsAssociatedFunction.Trait Self "get_address" get_address. + M.IsAssociatedFunction.C Self "get_address" get_address. Admitted. Global Typeclasses Opaque get_address. @@ -1879,7 +1875,7 @@ Module Impl_dns_DomainNameService. end. Global Instance AssociatedFunction_get_owner : - M.IsAssociatedFunction.Trait Self "get_owner" get_owner. + M.IsAssociatedFunction.C Self "get_owner" get_owner. Admitted. Global Typeclasses Opaque get_owner. End Impl_dns_DomainNameService. 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 a40e9c611..9c9b61c60 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/e2e_call_runtime.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/e2e_call_runtime.v @@ -119,7 +119,7 @@ Module Impl_e2e_call_runtime_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.Trait Self "balance" balance. + Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.C Self "balance" balance. Admitted. Global Typeclasses Opaque balance. End Impl_e2e_call_runtime_Env. @@ -173,8 +173,7 @@ Module Impl_e2e_call_runtime_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -196,7 +195,7 @@ Module Impl_e2e_call_runtime_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -211,7 +210,7 @@ Module Impl_e2e_call_runtime_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -250,7 +249,7 @@ Module Impl_e2e_call_runtime_Contract. end. Global Instance AssociatedFunction_get_contract_balance : - M.IsAssociatedFunction.Trait Self "get_contract_balance" get_contract_balance. + M.IsAssociatedFunction.C Self "get_contract_balance" get_contract_balance. Admitted. Global Typeclasses Opaque get_contract_balance. End Impl_e2e_call_runtime_Contract. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v b/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v index 5326f93e3..9b425ed1d 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc1155.v @@ -94,7 +94,7 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Global Typeclasses Opaque contains. @@ -122,7 +122,7 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -151,7 +151,7 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. @@ -179,7 +179,7 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Global Typeclasses Opaque remove. @@ -207,7 +207,7 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Global Typeclasses Opaque size. @@ -235,7 +235,7 @@ Module Impl_erc1155_Mapping_K_V. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. Global Typeclasses Opaque take. End Impl_erc1155_Mapping_K_V. @@ -444,44 +444,53 @@ Definition zero_address (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_zero_address : - M.IsFunction.Trait "erc1155::zero_address" zero_address. + M.IsFunction.C "erc1155::zero_address" zero_address. Admitted. Global Typeclasses Opaque zero_address. -Definition value_ON_ERC_1155_RECEIVED_SELECTOR : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U8 242; - Value.Integer IntegerKind.U8 58; - Value.Integer IntegerKind.U8 110; - Value.Integer IntegerKind.U8 97 - ] - |))). +Definition value_ON_ERC_1155_RECEIVED_SELECTOR + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U8 242; + Value.Integer IntegerKind.U8 58; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 97 + ] + |))). -Axiom Constant_value_ON_ERC_1155_RECEIVED_SELECTOR : - (M.get_constant "erc1155::ON_ERC_1155_RECEIVED_SELECTOR") = value_ON_ERC_1155_RECEIVED_SELECTOR. -Global Hint Rewrite Constant_value_ON_ERC_1155_RECEIVED_SELECTOR : constant_rewrites. +Global Instance Instance_IsConstant_value_ON_ERC_1155_RECEIVED_SELECTOR : + M.IsFunction.C "erc1155::ON_ERC_1155_RECEIVED_SELECTOR" value_ON_ERC_1155_RECEIVED_SELECTOR. +Admitted. +Global Typeclasses Opaque value_ON_ERC_1155_RECEIVED_SELECTOR. -Definition _ON_ERC_1155_BATCH_RECEIVED_SELECTOR : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U8 188; - Value.Integer IntegerKind.U8 25; - Value.Integer IntegerKind.U8 124; - Value.Integer IntegerKind.U8 129 - ] - |))). +Definition _ON_ERC_1155_BATCH_RECEIVED_SELECTOR + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U8 188; + Value.Integer IntegerKind.U8 25; + Value.Integer IntegerKind.U8 124; + Value.Integer IntegerKind.U8 129 + ] + |))). -Axiom Constant__ON_ERC_1155_BATCH_RECEIVED_SELECTOR : - (M.get_constant "erc1155::_ON_ERC_1155_BATCH_RECEIVED_SELECTOR") = +Global Instance Instance_IsConstant__ON_ERC_1155_BATCH_RECEIVED_SELECTOR : + M.IsFunction.C + "erc1155::_ON_ERC_1155_BATCH_RECEIVED_SELECTOR" _ON_ERC_1155_BATCH_RECEIVED_SELECTOR. -Global Hint Rewrite Constant__ON_ERC_1155_BATCH_RECEIVED_SELECTOR : constant_rewrites. +Admitted. +Global Typeclasses Opaque _ON_ERC_1155_BATCH_RECEIVED_SELECTOR. Axiom TokenId : (Ty.path "erc1155::TokenId") = (Ty.path "u128"). @@ -719,7 +728,7 @@ Module Impl_erc1155_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -745,7 +754,7 @@ Module Impl_erc1155_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_erc1155_Env. @@ -878,8 +887,7 @@ Module Impl_erc1155_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -901,7 +909,7 @@ Module Impl_erc1155_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -930,7 +938,7 @@ Module Impl_erc1155_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1114,7 +1122,7 @@ Module Impl_erc1155_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_create : M.IsAssociatedFunction.Trait Self "create" create. + Global Instance AssociatedFunction_create : M.IsAssociatedFunction.C Self "create" create. Admitted. Global Typeclasses Opaque create. @@ -1301,7 +1309,7 @@ Module Impl_erc1155_Contract. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.Trait Self "mint" mint. + Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.C Self "mint" mint. Admitted. Global Typeclasses Opaque mint. @@ -1567,7 +1575,7 @@ Module Impl_erc1155_Contract. end. Global Instance AssociatedFunction_perform_transfer : - M.IsAssociatedFunction.Trait Self "perform_transfer" perform_transfer. + M.IsAssociatedFunction.C Self "perform_transfer" perform_transfer. Admitted. Global Typeclasses Opaque perform_transfer. @@ -1660,7 +1668,7 @@ Module Impl_erc1155_Contract. end. Global Instance AssociatedFunction_transfer_acceptance_check : - M.IsAssociatedFunction.Trait Self "transfer_acceptance_check" transfer_acceptance_check. + M.IsAssociatedFunction.C Self "transfer_acceptance_check" transfer_acceptance_check. Admitted. Global Typeclasses Opaque transfer_acceptance_check. End Impl_erc1155_Contract. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc20.v b/CoqOfRust/examples/default/examples/ink_contracts/erc20.v index 3b0c1529d..a1ab59199 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc20.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc20.v @@ -94,7 +94,7 @@ Module Impl_erc20_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -123,7 +123,7 @@ Module Impl_erc20_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. End Impl_erc20_Mapping_K_V. @@ -425,7 +425,7 @@ Module Impl_erc20_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -451,7 +451,7 @@ Module Impl_erc20_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_erc20_Env. @@ -478,8 +478,7 @@ Module Impl_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -501,7 +500,7 @@ Module Impl_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. (* @@ -661,7 +660,7 @@ Module Impl_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -686,7 +685,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_total_supply : - M.IsAssociatedFunction.Trait Self "total_supply" total_supply. + M.IsAssociatedFunction.C Self "total_supply" total_supply. Admitted. Global Typeclasses Opaque total_supply. @@ -739,7 +738,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_balance_of_impl : - M.IsAssociatedFunction.Trait Self "balance_of_impl" balance_of_impl. + M.IsAssociatedFunction.C Self "balance_of_impl" balance_of_impl. Admitted. Global Typeclasses Opaque balance_of_impl. @@ -766,7 +765,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_balance_of : - M.IsAssociatedFunction.Trait Self "balance_of" balance_of. + M.IsAssociatedFunction.C Self "balance_of" balance_of. Admitted. Global Typeclasses Opaque balance_of. @@ -837,7 +836,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_allowance_impl : - M.IsAssociatedFunction.Trait Self "allowance_impl" allowance_impl. + M.IsAssociatedFunction.C Self "allowance_impl" allowance_impl. Admitted. Global Typeclasses Opaque allowance_impl. @@ -866,7 +865,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_allowance : - M.IsAssociatedFunction.Trait Self "allowance" allowance. + M.IsAssociatedFunction.C Self "allowance" allowance. Admitted. Global Typeclasses Opaque allowance. @@ -1056,7 +1055,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_transfer_from_to : - M.IsAssociatedFunction.Trait Self "transfer_from_to" transfer_from_to. + M.IsAssociatedFunction.C Self "transfer_from_to" transfer_from_to. Admitted. Global Typeclasses Opaque transfer_from_to. @@ -1112,8 +1111,7 @@ Module Impl_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Global Typeclasses Opaque transfer. @@ -1221,7 +1219,7 @@ Module Impl_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.Trait Self "approve" approve. + Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.C Self "approve" approve. Admitted. Global Typeclasses Opaque approve. @@ -1467,7 +1465,7 @@ Module Impl_erc20_Erc20. end. Global Instance AssociatedFunction_transfer_from : - M.IsAssociatedFunction.Trait Self "transfer_from" transfer_from. + M.IsAssociatedFunction.C Self "transfer_from" transfer_from. Admitted. Global Typeclasses Opaque transfer_from. End Impl_erc20_Erc20. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/erc721.v b/CoqOfRust/examples/default/examples/ink_contracts/erc721.v index c2b7b3925..c8a13fe18 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/erc721.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/erc721.v @@ -94,7 +94,7 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Global Typeclasses Opaque contains. @@ -122,7 +122,7 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -151,7 +151,7 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. @@ -179,7 +179,7 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Global Typeclasses Opaque remove. @@ -207,7 +207,7 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Global Typeclasses Opaque size. @@ -235,7 +235,7 @@ Module Impl_erc721_Mapping_K_V. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. Global Typeclasses Opaque take. End Impl_erc721_Mapping_K_V. @@ -809,7 +809,7 @@ Module Impl_erc721_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -835,7 +835,7 @@ Module Impl_erc721_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_erc721_Env. @@ -862,8 +862,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -885,7 +884,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -914,7 +913,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -968,7 +967,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_balance_of_or_zero : - M.IsAssociatedFunction.Trait Self "balance_of_or_zero" balance_of_or_zero. + M.IsAssociatedFunction.C Self "balance_of_or_zero" balance_of_or_zero. Admitted. Global Typeclasses Opaque balance_of_or_zero. @@ -1016,7 +1015,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_clear_approval : - M.IsAssociatedFunction.Trait Self "clear_approval" clear_approval. + M.IsAssociatedFunction.C Self "clear_approval" clear_approval. Admitted. Global Typeclasses Opaque clear_approval. @@ -1068,7 +1067,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_approved_for_all : - M.IsAssociatedFunction.Trait Self "approved_for_all" approved_for_all. + M.IsAssociatedFunction.C Self "approved_for_all" approved_for_all. Admitted. Global Typeclasses Opaque approved_for_all. @@ -1106,8 +1105,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_owner_of : - M.IsAssociatedFunction.Trait Self "owner_of" owner_of. + Global Instance AssociatedFunction_owner_of : M.IsAssociatedFunction.C Self "owner_of" owner_of. Admitted. Global Typeclasses Opaque owner_of. @@ -1335,7 +1333,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_approved_or_owner : - M.IsAssociatedFunction.Trait Self "approved_or_owner" approved_or_owner. + M.IsAssociatedFunction.C Self "approved_or_owner" approved_or_owner. Admitted. Global Typeclasses Opaque approved_or_owner. @@ -1373,7 +1371,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_exists_ : M.IsAssociatedFunction.Trait Self "exists_" exists_. + Global Instance AssociatedFunction_exists_ : M.IsAssociatedFunction.C Self "exists" exists_. Admitted. Global Typeclasses Opaque exists_. @@ -1400,7 +1398,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_balance_of : - M.IsAssociatedFunction.Trait Self "balance_of" balance_of. + M.IsAssociatedFunction.C Self "balance_of" balance_of. Admitted. Global Typeclasses Opaque balance_of. @@ -1439,7 +1437,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_get_approved : - M.IsAssociatedFunction.Trait Self "get_approved" get_approved. + M.IsAssociatedFunction.C Self "get_approved" get_approved. Admitted. Global Typeclasses Opaque get_approved. @@ -1468,7 +1466,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_is_approved_for_all : - M.IsAssociatedFunction.Trait Self "is_approved_for_all" is_approved_for_all. + M.IsAssociatedFunction.C Self "is_approved_for_all" is_approved_for_all. Admitted. Global Typeclasses Opaque is_approved_for_all. @@ -1679,7 +1677,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_approve_for_all : - M.IsAssociatedFunction.Trait Self "approve_for_all" approve_for_all. + M.IsAssociatedFunction.C Self "approve_for_all" approve_for_all. Admitted. Global Typeclasses Opaque approve_for_all. @@ -1811,7 +1809,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_set_approval_for_all : - M.IsAssociatedFunction.Trait Self "set_approval_for_all" set_approval_for_all. + M.IsAssociatedFunction.C Self "set_approval_for_all" set_approval_for_all. Admitted. Global Typeclasses Opaque set_approval_for_all. @@ -2172,7 +2170,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_approve_for : - M.IsAssociatedFunction.Trait Self "approve_for" approve_for. + M.IsAssociatedFunction.C Self "approve_for" approve_for. Admitted. Global Typeclasses Opaque approve_for. @@ -2306,7 +2304,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.Trait Self "approve" approve. + Global Instance AssociatedFunction_approve : M.IsAssociatedFunction.C Self "approve" approve. Admitted. Global Typeclasses Opaque approve. @@ -2658,7 +2656,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_remove_token_from : - M.IsAssociatedFunction.Trait Self "remove_token_from" remove_token_from. + M.IsAssociatedFunction.C Self "remove_token_from" remove_token_from. Admitted. Global Typeclasses Opaque remove_token_from. @@ -2692,7 +2690,7 @@ Module Impl_erc721_Erc721. Parameter add_token_to : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_add_token_to : - M.IsAssociatedFunction.Trait Self "add_token_to" add_token_to. + M.IsAssociatedFunction.C Self "add_token_to" add_token_to. Admitted. (* @@ -2723,7 +2721,7 @@ Module Impl_erc721_Erc721. Parameter transfer_token_from : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_transfer_token_from : - M.IsAssociatedFunction.Trait Self "transfer_token_from" transfer_token_from. + M.IsAssociatedFunction.C Self "transfer_token_from" transfer_token_from. Admitted. (* @@ -2880,8 +2878,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Global Typeclasses Opaque transfer. @@ -3026,7 +3023,7 @@ Module Impl_erc721_Erc721. end. Global Instance AssociatedFunction_transfer_from : - M.IsAssociatedFunction.Trait Self "transfer_from" transfer_from. + M.IsAssociatedFunction.C Self "transfer_from" transfer_from. Admitted. Global Typeclasses Opaque transfer_from. @@ -3244,7 +3241,7 @@ Module Impl_erc721_Erc721. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.Trait Self "mint" mint. + Global Instance AssociatedFunction_mint : M.IsAssociatedFunction.C Self "mint" mint. Admitted. Global Typeclasses Opaque mint. @@ -3280,6 +3277,6 @@ Module Impl_erc721_Erc721. *) Parameter burn : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. - Global Instance AssociatedFunction_burn : M.IsAssociatedFunction.Trait Self "burn" burn. + Global Instance AssociatedFunction_burn : M.IsAssociatedFunction.C Self "burn" burn. Admitted. End Impl_erc721_Erc721. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/flipper.v b/CoqOfRust/examples/default/examples/ink_contracts/flipper.v index 8417d918c..612f4e86c 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/flipper.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/flipper.v @@ -26,7 +26,7 @@ Module Impl_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -62,7 +62,7 @@ Module Impl_flipper_Flipper. end. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Global Typeclasses Opaque new_default. @@ -101,7 +101,7 @@ Module Impl_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Global Typeclasses Opaque flip. @@ -125,7 +125,7 @@ Module Impl_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. End Impl_flipper_Flipper. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v b/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v index 42418836f..515bb9b73 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/incrementer.v @@ -26,7 +26,7 @@ Module Impl_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -62,7 +62,7 @@ Module Impl_incrementer_Incrementer. end. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Global Typeclasses Opaque new_default. @@ -93,7 +93,7 @@ Module Impl_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.Trait Self "inc" inc. + Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.C Self "inc" inc. Admitted. Global Typeclasses Opaque inc. @@ -117,7 +117,7 @@ Module Impl_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. End Impl_incrementer_Incrementer. 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 71105f7c7..d43f8a6e1 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 @@ -147,7 +147,7 @@ Module Impl_call_builder_Selector. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_call_builder_Selector. @@ -207,7 +207,7 @@ Module Impl_call_builder_CallBuilderTest. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -341,7 +341,7 @@ Module Impl_call_builder_CallBuilderTest. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_call : M.IsAssociatedFunction.Trait Self "call" call. + Global Instance AssociatedFunction_call : M.IsAssociatedFunction.C Self "call" call. Admitted. Global Typeclasses Opaque call. @@ -367,7 +367,7 @@ Module Impl_call_builder_CallBuilderTest. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.Trait Self "invoke" invoke. + Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.C Self "invoke" invoke. Admitted. Global Typeclasses Opaque invoke. @@ -414,7 +414,7 @@ Module Impl_call_builder_CallBuilderTest. end. Global Instance AssociatedFunction_call_instantiate : - M.IsAssociatedFunction.Trait Self "call_instantiate" call_instantiate. + M.IsAssociatedFunction.C Self "call_instantiate" call_instantiate. Admitted. Global Typeclasses Opaque call_instantiate. @@ -458,7 +458,7 @@ Module Impl_call_builder_CallBuilderTest. end. Global Instance AssociatedFunction_call_instantiate_fallible : - M.IsAssociatedFunction.Trait Self "call_instantiate_fallible" call_instantiate_fallible. + M.IsAssociatedFunction.C Self "call_instantiate_fallible" call_instantiate_fallible. Admitted. Global Typeclasses Opaque call_instantiate_fallible. End Impl_call_builder_CallBuilderTest. 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 cefbdb232..9da862b27 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 @@ -88,7 +88,7 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -122,8 +122,7 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_delegate : - M.IsAssociatedFunction.Trait Self "delegate" delegate. + Global Instance AssociatedFunction_delegate : M.IsAssociatedFunction.C Self "delegate" delegate. Admitted. Global Typeclasses Opaque delegate. @@ -150,7 +149,7 @@ Module Impl_call_builder_delegate_CallBuilderDelegateTest. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.Trait Self "invoke" invoke. + Global Instance AssociatedFunction_invoke : M.IsAssociatedFunction.C Self "invoke" invoke. Admitted. Global Typeclasses Opaque invoke. End Impl_call_builder_delegate_CallBuilderDelegateTest. 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 de43e84bf..7151d7fdc 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 @@ -225,7 +225,7 @@ Module Impl_constructors_return_value_ReturnFlags. end. Global Instance AssociatedFunction_new_with_reverted : - M.IsAssociatedFunction.Trait Self "new_with_reverted" new_with_reverted. + M.IsAssociatedFunction.C Self "new_with_reverted" new_with_reverted. Admitted. Global Typeclasses Opaque new_with_reverted. End Impl_constructors_return_value_ReturnFlags. @@ -250,7 +250,7 @@ Definition return_value (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_return_value : - M.IsFunction.Trait "constructors_return_value::return_value" return_value. + M.IsFunction.C "constructors_return_value::return_value" return_value. Admitted. Global Typeclasses Opaque return_value. @@ -273,7 +273,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -336,7 +336,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Global Typeclasses Opaque try_new. @@ -424,7 +424,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. end. Global Instance AssociatedFunction_revert_new : - M.IsAssociatedFunction.Trait Self "revert_new" revert_new. + M.IsAssociatedFunction.C Self "revert_new" revert_new. Admitted. Global Typeclasses Opaque revert_new. @@ -578,7 +578,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. end. Global Instance AssociatedFunction_try_revert_new : - M.IsAssociatedFunction.Trait Self "try_revert_new" try_revert_new. + M.IsAssociatedFunction.C Self "try_revert_new" try_revert_new. Admitted. Global Typeclasses Opaque try_revert_new. @@ -603,7 +603,7 @@ Module Impl_constructors_return_value_ConstructorsReturnValue. end. Global Instance AssociatedFunction_get_value : - M.IsAssociatedFunction.Trait Self "get_value" get_value. + M.IsAssociatedFunction.C Self "get_value" get_value. Admitted. Global Typeclasses Opaque get_value. End Impl_constructors_return_value_ConstructorsReturnValue. 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 167113478..a65df7631 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 @@ -168,8 +168,7 @@ Module Impl_contract_ref_FlipperRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -191,7 +190,7 @@ Module Impl_contract_ref_FlipperRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -209,7 +208,7 @@ Module Impl_contract_ref_FlipperRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -245,7 +244,7 @@ Module Impl_contract_ref_FlipperRef. end. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Global Typeclasses Opaque new_default. @@ -305,7 +304,7 @@ Module Impl_contract_ref_FlipperRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Global Typeclasses Opaque try_new. @@ -344,7 +343,7 @@ Module Impl_contract_ref_FlipperRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Global Typeclasses Opaque flip. @@ -368,7 +367,7 @@ Module Impl_contract_ref_FlipperRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. End Impl_contract_ref_FlipperRef. @@ -432,7 +431,7 @@ Module Impl_contract_ref_ContractRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -508,7 +507,7 @@ Module Impl_contract_ref_ContractRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Global Typeclasses Opaque try_new. @@ -545,7 +544,7 @@ Module Impl_contract_ref_ContractRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Global Typeclasses Opaque flip. @@ -576,7 +575,7 @@ Module Impl_contract_ref_ContractRef. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. End Impl_contract_ref_ContractRef. 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 487bcff24..6c42aca60 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 @@ -64,7 +64,7 @@ Module Impl_integration_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -100,7 +100,7 @@ Module Impl_integration_flipper_Flipper. end. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Global Typeclasses Opaque new_default. @@ -163,7 +163,7 @@ Module Impl_integration_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.Trait Self "try_new" try_new. + Global Instance AssociatedFunction_try_new : M.IsAssociatedFunction.C Self "try_new" try_new. Admitted. Global Typeclasses Opaque try_new. @@ -202,7 +202,7 @@ Module Impl_integration_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.Trait Self "flip" flip. + Global Instance AssociatedFunction_flip : M.IsAssociatedFunction.C Self "flip" flip. Admitted. Global Typeclasses Opaque flip. @@ -226,7 +226,7 @@ Module Impl_integration_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -260,8 +260,7 @@ Module Impl_integration_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_err_flip : - M.IsAssociatedFunction.Trait Self "err_flip" err_flip. + Global Instance AssociatedFunction_err_flip : M.IsAssociatedFunction.C Self "err_flip" err_flip. Admitted. Global Typeclasses Opaque err_flip. End Impl_integration_flipper_Flipper. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/lib.v b/CoqOfRust/examples/default/examples/ink_contracts/lib.v deleted file mode 100644 index f1e170e5e..000000000 --- a/CoqOfRust/examples/default/examples/ink_contracts/lib.v +++ /dev/null @@ -1,56 +0,0 @@ -Require Import CoqOfRust.CoqOfRust. - -(** A purely functional map data structure, used later to implement the mapping - data structure of ink!. *) -Module Mapping. - (** t K V *) - Parameter empty : Value.t. - - (** K -> t K V -> option V *) - Parameter get : Value.t -> Value.t -> Value.t. - - (** K -> V -> t K V -> t K V *) - Parameter insert : Value.t -> Value.t -> Value.t -> Value.t. - - (** (V -> Z) -> t K V -> Z *) - Parameter sum : (Value.t -> Z) -> Value.t -> Z. -End Mapping. - -Module Impl_Mapping_t_K_V. - Definition Self (K V : Ty.t) : Ty.t := - Ty.apply (Ty.path "erc20::Mapping") [] [ K; V ]. - - (** fn get(&self, key: &K) -> Option *) - Definition get (K V : Ty.t) (ε : list Value.t) (𝜏 : list Ty.t) (α : list Value.t) : M := - let Self : Ty.t := Self K V in - match ε, 𝜏, α with - | [], [], [ self; key ] => - let* self := M.read self in - let* key := M.read key in - M.pure (Mapping.get key self) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance AssociatedFunction_get : - forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). - Admitted. - - (** fn insert(&mut self, key: K, value: V) *) - Definition insert - (K V : Ty.t) (ε : list Value.t) (𝜏 : list Ty.t) (α : list Value.t) : M := - let Self : Ty.t := Self K V in - match ε, 𝜏, α with - | [], [], [ self; key; value ] => - let* self_content := M.read self in - let new_self_content := Mapping.insert key value self_content in - let* _ := assign self new_self_content in - M.pure (Value.Tuple []) - | _, _, _ => M.impossible "wrong number of arguments" - end. - - Global Instance AssociatedFunction_insert : - forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). - Admitted. -End Impl_Mapping_t_K_V. 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 e1f16ee56..ad8745ddb 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/mapping_integration_tests.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/mapping_integration_tests.v @@ -96,7 +96,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Global Typeclasses Opaque contains. @@ -124,7 +124,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -153,7 +153,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. @@ -179,7 +179,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_new : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "new" (new K V). + M.IsAssociatedFunction.C (Self K V) "new" (new K V). Admitted. Global Typeclasses Opaque new. @@ -207,7 +207,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Global Typeclasses Opaque remove. @@ -235,7 +235,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Global Typeclasses Opaque size. @@ -263,7 +263,7 @@ Module Impl_mapping_integration_tests_Mapping_K_V. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. Global Typeclasses Opaque take. End Impl_mapping_integration_tests_Mapping_K_V. @@ -386,7 +386,7 @@ Module Impl_mapping_integration_tests_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. End Impl_mapping_integration_tests_Env. @@ -472,8 +472,7 @@ Module Impl_mapping_integration_tests_Mappings. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -496,7 +495,7 @@ Module Impl_mapping_integration_tests_Mappings. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -546,7 +545,7 @@ Module Impl_mapping_integration_tests_Mappings. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -624,7 +623,7 @@ Module Impl_mapping_integration_tests_Mappings. end. Global Instance AssociatedFunction_get_balance : - M.IsAssociatedFunction.Trait Self "get_balance" get_balance. + M.IsAssociatedFunction.C Self "get_balance" get_balance. Admitted. Global Typeclasses Opaque get_balance. @@ -701,7 +700,7 @@ Module Impl_mapping_integration_tests_Mappings. end. Global Instance AssociatedFunction_insert_balance : - M.IsAssociatedFunction.Trait Self "insert_balance" insert_balance. + M.IsAssociatedFunction.C Self "insert_balance" insert_balance. Admitted. Global Typeclasses Opaque insert_balance. @@ -776,7 +775,7 @@ Module Impl_mapping_integration_tests_Mappings. end. Global Instance AssociatedFunction_size_balance : - M.IsAssociatedFunction.Trait Self "size_balance" size_balance. + M.IsAssociatedFunction.C Self "size_balance" size_balance. Admitted. Global Typeclasses Opaque size_balance. @@ -854,7 +853,7 @@ Module Impl_mapping_integration_tests_Mappings. end. Global Instance AssociatedFunction_contains_balance : - M.IsAssociatedFunction.Trait Self "contains_balance" contains_balance. + M.IsAssociatedFunction.C Self "contains_balance" contains_balance. Admitted. Global Typeclasses Opaque contains_balance. @@ -931,7 +930,7 @@ Module Impl_mapping_integration_tests_Mappings. end. Global Instance AssociatedFunction_remove_balance : - M.IsAssociatedFunction.Trait Self "remove_balance" remove_balance. + M.IsAssociatedFunction.C Self "remove_balance" remove_balance. Admitted. Global Typeclasses Opaque remove_balance. @@ -1006,7 +1005,7 @@ Module Impl_mapping_integration_tests_Mappings. end. Global Instance AssociatedFunction_take_balance : - M.IsAssociatedFunction.Trait Self "take_balance" take_balance. + M.IsAssociatedFunction.C Self "take_balance" take_balance. Admitted. Global Typeclasses Opaque take_balance. End Impl_mapping_integration_tests_Mappings. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/mother.v b/CoqOfRust/examples/default/examples/ink_contracts/mother.v index e973465eb..d12258af2 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/mother.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/mother.v @@ -94,7 +94,7 @@ Module Impl_mother_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -123,7 +123,7 @@ Module Impl_mother_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. End Impl_mother_Mapping_K_V. @@ -2107,7 +2107,7 @@ Module Impl_mother_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -2133,7 +2133,7 @@ Module Impl_mother_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_mother_Env. @@ -2231,8 +2231,7 @@ Module Impl_mother_Mother. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -2254,7 +2253,7 @@ Module Impl_mother_Mother. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -2299,7 +2298,7 @@ Module Impl_mother_Mother. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2329,7 +2328,7 @@ Module Impl_mother_Mother. end. Global Instance AssociatedFunction_new_default : - M.IsAssociatedFunction.Trait Self "new_default" new_default. + M.IsAssociatedFunction.C Self "new_default" new_default. Admitted. Global Typeclasses Opaque new_default. @@ -2416,7 +2415,7 @@ Module Impl_mother_Mother. end. Global Instance AssociatedFunction_failed_new : - M.IsAssociatedFunction.Trait Self "failed_new" failed_new. + M.IsAssociatedFunction.C Self "failed_new" failed_new. Admitted. Global Typeclasses Opaque failed_new. @@ -2482,7 +2481,7 @@ Module Impl_mother_Mother. end. Global Instance AssociatedFunction_echo_auction : - M.IsAssociatedFunction.Trait Self "echo_auction" echo_auction. + M.IsAssociatedFunction.C Self "echo_auction" echo_auction. Admitted. Global Typeclasses Opaque echo_auction. @@ -2577,7 +2576,7 @@ Module Impl_mother_Mother. end. Global Instance AssociatedFunction_revert_or_trap : - M.IsAssociatedFunction.Trait Self "revert_or_trap" revert_or_trap. + M.IsAssociatedFunction.C Self "revert_or_trap" revert_or_trap. Admitted. Global Typeclasses Opaque revert_or_trap. @@ -2661,7 +2660,7 @@ Module Impl_mother_Mother. end. Global Instance AssociatedFunction_debug_log : - M.IsAssociatedFunction.Trait Self "debug_log" debug_log. + M.IsAssociatedFunction.C Self "debug_log" debug_log. Admitted. Global Typeclasses Opaque debug_log. End Impl_mother_Mother. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/multisig.v b/CoqOfRust/examples/default/examples/ink_contracts/multisig.v index dce5fc4c2..11b175749 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/multisig.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/multisig.v @@ -94,7 +94,7 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_contains : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "contains" (contains K V). + M.IsAssociatedFunction.C (Self K V) "contains" (contains K V). Admitted. Global Typeclasses Opaque contains. @@ -122,7 +122,7 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -151,7 +151,7 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. @@ -179,7 +179,7 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_remove : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "remove" (remove K V). + M.IsAssociatedFunction.C (Self K V) "remove" (remove K V). Admitted. Global Typeclasses Opaque remove. @@ -207,7 +207,7 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_size : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "size" (size K V). + M.IsAssociatedFunction.C (Self K V) "size" (size K V). Admitted. Global Typeclasses Opaque size. @@ -235,7 +235,7 @@ Module Impl_multisig_Mapping_K_V. Global Instance AssociatedFunction_take : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "take" (take K V). + M.IsAssociatedFunction.C (Self K V) "take" (take K V). Admitted. Global Typeclasses Opaque take. End Impl_multisig_Mapping_K_V. @@ -587,22 +587,24 @@ Axiom Balance : (Ty.path "multisig::Balance") = (Ty.path "u128"). fields := [ ("caller", Ty.path "multisig::AccountId") ]; } *) -Definition value_MAX_OWNERS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 50 |))). +Definition value_MAX_OWNERS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 50 |))). -Axiom Constant_value_MAX_OWNERS : (M.get_constant "multisig::MAX_OWNERS") = value_MAX_OWNERS. -Global Hint Rewrite Constant_value_MAX_OWNERS : constant_rewrites. +Global Instance Instance_IsConstant_value_MAX_OWNERS : + M.IsFunction.C "multisig::MAX_OWNERS" value_MAX_OWNERS. +Admitted. +Global Typeclasses Opaque value_MAX_OWNERS. Axiom TransactionId : (Ty.path "multisig::TransactionId") = (Ty.path "u32"). -Definition value_WRONG_TRANSACTION_ID : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| mk_str (| "The user specified an invalid transaction id. Abort." |) |))). +Definition value_WRONG_TRANSACTION_ID (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| mk_str (| "The user specified an invalid transaction id. Abort." |) |))). -Axiom Constant_value_WRONG_TRANSACTION_ID : - (M.get_constant "multisig::WRONG_TRANSACTION_ID") = value_WRONG_TRANSACTION_ID. -Global Hint Rewrite Constant_value_WRONG_TRANSACTION_ID : constant_rewrites. +Global Instance Instance_IsConstant_value_WRONG_TRANSACTION_ID : + M.IsFunction.C "multisig::WRONG_TRANSACTION_ID" value_WRONG_TRANSACTION_ID. +Admitted. +Global Typeclasses Opaque value_WRONG_TRANSACTION_ID. (* StructTuple { @@ -1160,7 +1162,7 @@ Module Impl_multisig_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -1186,7 +1188,7 @@ Module Impl_multisig_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. @@ -1211,7 +1213,7 @@ Module Impl_multisig_Env. end. Global Instance AssociatedFunction_transferred_value : - M.IsAssociatedFunction.Trait Self "transferred_value" transferred_value. + M.IsAssociatedFunction.C Self "transferred_value" transferred_value. Admitted. Global Typeclasses Opaque transferred_value. @@ -1236,7 +1238,7 @@ Module Impl_multisig_Env. end. Global Instance AssociatedFunction_account_id : - M.IsAssociatedFunction.Trait Self "account_id" account_id. + M.IsAssociatedFunction.C Self "account_id" account_id. Admitted. Global Typeclasses Opaque account_id. End Impl_multisig_Env. @@ -1453,7 +1455,9 @@ Definition ensure_requirement_is_valid (ε : list Value.t) (τ : list Ty.t) (α ltac:(M.monadic (BinOp.le (| M.read (| owners |), - M.read (| M.get_constant "multisig::MAX_OWNERS" |) + M.read (| + get_constant (| "multisig::MAX_OWNERS", Ty.path "u32" |) + |) |))) |) |) @@ -1481,7 +1485,7 @@ Definition ensure_requirement_is_valid (ε : list Value.t) (τ : list Ty.t) (α end. Global Instance Instance_IsFunction_ensure_requirement_is_valid : - M.IsFunction.Trait "multisig::ensure_requirement_is_valid" ensure_requirement_is_valid. + M.IsFunction.C "multisig::ensure_requirement_is_valid" ensure_requirement_is_valid. Admitted. Global Typeclasses Opaque ensure_requirement_is_valid. @@ -1507,8 +1511,7 @@ Module Impl_multisig_Multisig. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -1530,7 +1533,7 @@ Module Impl_multisig_Multisig. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -1821,7 +1824,7 @@ Module Impl_multisig_Multisig. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1892,7 +1895,12 @@ Module Impl_multisig_Multisig. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "multisig::WRONG_TRANSACTION_ID" |) + M.read (| + get_constant (| + "multisig::WRONG_TRANSACTION_ID", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) |) |) ] @@ -1931,7 +1939,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_ensure_confirmed : - M.IsAssociatedFunction.Trait Self "ensure_confirmed" ensure_confirmed. + M.IsAssociatedFunction.C Self "ensure_confirmed" ensure_confirmed. Admitted. Global Typeclasses Opaque ensure_confirmed. @@ -1991,7 +1999,14 @@ Module Impl_multisig_Multisig. |); M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "multisig::WRONG_TRANSACTION_ID" |) |) + M.deref (| + M.read (| + get_constant (| + "multisig::WRONG_TRANSACTION_ID", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |) ] |) @@ -2002,7 +2017,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_ensure_transaction_exists : - M.IsAssociatedFunction.Trait Self "ensure_transaction_exists" ensure_transaction_exists. + M.IsAssociatedFunction.C Self "ensure_transaction_exists" ensure_transaction_exists. Admitted. Global Typeclasses Opaque ensure_transaction_exists. @@ -2073,7 +2088,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_ensure_owner : - M.IsAssociatedFunction.Trait Self "ensure_owner" ensure_owner. + M.IsAssociatedFunction.C Self "ensure_owner" ensure_owner. Admitted. Global Typeclasses Opaque ensure_owner. @@ -2150,7 +2165,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_ensure_caller_is_owner : - M.IsAssociatedFunction.Trait Self "ensure_caller_is_owner" ensure_caller_is_owner. + M.IsAssociatedFunction.C Self "ensure_caller_is_owner" ensure_caller_is_owner. Admitted. Global Typeclasses Opaque ensure_caller_is_owner. @@ -2331,7 +2346,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_ensure_from_wallet : - M.IsAssociatedFunction.Trait Self "ensure_from_wallet" ensure_from_wallet. + M.IsAssociatedFunction.C Self "ensure_from_wallet" ensure_from_wallet. Admitted. Global Typeclasses Opaque ensure_from_wallet. @@ -2404,7 +2419,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_ensure_no_owner : - M.IsAssociatedFunction.Trait Self "ensure_no_owner" ensure_no_owner. + M.IsAssociatedFunction.C Self "ensure_no_owner" ensure_no_owner. Admitted. Global Typeclasses Opaque ensure_no_owner. @@ -2586,7 +2601,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_add_owner : - M.IsAssociatedFunction.Trait Self "add_owner" add_owner. + M.IsAssociatedFunction.C Self "add_owner" add_owner. Admitted. Global Typeclasses Opaque add_owner. @@ -2748,7 +2763,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_owner_index : - M.IsAssociatedFunction.Trait Self "owner_index" owner_index. + M.IsAssociatedFunction.C Self "owner_index" owner_index. Admitted. Global Typeclasses Opaque owner_index. @@ -3063,7 +3078,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_clean_owner_confirmations : - M.IsAssociatedFunction.Trait Self "clean_owner_confirmations" clean_owner_confirmations. + M.IsAssociatedFunction.C Self "clean_owner_confirmations" clean_owner_confirmations. Admitted. Global Typeclasses Opaque clean_owner_confirmations. @@ -3309,7 +3324,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_remove_owner : - M.IsAssociatedFunction.Trait Self "remove_owner" remove_owner. + M.IsAssociatedFunction.C Self "remove_owner" remove_owner. Admitted. Global Typeclasses Opaque remove_owner. @@ -3566,7 +3581,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_replace_owner : - M.IsAssociatedFunction.Trait Self "replace_owner" replace_owner. + M.IsAssociatedFunction.C Self "replace_owner" replace_owner. Admitted. Global Typeclasses Opaque replace_owner. @@ -3678,7 +3693,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_change_requirement : - M.IsAssociatedFunction.Trait Self "change_requirement" change_requirement. + M.IsAssociatedFunction.C Self "change_requirement" change_requirement. Admitted. Global Typeclasses Opaque change_requirement. @@ -3980,7 +3995,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_confirm_by_caller : - M.IsAssociatedFunction.Trait Self "confirm_by_caller" confirm_by_caller. + M.IsAssociatedFunction.C Self "confirm_by_caller" confirm_by_caller. Admitted. Global Typeclasses Opaque confirm_by_caller. @@ -4202,7 +4217,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_submit_transaction : - M.IsAssociatedFunction.Trait Self "submit_transaction" submit_transaction. + M.IsAssociatedFunction.C Self "submit_transaction" submit_transaction. Admitted. Global Typeclasses Opaque submit_transaction. @@ -4711,7 +4726,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_take_transaction : - M.IsAssociatedFunction.Trait Self "take_transaction" take_transaction. + M.IsAssociatedFunction.C Self "take_transaction" take_transaction. Admitted. Global Typeclasses Opaque take_transaction. @@ -4839,7 +4854,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_cancel_transaction : - M.IsAssociatedFunction.Trait Self "cancel_transaction" cancel_transaction. + M.IsAssociatedFunction.C Self "cancel_transaction" cancel_transaction. Admitted. Global Typeclasses Opaque cancel_transaction. @@ -4927,7 +4942,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_confirm_transaction : - M.IsAssociatedFunction.Trait Self "confirm_transaction" confirm_transaction. + M.IsAssociatedFunction.C Self "confirm_transaction" confirm_transaction. Admitted. Global Typeclasses Opaque confirm_transaction. @@ -5195,7 +5210,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_revoke_confirmation : - M.IsAssociatedFunction.Trait Self "revoke_confirmation" revoke_confirmation. + M.IsAssociatedFunction.C Self "revoke_confirmation" revoke_confirmation. Admitted. Global Typeclasses Opaque revoke_confirmation. @@ -5278,7 +5293,14 @@ Module Impl_multisig_Multisig. |); M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "multisig::WRONG_TRANSACTION_ID" |) |) + M.deref (| + M.read (| + get_constant (| + "multisig::WRONG_TRANSACTION_ID", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |) ] |) @@ -5536,7 +5558,7 @@ Module Impl_multisig_Multisig. end. Global Instance AssociatedFunction_invoke_transaction : - M.IsAssociatedFunction.Trait Self "invoke_transaction" invoke_transaction. + M.IsAssociatedFunction.C Self "invoke_transaction" invoke_transaction. Admitted. Global Typeclasses Opaque invoke_transaction. @@ -5569,6 +5591,6 @@ Module Impl_multisig_Multisig. Parameter eval_transaction : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance AssociatedFunction_eval_transaction : - M.IsAssociatedFunction.Trait Self "eval_transaction" eval_transaction. + M.IsAssociatedFunction.C Self "eval_transaction" eval_transaction. Admitted. End Impl_multisig_Multisig. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v b/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v index edc8ed14f..1ef2e8755 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/payment_channel.v @@ -419,7 +419,7 @@ Module Impl_payment_channel_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -445,7 +445,7 @@ Module Impl_payment_channel_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. @@ -471,7 +471,7 @@ Module Impl_payment_channel_Env. end. Global Instance AssociatedFunction_terminate_contract : - M.IsAssociatedFunction.Trait Self "terminate_contract" terminate_contract. + M.IsAssociatedFunction.C Self "terminate_contract" terminate_contract. Admitted. Global Typeclasses Opaque terminate_contract. @@ -497,8 +497,7 @@ Module Impl_payment_channel_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + Global Instance AssociatedFunction_transfer : M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Global Typeclasses Opaque transfer. @@ -523,7 +522,7 @@ Module Impl_payment_channel_Env. end. Global Instance AssociatedFunction_block_timestamp : - M.IsAssociatedFunction.Trait Self "block_timestamp" block_timestamp. + M.IsAssociatedFunction.C Self "block_timestamp" block_timestamp. Admitted. Global Typeclasses Opaque block_timestamp. @@ -547,7 +546,7 @@ Module Impl_payment_channel_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.Trait Self "balance" balance. + Global Instance AssociatedFunction_balance : M.IsAssociatedFunction.C Self "balance" balance. Admitted. Global Typeclasses Opaque balance. @@ -572,7 +571,7 @@ Module Impl_payment_channel_Env. end. Global Instance AssociatedFunction_account_id : - M.IsAssociatedFunction.Trait Self "account_id" account_id. + M.IsAssociatedFunction.C Self "account_id" account_id. Admitted. Global Typeclasses Opaque account_id. End Impl_payment_channel_Env. @@ -608,7 +607,7 @@ Definition hash_encoded (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_hash_encoded : - M.IsFunction.Trait "payment_channel::hash_encoded" hash_encoded. + M.IsFunction.C "payment_channel::hash_encoded" hash_encoded. Admitted. Global Typeclasses Opaque hash_encoded. @@ -639,7 +638,7 @@ Definition ecdsa_recover (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_ecdsa_recover : - M.IsFunction.Trait "payment_channel::ecdsa_recover" ecdsa_recover. + M.IsFunction.C "payment_channel::ecdsa_recover" ecdsa_recover. Admitted. Global Typeclasses Opaque ecdsa_recover. @@ -901,8 +900,7 @@ Module Impl_payment_channel_PaymentChannel. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -929,7 +927,7 @@ Module Impl_payment_channel_PaymentChannel. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -1187,7 +1185,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_is_signature_valid : - M.IsAssociatedFunction.Trait Self "is_signature_valid" is_signature_valid. + M.IsAssociatedFunction.C Self "is_signature_valid" is_signature_valid. Admitted. Global Typeclasses Opaque is_signature_valid. @@ -1241,7 +1239,7 @@ Module Impl_payment_channel_PaymentChannel. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1645,7 +1643,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_close_inner : - M.IsAssociatedFunction.Trait Self "close_inner" close_inner. + M.IsAssociatedFunction.C Self "close_inner" close_inner. Admitted. Global Typeclasses Opaque close_inner. @@ -1815,7 +1813,7 @@ Module Impl_payment_channel_PaymentChannel. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_close : M.IsAssociatedFunction.Trait Self "close" close. + Global Instance AssociatedFunction_close : M.IsAssociatedFunction.C Self "close" close. Admitted. Global Typeclasses Opaque close. @@ -2039,7 +2037,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_start_sender_close : - M.IsAssociatedFunction.Trait Self "start_sender_close" start_sender_close. + M.IsAssociatedFunction.C Self "start_sender_close" start_sender_close. Admitted. Global Typeclasses Opaque start_sender_close. @@ -2221,7 +2219,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_claim_timeout : - M.IsAssociatedFunction.Trait Self "claim_timeout" claim_timeout. + M.IsAssociatedFunction.C Self "claim_timeout" claim_timeout. Admitted. Global Typeclasses Opaque claim_timeout. @@ -2645,8 +2643,7 @@ Module Impl_payment_channel_PaymentChannel. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_withdraw : - M.IsAssociatedFunction.Trait Self "withdraw" withdraw. + Global Instance AssociatedFunction_withdraw : M.IsAssociatedFunction.C Self "withdraw" withdraw. Admitted. Global Typeclasses Opaque withdraw. @@ -2671,7 +2668,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_get_sender : - M.IsAssociatedFunction.Trait Self "get_sender" get_sender. + M.IsAssociatedFunction.C Self "get_sender" get_sender. Admitted. Global Typeclasses Opaque get_sender. @@ -2696,7 +2693,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_get_recipient : - M.IsAssociatedFunction.Trait Self "get_recipient" get_recipient. + M.IsAssociatedFunction.C Self "get_recipient" get_recipient. Admitted. Global Typeclasses Opaque get_recipient. @@ -2721,7 +2718,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_get_expiration : - M.IsAssociatedFunction.Trait Self "get_expiration" get_expiration. + M.IsAssociatedFunction.C Self "get_expiration" get_expiration. Admitted. Global Typeclasses Opaque get_expiration. @@ -2746,7 +2743,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_get_withdrawn : - M.IsAssociatedFunction.Trait Self "get_withdrawn" get_withdrawn. + M.IsAssociatedFunction.C Self "get_withdrawn" get_withdrawn. Admitted. Global Typeclasses Opaque get_withdrawn. @@ -2771,7 +2768,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_get_close_duration : - M.IsAssociatedFunction.Trait Self "get_close_duration" get_close_duration. + M.IsAssociatedFunction.C Self "get_close_duration" get_close_duration. Admitted. Global Typeclasses Opaque get_close_duration. @@ -2810,7 +2807,7 @@ Module Impl_payment_channel_PaymentChannel. end. Global Instance AssociatedFunction_get_balance : - M.IsAssociatedFunction.Trait Self "get_balance" get_balance. + M.IsAssociatedFunction.C Self "get_balance" get_balance. Admitted. Global Typeclasses Opaque get_balance. End Impl_payment_channel_PaymentChannel. 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 d5290203e..5a9a0f138 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/set_code_hash.v @@ -32,7 +32,7 @@ Definition set_code_hash (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_set_code_hash : - M.IsFunction.Trait "set_code_hash::set_code_hash" set_code_hash. + M.IsFunction.C "set_code_hash::set_code_hash" set_code_hash. Admitted. Global Typeclasses Opaque set_code_hash. @@ -110,7 +110,7 @@ Module Impl_set_code_hash_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -221,7 +221,7 @@ Module Impl_set_code_hash_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.Trait Self "inc" inc. + Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.C Self "inc" inc. Admitted. Global Typeclasses Opaque inc. @@ -245,7 +245,7 @@ Module Impl_set_code_hash_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -411,8 +411,7 @@ Module Impl_set_code_hash_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set_code : - M.IsAssociatedFunction.Trait Self "set_code" set_code. + Global Instance AssociatedFunction_set_code : M.IsAssociatedFunction.C Self "set_code" set_code. Admitted. Global Typeclasses Opaque set_code. End Impl_set_code_hash_Incrementer. 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 a93372bc3..57ca31347 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 @@ -133,7 +133,7 @@ Module Impl_updated_incrementer_Env. end. Global Instance AssociatedFunction_set_code_hash : - M.IsAssociatedFunction.Trait Self "set_code_hash" set_code_hash. + M.IsAssociatedFunction.C Self "set_code_hash" set_code_hash. Admitted. Global Typeclasses Opaque set_code_hash. End Impl_updated_incrementer_Env. @@ -168,8 +168,7 @@ Module Impl_updated_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -196,7 +195,7 @@ Module Impl_updated_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -237,7 +236,7 @@ Module Impl_updated_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -348,7 +347,7 @@ Module Impl_updated_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.Trait Self "inc" inc. + Global Instance AssociatedFunction_inc : M.IsAssociatedFunction.C Self "inc" inc. Admitted. Global Typeclasses Opaque inc. @@ -372,7 +371,7 @@ Module Impl_updated_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -555,8 +554,7 @@ Module Impl_updated_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set_code : - M.IsAssociatedFunction.Trait Self "set_code" set_code. + Global Instance AssociatedFunction_set_code : M.IsAssociatedFunction.C Self "set_code" set_code. Admitted. Global Typeclasses Opaque set_code. End Impl_updated_incrementer_Incrementer. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v b/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v index 253f723c5..f8f24a322 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/trait_erc20.v @@ -94,7 +94,7 @@ Module Impl_trait_erc20_Mapping_K_V. Global Instance AssociatedFunction_get : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "get" (get K V). + M.IsAssociatedFunction.C (Self K V) "get" (get K V). Admitted. Global Typeclasses Opaque get. @@ -123,7 +123,7 @@ Module Impl_trait_erc20_Mapping_K_V. Global Instance AssociatedFunction_insert : forall (K V : Ty.t), - M.IsAssociatedFunction.Trait (Self K V) "insert" (insert K V). + M.IsAssociatedFunction.C (Self K V) "insert" (insert K V). Admitted. Global Typeclasses Opaque insert. End Impl_trait_erc20_Mapping_K_V. @@ -582,7 +582,7 @@ Module Impl_trait_erc20_Env. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.Trait Self "caller" caller. + Global Instance AssociatedFunction_caller : M.IsAssociatedFunction.C Self "caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -608,7 +608,7 @@ Module Impl_trait_erc20_Env. end. Global Instance AssociatedFunction_emit_event : - M.IsAssociatedFunction.Trait Self "emit_event" emit_event. + M.IsAssociatedFunction.C Self "emit_event" emit_event. Admitted. Global Typeclasses Opaque emit_event. End Impl_trait_erc20_Env. @@ -635,8 +635,7 @@ Module Impl_trait_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_init_env : - M.IsAssociatedFunction.Trait Self "init_env" init_env. + Global Instance AssociatedFunction_init_env : M.IsAssociatedFunction.C Self "init_env" init_env. Admitted. Global Typeclasses Opaque init_env. @@ -658,7 +657,7 @@ Module Impl_trait_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_env : M.IsAssociatedFunction.Trait Self "env" env. + Global Instance AssociatedFunction_env : M.IsAssociatedFunction.C Self "env" env. Admitted. Global Typeclasses Opaque env. @@ -831,7 +830,7 @@ Module Impl_trait_erc20_Erc20. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -884,7 +883,7 @@ Module Impl_trait_erc20_Erc20. end. Global Instance AssociatedFunction_balance_of_impl : - M.IsAssociatedFunction.Trait Self "balance_of_impl" balance_of_impl. + M.IsAssociatedFunction.C Self "balance_of_impl" balance_of_impl. Admitted. Global Typeclasses Opaque balance_of_impl. @@ -955,7 +954,7 @@ Module Impl_trait_erc20_Erc20. end. Global Instance AssociatedFunction_allowance_impl : - M.IsAssociatedFunction.Trait Self "allowance_impl" allowance_impl. + M.IsAssociatedFunction.C Self "allowance_impl" allowance_impl. Admitted. Global Typeclasses Opaque allowance_impl. @@ -1155,7 +1154,7 @@ Module Impl_trait_erc20_Erc20. end. Global Instance AssociatedFunction_transfer_from_to : - M.IsAssociatedFunction.Trait Self "transfer_from_to" transfer_from_to. + M.IsAssociatedFunction.C Self "transfer_from_to" transfer_from_to. Admitted. Global Typeclasses Opaque transfer_from_to. End Impl_trait_erc20_Erc20. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v b/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v index a0946f8c3..024b70d4a 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/trait_flipper.v @@ -47,7 +47,7 @@ Module Impl_trait_flipper_Flipper. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_trait_flipper_Flipper. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v b/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v index 96880505c..68474c4a7 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/trait_incrementer.v @@ -32,7 +32,7 @@ Module Impl_trait_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -63,7 +63,7 @@ Module Impl_trait_incrementer_Incrementer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inc_by : M.IsAssociatedFunction.Trait Self "inc_by" inc_by. + Global Instance AssociatedFunction_inc_by : M.IsAssociatedFunction.C Self "inc_by" inc_by. Admitted. Global Typeclasses Opaque inc_by. End Impl_trait_incrementer_Incrementer. diff --git a/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v b/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v index 6dd7e2bfa..d6329eeee 100644 --- a/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v +++ b/CoqOfRust/examples/default/examples/ink_contracts/wildcard_selector.v @@ -21,7 +21,7 @@ Definition decode_input (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_decode_input : - M.IsFunction.Trait "wildcard_selector::decode_input" decode_input. + M.IsFunction.C "wildcard_selector::decode_input" decode_input. Admitted. Global Typeclasses Opaque decode_input. @@ -47,7 +47,7 @@ Module Impl_wildcard_selector_WildcardSelector. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -237,8 +237,7 @@ Module Impl_wildcard_selector_WildcardSelector. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wildcard : - M.IsAssociatedFunction.Trait Self "wildcard" wildcard. + Global Instance AssociatedFunction_wildcard : M.IsAssociatedFunction.C Self "wildcard" wildcard. Admitted. Global Typeclasses Opaque wildcard. @@ -323,7 +322,7 @@ Module Impl_wildcard_selector_WildcardSelector. end. Global Instance AssociatedFunction_wildcard_complement : - M.IsAssociatedFunction.Trait Self "wildcard_complement" wildcard_complement. + M.IsAssociatedFunction.C Self "wildcard_complement" wildcard_complement. Admitted. Global Typeclasses Opaque wildcard_complement. End Impl_wildcard_selector_WildcardSelector. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example01.v b/CoqOfRust/examples/default/examples/monadic_transformation/example01.v index 0b0208c01..6ce124ea5 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example01.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example01.v @@ -15,7 +15,7 @@ Definition id (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_id : M.IsFunction.Trait "example01::id" id. +Global Instance Instance_IsFunction_id : M.IsFunction.C "example01::id" id. Admitted. Global Typeclasses Opaque id. @@ -31,7 +31,7 @@ Definition tri (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_tri : M.IsFunction.Trait "example01::tri" tri. +Global Instance Instance_IsFunction_tri : M.IsFunction.C "example01::tri" tri. Admitted. Global Typeclasses Opaque tri. @@ -142,6 +142,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example01::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example01::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example02.v b/CoqOfRust/examples/default/examples/monadic_transformation/example02.v index 4b50c2906..55576240b 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example02.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example02.v @@ -107,6 +107,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example02::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example02::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example03.v b/CoqOfRust/examples/default/examples/monadic_transformation/example03.v index be046fc61..dc2ae05d7 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example03.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example03.v @@ -88,6 +88,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example03::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example03::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example04.v b/CoqOfRust/examples/default/examples/monadic_transformation/example04.v index 25be99cf4..f277842b5 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example04.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example04.v @@ -20,6 +20,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example04::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example04::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/monadic_transformation/example05.v b/CoqOfRust/examples/default/examples/monadic_transformation/example05.v index de110c454..d76c33704 100644 --- a/CoqOfRust/examples/default/examples/monadic_transformation/example05.v +++ b/CoqOfRust/examples/default/examples/monadic_transformation/example05.v @@ -29,7 +29,7 @@ Module Impl_example05_Foo. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_plus1 : M.IsAssociatedFunction.Trait Self "plus1" plus1. + Global Instance AssociatedFunction_plus1 : M.IsAssociatedFunction.C Self "plus1" plus1. Admitted. Global Typeclasses Opaque plus1. End Impl_example05_Foo. @@ -60,6 +60,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "example05::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "example05::main" main. Admitted. Global Typeclasses Opaque 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 7c3c1ec73..a987c2874 100644 --- a/CoqOfRust/examples/default/examples/rust_book/attributes/dead_code.v +++ b/CoqOfRust/examples/default/examples/rust_book/attributes/dead_code.v @@ -9,7 +9,7 @@ Definition used_function (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_used_function : - M.IsFunction.Trait "dead_code::used_function" used_function. + M.IsFunction.C "dead_code::used_function" used_function. Admitted. Global Typeclasses Opaque used_function. @@ -21,7 +21,7 @@ Definition unused_function (ε : list Value.t) (τ : list Ty.t) (α : list Value end. Global Instance Instance_IsFunction_unused_function : - M.IsFunction.Trait "dead_code::unused_function" unused_function. + M.IsFunction.C "dead_code::unused_function" unused_function. Admitted. Global Typeclasses Opaque unused_function. @@ -33,7 +33,7 @@ Definition noisy_unused_function (ε : list Value.t) (τ : list Ty.t) (α : list end. Global Instance Instance_IsFunction_noisy_unused_function : - M.IsFunction.Trait "dead_code::noisy_unused_function" noisy_unused_function. + M.IsFunction.C "dead_code::noisy_unused_function" noisy_unused_function. Admitted. Global Typeclasses Opaque noisy_unused_function. @@ -60,6 +60,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "dead_code::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "dead_code::main" main. Admitted. Global Typeclasses Opaque 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 a8b34f297..b2b730ef5 100644 --- a/CoqOfRust/examples/default/examples/rust_book/cargo/concurrent_tests.v +++ b/CoqOfRust/examples/default/examples/rust_book/cargo/concurrent_tests.v @@ -95,7 +95,7 @@ Definition foo (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "concurrent_tests::foo" foo. +Global Instance Instance_IsFunction_foo : M.IsFunction.C "concurrent_tests::foo" foo. Admitted. Global Typeclasses Opaque foo. @@ -357,7 +357,7 @@ Module tests. end. Global Instance Instance_IsFunction_test_file : - M.IsFunction.Trait "concurrent_tests::tests::test_file'1" test_file. + M.IsFunction.C "concurrent_tests::tests::test_file'1" test_file. Admitted. Global Typeclasses Opaque test_file. @@ -618,7 +618,7 @@ Module tests. end. Global Instance Instance_IsFunction_test_file_also : - M.IsFunction.Trait "concurrent_tests::tests::test_file_also'1" test_file_also. + M.IsFunction.C "concurrent_tests::tests::test_file_also'1" test_file_also. Admitted. Global Typeclasses Opaque test_file_also. End tests. 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 5ffc453cf..b76178ca1 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 @@ -137,6 +137,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "converting_to_string::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "converting_to_string::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/from.v b/CoqOfRust/examples/default/examples/rust_book/conversion/from.v index bd956c72d..f645b873e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/from.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/from.v @@ -66,6 +66,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "from::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "from::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/conversion/into.v b/CoqOfRust/examples/default/examples/rust_book/conversion/into.v index c0cc40b96..3056a8b2d 100644 --- a/CoqOfRust/examples/default/examples/rust_book/conversion/into.v +++ b/CoqOfRust/examples/default/examples/rust_book/conversion/into.v @@ -66,6 +66,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "into::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "into::main" main. Admitted. Global Typeclasses Opaque 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 85f00e2ed..e03420b94 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 @@ -63,6 +63,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "parsing_a_string::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "parsing_a_string::main" main. Admitted. Global Typeclasses Opaque 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 f17381c37..16a248a81 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 @@ -800,6 +800,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "try_from_and_try_into::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "try_from_and_try_into::main" main. Admitted. Global Typeclasses Opaque 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 0ac0cd652..2d0590947 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/constants.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/constants.v @@ -1,17 +1,21 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_LANGUAGE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| M.alloc (| mk_str (| "Rust" |) |) |))). +Definition value_LANGUAGE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| M.alloc (| mk_str (| "Rust" |) |) |))). -Axiom Constant_value_LANGUAGE : (M.get_constant "constants::LANGUAGE") = value_LANGUAGE. -Global Hint Rewrite Constant_value_LANGUAGE : constant_rewrites. +Global Instance Instance_IsConstant_value_LANGUAGE : + M.IsFunction.C "constants::LANGUAGE" value_LANGUAGE. +Admitted. +Global Typeclasses Opaque value_LANGUAGE. -Definition value_THRESHOLD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 10 |))). +Definition value_THRESHOLD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I32 10 |))). -Axiom Constant_value_THRESHOLD : (M.get_constant "constants::THRESHOLD") = value_THRESHOLD. -Global Hint Rewrite Constant_value_THRESHOLD : constant_rewrites. +Global Instance Instance_IsConstant_value_THRESHOLD : + M.IsFunction.C "constants::THRESHOLD" value_THRESHOLD. +Admitted. +Global Typeclasses Opaque value_THRESHOLD. (* fn is_big(n: i32) -> bool { @@ -24,11 +28,14 @@ Definition is_big (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M : | [], [], [ n ] => ltac:(M.monadic (let n := M.alloc (| n |) in - BinOp.gt (| M.read (| n |), M.read (| M.get_constant "constants::THRESHOLD" |) |))) + BinOp.gt (| + M.read (| n |), + M.read (| get_constant (| "constants::THRESHOLD", Ty.path "i32" |) |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_is_big : M.IsFunction.Trait "constants::is_big" is_big. +Global Instance Instance_IsFunction_is_big : M.IsFunction.C "constants::is_big" is_big. Admitted. Global Typeclasses Opaque is_big. @@ -101,7 +108,15 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "constants::LANGUAGE" |) + M.read (| + get_constant (| + "constants::LANGUAGE", + Ty.apply + (Ty.path "&") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + |) + |) |) |) |) @@ -169,7 +184,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "constants::THRESHOLD" + get_constant (| "constants::THRESHOLD", Ty.path "i32" |) |) |) |) @@ -307,6 +322,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "constants::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "constants::main" main. Admitted. Global Typeclasses Opaque 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 f642c9cf4..c930dffe6 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/enums.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/enums.v @@ -374,7 +374,7 @@ Definition inspect (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_inspect : M.IsFunction.Trait "enums::inspect" inspect. +Global Instance Instance_IsFunction_inspect : M.IsFunction.C "enums::inspect" inspect. Admitted. Global Typeclasses Opaque inspect. @@ -476,6 +476,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums::main" main. Admitted. Global Typeclasses Opaque 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 605b1bba2..a7b1c8347 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 @@ -262,8 +262,12 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.cast (Ty.path "i32") (BinOp.Wrap.add (| - M.get_constant - "enums_c_like::Color::Red_discriminant", + M.read (| + get_constant (| + "enums_c_like::Color::Red_discriminant", + Ty.path "isize" + |) + |), Value.Integer IntegerKind.Isize 0 |)) |) @@ -379,8 +383,12 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.cast (Ty.path "i32") (BinOp.Wrap.add (| - M.get_constant - "enums_c_like::Color::Blue_discriminant", + M.read (| + get_constant (| + "enums_c_like::Color::Blue_discriminant", + Ty.path "isize" + |) + |), Value.Integer IntegerKind.Isize 0 |)) |) @@ -447,6 +455,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums_c_like::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_c_like::main" main. Admitted. Global Typeclasses Opaque 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 be94215da..6746c279e 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 @@ -46,7 +46,7 @@ Module Impl_enums_testcase_linked_list_List. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -86,7 +86,7 @@ Module Impl_enums_testcase_linked_list_List. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_prepend : M.IsAssociatedFunction.Trait Self "prepend" prepend. + Global Instance AssociatedFunction_prepend : M.IsAssociatedFunction.C Self "prepend" prepend. Admitted. Global Typeclasses Opaque prepend. @@ -163,7 +163,7 @@ Module Impl_enums_testcase_linked_list_List. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -383,7 +383,7 @@ Module Impl_enums_testcase_linked_list_List. end. Global Instance AssociatedFunction_stringify : - M.IsAssociatedFunction.Trait Self "stringify" stringify. + M.IsAssociatedFunction.C Self "stringify" stringify. Admitted. Global Typeclasses Opaque stringify. End Impl_enums_testcase_linked_list_List. @@ -629,7 +629,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "enums_testcase_linked_list::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_testcase_linked_list::main" main. Admitted. Global Typeclasses Opaque 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 d252e5e7a..4f6e4bd66 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 @@ -52,6 +52,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums_type_aliases_v1::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_type_aliases_v1::main" main. Admitted. Global Typeclasses Opaque 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 d1ec9c56a..02c193fb9 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 @@ -72,7 +72,7 @@ Module Impl_enums_type_aliases_v2_VeryVerboseEnumOfThingsToDoWithNumbers. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_run : M.IsAssociatedFunction.Trait Self "run" run. + Global Instance AssociatedFunction_run : M.IsAssociatedFunction.C Self "run" run. Admitted. Global Typeclasses Opaque run. End Impl_enums_type_aliases_v2_VeryVerboseEnumOfThingsToDoWithNumbers. 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 63ede953b..fe7a60e37 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 @@ -231,6 +231,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "enums_use::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "enums_use::main" main. Admitted. Global Typeclasses Opaque 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 c30969dbe..4528580fb 100644 --- a/CoqOfRust/examples/default/examples/rust_book/custom_types/structures.v +++ b/CoqOfRust/examples/default/examples/rust_book/custom_types/structures.v @@ -705,6 +705,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "structures::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "structures::main" main. Admitted. Global Typeclasses Opaque 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 652eb0805..0b8f5e07a 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 @@ -143,7 +143,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "aliases_for_result::multiply" multiply. + M.IsFunction.C "aliases_for_result::multiply" multiply. Admitted. Global Typeclasses Opaque multiply. @@ -305,7 +305,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "aliases_for_result::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "aliases_for_result::print" print. Admitted. Global Typeclasses Opaque print. @@ -365,6 +365,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "aliases_for_result::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "aliases_for_result::main" main. Admitted. Global Typeclasses Opaque 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 779f9ee01..4d2d928fe 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 @@ -566,7 +566,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "boxing_errors::double_first" double_first. + M.IsFunction.C "boxing_errors::double_first" double_first. Admitted. Global Typeclasses Opaque double_first. @@ -737,7 +737,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "boxing_errors::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "boxing_errors::print" print. Admitted. Global Typeclasses Opaque print. @@ -983,6 +983,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "boxing_errors::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "boxing_errors::main" main. Admitted. Global Typeclasses Opaque 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 88e76b20d..a2e6a475f 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 @@ -207,7 +207,7 @@ Definition have_ingredients (ε : list Value.t) (τ : list Ty.t) (α : list Valu end. Global Instance Instance_IsFunction_have_ingredients : - M.IsFunction.Trait "combinators_and_then::have_ingredients" have_ingredients. + M.IsFunction.C "combinators_and_then::have_ingredients" have_ingredients. Admitted. Global Typeclasses Opaque have_ingredients. @@ -246,7 +246,7 @@ Definition have_recipe (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_have_recipe : - M.IsFunction.Trait "combinators_and_then::have_recipe" have_recipe. + M.IsFunction.C "combinators_and_then::have_recipe" have_recipe. Admitted. Global Typeclasses Opaque have_recipe. @@ -329,7 +329,7 @@ Definition cookable_v1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_cookable_v1 : - M.IsFunction.Trait "combinators_and_then::cookable_v1" cookable_v1. + M.IsFunction.C "combinators_and_then::cookable_v1" cookable_v1. Admitted. Global Typeclasses Opaque cookable_v1. @@ -372,7 +372,7 @@ Definition cookable_v2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_cookable_v2 : - M.IsFunction.Trait "combinators_and_then::cookable_v2" cookable_v2. + M.IsFunction.C "combinators_and_then::cookable_v2" cookable_v2. Admitted. Global Typeclasses Opaque cookable_v2. @@ -563,7 +563,7 @@ Definition eat (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_eat : M.IsFunction.Trait "combinators_and_then::eat" eat. +Global Instance Instance_IsFunction_eat : M.IsFunction.C "combinators_and_then::eat" eat. Admitted. Global Typeclasses Opaque eat. @@ -640,6 +640,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "combinators_and_then::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "combinators_and_then::main" main. Admitted. Global Typeclasses Opaque 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 d1e91cc15..e9011dbf6 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 @@ -307,7 +307,7 @@ Definition peel (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_peel : M.IsFunction.Trait "combinators_map::peel" peel. +Global Instance Instance_IsFunction_peel : M.IsFunction.C "combinators_map::peel" peel. Admitted. Global Typeclasses Opaque peel. @@ -352,7 +352,7 @@ Definition chop (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_chop : M.IsFunction.Trait "combinators_map::chop" chop. +Global Instance Instance_IsFunction_chop : M.IsFunction.C "combinators_map::chop" chop. Admitted. Global Typeclasses Opaque chop. @@ -413,7 +413,7 @@ Definition cook (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_cook : M.IsFunction.Trait "combinators_map::cook" cook. +Global Instance Instance_IsFunction_cook : M.IsFunction.C "combinators_map::cook" cook. Admitted. Global Typeclasses Opaque cook. @@ -556,7 +556,7 @@ Definition process (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_process : M.IsFunction.Trait "combinators_map::process" process. +Global Instance Instance_IsFunction_process : M.IsFunction.C "combinators_map::process" process. Admitted. Global Typeclasses Opaque process. @@ -687,7 +687,7 @@ Definition eat (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_eat : M.IsFunction.Trait "combinators_map::eat" eat. +Global Instance Instance_IsFunction_eat : M.IsFunction.C "combinators_map::eat" eat. Admitted. Global Typeclasses Opaque eat. @@ -821,6 +821,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "combinators_map::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "combinators_map::main" main. Admitted. Global Typeclasses Opaque 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 cb45c1749..bfb1b8e9c 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 @@ -386,7 +386,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "defining_an_error_type::double_first" double_first. + M.IsFunction.C "defining_an_error_type::double_first" double_first. Admitted. Global Typeclasses Opaque double_first. @@ -549,8 +549,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "defining_an_error_type::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "defining_an_error_type::print" print. Admitted. Global Typeclasses Opaque print. @@ -769,6 +768,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "defining_an_error_type::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "defining_an_error_type::main" main. Admitted. Global Typeclasses Opaque 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 f798b8777..2faef090a 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 @@ -133,8 +133,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "early_returns::multiply" multiply. +Global Instance Instance_IsFunction_multiply : M.IsFunction.C "early_returns::multiply" multiply. Admitted. Global Typeclasses Opaque multiply. @@ -296,7 +295,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "early_returns::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "early_returns::print" print. Admitted. Global Typeclasses Opaque print. @@ -356,6 +355,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "early_returns::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "early_returns::main" main. Admitted. Global Typeclasses Opaque 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 ac2c1a63d..7fc3a8150 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 @@ -251,7 +251,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "introducing_question_mark::multiply" multiply. + M.IsFunction.C "introducing_question_mark::multiply" multiply. Admitted. Global Typeclasses Opaque multiply. @@ -413,8 +413,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "introducing_question_mark::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "introducing_question_mark::print" print. Admitted. Global Typeclasses Opaque print. @@ -474,7 +473,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "introducing_question_mark::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "introducing_question_mark::main" main. Admitted. Global Typeclasses Opaque 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 81ad42111..f235f01b3 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 @@ -159,7 +159,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait + M.IsFunction.C "introducing_question_mark_is_an_replacement_for_deprecated_try::multiply" multiply. Admitted. @@ -324,7 +324,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "introducing_question_mark_is_an_replacement_for_deprecated_try::print" print. + M.IsFunction.C "introducing_question_mark_is_an_replacement_for_deprecated_try::print" print. Admitted. Global Typeclasses Opaque print. @@ -401,6 +401,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "introducing_question_mark_is_an_replacement_for_deprecated_try::main" main. + M.IsFunction.C "introducing_question_mark_is_an_replacement_for_deprecated_try::main" main. Admitted. Global Typeclasses Opaque 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 70246d672..a60c610cc 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 @@ -452,7 +452,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait + M.IsFunction.C "iterating_over_results_collect_valid_values_and_failures_via_partition::main" main. Admitted. 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 72966b830..54b353172 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 @@ -736,7 +736,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait + M.IsFunction.C "iterating_over_results_collect_valid_values_and_failures_via_partition_unwrapped::main" main. Admitted. 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 7e1c48e77..cf96af2f7 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 @@ -630,6 +630,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_collect_via_map_err_and_filter_map::main" main. + M.IsFunction.C "iterating_over_results_collect_via_map_err_and_filter_map::main" main. Admitted. Global Typeclasses Opaque 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 0bc389dbb..a01fb42da 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 @@ -326,6 +326,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_fail_entire_operation_via_collect::main" main. + M.IsFunction.C "iterating_over_results_fail_entire_operation_via_collect::main" main. Admitted. Global Typeclasses Opaque 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 f6890da0b..cb1977b7c 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 @@ -329,6 +329,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_failed::main" main. + M.IsFunction.C "iterating_over_results_failed::main" main. Admitted. Global Typeclasses Opaque 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 adbc9255f..493f091ec 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 @@ -314,6 +314,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "iterating_over_results_handle_via_filter_map::main" main. + M.IsFunction.C "iterating_over_results_handle_via_filter_map::main" main. Admitted. Global Typeclasses Opaque 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 df227b7df..0c9513c37 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 @@ -138,7 +138,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "map_in_result_via_combinators::multiply" multiply. + M.IsFunction.C "map_in_result_via_combinators::multiply" multiply. Admitted. Global Typeclasses Opaque multiply. @@ -301,7 +301,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "map_in_result_via_combinators::print" print. + M.IsFunction.C "map_in_result_via_combinators::print" print. Admitted. Global Typeclasses Opaque print. @@ -379,6 +379,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "map_in_result_via_combinators::main" main. + M.IsFunction.C "map_in_result_via_combinators::main" main. Admitted. Global Typeclasses Opaque 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 f8b151a82..6fcbf371a 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 @@ -109,7 +109,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "map_in_result_via_match::multiply" multiply. + M.IsFunction.C "map_in_result_via_match::multiply" multiply. Admitted. Global Typeclasses Opaque multiply. @@ -271,8 +271,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "map_in_result_via_match::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "map_in_result_via_match::print" print. Admitted. Global Typeclasses Opaque print. @@ -349,6 +348,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "map_in_result_via_match::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "map_in_result_via_match::main" main. Admitted. Global Typeclasses Opaque 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 cb2b850d0..4f8b6a43d 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 @@ -113,7 +113,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "multiple_error_types::double_first" double_first. + M.IsFunction.C "multiple_error_types::double_first" double_first. Admitted. Global Typeclasses Opaque double_first. @@ -516,6 +516,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "multiple_error_types::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "multiple_error_types::main" main. Admitted. Global Typeclasses Opaque 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 e48ddf9b9..2a5dbfcfb 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 @@ -166,7 +166,7 @@ Definition give_adult (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_give_adult : - M.IsFunction.Trait "option_and_unwrap::give_adult" give_adult. + M.IsFunction.C "option_and_unwrap::give_adult" give_adult. Admitted. Global Typeclasses Opaque give_adult. @@ -314,7 +314,7 @@ Definition drink (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_drink : M.IsFunction.Trait "option_and_unwrap::drink" drink. +Global Instance Instance_IsFunction_drink : M.IsFunction.C "option_and_unwrap::drink" drink. Admitted. Global Typeclasses Opaque drink. @@ -417,6 +417,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "option_and_unwrap::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "option_and_unwrap::main" main. Admitted. Global Typeclasses Opaque 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 d2d7858fb..650d674a8 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 @@ -474,7 +474,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "other_uses_of_question_mark::double_first" double_first. + M.IsFunction.C "other_uses_of_question_mark::double_first" double_first. Admitted. Global Typeclasses Opaque double_first. @@ -646,7 +646,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "other_uses_of_question_mark::print" print. + M.IsFunction.C "other_uses_of_question_mark::print" print. Admitted. Global Typeclasses Opaque print. @@ -892,7 +892,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "other_uses_of_question_mark::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "other_uses_of_question_mark::main" main. Admitted. Global Typeclasses Opaque 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 a919d9cb9..e569c89d8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/error_handling/panic.v +++ b/CoqOfRust/examples/default/examples/rust_book/error_handling/panic.v @@ -129,7 +129,7 @@ Definition drink (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_drink : M.IsFunction.Trait "panic::drink" drink. +Global Instance Instance_IsFunction_drink : M.IsFunction.C "panic::drink" drink. Admitted. Global Typeclasses Opaque drink. @@ -165,6 +165,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "panic::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "panic::main" main. Admitted. Global Typeclasses Opaque 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 63dbebbb7..5a88baabe 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 @@ -190,7 +190,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "pulling_results_out_of_options::double_first" double_first. + M.IsFunction.C "pulling_results_out_of_options::double_first" double_first. Admitted. Global Typeclasses Opaque double_first. @@ -666,6 +666,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "pulling_results_out_of_options::main" main. + M.IsFunction.C "pulling_results_out_of_options::main" main. Admitted. Global Typeclasses Opaque 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 f9075fd8d..6ec7436ff 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 @@ -337,7 +337,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait + M.IsFunction.C "pulling_results_out_of_options_with_stop_error_processing::double_first" double_first. Admitted. @@ -799,6 +799,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "pulling_results_out_of_options_with_stop_error_processing::main" main. + M.IsFunction.C "pulling_results_out_of_options_with_stop_error_processing::main" main. Admitted. Global Typeclasses Opaque 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 6f01f3175..938d3a9f4 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 @@ -133,6 +133,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "result_use_in_main::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "result_use_in_main::main" main. Admitted. Global Typeclasses Opaque 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 abb5050e1..984abe595 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 @@ -337,6 +337,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_get_or_insert::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_get_or_insert::main" main. Admitted. Global Typeclasses Opaque 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 7081d7adc..64560747a 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 @@ -604,6 +604,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_get_or_insert_with::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_get_or_insert_with::main" main. Admitted. Global Typeclasses Opaque 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 a08b5a8ec..e4fbe12a1 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 @@ -300,6 +300,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_or::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_or::main" main. Admitted. Global Typeclasses Opaque 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 379851b5d..97e4442e8 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 @@ -470,6 +470,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_and_defaults_via_or_else::main" main. + M.IsFunction.C "unpacking_options_and_defaults_via_or_else::main" main. Admitted. Global Typeclasses Opaque 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 269e14d6b..729238ec2 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 @@ -335,7 +335,7 @@ Module Impl_unpacking_options_via_question_mark_Person. end. Global Instance AssociatedFunction_work_phone_area_code : - M.IsAssociatedFunction.Trait Self "work_phone_area_code" work_phone_area_code. + M.IsAssociatedFunction.C Self "work_phone_area_code" work_phone_area_code. Admitted. Global Typeclasses Opaque work_phone_area_code. End Impl_unpacking_options_via_question_mark_Person. @@ -530,6 +530,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "unpacking_options_via_question_mark::main" main. + M.IsFunction.C "unpacking_options_via_question_mark::main" main. Admitted. Global Typeclasses Opaque 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 fa9b9cd73..264f41886 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 @@ -661,7 +661,7 @@ Definition double_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_double_first : - M.IsFunction.Trait "wrapping_errors::double_first" double_first. + M.IsFunction.C "wrapping_errors::double_first" double_first. Admitted. Global Typeclasses Opaque double_first. @@ -947,7 +947,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_print : M.IsFunction.Trait "wrapping_errors::print" print. +Global Instance Instance_IsFunction_print : M.IsFunction.C "wrapping_errors::print" print. Admitted. Global Typeclasses Opaque print. @@ -1166,6 +1166,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "wrapping_errors::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "wrapping_errors::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v b/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v index eaac850da..0d4f28662 100644 --- a/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v +++ b/CoqOfRust/examples/default/examples/rust_book/expressions/blocks.v @@ -233,6 +233,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "blocks::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "blocks::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v b/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v index b9c8ddc1f..d79b8a793 100644 --- a/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v +++ b/CoqOfRust/examples/default/examples/rust_book/expressions/statement.v @@ -14,6 +14,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "statement::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "statement::main" main. Admitted. Global Typeclasses Opaque 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 6d1e31083..35c08f715 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 @@ -28,6 +28,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "variable_binding_and_expression::main" main. + M.IsFunction.C "variable_binding_and_expression::main" main. Admitted. Global Typeclasses Opaque 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 82b6d4480..b65b039b7 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 @@ -324,7 +324,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_iterators_into_iter::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "for_and_iterators_into_iter::main" main. Admitted. Global Typeclasses Opaque 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 24ec86e86..5e6812861 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 @@ -438,6 +438,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "for_and_iterators_iter::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "for_and_iterators_iter::main" main. Admitted. Global Typeclasses Opaque 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 b0237efa2..a209c5b3c 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 @@ -327,7 +327,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_iterators_iter_mut::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "for_and_iterators_iter_mut::main" main. Admitted. Global Typeclasses Opaque 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 9d8aa8131..7f3e9cfb0 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 @@ -405,6 +405,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_range_completely_inclusive::main" main. + M.IsFunction.C "for_and_range_completely_inclusive::main" main. Admitted. Global Typeclasses Opaque 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 bb269ef0f..71d36242b 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 @@ -398,6 +398,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "for_and_range_inclusive_to_exclusive::main" main. + M.IsFunction.C "for_and_range_inclusive_to_exclusive::main" main. Admitted. Global Typeclasses Opaque 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 56616a5b5..609703d3a 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 @@ -460,6 +460,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_else::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_else::main" main. Admitted. Global Typeclasses Opaque 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 971771b81..da8762396 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 @@ -427,6 +427,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let::main" main. Admitted. Global Typeclasses Opaque 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 ca6d7d3e2..d06a4465e 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 @@ -84,6 +84,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let_challenge::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let_challenge::main" main. Admitted. Global Typeclasses Opaque 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 2b451a567..f5d32cb28 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 @@ -115,6 +115,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let_dont_use_match::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let_dont_use_match::main" main. Admitted. Global Typeclasses Opaque 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 896a4c843..768044bc8 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 @@ -308,6 +308,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "if_let_match_enum_values::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "if_let_match_enum_values::main" main. Admitted. Global Typeclasses Opaque 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 3b5f18d13..62e7de59d 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 @@ -256,6 +256,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "infinite_loop::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "infinite_loop::main" main. Admitted. Global Typeclasses Opaque 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 47bda317c..ebddec16e 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 @@ -185,6 +185,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "loop_nesting_and_labels::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "loop_nesting_and_labels::main" main. Admitted. Global Typeclasses Opaque 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 2b98203f9..81ed9a5fc 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 @@ -141,7 +141,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "loop_returning_from_loops::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "loop_returning_from_loops::main" main. Admitted. Global Typeclasses Opaque 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 4fa6399c1..dd7d37356 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 @@ -398,6 +398,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match::main" main. Admitted. Global Typeclasses Opaque 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 2990cbd90..35e67202e 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 @@ -12,7 +12,7 @@ Definition age (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_age : M.IsFunction.Trait "match_binding::age" age. +Global Instance Instance_IsFunction_age : M.IsFunction.C "match_binding::age" age. Admitted. Global Typeclasses Opaque age. @@ -326,6 +326,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match_binding::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_binding::main" main. Admitted. Global Typeclasses Opaque 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 437b01e3c..91ff91ab9 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 @@ -15,7 +15,7 @@ Definition some_number (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_some_number : - M.IsFunction.Trait "match_binding_destructure_enum_variants::some_number" some_number. + M.IsFunction.C "match_binding_destructure_enum_variants::some_number" some_number. Admitted. Global Typeclasses Opaque some_number. @@ -195,6 +195,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_binding_destructure_enum_variants::main" main. + M.IsFunction.C "match_binding_destructure_enum_variants::main" main. Admitted. Global Typeclasses Opaque 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 f8fb90704..614019d9e 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 @@ -524,6 +524,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_arrays_slices::main" main. + M.IsFunction.C "match_destructuring_arrays_slices::main" main. Admitted. Global Typeclasses Opaque 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 3bc99e96e..abbc7bb4b 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 @@ -863,7 +863,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_enums::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_destructuring_enums::main" main. Admitted. Global Typeclasses Opaque 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 fee43880e..cb6e3372c 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 @@ -407,6 +407,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_pointers_ref::main" main. + M.IsFunction.C "match_destructuring_pointers_ref::main" main. Admitted. Global Typeclasses Opaque 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 559c2e9a4..be517014e 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 @@ -313,7 +313,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_structs::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_destructuring_structs::main" main. Admitted. Global Typeclasses Opaque 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 fc8dcd1eb..e56e2fbf3 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 @@ -376,7 +376,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_tuples::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_destructuring_tuples::main" main. Admitted. Global Typeclasses Opaque 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 272ac0dd5..4c02074bb 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 @@ -377,6 +377,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "match_destructuring_tuples_fixed::main" main. + M.IsFunction.C "match_destructuring_tuples_fixed::main" main. Admitted. Global Typeclasses Opaque 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 84af75ee5..dbd4ac399 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 @@ -354,6 +354,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match_guards::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_guards::main" main. Admitted. Global Typeclasses Opaque 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 0c10df86e..46e7882d2 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 @@ -128,6 +128,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "match_guards_unreachable::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "match_guards_unreachable::main" main. Admitted. Global Typeclasses Opaque 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 5a59c53de..14c70b5bb 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 @@ -341,6 +341,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "while::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "while::main" main. Admitted. Global Typeclasses Opaque 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 9a17a7ff2..2cff96618 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 @@ -213,6 +213,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "while_let::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "while_let::main" main. Admitted. Global Typeclasses Opaque 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 80a7fbbe2..c4089f4a8 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 @@ -208,6 +208,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "while_let_match_is_weird::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "while_let_match_is_weird::main" main. Admitted. Global Typeclasses Opaque main. 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 f6653e8fe..ef446c232 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 @@ -27,7 +27,7 @@ Module Impl_associated_functions_and_methods_Point. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_origin : M.IsAssociatedFunction.Trait Self "origin" origin. + Global Instance AssociatedFunction_origin : M.IsAssociatedFunction.C Self "origin" origin. Admitted. Global Typeclasses Opaque origin. @@ -48,7 +48,7 @@ Module Impl_associated_functions_and_methods_Point. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_associated_functions_and_methods_Point. @@ -88,7 +88,7 @@ Module Impl_associated_functions_and_methods_Rectangle. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_p1 : M.IsAssociatedFunction.Trait Self "get_p1" get_p1. + Global Instance AssociatedFunction_get_p1 : M.IsAssociatedFunction.C Self "get_p1" get_p1. Admitted. Global Typeclasses Opaque get_p1. @@ -177,7 +177,7 @@ Module Impl_associated_functions_and_methods_Rectangle. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_area : M.IsAssociatedFunction.Trait Self "area" area. + Global Instance AssociatedFunction_area : M.IsAssociatedFunction.C Self "area" area. Admitted. Global Typeclasses Opaque area. @@ -269,7 +269,7 @@ Module Impl_associated_functions_and_methods_Rectangle. end. Global Instance AssociatedFunction_perimeter : - M.IsAssociatedFunction.Trait Self "perimeter" perimeter. + M.IsAssociatedFunction.C Self "perimeter" perimeter. Admitted. Global Typeclasses Opaque perimeter. @@ -352,7 +352,7 @@ Module Impl_associated_functions_and_methods_Rectangle. end. Global Instance AssociatedFunction_translate : - M.IsAssociatedFunction.Trait Self "translate" translate. + M.IsAssociatedFunction.C Self "translate" translate. Admitted. Global Typeclasses Opaque translate. End Impl_associated_functions_and_methods_Rectangle. @@ -516,7 +516,7 @@ Module Impl_associated_functions_and_methods_Pair. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_destroy : M.IsAssociatedFunction.Trait Self "destroy" destroy. + Global Instance AssociatedFunction_destroy : M.IsAssociatedFunction.C Self "destroy" destroy. Admitted. Global Typeclasses Opaque destroy. End Impl_associated_functions_and_methods_Pair. @@ -853,6 +853,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "associated_functions_and_methods::main" main. + M.IsFunction.C "associated_functions_and_methods::main" main. Admitted. Global Typeclasses Opaque 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 7d8cb8072..db5de1f69 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/diverging_functions.v @@ -14,7 +14,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "diverging_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "diverging_functions::main" main. Admitted. Global Typeclasses Opaque main. @@ -40,7 +40,7 @@ Module main. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "diverging_functions::main::foo" foo. + Global Instance Instance_IsFunction_foo : M.IsFunction.C "diverging_functions::main::foo" foo. Admitted. Global Typeclasses Opaque foo. End main. 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 99fb04983..d3cedc1c5 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 @@ -118,7 +118,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "diverging_functions_example_sum_odd_numbers::main" main. + M.IsFunction.C "diverging_functions_example_sum_odd_numbers::main" main. Admitted. Global Typeclasses Opaque main. @@ -276,7 +276,7 @@ Module main. end. Global Instance Instance_IsFunction_sum_odd_numbers : - M.IsFunction.Trait + M.IsFunction.C "diverging_functions_example_sum_odd_numbers::main::sum_odd_numbers" sum_odd_numbers. Admitted. 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 2f489e989..4fc3de7ec 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 @@ -13,7 +13,7 @@ Definition some_fn (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_some_fn : - M.IsFunction.Trait "diverging_functions_no_info_in_return_type::some_fn" some_fn. + M.IsFunction.C "diverging_functions_no_info_in_return_type::some_fn" some_fn. Admitted. Global Typeclasses Opaque some_fn. @@ -75,6 +75,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "diverging_functions_no_info_in_return_type::main" main. + M.IsFunction.C "diverging_functions_no_info_in_return_type::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/functions/functions.v b/CoqOfRust/examples/default/examples/rust_book/functions/functions.v index b421fd8df..a3ef2d8bf 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions.v @@ -52,7 +52,7 @@ Definition is_divisible_by (ε : list Value.t) (τ : list Ty.t) (α : list Value end. Global Instance Instance_IsFunction_is_divisible_by : - M.IsFunction.Trait "functions::is_divisible_by" is_divisible_by. + M.IsFunction.C "functions::is_divisible_by" is_divisible_by. Admitted. Global Typeclasses Opaque is_divisible_by. @@ -314,7 +314,7 @@ Definition fizzbuzz (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_fizzbuzz : M.IsFunction.Trait "functions::fizzbuzz" fizzbuzz. +Global Instance Instance_IsFunction_fizzbuzz : M.IsFunction.C "functions::fizzbuzz" fizzbuzz. Admitted. Global Typeclasses Opaque fizzbuzz. @@ -427,7 +427,7 @@ Definition fizzbuzz_to (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_fizzbuzz_to : - M.IsFunction.Trait "functions::fizzbuzz_to" fizzbuzz_to. + M.IsFunction.C "functions::fizzbuzz_to" fizzbuzz_to. Admitted. Global Typeclasses Opaque fizzbuzz_to. @@ -455,6 +455,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions::main" main. Admitted. Global Typeclasses Opaque 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 5fe5bcd95..9677c8d44 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_closures.v @@ -359,6 +359,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "functions_closures::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions_closures::main" main. Admitted. Global Typeclasses Opaque 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 33831127e..de8f2255e 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 @@ -40,7 +40,7 @@ Definition apply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_apply : - M.IsFunction.Trait "functions_closures_as_input_parameters::apply" apply. + M.IsFunction.C "functions_closures_as_input_parameters::apply" apply. Admitted. Global Typeclasses Opaque apply. @@ -75,7 +75,7 @@ Definition apply_to_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_apply_to_3 : - M.IsFunction.Trait "functions_closures_as_input_parameters::apply_to_3" apply_to_3. + M.IsFunction.C "functions_closures_as_input_parameters::apply_to_3" apply_to_3. Admitted. Global Typeclasses Opaque apply_to_3. @@ -496,6 +496,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_as_input_parameters::main" main. + M.IsFunction.C "functions_closures_as_input_parameters::main" main. Admitted. Global Typeclasses Opaque 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 89f66b493..6fa1a6c54 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 @@ -121,7 +121,7 @@ Definition create_fn (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_create_fn : - M.IsFunction.Trait "functions_closures_as_output_parameters::create_fn" create_fn. + M.IsFunction.C "functions_closures_as_output_parameters::create_fn" create_fn. Admitted. Global Typeclasses Opaque create_fn. @@ -245,7 +245,7 @@ Definition create_fnmut (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_create_fnmut : - M.IsFunction.Trait "functions_closures_as_output_parameters::create_fnmut" create_fnmut. + M.IsFunction.C "functions_closures_as_output_parameters::create_fnmut" create_fnmut. Admitted. Global Typeclasses Opaque create_fnmut. @@ -369,7 +369,7 @@ Definition create_fnonce (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_create_fnonce : - M.IsFunction.Trait "functions_closures_as_output_parameters::create_fnonce" create_fnonce. + M.IsFunction.C "functions_closures_as_output_parameters::create_fnonce" create_fnonce. Admitted. Global Typeclasses Opaque create_fnonce. @@ -467,6 +467,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_as_output_parameters::main" main. + M.IsFunction.C "functions_closures_as_output_parameters::main" main. Admitted. Global Typeclasses Opaque 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 97084debc..065b697af 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 @@ -521,7 +521,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_capturing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions_closures_capturing::main" main. Admitted. Global Typeclasses Opaque 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 3b291c941..20d2bd76d 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 @@ -1008,6 +1008,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_example_Iterator_any::main" main. + M.IsFunction.C "functions_closures_example_Iterator_any::main" main. Admitted. Global Typeclasses Opaque 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 f9c961e60..e6eca0c82 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 @@ -894,8 +894,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait - "functions_closures_example_searching_through_iterators_Iterator_find::main" - main. + M.IsFunction.C "functions_closures_example_searching_through_iterators_Iterator_find::main" main. Admitted. Global Typeclasses Opaque 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 205823b89..7f268d0c0 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 @@ -487,7 +487,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait + M.IsFunction.C "functions_closures_example_searching_through_iterators_Iterator_position::main" main. Admitted. 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 8ae946f84..9ebda78cb 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 @@ -372,6 +372,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_forced_capturing_with_move::main" main. + M.IsFunction.C "functions_closures_forced_capturing_with_move::main" main. Admitted. Global Typeclasses Opaque 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 43d07816c..5b5b0720f 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 @@ -34,7 +34,7 @@ Definition call_me (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_call_me : - M.IsFunction.Trait "functions_closures_input_functions::call_me" call_me. + M.IsFunction.C "functions_closures_input_functions::call_me" call_me. Admitted. Global Typeclasses Opaque call_me. @@ -86,7 +86,7 @@ Definition function (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "functions_closures_input_functions::function" function. + M.IsFunction.C "functions_closures_input_functions::function" function. Admitted. Global Typeclasses Opaque function. @@ -188,6 +188,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_input_functions::main" main. + M.IsFunction.C "functions_closures_input_functions::main" main. Admitted. Global Typeclasses Opaque 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 9b540973f..99dd32a05 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 @@ -19,7 +19,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_type_anonymity_define::main" main. + M.IsFunction.C "functions_closures_type_anonymity_define::main" main. Admitted. Global Typeclasses Opaque main. @@ -60,7 +60,7 @@ Module main. end. Global Instance Instance_IsFunction_apply : - M.IsFunction.Trait "functions_closures_type_anonymity_define::main::apply" apply. + M.IsFunction.C "functions_closures_type_anonymity_define::main::apply" apply. Admitted. Global Typeclasses Opaque apply. End main. 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 c99c5c395..848070331 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 @@ -37,7 +37,7 @@ Definition apply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_apply : - M.IsFunction.Trait "functions_closures_type_anonymity_define_and_use::apply" apply. + M.IsFunction.C "functions_closures_type_anonymity_define_and_use::apply" apply. Admitted. Global Typeclasses Opaque apply. @@ -164,6 +164,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "functions_closures_type_anonymity_define_and_use::main" main. + M.IsFunction.C "functions_closures_type_anonymity_define_and_use::main" main. Admitted. Global Typeclasses Opaque 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 f0ce76b90..36c3cd9ad 100644 --- a/CoqOfRust/examples/default/examples/rust_book/functions/functions_order.v +++ b/CoqOfRust/examples/default/examples/rust_book/functions/functions_order.v @@ -49,7 +49,7 @@ Module Impl_functions_order_SomeType. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_meth1 : M.IsAssociatedFunction.Trait Self "meth1" meth1. + Global Instance AssociatedFunction_meth1 : M.IsAssociatedFunction.C Self "meth1" meth1. Admitted. Global Typeclasses Opaque meth1. @@ -63,7 +63,7 @@ Module Impl_functions_order_SomeType. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_meth2 : M.IsAssociatedFunction.Trait Self "meth2" meth2. + Global Instance AssociatedFunction_meth2 : M.IsAssociatedFunction.C Self "meth2" meth2. Admitted. Global Typeclasses Opaque meth2. End Impl_functions_order_SomeType. @@ -129,7 +129,7 @@ Definition depends_on_trait_impl (ε : list Value.t) (τ : list Ty.t) (α : list end. Global Instance Instance_IsFunction_depends_on_trait_impl : - M.IsFunction.Trait "functions_order::depends_on_trait_impl" depends_on_trait_impl. + M.IsFunction.C "functions_order::depends_on_trait_impl" depends_on_trait_impl. Admitted. Global Typeclasses Opaque depends_on_trait_impl. @@ -249,8 +249,7 @@ Module inner_mod. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_bar : - M.IsFunction.Trait "functions_order::inner_mod::bar" bar. + Global Instance Instance_IsFunction_bar : M.IsFunction.C "functions_order::inner_mod::bar" bar. Admitted. Global Typeclasses Opaque bar. @@ -261,8 +260,7 @@ Module inner_mod. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_tar : - M.IsFunction.Trait "functions_order::inner_mod::tar" tar. + Global Instance Instance_IsFunction_tar : M.IsFunction.C "functions_order::inner_mod::tar" tar. Admitted. Global Typeclasses Opaque tar. @@ -291,7 +289,7 @@ Module inner_mod. end. Global Instance Instance_IsFunction_tick : - M.IsFunction.Trait "functions_order::inner_mod::nested_mod::tick" tick. + M.IsFunction.C "functions_order::inner_mod::nested_mod::tick" tick. Admitted. Global Typeclasses Opaque tick. @@ -303,7 +301,7 @@ Module inner_mod. end. Global Instance Instance_IsFunction_tack : - M.IsFunction.Trait "functions_order::inner_mod::nested_mod::tack" tack. + M.IsFunction.C "functions_order::inner_mod::nested_mod::tack" tack. Admitted. Global Typeclasses Opaque tack. End nested_mod. @@ -351,7 +349,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "functions_order::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "functions_order::main" main. Admitted. Global Typeclasses Opaque main. @@ -362,6 +360,6 @@ Definition foo (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "functions_order::foo" foo. +Global Instance Instance_IsFunction_foo : M.IsFunction.C "functions_order::foo" foo. Admitted. Global Typeclasses Opaque 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 f0bdb3302..705c4b879 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 @@ -18,8 +18,7 @@ Definition is_odd (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_is_odd : - M.IsFunction.Trait "higher_order_functions::is_odd" is_odd. +Global Instance Instance_IsFunction_is_odd : M.IsFunction.C "higher_order_functions::is_odd" is_odd. Admitted. Global Typeclasses Opaque is_odd. @@ -615,6 +614,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "higher_order_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "higher_order_functions::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/generics/generics.v b/CoqOfRust/examples/default/examples/rust_book/generics/generics.v index 6b5355821..98b942b9c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics.v @@ -67,6 +67,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics::main" main. Admitted. Global Typeclasses Opaque 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 7b17bf52d..dd6336bfd 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 @@ -188,7 +188,7 @@ Definition difference (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_difference : - M.IsFunction.Trait "generics_associated_types_problem::difference" difference. + M.IsFunction.C "generics_associated_types_problem::difference" difference. Admitted. Global Typeclasses Opaque difference. @@ -625,6 +625,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_associated_types_problem::main" main. + M.IsFunction.C "generics_associated_types_problem::main" main. Admitted. Global Typeclasses Opaque 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 478687e43..dab933047 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 @@ -214,7 +214,7 @@ Definition difference (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_difference : - M.IsFunction.Trait "generics_associated_types_solution::difference" difference. + M.IsFunction.C "generics_associated_types_solution::difference" difference. Admitted. Global Typeclasses Opaque difference. @@ -245,7 +245,7 @@ Definition get_a (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_get_a : - M.IsFunction.Trait "generics_associated_types_solution::get_a" get_a. + M.IsFunction.C "generics_associated_types_solution::get_a" get_a. Admitted. Global Typeclasses Opaque get_a. @@ -335,7 +335,7 @@ Definition get_output (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_get_output : - M.IsFunction.Trait "generics_associated_types_solution::get_output" get_output. + M.IsFunction.C "generics_associated_types_solution::get_output" get_output. Admitted. Global Typeclasses Opaque get_output. @@ -862,6 +862,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_associated_types_solution::main" main. + M.IsFunction.C "generics_associated_types_solution::main" main. Admitted. Global Typeclasses Opaque main. 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 eb48b9045..3a9216b7e 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_bounds.v @@ -206,7 +206,7 @@ Definition print_debug (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_print_debug : - M.IsFunction.Trait "generics_bounds::print_debug" print_debug. + M.IsFunction.C "generics_bounds::print_debug" print_debug. Admitted. Global Typeclasses Opaque print_debug. @@ -228,7 +228,7 @@ Definition area (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_area : M.IsFunction.Trait "generics_bounds::area" area. +Global Instance Instance_IsFunction_area : M.IsFunction.C "generics_bounds::area" area. Admitted. Global Typeclasses Opaque area. @@ -376,6 +376,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_bounds::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_bounds::main" main. Admitted. Global Typeclasses Opaque 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 aa2255066..13c0e770c 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 @@ -70,7 +70,7 @@ Definition red (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_red : - M.IsFunction.Trait "generics_bounds_test_case_empty_bounds::red" red. + M.IsFunction.C "generics_bounds_test_case_empty_bounds::red" red. Admitted. Global Typeclasses Opaque red. @@ -89,7 +89,7 @@ Definition blue (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_blue : - M.IsFunction.Trait "generics_bounds_test_case_empty_bounds::blue" blue. + M.IsFunction.C "generics_bounds_test_case_empty_bounds::blue" blue. Admitted. Global Typeclasses Opaque blue. @@ -298,6 +298,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_bounds_test_case_empty_bounds::main" main. + M.IsFunction.C "generics_bounds_test_case_empty_bounds::main" main. Admitted. Global Typeclasses Opaque 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 970105be6..3edc8a58f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_functions.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_functions.v @@ -35,7 +35,7 @@ Definition reg_fn (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_reg_fn : M.IsFunction.Trait "generics_functions::reg_fn" reg_fn. +Global Instance Instance_IsFunction_reg_fn : M.IsFunction.C "generics_functions::reg_fn" reg_fn. Admitted. Global Typeclasses Opaque reg_fn. @@ -50,7 +50,7 @@ Definition gen_spec_t (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_gen_spec_t : - M.IsFunction.Trait "generics_functions::gen_spec_t" gen_spec_t. + M.IsFunction.C "generics_functions::gen_spec_t" gen_spec_t. Admitted. Global Typeclasses Opaque gen_spec_t. @@ -65,7 +65,7 @@ Definition gen_spec_i32 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_gen_spec_i32 : - M.IsFunction.Trait "generics_functions::gen_spec_i32" gen_spec_i32. + M.IsFunction.C "generics_functions::gen_spec_i32" gen_spec_i32. Admitted. Global Typeclasses Opaque gen_spec_i32. @@ -79,8 +79,7 @@ Definition generic (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_generic : - M.IsFunction.Trait "generics_functions::generic" generic. +Global Instance Instance_IsFunction_generic : M.IsFunction.C "generics_functions::generic" generic. Admitted. Global Typeclasses Opaque generic. @@ -156,6 +155,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_functions::main" main. Admitted. Global Typeclasses Opaque 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 d6bca63e7..d6c2bb6d1 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_implementation.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_implementation.v @@ -46,7 +46,7 @@ Module Impl_generics_implementation_Val. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_value : M.IsAssociatedFunction.Trait Self "value" value. + Global Instance AssociatedFunction_value : M.IsAssociatedFunction.C Self "value" value. Admitted. Global Typeclasses Opaque value. End Impl_generics_implementation_Val. @@ -84,7 +84,7 @@ Module Impl_generics_implementation_GenVal_T. Global Instance AssociatedFunction_value : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "value" (value T). + M.IsAssociatedFunction.C (Self T) "value" (value T). Admitted. Global Typeclasses Opaque value. End Impl_generics_implementation_GenVal_T. @@ -231,6 +231,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_implementation::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_implementation::main" main. Admitted. Global Typeclasses Opaque 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 a89c6647a..37ce318a6 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 @@ -141,7 +141,7 @@ Definition compare_prints (ε : list Value.t) (τ : list Ty.t) (α : list Value. end. Global Instance Instance_IsFunction_compare_prints : - M.IsFunction.Trait "generics_multiple_bounds::compare_prints" compare_prints. + M.IsFunction.C "generics_multiple_bounds::compare_prints" compare_prints. Admitted. Global Typeclasses Opaque compare_prints. @@ -284,7 +284,7 @@ Definition compare_types (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_compare_types : - M.IsFunction.Trait "generics_multiple_bounds::compare_types" compare_types. + M.IsFunction.C "generics_multiple_bounds::compare_types" compare_types. Admitted. Global Typeclasses Opaque compare_types. @@ -427,6 +427,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_multiple_bounds::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_multiple_bounds::main" main. Admitted. Global Typeclasses Opaque 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 a7e229a54..9cb562e01 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 @@ -47,7 +47,7 @@ Module Impl_generics_new_type_idiom_Years. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_days : M.IsAssociatedFunction.Trait Self "to_days" to_days. + Global Instance AssociatedFunction_to_days : M.IsAssociatedFunction.C Self "to_days" to_days. Admitted. Global Typeclasses Opaque to_days. End Impl_generics_new_type_idiom_Years. @@ -82,8 +82,7 @@ Module Impl_generics_new_type_idiom_Days. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_years : - M.IsAssociatedFunction.Trait Self "to_years" to_years. + Global Instance AssociatedFunction_to_years : M.IsAssociatedFunction.C Self "to_years" to_years. Admitted. Global Typeclasses Opaque to_years. End Impl_generics_new_type_idiom_Days. @@ -112,7 +111,7 @@ Definition old_enough (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_old_enough : - M.IsFunction.Trait "generics_new_type_idiom::old_enough" old_enough. + M.IsFunction.C "generics_new_type_idiom::old_enough" old_enough. Admitted. Global Typeclasses Opaque old_enough. @@ -341,6 +340,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_new_type_idiom::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_new_type_idiom::main" main. Admitted. Global Typeclasses Opaque 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 80f24c143..f0e34ec05 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 @@ -56,6 +56,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_new_type_idiom_as_base_type::main" main. + M.IsFunction.C "generics_new_type_idiom_as_base_type::main" main. Admitted. Global Typeclasses Opaque 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 98e371ea7..d2c41c2a4 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 @@ -292,6 +292,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_phantom_type::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_phantom_type::main" main. Admitted. Global Typeclasses Opaque main. 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 b6b333571..f278b7c1b 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 @@ -626,6 +626,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "generics_phantom_type_test_case_unit_clarification::main" main. + M.IsFunction.C "generics_phantom_type_test_case_unit_clarification::main" main. Admitted. Global Typeclasses Opaque 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 8bfc4b45f..bf3fbb4a8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/generics/generics_traits.v +++ b/CoqOfRust/examples/default/examples/rust_book/generics/generics_traits.v @@ -88,6 +88,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_traits::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_traits::main" main. Admitted. Global Typeclasses Opaque 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 600b5b182..06a206d82 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 @@ -199,6 +199,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "generics_where_clauses::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "generics_where_clauses::main" main. Admitted. Global Typeclasses Opaque 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 747777329..80d45e151 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 @@ -20,8 +20,7 @@ Definition gen_range (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_gen_range : - M.IsFunction.Trait "guessing_game::gen_range" gen_range. +Global Instance Instance_IsFunction_gen_range : M.IsFunction.C "guessing_game::gen_range" gen_range. Admitted. Global Typeclasses Opaque gen_range. @@ -460,6 +459,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "guessing_game::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "guessing_game::main" main. Admitted. Global Typeclasses Opaque 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 88b537487..f9d8c8264 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 @@ -1089,7 +1089,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "formatted_print::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "formatted_print::main" main. Admitted. Global Typeclasses Opaque 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 439b46957..63b343b40 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 @@ -51,6 +51,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hello_world::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hello_world::main" main. Admitted. Global Typeclasses Opaque 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 81ae6ae67..0109fb52b 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 @@ -47,6 +47,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_example::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_example::main" main. Admitted. Global Typeclasses Opaque 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 1a3d201fa..a99747a64 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 @@ -84,7 +84,7 @@ Definition foo (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_foo : M.IsFunction.Trait "macro_rules_designators::foo" foo. +Global Instance Instance_IsFunction_foo : M.IsFunction.C "macro_rules_designators::foo" foo. Admitted. Global Typeclasses Opaque foo. @@ -171,7 +171,7 @@ Definition bar (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_bar : M.IsFunction.Trait "macro_rules_designators::bar" bar. +Global Instance Instance_IsFunction_bar : M.IsFunction.C "macro_rules_designators::bar" bar. Admitted. Global Typeclasses Opaque bar. @@ -413,6 +413,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_designators::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_designators::main" main. Admitted. Global Typeclasses Opaque 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 5f6ad6c99..a364cbeec 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 @@ -168,6 +168,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_dsl::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_dsl::main" main. Admitted. Global Typeclasses Opaque 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 fe863bf3d..714ff394d 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 @@ -266,6 +266,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_overload::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_overload::main" main. Admitted. Global Typeclasses Opaque 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 a50f54f24..86d2c7d57 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 @@ -246,6 +246,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "macro_rules_repeat::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "macro_rules_repeat::main" main. Admitted. Global Typeclasses Opaque 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 4c96cca05..74fc068d8 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 @@ -235,6 +235,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "macro_rules_variadic_interfaces::main" main. + M.IsFunction.C "macro_rules_variadic_interfaces::main" main. Admitted. Global Typeclasses Opaque 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 dd9b9b806..9144c819c 100644 --- a/CoqOfRust/examples/default/examples/rust_book/modules/struct_visibility.v +++ b/CoqOfRust/examples/default/examples/rust_book/modules/struct_visibility.v @@ -41,7 +41,7 @@ Module my. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_struct_visibility_my_ClosedBox_T. @@ -187,6 +187,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "struct_visibility::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "struct_visibility::main" main. Admitted. Global Typeclasses Opaque 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 1a645368d..8cf818db3 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 @@ -48,8 +48,7 @@ Definition function (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::function" function. +Global Instance Instance_IsFunction_function : M.IsFunction.C "super_and_self::function" function. Admitted. Global Typeclasses Opaque function. @@ -104,7 +103,7 @@ Module cool. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::cool::function" function. + M.IsFunction.C "super_and_self::cool::function" function. Admitted. Global Typeclasses Opaque function. End cool. @@ -158,7 +157,7 @@ Module my. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::my::function" function. + M.IsFunction.C "super_and_self::my::function" function. Admitted. Global Typeclasses Opaque function. @@ -213,7 +212,7 @@ Module my. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "super_and_self::my::cool::function" function. + M.IsFunction.C "super_and_self::my::cool::function" function. Admitted. Global Typeclasses Opaque function. End cool. @@ -328,7 +327,7 @@ Module my. end. Global Instance Instance_IsFunction_indirect_call : - M.IsFunction.Trait "super_and_self::my::indirect_call" indirect_call. + M.IsFunction.C "super_and_self::my::indirect_call" indirect_call. Admitted. Global Typeclasses Opaque indirect_call. End my. @@ -356,6 +355,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "super_and_self::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "super_and_self::main" main. Admitted. Global Typeclasses Opaque 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 2970a81d1..da87af3b6 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 @@ -49,7 +49,7 @@ Definition function (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "the_use_as_declaration::function" function. + M.IsFunction.C "the_use_as_declaration::function" function. Admitted. Global Typeclasses Opaque function. @@ -106,7 +106,7 @@ Module deeply. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "the_use_as_declaration::deeply::nested::function" function. + M.IsFunction.C "the_use_as_declaration::deeply::nested::function" function. Admitted. Global Typeclasses Opaque function. End nested. @@ -233,6 +233,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "the_use_as_declaration::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "the_use_as_declaration::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v b/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v index 06f6b0b06..1282a4f64 100644 --- a/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v +++ b/CoqOfRust/examples/default/examples/rust_book/modules/visibility.v @@ -52,7 +52,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_private_function : - M.IsFunction.Trait "visibility::my_mod::private_function" private_function. + M.IsFunction.C "visibility::my_mod::private_function" private_function. Admitted. Global Typeclasses Opaque private_function. @@ -106,7 +106,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "visibility::my_mod::function" function. + M.IsFunction.C "visibility::my_mod::function" function. Admitted. Global Typeclasses Opaque function. @@ -170,7 +170,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_indirect_access : - M.IsFunction.Trait "visibility::my_mod::indirect_access" indirect_access. + M.IsFunction.C "visibility::my_mod::indirect_access" indirect_access. Admitted. Global Typeclasses Opaque indirect_access. @@ -226,7 +226,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "visibility::my_mod::nested::function" function. + M.IsFunction.C "visibility::my_mod::nested::function" function. Admitted. Global Typeclasses Opaque function. @@ -281,7 +281,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_private_function : - M.IsFunction.Trait "visibility::my_mod::nested::private_function" private_function. + M.IsFunction.C "visibility::my_mod::nested::private_function" private_function. Admitted. Global Typeclasses Opaque private_function. @@ -357,7 +357,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_public_function_in_my_mod : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::nested::public_function_in_my_mod" public_function_in_my_mod. Admitted. @@ -422,7 +422,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_public_function_in_nested : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::nested::public_function_in_nested" public_function_in_nested. Admitted. @@ -487,7 +487,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_public_function_in_super_mod : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::nested::public_function_in_super_mod" public_function_in_super_mod. Admitted. @@ -611,7 +611,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_call_public_function_in_my_mod : - M.IsFunction.Trait + M.IsFunction.C "visibility::my_mod::call_public_function_in_my_mod" call_public_function_in_my_mod. Admitted. @@ -668,7 +668,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_public_function_in_crate : - M.IsFunction.Trait "visibility::my_mod::public_function_in_crate" public_function_in_crate. + M.IsFunction.C "visibility::my_mod::public_function_in_crate" public_function_in_crate. Admitted. Global Typeclasses Opaque public_function_in_crate. @@ -724,7 +724,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_function : - M.IsFunction.Trait "visibility::my_mod::private_nested::function" function. + M.IsFunction.C "visibility::my_mod::private_nested::function" function. Admitted. Global Typeclasses Opaque function. @@ -783,9 +783,7 @@ Module my_mod. end. Global Instance Instance_IsFunction_restricted_function : - M.IsFunction.Trait - "visibility::my_mod::private_nested::restricted_function" - restricted_function. + M.IsFunction.C "visibility::my_mod::private_nested::restricted_function" restricted_function. Admitted. Global Typeclasses Opaque restricted_function. End private_nested. @@ -838,7 +836,7 @@ Definition function (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_function : M.IsFunction.Trait "visibility::function" function. +Global Instance Instance_IsFunction_function : M.IsFunction.C "visibility::function" function. Admitted. Global Typeclasses Opaque function. @@ -940,6 +938,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "visibility::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "visibility::main" main. Admitted. Global Typeclasses Opaque 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 465a395df..4768f17f7 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 @@ -174,7 +174,7 @@ Definition analyze_slice (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_analyze_slice : - M.IsFunction.Trait "arrays_and_slices::analyze_slice" analyze_slice. + M.IsFunction.C "arrays_and_slices::analyze_slice" analyze_slice. Admitted. Global Typeclasses Opaque analyze_slice. @@ -1289,6 +1289,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "arrays_and_slices::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "arrays_and_slices::main" main. Admitted. Global Typeclasses Opaque 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 02ac2b6b8..e3aa7d5bd 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/compound_types.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/compound_types.v @@ -50,6 +50,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "compound_types::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "compound_types::main" main. Admitted. Global Typeclasses Opaque 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 3936ee123..693a4a43d 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/literals_operators.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/literals_operators.v @@ -927,6 +927,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "literals_operators::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "literals_operators::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v b/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v index 88df01e36..69c72eaa6 100644 --- a/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v +++ b/CoqOfRust/examples/default/examples/rust_book/primitives/tuples.v @@ -32,7 +32,7 @@ Definition reverse (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_reverse : M.IsFunction.Trait "tuples::reverse" reverse. +Global Instance Instance_IsFunction_reverse : M.IsFunction.C "tuples::reverse" reverse. Admitted. Global Typeclasses Opaque reverse. @@ -943,6 +943,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "tuples::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "tuples::main" main. Admitted. Global Typeclasses Opaque 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 68c724319..2d26d1783 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 @@ -86,7 +86,7 @@ Definition eat_box_i32 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_eat_box_i32 : - M.IsFunction.Trait "scoping_rules_borrowing::eat_box_i32" eat_box_i32. + M.IsFunction.C "scoping_rules_borrowing::eat_box_i32" eat_box_i32. Admitted. Global Typeclasses Opaque eat_box_i32. @@ -169,7 +169,7 @@ Definition borrow_i32 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_borrow_i32 : - M.IsFunction.Trait "scoping_rules_borrowing::borrow_i32" borrow_i32. + M.IsFunction.C "scoping_rules_borrowing::borrow_i32" borrow_i32. Admitted. Global Typeclasses Opaque borrow_i32. @@ -289,6 +289,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scoping_rules_borrowing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scoping_rules_borrowing::main" main. Admitted. Global Typeclasses Opaque 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 5022ae5c7..e7c5a6dec 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 @@ -632,6 +632,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_borrowing_aliasing::main" main. + M.IsFunction.C "scoping_rules_borrowing_aliasing::main" main. Admitted. Global Typeclasses Opaque 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 884bcbb30..1f1ca059d 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 @@ -190,7 +190,7 @@ Definition borrow_book (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_borrow_book : - M.IsFunction.Trait "scoping_rules_borrowing_mutablity::borrow_book" borrow_book. + M.IsFunction.C "scoping_rules_borrowing_mutablity::borrow_book" borrow_book. Admitted. Global Typeclasses Opaque borrow_book. @@ -323,7 +323,7 @@ Definition new_edition (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_new_edition : - M.IsFunction.Trait "scoping_rules_borrowing_mutablity::new_edition" new_edition. + M.IsFunction.C "scoping_rules_borrowing_mutablity::new_edition" new_edition. Admitted. Global Typeclasses Opaque new_edition. @@ -416,6 +416,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_borrowing_mutablity::main" main. + M.IsFunction.C "scoping_rules_borrowing_mutablity::main" main. Admitted. Global Typeclasses Opaque 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 8bbd0f161..734894196 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 @@ -603,6 +603,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_borrowing_the_ref_pattern::main" main. + M.IsFunction.C "scoping_rules_borrowing_the_ref_pattern::main" main. Admitted. Global Typeclasses Opaque 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 4720b1562..06a110fff 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 @@ -161,6 +161,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scoping_rules_lifetimes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scoping_rules_lifetimes::main" main. Admitted. Global Typeclasses Opaque 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 13ec9f556..a990a07be 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 @@ -147,7 +147,7 @@ Definition print (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "scoping_rules_lifetimes_bounds::print" print. + M.IsFunction.C "scoping_rules_lifetimes_bounds::print" print. Admitted. Global Typeclasses Opaque print. @@ -233,7 +233,7 @@ Definition print_ref (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_print_ref : - M.IsFunction.Trait "scoping_rules_lifetimes_bounds::print_ref" print_ref. + M.IsFunction.C "scoping_rules_lifetimes_bounds::print_ref" print_ref. Admitted. Global Typeclasses Opaque print_ref. @@ -294,6 +294,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_bounds::main" main. + M.IsFunction.C "scoping_rules_lifetimes_bounds::main" main. Admitted. Global Typeclasses Opaque 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 796d315ab..e4cbf9efc 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 @@ -29,7 +29,7 @@ Definition multiply (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_multiply : - M.IsFunction.Trait "scoping_rules_lifetimes_coercion::multiply" multiply. + M.IsFunction.C "scoping_rules_lifetimes_coercion::multiply" multiply. Admitted. Global Typeclasses Opaque multiply. @@ -56,7 +56,7 @@ Definition choose_first (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_choose_first : - M.IsFunction.Trait "scoping_rules_lifetimes_coercion::choose_first" choose_first. + M.IsFunction.C "scoping_rules_lifetimes_coercion::choose_first" choose_first. Admitted. Global Typeclasses Opaque choose_first. @@ -267,6 +267,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_coercion::main" main. + M.IsFunction.C "scoping_rules_lifetimes_coercion::main" main. Admitted. Global Typeclasses Opaque 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 195ec39cb..2a2460154 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 @@ -80,7 +80,7 @@ Definition elided_input (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_elided_input : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::elided_input" elided_input. + M.IsFunction.C "scoping_rules_lifetimes_elision::elided_input" elided_input. Admitted. Global Typeclasses Opaque elided_input. @@ -163,7 +163,7 @@ Definition annotated_input (ε : list Value.t) (τ : list Ty.t) (α : list Value end. Global Instance Instance_IsFunction_annotated_input : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::annotated_input" annotated_input. + M.IsFunction.C "scoping_rules_lifetimes_elision::annotated_input" annotated_input. Admitted. Global Typeclasses Opaque annotated_input. @@ -182,7 +182,7 @@ Definition elided_pass (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_elided_pass : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::elided_pass" elided_pass. + M.IsFunction.C "scoping_rules_lifetimes_elision::elided_pass" elided_pass. Admitted. Global Typeclasses Opaque elided_pass. @@ -201,7 +201,7 @@ Definition annotated_pass (ε : list Value.t) (τ : list Ty.t) (α : list Value. end. Global Instance Instance_IsFunction_annotated_pass : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::annotated_pass" annotated_pass. + M.IsFunction.C "scoping_rules_lifetimes_elision::annotated_pass" annotated_pass. Admitted. Global Typeclasses Opaque annotated_pass. @@ -408,6 +408,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_elision::main" main. + M.IsFunction.C "scoping_rules_lifetimes_elision::main" main. Admitted. Global Typeclasses Opaque 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 74b3715e8..f446994e0 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 @@ -80,7 +80,7 @@ Definition print_one (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_print_one : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::print_one" print_one. + M.IsFunction.C "scoping_rules_lifetimes_functions::print_one" print_one. Admitted. Global Typeclasses Opaque print_one. @@ -106,7 +106,7 @@ Definition add_one (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_add_one : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::add_one" add_one. + M.IsFunction.C "scoping_rules_lifetimes_functions::add_one" add_one. Admitted. Global Typeclasses Opaque add_one. @@ -210,7 +210,7 @@ Definition print_multi (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_print_multi : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::print_multi" print_multi. + M.IsFunction.C "scoping_rules_lifetimes_functions::print_multi" print_multi. Admitted. Global Typeclasses Opaque print_multi. @@ -230,7 +230,7 @@ Definition pass_x (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M : end. Global Instance Instance_IsFunction_pass_x : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::pass_x" pass_x. + M.IsFunction.C "scoping_rules_lifetimes_functions::pass_x" pass_x. Admitted. Global Typeclasses Opaque pass_x. @@ -323,6 +323,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_functions::main" main. + M.IsFunction.C "scoping_rules_lifetimes_functions::main" main. Admitted. Global Typeclasses Opaque 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 a7fe67277..4e4c845ce 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 @@ -38,7 +38,7 @@ Module Impl_scoping_rules_lifetimes_methods_Owner. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_add_one : M.IsAssociatedFunction.Trait Self "add_one" add_one. + Global Instance AssociatedFunction_add_one : M.IsAssociatedFunction.C Self "add_one" add_one. Admitted. Global Typeclasses Opaque add_one. @@ -129,7 +129,7 @@ Module Impl_scoping_rules_lifetimes_methods_Owner. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_print : M.IsAssociatedFunction.Trait Self "print" print. + Global Instance AssociatedFunction_print : M.IsAssociatedFunction.C Self "print" print. Admitted. Global Typeclasses Opaque print. End Impl_scoping_rules_lifetimes_methods_Owner. @@ -185,6 +185,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_methods::main" main. + M.IsFunction.C "scoping_rules_lifetimes_methods::main" main. Admitted. Global Typeclasses Opaque 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 1b0aa8ee4..42993eab2 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 @@ -1,12 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_NUM : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 18 |) |))). +Definition value_NUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 18 |) |))). -Axiom Constant_value_NUM : - (M.get_constant "scoping_rules_lifetimes_reference_lifetime_static::NUM") = value_NUM. -Global Hint Rewrite Constant_value_NUM : constant_rewrites. +Global Instance Instance_IsConstant_value_NUM : + M.IsFunction.C "scoping_rules_lifetimes_reference_lifetime_static::NUM" value_NUM. +Admitted. +Global Typeclasses Opaque value_NUM. (* fn coerce_static<'a>(_: &'a i32) -> &'a i32 { @@ -31,7 +32,10 @@ Definition coerce_static (ε : list Value.t) (τ : list Ty.t) (α : list Value.t Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "scoping_rules_lifetimes_reference_lifetime_static::NUM" + get_constant (| + "scoping_rules_lifetimes_reference_lifetime_static::NUM", + Ty.apply (Ty.path "&") [] [ Ty.path "i32" ] + |) |) |) |) @@ -43,9 +47,7 @@ Definition coerce_static (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_coerce_static : - M.IsFunction.Trait - "scoping_rules_lifetimes_reference_lifetime_static::coerce_static" - coerce_static. + M.IsFunction.C "scoping_rules_lifetimes_reference_lifetime_static::coerce_static" coerce_static. Admitted. Global Typeclasses Opaque coerce_static. @@ -283,8 +285,10 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "scoping_rules_lifetimes_reference_lifetime_static::NUM" + get_constant (| + "scoping_rules_lifetimes_reference_lifetime_static::NUM", + Ty.apply (Ty.path "&") [] [ Ty.path "i32" ] + |) |) |) |) @@ -309,6 +313,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_reference_lifetime_static::main" main. + M.IsFunction.C "scoping_rules_lifetimes_reference_lifetime_static::main" main. Admitted. Global Typeclasses Opaque 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 e3394179f..ae04c8aa7 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 @@ -571,6 +571,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_structs::main" main. + M.IsFunction.C "scoping_rules_lifetimes_structs::main" main. Admitted. Global Typeclasses Opaque 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 23055ca58..b47feef37 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 @@ -191,6 +191,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_lifetimes_traits::main" main. + M.IsFunction.C "scoping_rules_lifetimes_traits::main" main. Admitted. Global Typeclasses Opaque 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 8a3b42159..f697f6e0a 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 @@ -88,7 +88,7 @@ Definition destroy_box (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_destroy_box : - M.IsFunction.Trait "scoping_rules_ownership_and_rules::destroy_box" destroy_box. + M.IsFunction.C "scoping_rules_ownership_and_rules::destroy_box" destroy_box. Admitted. Global Typeclasses Opaque destroy_box. @@ -325,6 +325,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_ownership_and_rules::main" main. + M.IsFunction.C "scoping_rules_ownership_and_rules::main" main. Admitted. Global Typeclasses Opaque 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 8d2921b8c..22ebc635f 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 @@ -268,6 +268,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_ownership_and_rules_mutablity::main" main. + M.IsFunction.C "scoping_rules_ownership_and_rules_mutablity::main" main. Admitted. Global Typeclasses Opaque 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 5d194a7f2..afb14ee01 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 @@ -319,7 +319,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_ownership_and_rules_partial_moves::main" main. + M.IsFunction.C "scoping_rules_ownership_and_rules_partial_moves::main" main. Admitted. Global Typeclasses Opaque main. 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 c3845280d..60b6e8975 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 @@ -43,7 +43,7 @@ Definition create_box (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_create_box : - M.IsFunction.Trait "scoping_rules_raii::create_box" create_box. + M.IsFunction.C "scoping_rules_raii::create_box" create_box. Admitted. Global Typeclasses Opaque create_box. @@ -209,6 +209,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scoping_rules_raii::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scoping_rules_raii::main" main. Admitted. Global Typeclasses Opaque 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 e7b9ccc09..f4e658dc9 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 @@ -120,6 +120,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "scoping_rules_raii_desctructor::main" main. + M.IsFunction.C "scoping_rules_raii_desctructor::main" main. Admitted. Global Typeclasses Opaque 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 d25db13b3..7ec9463e7 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 @@ -338,6 +338,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "arc::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "arc::main" main. Admitted. Global Typeclasses Opaque 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 6b9d76442..96cc01cdc 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 @@ -144,7 +144,7 @@ Definition origin (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_origin : M.IsFunction.Trait "box_stack_heap::origin" origin. +Global Instance Instance_IsFunction_origin : M.IsFunction.C "box_stack_heap::origin" origin. Admitted. Global Typeclasses Opaque origin. @@ -182,7 +182,7 @@ Definition boxed_origin (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_boxed_origin : - M.IsFunction.Trait "box_stack_heap::boxed_origin" boxed_origin. + M.IsFunction.C "box_stack_heap::boxed_origin" boxed_origin. Admitted. Global Typeclasses Opaque boxed_origin. @@ -958,6 +958,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "box_stack_heap::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "box_stack_heap::main" main. Admitted. Global Typeclasses Opaque 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 f2de37da4..26f30d38a 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 @@ -70,7 +70,7 @@ Definition call (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_call : M.IsFunction.Trait "hash_map::call" call. +Global Instance Instance_IsFunction_call : M.IsFunction.C "hash_map::call" call. Admitted. Global Typeclasses Opaque call. @@ -919,6 +919,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hash_map::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hash_map::main" main. Admitted. Global Typeclasses Opaque 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 ab0091a9a..c47ed05ab 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 @@ -708,7 +708,7 @@ Definition try_logon (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_try_logon : - M.IsFunction.Trait "hash_map_alternate_or_custom_key_types::try_logon" try_logon. + M.IsFunction.C "hash_map_alternate_or_custom_key_types::try_logon" try_logon. Admitted. Global Typeclasses Opaque try_logon. @@ -865,6 +865,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "hash_map_alternate_or_custom_key_types::main" main. + M.IsFunction.C "hash_map_alternate_or_custom_key_types::main" main. Admitted. Global Typeclasses Opaque 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 4bbaaa18f..ea5e48a77 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 @@ -1068,6 +1068,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hash_map_hash_set::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hash_map_hash_set::main" main. Admitted. Global Typeclasses Opaque 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 a91a91394..ec5df46d9 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 @@ -46,7 +46,7 @@ Definition checked_division (ε : list Value.t) (τ : list Ty.t) (α : list Valu end. Global Instance Instance_IsFunction_checked_division : - M.IsFunction.Trait "option::checked_division" checked_division. + M.IsFunction.C "option::checked_division" checked_division. Admitted. Global Typeclasses Opaque checked_division. @@ -279,7 +279,7 @@ Definition try_division (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_try_division : - M.IsFunction.Trait "option::try_division" try_division. + M.IsFunction.C "option::try_division" try_division. Admitted. Global Typeclasses Opaque try_division. @@ -545,6 +545,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "option::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "option::main" main. Admitted. Global Typeclasses Opaque 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 4103e9c0a..783ea3796 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 @@ -52,7 +52,7 @@ Definition division (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_division : M.IsFunction.Trait "panic::division" division. +Global Instance Instance_IsFunction_division : M.IsFunction.C "panic::division" division. Admitted. Global Typeclasses Opaque division. @@ -144,6 +144,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "panic::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "panic::main" main. Admitted. Global Typeclasses Opaque 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 b9b378c3a..f2e34a7e4 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 @@ -906,6 +906,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "rc::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "rc::main" main. Admitted. Global Typeclasses Opaque main. 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 a9f7a9c3a..d964fd95e 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 @@ -171,7 +171,7 @@ Module checked. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_div : M.IsFunction.Trait "result::checked::div" div. + Global Instance Instance_IsFunction_div : M.IsFunction.C "result::checked::div" div. Admitted. Global Typeclasses Opaque div. @@ -230,7 +230,7 @@ Module checked. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sqrt : M.IsFunction.Trait "result::checked::sqrt" sqrt. + Global Instance Instance_IsFunction_sqrt : M.IsFunction.C "result::checked::sqrt" sqrt. Admitted. Global Typeclasses Opaque sqrt. @@ -289,7 +289,7 @@ Module checked. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_ln : M.IsFunction.Trait "result::checked::ln" ln. + Global Instance Instance_IsFunction_ln : M.IsFunction.C "result::checked::ln" ln. Admitted. Global Typeclasses Opaque ln. End checked. @@ -597,7 +597,7 @@ Definition op (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_op : M.IsFunction.Trait "result::op" op. +Global Instance Instance_IsFunction_op : M.IsFunction.C "result::op" op. Admitted. Global Typeclasses Opaque op. @@ -691,6 +691,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "result::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "result::main" main. Admitted. Global Typeclasses Opaque main. 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 b453c274a..b87621011 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 @@ -179,7 +179,7 @@ Module checked. end. Global Instance Instance_IsFunction_div : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::div" div. + M.IsFunction.C "result_chaining_with_question_mark::checked::div" div. Admitted. Global Typeclasses Opaque div. @@ -244,7 +244,7 @@ Module checked. end. Global Instance Instance_IsFunction_sqrt : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::sqrt" sqrt. + M.IsFunction.C "result_chaining_with_question_mark::checked::sqrt" sqrt. Admitted. Global Typeclasses Opaque sqrt. @@ -309,7 +309,7 @@ Module checked. end. Global Instance Instance_IsFunction_ln : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::ln" ln. + M.IsFunction.C "result_chaining_with_question_mark::checked::ln" ln. Admitted. Global Typeclasses Opaque ln. @@ -592,7 +592,7 @@ Module checked. end. Global Instance Instance_IsFunction_op_ : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::op_" op_. + M.IsFunction.C "result_chaining_with_question_mark::checked::op_" op_. Admitted. Global Typeclasses Opaque op_. @@ -775,7 +775,7 @@ Module checked. end. Global Instance Instance_IsFunction_op : - M.IsFunction.Trait "result_chaining_with_question_mark::checked::op" op. + M.IsFunction.C "result_chaining_with_question_mark::checked::op" op. Admitted. Global Typeclasses Opaque op. End checked. @@ -804,6 +804,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "result_chaining_with_question_mark::main" main. + M.IsFunction.C "result_chaining_with_question_mark::main" main. Admitted. Global Typeclasses Opaque 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 5fd729e7b..34af77fa3 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 @@ -826,6 +826,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "strings::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "strings::main" main. Admitted. Global Typeclasses Opaque 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 cc137dba1..80012d70e 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 @@ -559,6 +559,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "strings_byte_strings_as_non_utf8::main" main. + M.IsFunction.C "strings_byte_strings_as_non_utf8::main" main. Admitted. Global Typeclasses Opaque 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 b1edd3cda..aa4a43cf2 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 @@ -259,7 +259,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "strings_literals_and_escapes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "strings_literals_and_escapes::main" main. Admitted. Global Typeclasses Opaque 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 a9130cfb6..37aa71ecc 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 @@ -215,7 +215,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "strings_raw_string_literals::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "strings_raw_string_literals::main" main. Admitted. Global Typeclasses Opaque 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 a3adf4f71..7a3641433 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 @@ -1325,6 +1325,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "vectors::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "vectors::main" main. Admitted. Global Typeclasses Opaque 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 a8a8a36d2..3b60304d4 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/channels.v @@ -1,11 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_NTHREADS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 3 |) |))). +Definition value_NTHREADS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.I32 3 |) |))). -Axiom Constant_value_NTHREADS : (M.get_constant "channels::NTHREADS") = value_NTHREADS. -Global Hint Rewrite Constant_value_NTHREADS : constant_rewrites. +Global Instance Instance_IsConstant_value_NTHREADS : + M.IsFunction.C "channels::NTHREADS" value_NTHREADS. +Admitted. +Global Typeclasses Opaque value_NTHREADS. (* fn main() { @@ -130,7 +132,14 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := ("start", Value.Integer IntegerKind.I32 0); ("end_", M.read (| - M.deref (| M.read (| M.get_constant "channels::NTHREADS" |) |) + M.deref (| + M.read (| + get_constant (| + "channels::NTHREADS", + Ty.apply (Ty.path "&") [] [ Ty.path "i32" ] + |) + |) + |) |)) ] ] @@ -494,7 +503,14 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.cast (Ty.path "usize") (M.read (| - M.deref (| M.read (| M.get_constant "channels::NTHREADS" |) |) + M.deref (| + M.read (| + get_constant (| + "channels::NTHREADS", + Ty.apply (Ty.path "&") [] [ Ty.path "i32" ] + |) + |) + |) |)) ] |) @@ -522,7 +538,14 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := ("start", Value.Integer IntegerKind.I32 0); ("end_", M.read (| - M.deref (| M.read (| M.get_constant "channels::NTHREADS" |) |) + M.deref (| + M.read (| + get_constant (| + "channels::NTHREADS", + Ty.apply (Ty.path "&") [] [ Ty.path "i32" ] + |) + |) + |) |)) ] ] @@ -889,6 +912,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "channels::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "channels::main" main. Admitted. Global Typeclasses Opaque 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 c9448b135..af4a01b98 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 @@ -451,6 +451,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "child_processes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "child_processes::main" main. Admitted. Global Typeclasses Opaque 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 eadd81486..1302ee907 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 @@ -1,14 +1,15 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_PANGRAM : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| M.alloc (| mk_str (| "the quick brown fox jumped over the lazy dog +Definition value_PANGRAM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| M.alloc (| mk_str (| "the quick brown fox jumped over the lazy dog " |) |) |))). -Axiom Constant_value_PANGRAM : (M.get_constant "child_processes_pipes::PANGRAM") = value_PANGRAM. -Global Hint Rewrite Constant_value_PANGRAM : constant_rewrites. +Global Instance Instance_IsConstant_value_PANGRAM : + M.IsFunction.C "child_processes_pipes::PANGRAM" value_PANGRAM. +Admitted. +Global Typeclasses Opaque value_PANGRAM. (* fn main() { @@ -270,7 +271,15 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "child_processes_pipes::PANGRAM" |) + M.read (| + get_constant (| + "child_processes_pipes::PANGRAM", + Ty.apply + (Ty.path "&") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + |) + |) |) |) |) @@ -582,6 +591,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "child_processes_pipes::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "child_processes_pipes::main" main. Admitted. Global Typeclasses Opaque 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 1f8be1d2b..c71cd2622 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 @@ -134,6 +134,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "child_processes_wait::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "child_processes_wait::main" main. Admitted. Global Typeclasses Opaque 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 5411efa82..5c484ca56 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 @@ -1,26 +1,26 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_LOREM_IPSUM : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - mk_str (| - "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +Definition value_LOREM_IPSUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + mk_str (| + "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. " - |) |) - |))). + |) + |))). -Axiom Constant_value_LOREM_IPSUM : - (M.get_constant "file_io_create::LOREM_IPSUM") = value_LOREM_IPSUM. -Global Hint Rewrite Constant_value_LOREM_IPSUM : constant_rewrites. +Global Instance Instance_IsConstant_value_LOREM_IPSUM : + M.IsFunction.C "file_io_create::LOREM_IPSUM" value_LOREM_IPSUM. +Admitted. +Global Typeclasses Opaque value_LOREM_IPSUM. (* fn main() { @@ -217,7 +217,15 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.deref (| M.read (| M.deref (| - M.read (| M.get_constant "file_io_create::LOREM_IPSUM" |) + M.read (| + get_constant (| + "file_io_create::LOREM_IPSUM", + Ty.apply + (Ty.path "&") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + |) + |) |) |) |) @@ -385,6 +393,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "file_io_create::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "file_io_create::main" main. Admitted. Global Typeclasses Opaque 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 124777538..df0558fd2 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 @@ -372,6 +372,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "file_io_open::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "file_io_open::main" main. Admitted. Global Typeclasses Opaque 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 47c7ab05b..26ce78300 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 @@ -98,7 +98,7 @@ Definition read_lines (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_read_lines : - M.IsFunction.Trait "file_io_read_lines::read_lines" read_lines. + M.IsFunction.C "file_io_read_lines::read_lines" read_lines. Admitted. Global Typeclasses Opaque read_lines. @@ -356,6 +356,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "file_io_read_lines::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "file_io_read_lines::main" main. Admitted. Global Typeclasses Opaque 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 b9e46c79e..145fe38c7 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 @@ -197,7 +197,7 @@ Definition read_lines (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : end. Global Instance Instance_IsFunction_read_lines : - M.IsFunction.Trait "file_io_read_lines_efficient_method::read_lines" read_lines. + M.IsFunction.C "file_io_read_lines_efficient_method::read_lines" read_lines. Admitted. Global Typeclasses Opaque read_lines. @@ -469,6 +469,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "file_io_read_lines_efficient_method::main" main. + M.IsFunction.C "file_io_read_lines_efficient_method::main" main. Admitted. Global Typeclasses Opaque 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 7d44a1f4d..76d776121 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 @@ -186,7 +186,7 @@ Definition cat (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_cat : M.IsFunction.Trait "filesystem_operations::cat" cat. +Global Instance Instance_IsFunction_cat : M.IsFunction.C "filesystem_operations::cat" cat. Admitted. Global Typeclasses Opaque cat. @@ -348,7 +348,7 @@ Definition echo (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_echo : M.IsFunction.Trait "filesystem_operations::echo" echo. +Global Instance Instance_IsFunction_echo : M.IsFunction.C "filesystem_operations::echo" echo. Admitted. Global Typeclasses Opaque echo. @@ -456,7 +456,7 @@ Definition touch (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_touch : M.IsFunction.Trait "filesystem_operations::touch" touch. +Global Instance Instance_IsFunction_touch : M.IsFunction.C "filesystem_operations::touch" touch. Admitted. Global Typeclasses Opaque touch. @@ -2392,6 +2392,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "filesystem_operations::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "filesystem_operations::main" main. Admitted. Global Typeclasses Opaque main. 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 378772ba3..25e8c8148 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 @@ -4,13 +4,13 @@ Require Import CoqOfRust.CoqOfRust. Parameter csqrtf : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_csqrtf : - M.IsFunction.Trait "foreign_function_interface::csqrtf" csqrtf. + M.IsFunction.C "foreign_function_interface::csqrtf" csqrtf. Admitted. Parameter ccosf : (list Value.t) -> (list Ty.t) -> (list Value.t) -> M. Global Instance Instance_IsFunction_ccosf : - M.IsFunction.Trait "foreign_function_interface::ccosf" ccosf. + M.IsFunction.C "foreign_function_interface::ccosf" ccosf. Admitted. (* @@ -31,7 +31,7 @@ Definition cos (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_cos : M.IsFunction.Trait "foreign_function_interface::cos" cos. +Global Instance Instance_IsFunction_cos : M.IsFunction.C "foreign_function_interface::cos" cos. Admitted. Global Typeclasses Opaque cos. @@ -248,8 +248,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "foreign_function_interface::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "foreign_function_interface::main" main. Admitted. Global Typeclasses Opaque main. 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 aa4d3deb0..b5b665e33 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/path.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/path.v @@ -265,6 +265,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "path::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "path::main" main. Admitted. Global Typeclasses Opaque 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 017c06176..617993fb8 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 @@ -319,6 +319,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "program_arguments::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "program_arguments::main" main. Admitted. Global Typeclasses Opaque 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 d1aef49d4..cde127bb6 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 @@ -88,7 +88,7 @@ Definition increase (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_increase : - M.IsFunction.Trait "program_arguments_parsing::increase" increase. + M.IsFunction.C "program_arguments_parsing::increase" increase. Admitted. Global Typeclasses Opaque increase. @@ -179,7 +179,7 @@ Definition decrease (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M end. Global Instance Instance_IsFunction_decrease : - M.IsFunction.Trait "program_arguments_parsing::decrease" decrease. + M.IsFunction.C "program_arguments_parsing::decrease" decrease. Admitted. Global Typeclasses Opaque decrease. @@ -247,8 +247,7 @@ match_args {increase|decrease} | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_help : - M.IsFunction.Trait "program_arguments_parsing::help" help. +Global Instance Instance_IsFunction_help : M.IsFunction.C "program_arguments_parsing::help" help. Admitted. Global Typeclasses Opaque help. @@ -872,7 +871,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "program_arguments_parsing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "program_arguments_parsing::main" main. Admitted. Global Typeclasses Opaque 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 44ab32ed1..3c5fee105 100644 --- a/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v +++ b/CoqOfRust/examples/default/examples/rust_book/std_misc/threads.v @@ -1,11 +1,13 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_NTHREADS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10 |))). +Definition value_NTHREADS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 10 |))). -Axiom Constant_value_NTHREADS : (M.get_constant "threads::NTHREADS") = value_NTHREADS. -Global Hint Rewrite Constant_value_NTHREADS : constant_rewrites. +Global Instance Instance_IsConstant_value_NTHREADS : + M.IsFunction.C "threads::NTHREADS" value_NTHREADS. +Admitted. +Global Typeclasses Opaque value_NTHREADS. (* fn main() { @@ -83,7 +85,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := "core::ops::range::Range" [ ("start", Value.Integer IntegerKind.U32 0); - ("end_", M.read (| M.get_constant "threads::NTHREADS" |)) + ("end_", M.read (| get_constant (| "threads::NTHREADS", Ty.path "u32" |) |)) ] ] |) @@ -423,6 +425,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "threads::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "threads::main" main. Admitted. Global Typeclasses Opaque 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 156ab958d..4a405a584 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 @@ -971,7 +971,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "threads_test_case_map_reduce::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "threads_test_case_map_reduce::main" main. Admitted. Global Typeclasses Opaque 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 bdfb6fe6c..bc0cf58e2 100644 --- a/CoqOfRust/examples/default/examples/rust_book/testing/documentation_testing.v +++ b/CoqOfRust/examples/default/examples/rust_book/testing/documentation_testing.v @@ -16,7 +16,7 @@ Definition add (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_add : M.IsFunction.Trait "documentation_testing::add" add. +Global Instance Instance_IsFunction_add : M.IsFunction.C "documentation_testing::add" add. Admitted. Global Typeclasses Opaque add. @@ -70,6 +70,6 @@ Definition div (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_div : M.IsFunction.Trait "documentation_testing::div" div. +Global Instance Instance_IsFunction_div : M.IsFunction.C "documentation_testing::div" div. Admitted. Global Typeclasses Opaque 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 a1f2ba62b..33ba01734 100644 --- a/CoqOfRust/examples/default/examples/rust_book/testing/unit_testing.v +++ b/CoqOfRust/examples/default/examples/rust_book/testing/unit_testing.v @@ -16,7 +16,7 @@ Definition add (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_add : M.IsFunction.Trait "unit_testing::add" add. +Global Instance Instance_IsFunction_add : M.IsFunction.C "unit_testing::add" add. Admitted. Global Typeclasses Opaque add. @@ -35,7 +35,7 @@ Definition bad_add (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_bad_add : M.IsFunction.Trait "unit_testing::bad_add" bad_add. +Global Instance Instance_IsFunction_bad_add : M.IsFunction.C "unit_testing::bad_add" bad_add. Admitted. Global Typeclasses Opaque bad_add. @@ -147,7 +147,7 @@ Module tests. end. Global Instance Instance_IsFunction_test_add : - M.IsFunction.Trait "unit_testing::tests::test_add'1" test_add. + M.IsFunction.C "unit_testing::tests::test_add'1" test_add. Admitted. Global Typeclasses Opaque test_add. @@ -260,7 +260,7 @@ Module tests. end. Global Instance Instance_IsFunction_test_bad_add : - M.IsFunction.Trait "unit_testing::tests::test_bad_add'1" test_bad_add. + M.IsFunction.C "unit_testing::tests::test_bad_add'1" test_bad_add. Admitted. Global Typeclasses Opaque test_bad_add. End tests. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/clone.v b/CoqOfRust/examples/default/examples/rust_book/traits/clone.v index 36fe7eb52..559c6cd2f 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/clone.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/clone.v @@ -658,6 +658,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "clone::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "clone::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/derive.v b/CoqOfRust/examples/default/examples/rust_book/traits/derive.v index eb742023f..59b7e00a8 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/derive.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/derive.v @@ -224,7 +224,7 @@ Module Impl_derive_Inches. end. Global Instance AssociatedFunction_to_centimeters : - M.IsAssociatedFunction.Trait Self "to_centimeters" to_centimeters. + M.IsAssociatedFunction.C Self "to_centimeters" to_centimeters. Admitted. Global Typeclasses Opaque to_centimeters. End Impl_derive_Inches. @@ -459,6 +459,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "derive::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "derive::main" main. Admitted. Global Typeclasses Opaque 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 44b2945b4..88bd2d769 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 @@ -381,6 +381,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "disambiguating_overlapping_traits::main" main. + M.IsFunction.C "disambiguating_overlapping_traits::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/drop.v b/CoqOfRust/examples/default/examples/rust_book/traits/drop.v index 0aea0bf27..d40578025 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/drop.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/drop.v @@ -329,6 +329,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "drop::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "drop::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/hash.v b/CoqOfRust/examples/default/examples/rust_book/traits/hash.v index ee2e91139..74f3de312 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/hash.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/hash.v @@ -195,7 +195,7 @@ Definition calculate_hash (ε : list Value.t) (τ : list Ty.t) (α : list Value. end. Global Instance Instance_IsFunction_calculate_hash : - M.IsFunction.Trait "hash::calculate_hash" calculate_hash. + M.IsFunction.C "hash::calculate_hash" calculate_hash. Admitted. Global Typeclasses Opaque calculate_hash. @@ -331,6 +331,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "hash::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "hash::main" main. Admitted. Global Typeclasses Opaque 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 4edeb8fcb..43ef04c4f 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 @@ -138,7 +138,7 @@ Definition combine_vecs_explicit_return_type end. Global Instance Instance_IsFunction_combine_vecs_explicit_return_type : - M.IsFunction.Trait + M.IsFunction.C "impl_trait_as_return_type::combine_vecs_explicit_return_type" combine_vecs_explicit_return_type. Admitted. @@ -274,7 +274,7 @@ Definition combine_vecs (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) end. Global Instance Instance_IsFunction_combine_vecs : - M.IsFunction.Trait "impl_trait_as_return_type::combine_vecs" combine_vecs. + M.IsFunction.C "impl_trait_as_return_type::combine_vecs" combine_vecs. Admitted. Global Typeclasses Opaque combine_vecs. @@ -1162,7 +1162,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "impl_trait_as_return_type::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "impl_trait_as_return_type::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v b/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v index c8476dcbb..700faf731 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/iterators.v @@ -107,7 +107,7 @@ Definition fibonacci (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_fibonacci : M.IsFunction.Trait "iterators::fibonacci" fibonacci. +Global Instance Instance_IsFunction_fibonacci : M.IsFunction.C "iterators::fibonacci" fibonacci. Admitted. Global Typeclasses Opaque fibonacci. @@ -1459,6 +1459,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "iterators::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "iterators::main" main. Admitted. Global Typeclasses Opaque 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 690bfee0f..0cf0dd33a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/operator_overloading.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/operator_overloading.v @@ -413,6 +413,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "operator_overloading::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "operator_overloading::main" main. Admitted. Global Typeclasses Opaque 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 87956fa3e..105bf2ca0 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 @@ -154,7 +154,7 @@ Definition random_animal (ε : list Value.t) (τ : list Ty.t) (α : list Value.t end. Global Instance Instance_IsFunction_random_animal : - M.IsFunction.Trait "returning_traits_with_dyn::random_animal" random_animal. + M.IsFunction.C "returning_traits_with_dyn::random_animal" random_animal. Admitted. Global Typeclasses Opaque random_animal. @@ -294,7 +294,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "returning_traits_with_dyn::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "returning_traits_with_dyn::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v b/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v index c53ff927d..95ff61420 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/supertraits.v @@ -256,7 +256,7 @@ Definition comp_sci_student_greeting (ε : list Value.t) (τ : list Ty.t) (α : end. Global Instance Instance_IsFunction_comp_sci_student_greeting : - M.IsFunction.Trait "supertraits::comp_sci_student_greeting" comp_sci_student_greeting. + M.IsFunction.C "supertraits::comp_sci_student_greeting" comp_sci_student_greeting. Admitted. Global Typeclasses Opaque comp_sci_student_greeting. @@ -267,6 +267,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "supertraits::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "supertraits::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/traits/traits.v b/CoqOfRust/examples/default/examples/rust_book/traits/traits.v index 0f01cb53c..fa32ae2a6 100644 --- a/CoqOfRust/examples/default/examples/rust_book/traits/traits.v +++ b/CoqOfRust/examples/default/examples/rust_book/traits/traits.v @@ -174,8 +174,7 @@ Module Impl_traits_Sheep. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_naked : - M.IsAssociatedFunction.Trait Self "is_naked" is_naked. + Global Instance AssociatedFunction_is_naked : M.IsAssociatedFunction.C Self "is_naked" is_naked. Admitted. Global Typeclasses Opaque is_naked. (* @@ -406,7 +405,7 @@ Module Impl_traits_Sheep. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_shear : M.IsAssociatedFunction.Trait Self "shear" shear. + Global Instance AssociatedFunction_shear : M.IsAssociatedFunction.C Self "shear" shear. Admitted. Global Typeclasses Opaque shear. End Impl_traits_Sheep. @@ -722,6 +721,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "traits::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "traits::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v b/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v index f0b60f6f1..8a874cce3 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/aliasing.v @@ -145,6 +145,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "aliasing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "aliasing::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/casting.v b/CoqOfRust/examples/default/examples/rust_book/types/casting.v index e3d429aa0..e6e43137a 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/casting.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/casting.v @@ -928,7 +928,13 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := M.alloc (| M.cast (Ty.path "u8") - (M.read (| M.get_constant "core::f32::NAN" |)) + (M.read (| + get_associated_constant (| + Ty.path "f32", + "NAN", + Ty.path "f32" + |) + |)) |) |) |) @@ -1161,7 +1167,15 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := [], [ Ty.path "u8" ] |), - [ M.read (| M.get_constant "core::f32::NAN" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "f32", + "NAN", + Ty.path "f32" + |) + |) + ] |) |) |) @@ -1185,6 +1199,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "casting::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "casting::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/inference.v b/CoqOfRust/examples/default/examples/rust_book/types/inference.v index b07a9df45..0fc5dd735 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/inference.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/inference.v @@ -134,6 +134,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inference::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inference::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/rust_book/types/literals.v b/CoqOfRust/examples/default/examples/rust_book/types/literals.v index a7fd88d23..917ee9d49 100644 --- a/CoqOfRust/examples/default/examples/rust_book/types/literals.v +++ b/CoqOfRust/examples/default/examples/rust_book/types/literals.v @@ -450,6 +450,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "literals::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "literals::main" main. Admitted. Global Typeclasses Opaque 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 f13127ac6..103a300a3 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 @@ -269,6 +269,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "calling_unsafe_functions::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "calling_unsafe_functions::main" main. Admitted. Global Typeclasses Opaque 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 e5723fffa..70d74fddf 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 @@ -21,6 +21,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly::main" main. Admitted. Global Typeclasses Opaque 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 72b615c80..86407eb91 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 @@ -153,6 +153,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_clobbered_registers::main" main. + M.IsFunction.C "inline_assembly_clobbered_registers::main" main. Admitted. Global Typeclasses Opaque 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 02c7a4fd2..6bddcedf9 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 @@ -24,6 +24,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_explicit_register_operands::main" main. + M.IsFunction.C "inline_assembly_explicit_register_operands::main" main. Admitted. Global Typeclasses Opaque 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 b74c87556..29fcafc40 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 @@ -111,6 +111,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inlateout_case_implemented::main" main. + M.IsFunction.C "inline_assembly_inlateout_case_implemented::main" main. Admitted. Global Typeclasses Opaque 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 4563b12d2..37edd78d4 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 @@ -119,6 +119,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inlateout_case_non_used::main" main. + M.IsFunction.C "inline_assembly_inlateout_case_non_used::main" main. Admitted. Global Typeclasses Opaque 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 e91e4dc9b..15c954c4e 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 @@ -31,7 +31,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inlateout_mul::main" main. + M.IsFunction.C "inline_assembly_inlateout_mul::main" main. Admitted. Global Typeclasses Opaque main. @@ -81,7 +81,7 @@ Module main. end. Global Instance Instance_IsFunction_mul : - M.IsFunction.Trait "inline_assembly_inlateout_mul::main::mul" mul. + M.IsFunction.C "inline_assembly_inlateout_mul::main::mul" mul. Admitted. Global Typeclasses Opaque mul. End main. 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 d1a9d3603..0e1e67f87 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 @@ -110,6 +110,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly_inout::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly_inout::main" main. Admitted. Global Typeclasses Opaque 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 ebb0c214c..e8ddfd0a8 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 @@ -109,6 +109,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inputs_and_outputs::main" main. + M.IsFunction.C "inline_assembly_inputs_and_outputs::main" main. Admitted. Global Typeclasses Opaque 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 1a5916919..093c991bd 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 @@ -116,6 +116,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inputs_and_outputs_another_example::main" main. + M.IsFunction.C "inline_assembly_inputs_and_outputs_another_example::main" main. Admitted. Global Typeclasses Opaque 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 abb533796..c3f3dda4c 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 @@ -109,6 +109,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_inputs_and_outputs_another_example_without_mov::main" main. + M.IsFunction.C "inline_assembly_inputs_and_outputs_another_example_without_mov::main" main. Admitted. Global Typeclasses Opaque 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 e3ed76652..64db93033 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 @@ -118,6 +118,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly_labels::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly_labels::main" main. Admitted. Global Typeclasses Opaque 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 48a6c592a..29a5f7c23 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 @@ -19,7 +19,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_memory_address_operands::main" main. + M.IsFunction.C "inline_assembly_memory_address_operands::main" main. Admitted. Global Typeclasses Opaque main. @@ -44,7 +44,7 @@ Module main. end. Global Instance Instance_IsFunction_load_fpu_control_word : - M.IsFunction.Trait + M.IsFunction.C "inline_assembly_memory_address_operands::main::load_fpu_control_word" load_fpu_control_word. Admitted. 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 361cf1c42..d0eede710 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 @@ -114,6 +114,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "inline_assembly_options::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "inline_assembly_options::main" main. Admitted. Global Typeclasses Opaque 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 9d49ba677..eedcf8c95 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 @@ -111,6 +111,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_register_template_modifiers::main" main. + M.IsFunction.C "inline_assembly_register_template_modifiers::main" main. Admitted. Global Typeclasses Opaque 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 538164c85..3e42291de 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 @@ -125,6 +125,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_scratch_register::main" main. + M.IsFunction.C "inline_assembly_scratch_register::main" main. Admitted. Global Typeclasses Opaque 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 dfdcdbfe0..8c78df050 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 @@ -37,7 +37,7 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := end. Global Instance Instance_IsFunction_main : - M.IsFunction.Trait "inline_assembly_symbol_operands_and_abi_clobbers::main" main. + M.IsFunction.C "inline_assembly_symbol_operands_and_abi_clobbers::main" main. Admitted. Global Typeclasses Opaque main. @@ -120,7 +120,7 @@ Module main. end. Global Instance Instance_IsFunction_foo : - M.IsFunction.Trait "inline_assembly_symbol_operands_and_abi_clobbers::main::foo" foo. + M.IsFunction.C "inline_assembly_symbol_operands_and_abi_clobbers::main::foo" foo. Admitted. Global Typeclasses Opaque foo. @@ -158,7 +158,7 @@ Module main. end. Global Instance Instance_IsFunction_call_foo : - M.IsFunction.Trait "inline_assembly_symbol_operands_and_abi_clobbers::main::call_foo" call_foo. + M.IsFunction.C "inline_assembly_symbol_operands_and_abi_clobbers::main::call_foo" call_foo. Admitted. Global Typeclasses Opaque call_foo. End main. 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 78fdcabbc..0efe4953c 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 @@ -59,6 +59,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "raw_pointers::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "raw_pointers::main" main. Admitted. Global Typeclasses Opaque 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 bb6d9571c..07371cf53 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 @@ -173,6 +173,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "declare_first::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "declare_first::main" main. Admitted. Global Typeclasses Opaque 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 f0baefb8d..b8ccf1328 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/freezing.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/freezing.v @@ -36,6 +36,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "freezing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "freezing::main" main. Admitted. Global Typeclasses Opaque 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 2903d946a..8c4bd3ba0 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/mutability.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/mutability.v @@ -163,6 +163,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "mutability::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "mutability::main" main. Admitted. Global Typeclasses Opaque 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 9660d40e2..2c5aff95b 100644 --- a/CoqOfRust/examples/default/examples/rust_book/variable_bindings/scope.v +++ b/CoqOfRust/examples/default/examples/rust_book/variable_bindings/scope.v @@ -165,6 +165,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "scope::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "scope::main" main. Admitted. Global Typeclasses Opaque 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 f9c1a5447..7544fec5e 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 @@ -228,6 +228,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "variable_bindings::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "variable_bindings::main" main. Admitted. Global Typeclasses Opaque 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 2518109e6..83c26ec51 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 @@ -295,6 +295,6 @@ Definition main (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_main : M.IsFunction.Trait "variable_shadowing::main" main. +Global Instance Instance_IsFunction_main : M.IsFunction.C "variable_shadowing::main" main. Admitted. Global Typeclasses Opaque main. diff --git a/CoqOfRust/examples/default/examples/subtle.v b/CoqOfRust/examples/default/examples/subtle.v index 4a6624c7f..1a72a442c 100644 --- a/CoqOfRust/examples/default/examples/subtle.v +++ b/CoqOfRust/examples/default/examples/subtle.v @@ -126,7 +126,7 @@ Module Impl_subtle_Choice. end. Global Instance AssociatedFunction_unwrap_u8 : - M.IsAssociatedFunction.Trait Self "unwrap_u8" unwrap_u8. + M.IsAssociatedFunction.C Self "unwrap_u8" unwrap_u8. Admitted. Global Typeclasses Opaque unwrap_u8. End Impl_subtle_Choice. @@ -659,7 +659,7 @@ Definition black_box (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_black_box : M.IsFunction.Trait "subtle::black_box" black_box. +Global Instance Instance_IsFunction_black_box : M.IsFunction.C "subtle::black_box" black_box. Admitted. Global Typeclasses Opaque black_box. @@ -3934,7 +3934,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -4129,7 +4129,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_expect : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "expect" (expect T). + M.IsAssociatedFunction.C (Self T) "expect" (expect T). Admitted. Global Typeclasses Opaque expect. @@ -4259,7 +4259,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_unwrap : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap" (unwrap T). + M.IsAssociatedFunction.C (Self T) "unwrap" (unwrap T). Admitted. Global Typeclasses Opaque unwrap. @@ -4310,7 +4310,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_unwrap_or : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or" (unwrap_or T). + M.IsAssociatedFunction.C (Self T) "unwrap_or" (unwrap_or T). Admitted. Global Typeclasses Opaque unwrap_or. @@ -4384,7 +4384,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_unwrap_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "unwrap_or_else" (unwrap_or_else T). + M.IsAssociatedFunction.C (Self T) "unwrap_or_else" (unwrap_or_else T). Admitted. Global Typeclasses Opaque unwrap_or_else. @@ -4411,7 +4411,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_is_some : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_some" (is_some T). + M.IsAssociatedFunction.C (Self T) "is_some" (is_some T). Admitted. Global Typeclasses Opaque is_some. @@ -4452,7 +4452,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_is_none : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_none" (is_none T). + M.IsAssociatedFunction.C (Self T) "is_none" (is_none T). Admitted. Global Typeclasses Opaque is_none. @@ -4573,7 +4573,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. @@ -4710,7 +4710,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_and_then : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "and_then" (and_then T). + M.IsAssociatedFunction.C (Self T) "and_then" (and_then T). Admitted. Global Typeclasses Opaque and_then. @@ -4791,7 +4791,7 @@ Module Impl_subtle_CtOption_T. Global Instance AssociatedFunction_or_else : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "or_else" (or_else T). + M.IsAssociatedFunction.C (Self T) "or_else" (or_else T). Admitted. Global Typeclasses Opaque or_else. End Impl_subtle_CtOption_T. diff --git a/CoqOfRust/lib/lib.v b/CoqOfRust/lib/lib.v index 9ffb7f638..12273e43c 100644 --- a/CoqOfRust/lib/lib.v +++ b/CoqOfRust/lib/lib.v @@ -50,6 +50,14 @@ Definition assign (target : Value.t) (source : Value.t) : M := let* _ := M.write target source in M.alloc (Value.Tuple []). +Definition get_constant (name : string) (return_ty : Ty.t) : M := + let* constant := call_primitive (Primitive.GetFunction name [] []) in + call_closure (Ty.apply (Ty.path "*") [] [return_ty]) constant []. + +Definition get_associated_constant (ty : Ty.t) (name : string) (return_ty : Ty.t) : M := + let* constant := call_primitive (Primitive.GetAssociatedFunction ty name [] []) in + call_closure (Ty.apply (Ty.path "*") [] [return_ty]) constant []. + (** ** Integer types *) (** A value with an address of type `ref str`. *) diff --git a/CoqOfRust/links/M.v b/CoqOfRust/links/M.v index 55b85f758..5d34053f0 100644 --- a/CoqOfRust/links/M.v +++ b/CoqOfRust/links/M.v @@ -467,6 +467,17 @@ Module Ref. rewrite cast_cast_eq end. + Definition of_ty_raw_pointer ty' : + OfTy.t ty' -> + OfTy.t (Ty.apply (Ty.path "*") [] [ty']). + Proof. + intros [A]. + eapply OfTy.Make with (A := t Pointer.Kind.Raw A). + subst. + reflexivity. + Defined. + Smpl Add apply of_ty_raw_pointer : of_ty. + Definition of_ty_ref ty' : OfTy.t ty' -> OfTy.t (Ty.apply (Ty.path "&") [] [ty']). @@ -846,7 +857,7 @@ Module Run. (function : PolymorphicFunction.t) (k : Value.t -> M) : let closure := Value.Closure (existS (_, _) (function generic_consts generic_tys)) in - M.IsFunction.Trait name function -> + M.IsFunction.C name function -> {{ k closure 🔽 R, Output }} -> {{ LowM.CallPrimitive (Primitive.GetFunction name generic_consts generic_tys) k 🔽 @@ -857,7 +868,7 @@ Module Run. (associated_function : PolymorphicFunction.t) (k : Value.t -> M) : let closure := Value.Closure (existS (_, _) (associated_function generic_consts generic_tys)) in - M.IsAssociatedFunction.Trait ty name associated_function -> + M.IsAssociatedFunction.C ty name associated_function -> {{ k closure 🔽 R, Output }} -> {{ LowM.CallPrimitive (Primitive.GetAssociatedFunction ty name generic_consts generic_tys) k 🔽 @@ -1280,12 +1291,6 @@ Ltac run_main_rewrites := reflexivity |]. -Ltac run_rewrites := - eapply Run.Rewrite; [ - autorewrite with run_constant; - reflexivity - |]. - Ltac change_cast_integer := match goal with | |- context [ M.cast (Ty.path ?x) _ ] => @@ -1371,7 +1376,6 @@ Ltac run_symbolic_one_step_immediate := run_symbolic_closure_auto || run_symbolic_let || run_sub_pointer || - run_rewrites || run_symbolic_are_equal_bool || run_symbolic_are_equal_integer || run_symbolic_loop || @@ -1391,112 +1395,6 @@ Ltac run_symbolic := end )). -(** A set of tactics to apply the evaluation rules that: - - - does no backtracking - - use `match goal` to find the next evaluation rule, rather than `apply` that can be much more - expensive -*) -Module RunTactic. - (* TODO: extend it to the case where the function is applied to a few polymorphic parameters *) - Ltac initial_unfold := - match goal with - | |- {{ ?f _ _ _ 🔽 _, _ }} => - with_strategy transparent [f] unfold f - end. - - Ltac unfold_link_in_match := - match goal with - | |- context [ match ?IsLink.(φ) ?e with _ => _ end ] => - let x := fresh "x" in - set (x := IsLink.(φ) e); - with_strategy transparent [φ] hnf in x; - unfold x; - clear x - end. - - Ltac run_step := - (* We always do the rewrites of pure values first to avoid allocating values where things that - needed to be rewritten are still there. It is also good to do some [cbn] before. *) - cbn || - rewrite_cast_integer || - match goal with - | |- context[M.get_constant _] => - eapply Run.Rewrite; [ - autorewrite with run_constant; - reflexivity - |] - | |- {{ CoqOfRust.M.LowM.Pure (inl _) 🔽 _, _ }} => - run_symbolic_pure - | |- {{ CoqOfRust.M.LowM.Pure (inr _) 🔽 _, _ }} => - run_symbolic_pure - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.StateAlloc _) _ 🔽 _, _ }} => - unshelve eapply Run.CallPrimitiveStateAllocImmediate; [repeat smpl of_value |] - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.StateRead _) _ 🔽 _, _ }} => - cbn; - ( - apply Run.CallPrimitiveStateReadImmediate || - ( - eapply Run.CallPrimitiveStateRead; - intros - ) - ) - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.GetSubPointer _ _) _ 🔽 _, _ }} => - run_sub_pointer - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.AreEqual _ _) _ 🔽 _, _ }} => - ( - run_symbolic_are_equal_bool || - run_symbolic_are_equal_integer - ) - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.GetFunction _ _ _) _ 🔽 _, _ }} => - eapply Run.CallPrimitiveGetFunction; [typeclasses eauto 1 |] - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.GetAssociatedFunction _ _ _ _) _ 🔽 _, _ }} => - run_symbolic_get_associated_function - | |- {{ CoqOfRust.M.LowM.CallPrimitive (CoqOfRust.M.Primitive.GetTraitMethod _ _ _ _ _ _ _) _ 🔽 _, _ }} => - run_symbolic_get_trait_method - | |- {{ CoqOfRust.M.LowM.CallClosure ?ty ?closure ?args ?k 🔽 _, _ }} => - run_symbolic_closure; [ - (* We expect it to succeed to make sure it is the case *) - ( - match goal with - | H : _ |- _ => simple apply H - end - ) | - cbn; intros [] - ] - | |- {{ CoqOfRust.M.LowM.Let ?ty ?e ?k 🔽 _, _ }} => - unshelve eapply Run.Let; [repeat smpl of_ty | | cbn; intros [] ] - end || - (* fold @LowM.let_ || *) - match goal with - | |- context[M.if_then_else_bool (Bool.IsLink.(φ) ?condition) ?then_ ?else_] => - eapply Run.Rewrite; [ - rewrite if_then_else_bool_eq; - reflexivity - |] - | |- context[M.deref _] => - eapply Run.Rewrite; [ - rewrite Ref.deref_eq; - reflexivity - |] - | |- context[M.borrow _ _] => - eapply Run.Rewrite; [ - rewrite Ref.borrow_eq; - reflexivity - |] - end || - (* fold @LowM.let_ || *) - (* unfold_link_in_match || *) - idtac. -End RunTactic. - -Ltac run_next := - repeat RunTactic.run_step. - -Ltac run := - RunTactic.initial_unfold; - run_next. - Axiom is_discriminant_tuple_eq : forall (kind : IntegerKind.t) diff --git a/CoqOfRust/move_sui/translations/move_abstract_stack/lib.v b/CoqOfRust/move_sui/translations/move_abstract_stack/lib.v index 52671fdd9..adf005e73 100644 --- a/CoqOfRust/move_sui/translations/move_abstract_stack/lib.v +++ b/CoqOfRust/move_sui/translations/move_abstract_stack/lib.v @@ -193,7 +193,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -511,7 +511,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_is_empty : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "is_empty" (is_empty T). + M.IsAssociatedFunction.C (Self T) "is_empty" (is_empty T). Admitted. Global Typeclasses Opaque is_empty. @@ -828,7 +828,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_len : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "len" (len T). + M.IsAssociatedFunction.C (Self T) "len" (len T). Admitted. Global Typeclasses Opaque len. @@ -866,7 +866,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_push : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "push" (push T). + M.IsAssociatedFunction.C (Self T) "push" (push T). Admitted. Global Typeclasses Opaque push. @@ -1180,7 +1180,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_push_n : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "push_n" (push_n T). + M.IsAssociatedFunction.C (Self T) "push_n" (push_n T). Admitted. Global Typeclasses Opaque push_n. @@ -1242,7 +1242,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_pop : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pop" (pop T). + M.IsAssociatedFunction.C (Self T) "pop" (pop T). Admitted. Global Typeclasses Opaque pop. @@ -1641,7 +1641,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_pop_eq_n : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pop_eq_n" (pop_eq_n T). + M.IsAssociatedFunction.C (Self T) "pop_eq_n" (pop_eq_n T). Admitted. Global Typeclasses Opaque pop_eq_n. @@ -2105,7 +2105,7 @@ Module Impl_move_abstract_stack_AbstractStack_T. Global Instance AssociatedFunction_pop_any_n : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "pop_any_n" (pop_any_n T). + M.IsAssociatedFunction.C (Self T) "pop_any_n" (pop_any_n T). Admitted. Global Typeclasses Opaque pop_any_n. End Impl_move_abstract_stack_AbstractStack_T. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/binary_config.v b/CoqOfRust/move_sui/translations/move_binary_format/binary_config.v index 0da185df2..f3e156514 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/binary_config.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/binary_config.v @@ -807,25 +807,39 @@ Module binary_config. (Value.StructRecord "move_binary_format::binary_config::TableConfig" [ - ("module_handles", M.read (| M.get_constant "core::num::MAX" |)); - ("struct_handles", M.read (| M.get_constant "core::num::MAX" |)); - ("function_handles", M.read (| M.get_constant "core::num::MAX" |)); - ("function_instantiations", M.read (| M.get_constant "core::num::MAX" |)); - ("signatures", M.read (| M.get_constant "core::num::MAX" |)); - ("constant_pool", M.read (| M.get_constant "core::num::MAX" |)); - ("identifiers", M.read (| M.get_constant "core::num::MAX" |)); - ("address_identifiers", M.read (| M.get_constant "core::num::MAX" |)); - ("struct_defs", M.read (| M.get_constant "core::num::MAX" |)); - ("struct_def_instantiations", M.read (| M.get_constant "core::num::MAX" |)); - ("function_defs", M.read (| M.get_constant "core::num::MAX" |)); - ("field_handles", M.read (| M.get_constant "core::num::MAX" |)); - ("field_instantiations", M.read (| M.get_constant "core::num::MAX" |)); - ("friend_decls", M.read (| M.get_constant "core::num::MAX" |)) + ("module_handles", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("struct_handles", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("function_handles", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("function_instantiations", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("signatures", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("constant_pool", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("identifiers", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("address_identifiers", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("struct_defs", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("struct_def_instantiations", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("function_defs", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("field_handles", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("field_instantiations", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)); + ("friend_decls", + M.read (| get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) |)) ])) | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_legacy : M.IsAssociatedFunction.Trait Self "legacy" legacy. + Global Instance AssociatedFunction_legacy : M.IsAssociatedFunction.C Self "legacy" legacy. Admitted. Global Typeclasses Opaque legacy. End Impl_move_binary_format_binary_config_TableConfig. @@ -1076,7 +1090,7 @@ Module binary_config. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1115,7 +1129,7 @@ Module binary_config. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_legacy : M.IsAssociatedFunction.Trait Self "legacy" legacy. + Global Instance AssociatedFunction_legacy : M.IsAssociatedFunction.C Self "legacy" legacy. Admitted. Global Typeclasses Opaque legacy. @@ -1141,7 +1155,12 @@ Module binary_config. "move_binary_format::binary_config::BinaryConfig" [ ("max_binary_format_version", - M.read (| M.get_constant "move_binary_format::file_format_common::VERSION_MAX" |)); + M.read (| + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) + |)); ("check_no_extraneous_bytes", M.read (| check_no_extraneous_bytes |)); ("table_config", M.call_closure (| @@ -1159,7 +1178,7 @@ Module binary_config. end. Global Instance AssociatedFunction_with_extraneous_bytes_check : - M.IsAssociatedFunction.Trait Self "with_extraneous_bytes_check" with_extraneous_bytes_check. + M.IsAssociatedFunction.C Self "with_extraneous_bytes_check" with_extraneous_bytes_check. Admitted. Global Typeclasses Opaque with_extraneous_bytes_check. @@ -1180,7 +1199,12 @@ Module binary_config. "move_binary_format::binary_config::BinaryConfig" [ ("max_binary_format_version", - M.read (| M.get_constant "move_binary_format::file_format_common::VERSION_MAX" |)); + M.read (| + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) + |)); ("check_no_extraneous_bytes", Value.Bool true); ("table_config", M.call_closure (| @@ -1197,8 +1221,7 @@ Module binary_config. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_standard : - M.IsAssociatedFunction.Trait Self "standard" standard. + Global Instance AssociatedFunction_standard : M.IsAssociatedFunction.C Self "standard" standard. Admitted. Global Typeclasses Opaque standard. End Impl_move_binary_format_binary_config_BinaryConfig. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/check_bounds.v b/CoqOfRust/move_sui/translations/move_binary_format/check_bounds.v index 296134f46..5781320bc 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/check_bounds.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/check_bounds.v @@ -203,7 +203,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -1573,7 +1573,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_verify_impl : - M.IsAssociatedFunction.Trait Self "verify_impl" verify_impl. + M.IsAssociatedFunction.C Self "verify_impl" verify_impl. Admitted. Global Typeclasses Opaque verify_impl. @@ -1863,7 +1863,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_signatures : - M.IsAssociatedFunction.Trait Self "check_signatures" check_signatures. + M.IsAssociatedFunction.C Self "check_signatures" check_signatures. Admitted. Global Typeclasses Opaque check_signatures. @@ -2152,7 +2152,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_constants : - M.IsAssociatedFunction.Trait Self "check_constants" check_constants. + M.IsAssociatedFunction.C Self "check_constants" check_constants. Admitted. Global Typeclasses Opaque check_constants. @@ -2446,7 +2446,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_module_handles : - M.IsAssociatedFunction.Trait Self "check_module_handles" check_module_handles. + M.IsAssociatedFunction.C Self "check_module_handles" check_module_handles. Admitted. Global Typeclasses Opaque check_module_handles. @@ -2740,7 +2740,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_struct_handles : - M.IsAssociatedFunction.Trait Self "check_struct_handles" check_struct_handles. + M.IsAssociatedFunction.C Self "check_struct_handles" check_struct_handles. Admitted. Global Typeclasses Opaque check_struct_handles. @@ -3034,7 +3034,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_function_handles : - M.IsAssociatedFunction.Trait Self "check_function_handles" check_function_handles. + M.IsAssociatedFunction.C Self "check_function_handles" check_function_handles. Admitted. Global Typeclasses Opaque check_function_handles. @@ -3326,7 +3326,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_field_handles : - M.IsAssociatedFunction.Trait Self "check_field_handles" check_field_handles. + M.IsAssociatedFunction.C Self "check_field_handles" check_field_handles. Admitted. Global Typeclasses Opaque check_field_handles. @@ -3620,7 +3620,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_friend_decls : - M.IsAssociatedFunction.Trait Self "check_friend_decls" check_friend_decls. + M.IsAssociatedFunction.C Self "check_friend_decls" check_friend_decls. Admitted. Global Typeclasses Opaque check_friend_decls. @@ -3926,7 +3926,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_struct_instantiations : - M.IsAssociatedFunction.Trait Self "check_struct_instantiations" check_struct_instantiations. + M.IsAssociatedFunction.C Self "check_struct_instantiations" check_struct_instantiations. Admitted. Global Typeclasses Opaque check_struct_instantiations. @@ -4230,10 +4230,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_function_instantiations : - M.IsAssociatedFunction.Trait - Self - "check_function_instantiations" - check_function_instantiations. + M.IsAssociatedFunction.C Self "check_function_instantiations" check_function_instantiations. Admitted. Global Typeclasses Opaque check_function_instantiations. @@ -4534,7 +4531,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_field_instantiations : - M.IsAssociatedFunction.Trait Self "check_field_instantiations" check_field_instantiations. + M.IsAssociatedFunction.C Self "check_field_instantiations" check_field_instantiations. Admitted. Global Typeclasses Opaque check_field_instantiations. @@ -4828,7 +4825,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_struct_defs : - M.IsAssociatedFunction.Trait Self "check_struct_defs" check_struct_defs. + M.IsAssociatedFunction.C Self "check_struct_defs" check_struct_defs. Admitted. Global Typeclasses Opaque check_struct_defs. @@ -5196,7 +5193,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_function_defs : - M.IsAssociatedFunction.Trait Self "check_function_defs" check_function_defs. + M.IsAssociatedFunction.C Self "check_function_defs" check_function_defs. Admitted. Global Typeclasses Opaque check_function_defs. @@ -5441,7 +5438,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_module_handle : - M.IsAssociatedFunction.Trait Self "check_module_handle" check_module_handle. + M.IsAssociatedFunction.C Self "check_module_handle" check_module_handle. Admitted. Global Typeclasses Opaque check_module_handle. @@ -5534,7 +5531,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_self_module_handle : - M.IsAssociatedFunction.Trait Self "check_self_module_handle" check_self_module_handle. + M.IsAssociatedFunction.C Self "check_self_module_handle" check_self_module_handle. Admitted. Global Typeclasses Opaque check_self_module_handle. @@ -5777,7 +5774,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_struct_handle : - M.IsAssociatedFunction.Trait Self "check_struct_handle" check_struct_handle. + M.IsAssociatedFunction.C Self "check_struct_handle" check_struct_handle. Admitted. Global Typeclasses Opaque check_struct_handle. @@ -7187,7 +7184,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_function_handle : - M.IsAssociatedFunction.Trait Self "check_function_handle" check_function_handle. + M.IsAssociatedFunction.C Self "check_function_handle" check_function_handle. Admitted. Global Typeclasses Opaque check_function_handle. @@ -7637,7 +7634,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_field_handle : - M.IsAssociatedFunction.Trait Self "check_field_handle" check_field_handle. + M.IsAssociatedFunction.C Self "check_field_handle" check_field_handle. Admitted. Global Typeclasses Opaque check_field_handle. @@ -7892,7 +7889,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_struct_instantiation : - M.IsAssociatedFunction.Trait Self "check_struct_instantiation" check_struct_instantiation. + M.IsAssociatedFunction.C Self "check_struct_instantiation" check_struct_instantiation. Admitted. Global Typeclasses Opaque check_struct_instantiation. @@ -8150,7 +8147,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_function_instantiation : - M.IsAssociatedFunction.Trait Self "check_function_instantiation" check_function_instantiation. + M.IsAssociatedFunction.C Self "check_function_instantiation" check_function_instantiation. Admitted. Global Typeclasses Opaque check_function_instantiation. @@ -8402,7 +8399,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_field_instantiation : - M.IsAssociatedFunction.Trait Self "check_field_instantiation" check_field_instantiation. + M.IsAssociatedFunction.C Self "check_field_instantiation" check_field_instantiation. Admitted. Global Typeclasses Opaque check_field_instantiation. @@ -8677,7 +8674,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_signature : - M.IsAssociatedFunction.Trait Self "check_signature" check_signature. + M.IsAssociatedFunction.C Self "check_signature" check_signature. Admitted. Global Typeclasses Opaque check_signature. @@ -8724,7 +8721,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_constant : - M.IsAssociatedFunction.Trait Self "check_constant" check_constant. + M.IsAssociatedFunction.C Self "check_constant" check_constant. Admitted. Global Typeclasses Opaque check_constant. @@ -9731,7 +9728,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_struct_def : - M.IsAssociatedFunction.Trait Self "check_struct_def" check_struct_def. + M.IsAssociatedFunction.C Self "check_struct_def" check_struct_def. Admitted. Global Typeclasses Opaque check_struct_def. @@ -10753,7 +10750,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_function_def : - M.IsAssociatedFunction.Trait Self "check_function_def" check_function_def. + M.IsAssociatedFunction.C Self "check_function_def" check_function_def. Admitted. Global Typeclasses Opaque check_function_def. @@ -11328,7 +11325,13 @@ Module check_bounds. M.read (| locals_count |), M.cast (Ty.path "usize") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "u8", + "MAX", + Ty.path "u8" + |) + |)) |) |)) in let _ := @@ -16646,7 +16649,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_code : - M.IsAssociatedFunction.Trait Self "check_code" check_code. + M.IsAssociatedFunction.C Self "check_code" check_code. Admitted. Global Typeclasses Opaque check_code. @@ -18162,7 +18165,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_type : - M.IsAssociatedFunction.Trait Self "check_type" check_type. + M.IsAssociatedFunction.C Self "check_type" check_type. Admitted. Global Typeclasses Opaque check_type. @@ -18552,7 +18555,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_type_parameter : - M.IsAssociatedFunction.Trait Self "check_type_parameter" check_type_parameter. + M.IsAssociatedFunction.C Self "check_type_parameter" check_type_parameter. Admitted. Global Typeclasses Opaque check_type_parameter. @@ -18654,7 +18657,10 @@ Module check_bounds. "move_core_types::vm_status::StatusCode::INDEX_OUT_OF_BOUNDS" []; M.read (| - M.get_constant "move_binary_format::internals::ModuleIndex::KIND" + get_constant (| + "move_binary_format::internals::ModuleIndex::KIND", + Ty.path "move_binary_format::IndexKind" + |) |); M.read (| idx |); M.read (| len |); @@ -18673,7 +18679,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_check_code_unit_bounds_impl : - M.IsAssociatedFunction.Trait Self "check_code_unit_bounds_impl" check_code_unit_bounds_impl. + M.IsAssociatedFunction.C Self "check_code_unit_bounds_impl" check_code_unit_bounds_impl. Admitted. Global Typeclasses Opaque check_code_unit_bounds_impl. @@ -18957,7 +18963,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_get_locals : - M.IsAssociatedFunction.Trait Self "get_locals" get_locals. + M.IsAssociatedFunction.C Self "get_locals" get_locals. Admitted. Global Typeclasses Opaque get_locals. @@ -19165,7 +19171,7 @@ Module check_bounds. end. Global Instance AssociatedFunction_offset_out_of_bounds : - M.IsAssociatedFunction.Trait Self "offset_out_of_bounds" offset_out_of_bounds. + M.IsAssociatedFunction.C Self "offset_out_of_bounds" offset_out_of_bounds. Admitted. Global Typeclasses Opaque offset_out_of_bounds. End Impl_move_binary_format_check_bounds_BoundsChecker. @@ -19245,7 +19251,10 @@ Module check_bounds. "move_core_types::vm_status::StatusCode::INDEX_OUT_OF_BOUNDS" []; M.read (| - M.get_constant "move_binary_format::internals::ModuleIndex::KIND" + get_constant (| + "move_binary_format::internals::ModuleIndex::KIND", + Ty.path "move_binary_format::IndexKind" + |) |); M.cast (Ty.path "u16") (M.read (| idx |)); M.read (| len |) @@ -19263,7 +19272,7 @@ Module check_bounds. end. Global Instance Instance_IsFunction_check_bounds_impl : - M.IsFunction.Trait "move_binary_format::check_bounds::check_bounds_impl" check_bounds_impl. + M.IsFunction.C "move_binary_format::check_bounds::check_bounds_impl" check_bounds_impl. Admitted. Global Typeclasses Opaque check_bounds_impl. End check_bounds. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/compatibility.v b/CoqOfRust/move_sui/translations/move_binary_format/compatibility.v index ad40a7a48..afa8b828c 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/compatibility.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/compatibility.v @@ -491,7 +491,13 @@ Module compatibility. ("check_friend_linking", Value.Bool true); ("check_private_entry_linking", Value.Bool true); ("disallowed_new_abilities", - M.read (| M.get_constant "move_binary_format::file_format::EMPTY" |)); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |)); ("disallow_change_struct_type_params", Value.Bool true) ])) | _, _, _ => M.impossible "wrong number of arguments" @@ -535,7 +541,7 @@ Module compatibility. end. Global Instance AssociatedFunction_full_check : - M.IsAssociatedFunction.Trait Self "full_check" full_check. + M.IsAssociatedFunction.C Self "full_check" full_check. Admitted. Global Typeclasses Opaque full_check. @@ -563,14 +569,19 @@ Module compatibility. ("check_friend_linking", Value.Bool false); ("check_private_entry_linking", Value.Bool false); ("disallowed_new_abilities", - M.read (| M.get_constant "move_binary_format::file_format::EMPTY" |)); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |)); ("disallow_change_struct_type_params", Value.Bool false) ])) | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_no_check : - M.IsAssociatedFunction.Trait Self "no_check" no_check. + Global Instance AssociatedFunction_no_check : M.IsAssociatedFunction.C Self "no_check" no_check. Admitted. Global Typeclasses Opaque no_check. @@ -631,7 +642,7 @@ Module compatibility. end. Global Instance AssociatedFunction_need_check_compat : - M.IsAssociatedFunction.Trait Self "need_check_compat" need_check_compat. + M.IsAssociatedFunction.C Self "need_check_compat" need_check_compat. Admitted. Global Typeclasses Opaque need_check_compat. @@ -1686,8 +1697,10 @@ Module compatibility. |) |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |), ltac:(M.monadic @@ -1704,8 +1717,10 @@ Module compatibility. |) |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |))) |), @@ -2712,7 +2727,7 @@ Module compatibility. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_check : M.IsAssociatedFunction.Trait Self "check" check. + Global Instance AssociatedFunction_check : M.IsAssociatedFunction.C Self "check" check. Admitted. Global Typeclasses Opaque check. End Impl_move_binary_format_compatibility_Compatibility. @@ -2839,7 +2854,7 @@ Module compatibility. end. Global Instance Instance_IsFunction_struct_abilities_compatible : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::compatibility::struct_abilities_compatible" struct_abilities_compatible. Admitted. @@ -3075,7 +3090,7 @@ Module compatibility. end. Global Instance Instance_IsFunction_fun_type_parameters_compatible : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::compatibility::fun_type_parameters_compatible" fun_type_parameters_compatible. Admitted. @@ -3352,7 +3367,7 @@ Module compatibility. end. Global Instance Instance_IsFunction_struct_type_parameters_compatible : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::compatibility::struct_type_parameters_compatible" struct_type_parameters_compatible. Admitted. @@ -3431,7 +3446,7 @@ Module compatibility. end. Global Instance Instance_IsFunction_type_parameter_constraints_compatible : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::compatibility::type_parameter_constraints_compatible" type_parameter_constraints_compatible. Admitted. @@ -3521,7 +3536,7 @@ Module compatibility. end. Global Instance Instance_IsFunction_type_parameter_phantom_decl_compatible : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::compatibility::type_parameter_phantom_decl_compatible" type_parameter_phantom_decl_compatible. Admitted. @@ -4953,7 +4968,7 @@ Module compatibility. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_check : M.IsAssociatedFunction.Trait Self "check" check. + Global Instance AssociatedFunction_check : M.IsAssociatedFunction.C Self "check" check. Admitted. Global Typeclasses Opaque check. End Impl_move_binary_format_compatibility_InclusionCheck. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/constant.v b/CoqOfRust/move_sui/translations/move_binary_format/constant.v index 244c30dac..ee53586a5 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/constant.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/constant.v @@ -462,7 +462,7 @@ Module constant. end. Global Instance Instance_IsFunction_sig_to_ty : - M.IsFunction.Trait "move_binary_format::constant::sig_to_ty" sig_to_ty. + M.IsFunction.C "move_binary_format::constant::sig_to_ty" sig_to_ty. Admitted. Global Typeclasses Opaque sig_to_ty. @@ -867,7 +867,7 @@ Module constant. end. Global Instance Instance_IsFunction_ty_to_sig : - M.IsFunction.Trait "move_binary_format::constant::ty_to_sig" ty_to_sig. + M.IsFunction.C "move_binary_format::constant::ty_to_sig" ty_to_sig. Admitted. Global Typeclasses Opaque ty_to_sig. @@ -1129,7 +1129,7 @@ Module constant. end. Global Instance AssociatedFunction_serialize_constant : - M.IsAssociatedFunction.Trait Self "serialize_constant" serialize_constant. + M.IsAssociatedFunction.C Self "serialize_constant" serialize_constant. Admitted. Global Typeclasses Opaque serialize_constant. @@ -1347,7 +1347,7 @@ Module constant. end. Global Instance AssociatedFunction_deserialize_constant : - M.IsAssociatedFunction.Trait Self "deserialize_constant" deserialize_constant. + M.IsAssociatedFunction.C Self "deserialize_constant" deserialize_constant. Admitted. Global Typeclasses Opaque deserialize_constant. End Impl_move_binary_format_file_format_Constant. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/control_flow_graph.v b/CoqOfRust/move_sui/translations/move_binary_format/control_flow_graph.v index 06382e244..39e8605ac 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/control_flow_graph.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/control_flow_graph.v @@ -448,19 +448,18 @@ Module control_flow_graph. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_display : - M.IsAssociatedFunction.Trait Self "display" display. + Global Instance AssociatedFunction_display : M.IsAssociatedFunction.C Self "display" display. Admitted. Global Typeclasses Opaque display. End Impl_move_binary_format_control_flow_graph_BasicBlock. - Definition value_ENTRY_BLOCK_ID : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). + Definition value_ENTRY_BLOCK_ID (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 0 |))). - Axiom Constant_value_ENTRY_BLOCK_ID : - (M.get_constant "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID") = - value_ENTRY_BLOCK_ID. - Global Hint Rewrite Constant_value_ENTRY_BLOCK_ID : constant_rewrites. + Global Instance Instance_IsConstant_value_ENTRY_BLOCK_ID : + M.IsFunction.C "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID" value_ENTRY_BLOCK_ID. + Admitted. + Global Typeclasses Opaque value_ENTRY_BLOCK_ID. Module Impl_move_binary_format_control_flow_graph_VMControlFlowGraph. Definition Self : Ty.t := Ty.path "move_binary_format::control_flow_graph::VMControlFlowGraph". @@ -672,7 +671,10 @@ Module control_flow_graph. [ M.borrow (| Pointer.Kind.MutRef, block_ids |); M.read (| - M.get_constant "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID" + get_constant (| + "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID", + Ty.path "u16" + |) |) ] |) @@ -1313,8 +1315,10 @@ Module control_flow_graph. Value.Array [ M.read (| - M.get_constant - "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID" + get_constant (| + "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID", + Ty.path "u16" + |) |) ] |) @@ -2387,7 +2391,7 @@ Module control_flow_graph. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2675,8 +2679,7 @@ Module control_flow_graph. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_display : - M.IsAssociatedFunction.Trait Self "display" display. + Global Instance AssociatedFunction_display : M.IsAssociatedFunction.C Self "display" display. Admitted. Global Typeclasses Opaque display. @@ -2743,7 +2746,7 @@ Module control_flow_graph. end. Global Instance AssociatedFunction_is_end_of_block : - M.IsAssociatedFunction.Trait Self "is_end_of_block" is_end_of_block. + M.IsAssociatedFunction.C Self "is_end_of_block" is_end_of_block. Admitted. Global Typeclasses Opaque is_end_of_block. @@ -2917,7 +2920,7 @@ Module control_flow_graph. end. Global Instance AssociatedFunction_record_block_ids : - M.IsAssociatedFunction.Trait Self "record_block_ids" record_block_ids. + M.IsAssociatedFunction.C Self "record_block_ids" record_block_ids. Admitted. Global Typeclasses Opaque record_block_ids. @@ -3414,7 +3417,7 @@ Module control_flow_graph. end. Global Instance AssociatedFunction_traverse_by : - M.IsAssociatedFunction.Trait Self "traverse_by" traverse_by. + M.IsAssociatedFunction.C Self "traverse_by" traverse_by. Admitted. Global Typeclasses Opaque traverse_by. @@ -3449,7 +3452,7 @@ Module control_flow_graph. end. Global Instance AssociatedFunction_reachable_from : - M.IsAssociatedFunction.Trait Self "reachable_from" reachable_from. + M.IsAssociatedFunction.C Self "reachable_from" reachable_from. Admitted. Global Typeclasses Opaque reachable_from. End Impl_move_binary_format_control_flow_graph_VMControlFlowGraph. @@ -3966,7 +3969,12 @@ Module control_flow_graph. | [], [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.read (| M.get_constant "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID" |))) + M.read (| + get_constant (| + "move_binary_format::control_flow_graph::ENTRY_BLOCK_ID", + Ty.path "u16" + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/deserializer.v b/CoqOfRust/move_sui/translations/move_binary_format/deserializer.v index 2f0b84c5c..72eec128a 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/deserializer.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/deserializer.v @@ -61,7 +61,7 @@ Module deserializer. end. Global Instance AssociatedFunction_deserialize_with_defaults : - M.IsAssociatedFunction.Trait Self "deserialize_with_defaults" deserialize_with_defaults. + M.IsAssociatedFunction.C Self "deserialize_with_defaults" deserialize_with_defaults. Admitted. Global Typeclasses Opaque deserialize_with_defaults. @@ -330,7 +330,7 @@ Module deserializer. end. Global Instance AssociatedFunction_deserialize_with_config : - M.IsAssociatedFunction.Trait Self "deserialize_with_config" deserialize_with_config. + M.IsAssociatedFunction.C Self "deserialize_with_config" deserialize_with_config. Admitted. Global Typeclasses Opaque deserialize_with_config. @@ -389,7 +389,7 @@ Module deserializer. end. Global Instance AssociatedFunction_deserialize_no_check_bounds : - M.IsAssociatedFunction.Trait Self "deserialize_no_check_bounds" deserialize_no_check_bounds. + M.IsAssociatedFunction.C Self "deserialize_no_check_bounds" deserialize_no_check_bounds. Admitted. Global Typeclasses Opaque deserialize_no_check_bounds. End Impl_move_binary_format_file_format_CompiledModule. @@ -630,7 +630,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_deserializer_Table. @@ -856,7 +856,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_u16_internal : - M.IsFunction.Trait "move_binary_format::deserializer::read_u16_internal" read_u16_internal. + M.IsFunction.C "move_binary_format::deserializer::read_u16_internal" read_u16_internal. Admitted. Global Typeclasses Opaque read_u16_internal. @@ -1081,7 +1081,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_u32_internal : - M.IsFunction.Trait "move_binary_format::deserializer::read_u32_internal" read_u32_internal. + M.IsFunction.C "move_binary_format::deserializer::read_u32_internal" read_u32_internal. Admitted. Global Typeclasses Opaque read_u32_internal. @@ -1306,7 +1306,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_u64_internal : - M.IsFunction.Trait "move_binary_format::deserializer::read_u64_internal" read_u64_internal. + M.IsFunction.C "move_binary_format::deserializer::read_u64_internal" read_u64_internal. Admitted. Global Typeclasses Opaque read_u64_internal. @@ -1531,7 +1531,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_u128_internal : - M.IsFunction.Trait "move_binary_format::deserializer::read_u128_internal" read_u128_internal. + M.IsFunction.C "move_binary_format::deserializer::read_u128_internal" read_u128_internal. Admitted. Global Typeclasses Opaque read_u128_internal. @@ -1768,7 +1768,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_u256_internal : - M.IsFunction.Trait "move_binary_format::deserializer::read_u256_internal" read_u256_internal. + M.IsFunction.C "move_binary_format::deserializer::read_u256_internal" read_u256_internal. Admitted. Global Typeclasses Opaque read_u256_internal. @@ -2231,7 +2231,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_uleb_internal : - M.IsFunction.Trait "move_binary_format::deserializer::read_uleb_internal" read_uleb_internal. + M.IsFunction.C "move_binary_format::deserializer::read_uleb_internal" read_uleb_internal. Admitted. Global Typeclasses Opaque read_uleb_internal. @@ -2309,8 +2309,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::SIGNATURE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::SIGNATURE_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -2390,9 +2392,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_signature_index : - M.IsFunction.Trait - "move_binary_format::deserializer::load_signature_index" - load_signature_index. + M.IsFunction.C "move_binary_format::deserializer::load_signature_index" load_signature_index. Admitted. Global Typeclasses Opaque load_signature_index. @@ -2470,8 +2470,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::MODULE_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::MODULE_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -2551,7 +2553,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_module_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_module_handle_index" load_module_handle_index. Admitted. @@ -2631,8 +2633,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::IDENTIFIER_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::IDENTIFIER_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -2712,9 +2716,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_identifier_index : - M.IsFunction.Trait - "move_binary_format::deserializer::load_identifier_index" - load_identifier_index. + M.IsFunction.C "move_binary_format::deserializer::load_identifier_index" load_identifier_index. Admitted. Global Typeclasses Opaque load_identifier_index. @@ -2792,8 +2794,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::STRUCT_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::STRUCT_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -2873,7 +2877,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_struct_handle_index" load_struct_handle_index. Admitted. @@ -2959,8 +2963,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::ADDRESS_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::ADDRESS_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -3040,7 +3046,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_address_identifier_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_address_identifier_index" load_address_identifier_index. Admitted. @@ -3122,8 +3128,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::STRUCT_DEF_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::STRUCT_DEF_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -3203,9 +3211,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_def_index : - M.IsFunction.Trait - "move_binary_format::deserializer::load_struct_def_index" - load_struct_def_index. + M.IsFunction.C "move_binary_format::deserializer::load_struct_def_index" load_struct_def_index. Admitted. Global Typeclasses Opaque load_struct_def_index. @@ -3285,8 +3291,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::FUNCTION_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FUNCTION_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -3366,7 +3374,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_function_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_function_handle_index" load_function_handle_index. Admitted. @@ -3446,8 +3454,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::FIELD_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FIELD_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -3527,7 +3537,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_field_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_field_handle_index" load_field_handle_index. Admitted. @@ -3609,8 +3619,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::FIELD_INST_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FIELD_INST_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -3690,9 +3702,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_field_inst_index : - M.IsFunction.Trait - "move_binary_format::deserializer::load_field_inst_index" - load_field_inst_index. + M.IsFunction.C "move_binary_format::deserializer::load_field_inst_index" load_field_inst_index. Admitted. Global Typeclasses Opaque load_field_inst_index. @@ -3772,8 +3782,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::FUNCTION_INST_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FUNCTION_INST_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -3853,7 +3865,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_function_inst_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_function_inst_index" load_function_inst_index. Admitted. @@ -3935,8 +3947,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::STRUCT_DEF_INST_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::STRUCT_DEF_INST_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -4016,7 +4030,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_def_inst_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_struct_def_inst_index" load_struct_def_inst_index. Admitted. @@ -4096,8 +4110,10 @@ Module deserializer. M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::CONSTANT_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::CONSTANT_INDEX_MAX", + Ty.path "u64" + |) |) ] |) @@ -4177,7 +4193,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_constant_pool_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_constant_pool_index" load_constant_pool_index. Admitted. @@ -4205,14 +4221,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::BYTECODE_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::BYTECODE_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_bytecode_count : - M.IsFunction.Trait "move_binary_format::deserializer::load_bytecode_count" load_bytecode_count. + M.IsFunction.C "move_binary_format::deserializer::load_bytecode_count" load_bytecode_count. Admitted. Global Typeclasses Opaque load_bytecode_count. @@ -4238,14 +4259,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::BYTECODE_INDEX_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::BYTECODE_INDEX_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_bytecode_index : - M.IsFunction.Trait "move_binary_format::deserializer::load_bytecode_index" load_bytecode_index. + M.IsFunction.C "move_binary_format::deserializer::load_bytecode_index" load_bytecode_index. Admitted. Global Typeclasses Opaque load_bytecode_index. @@ -4271,14 +4297,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::ACQUIRES_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::ACQUIRES_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_acquires_count : - M.IsFunction.Trait "move_binary_format::deserializer::load_acquires_count" load_acquires_count. + M.IsFunction.C "move_binary_format::deserializer::load_acquires_count" load_acquires_count. Admitted. Global Typeclasses Opaque load_acquires_count. @@ -4304,14 +4335,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::FIELD_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::FIELD_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_field_count : - M.IsFunction.Trait "move_binary_format::deserializer::load_field_count" load_field_count. + M.IsFunction.C "move_binary_format::deserializer::load_field_count" load_field_count. Admitted. Global Typeclasses Opaque load_field_count. @@ -4338,7 +4374,10 @@ Module deserializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::TYPE_PARAMETER_COUNT_MAX" + get_constant (| + "move_binary_format::file_format_common::TYPE_PARAMETER_COUNT_MAX", + Ty.path "u64" + |) |) ] |))) @@ -4346,7 +4385,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_type_parameter_count : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_type_parameter_count" load_type_parameter_count. Admitted. @@ -4374,14 +4413,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::SIGNATURE_SIZE_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::SIGNATURE_SIZE_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_signature_size : - M.IsFunction.Trait "move_binary_format::deserializer::load_signature_size" load_signature_size. + M.IsFunction.C "move_binary_format::deserializer::load_signature_size" load_signature_size. Admitted. Global Typeclasses Opaque load_signature_size. @@ -4407,14 +4451,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::CONSTANT_SIZE_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::CONSTANT_SIZE_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_constant_size : - M.IsFunction.Trait "move_binary_format::deserializer::load_constant_size" load_constant_size. + M.IsFunction.C "move_binary_format::deserializer::load_constant_size" load_constant_size. Admitted. Global Typeclasses Opaque load_constant_size. @@ -4441,7 +4490,10 @@ Module deserializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::METADATA_KEY_SIZE_MAX" + get_constant (| + "move_binary_format::file_format_common::METADATA_KEY_SIZE_MAX", + Ty.path "u64" + |) |) ] |))) @@ -4449,7 +4501,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_metadata_key_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_metadata_key_size" load_metadata_key_size. Admitted. @@ -4478,7 +4530,10 @@ Module deserializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::METADATA_VALUE_SIZE_MAX" + get_constant (| + "move_binary_format::file_format_common::METADATA_VALUE_SIZE_MAX", + Ty.path "u64" + |) |) ] |))) @@ -4486,7 +4541,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_metadata_value_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_metadata_value_size" load_metadata_value_size. Admitted. @@ -4515,7 +4570,10 @@ Module deserializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::IDENTIFIER_SIZE_MAX" + get_constant (| + "move_binary_format::file_format_common::IDENTIFIER_SIZE_MAX", + Ty.path "u64" + |) |) ] |))) @@ -4523,9 +4581,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_identifier_size : - M.IsFunction.Trait - "move_binary_format::deserializer::load_identifier_size" - load_identifier_size. + M.IsFunction.C "move_binary_format::deserializer::load_identifier_size" load_identifier_size. Admitted. Global Typeclasses Opaque load_identifier_size. @@ -4552,7 +4608,10 @@ Module deserializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::TYPE_PARAMETER_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::TYPE_PARAMETER_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -4560,7 +4619,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_type_parameter_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_type_parameter_index" load_type_parameter_index. Admitted. @@ -4588,14 +4647,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::FIELD_OFFSET_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::FIELD_OFFSET_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_field_offset : - M.IsFunction.Trait "move_binary_format::deserializer::load_field_offset" load_field_offset. + M.IsFunction.C "move_binary_format::deserializer::load_field_offset" load_field_offset. Admitted. Global Typeclasses Opaque load_field_offset. @@ -4621,14 +4685,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::TABLE_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::TABLE_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_table_count : - M.IsFunction.Trait "move_binary_format::deserializer::load_table_count" load_table_count. + M.IsFunction.C "move_binary_format::deserializer::load_table_count" load_table_count. Admitted. Global Typeclasses Opaque load_table_count. @@ -4654,14 +4723,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::TABLE_OFFSET_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::TABLE_OFFSET_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_table_offset : - M.IsFunction.Trait "move_binary_format::deserializer::load_table_offset" load_table_offset. + M.IsFunction.C "move_binary_format::deserializer::load_table_offset" load_table_offset. Admitted. Global Typeclasses Opaque load_table_offset. @@ -4687,14 +4761,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::TABLE_SIZE_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::TABLE_SIZE_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_table_size : - M.IsFunction.Trait "move_binary_format::deserializer::load_table_size" load_table_size. + M.IsFunction.C "move_binary_format::deserializer::load_table_size" load_table_size. Admitted. Global Typeclasses Opaque load_table_size. @@ -4720,14 +4799,19 @@ Module deserializer. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| cursor |) |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::LOCAL_INDEX_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::LOCAL_INDEX_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_load_local_index : - M.IsFunction.Trait "move_binary_format::deserializer::load_local_index" load_local_index. + M.IsFunction.C "move_binary_format::deserializer::load_local_index" load_local_index. Admitted. Global Typeclasses Opaque load_local_index. @@ -5193,7 +5277,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_deserialize_compiled_module : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::deserialize_compiled_module" deserialize_compiled_module. Admitted. @@ -5473,7 +5557,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_tables : - M.IsFunction.Trait "move_binary_format::deserializer::read_tables" read_tables. + M.IsFunction.C "move_binary_format::deserializer::read_tables" read_tables. Admitted. Global Typeclasses Opaque read_tables. @@ -5965,7 +6049,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_read_table : - M.IsFunction.Trait "move_binary_format::deserializer::read_table" read_table. + M.IsFunction.C "move_binary_format::deserializer::read_table" read_table. Admitted. Global Typeclasses Opaque read_table. @@ -6638,7 +6722,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_check_tables : - M.IsFunction.Trait "move_binary_format::deserializer::check_tables" check_tables. + M.IsFunction.C "move_binary_format::deserializer::check_tables" check_tables. Admitted. Global Typeclasses Opaque check_tables. @@ -7205,9 +7289,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_build_compiled_module : - M.IsFunction.Trait - "move_binary_format::deserializer::build_compiled_module" - build_compiled_module. + M.IsFunction.C "move_binary_format::deserializer::build_compiled_module" build_compiled_module. Admitted. Global Typeclasses Opaque build_compiled_module. @@ -10685,8 +10767,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |))) |) @@ -12172,8 +12256,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_2" + get_constant (| + "move_binary_format::file_format_common::VERSION_2", + Ty.path "u32" + |) |) |) |)) in @@ -12270,7 +12356,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_build_common_tables : - M.IsFunction.Trait "move_binary_format::deserializer::build_common_tables" build_common_tables. + M.IsFunction.C "move_binary_format::deserializer::build_common_tables" build_common_tables. Admitted. Global Typeclasses Opaque build_common_tables. @@ -15642,7 +15728,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_build_module_tables : - M.IsFunction.Trait "move_binary_format::deserializer::build_module_tables" build_module_tables. + M.IsFunction.C "move_binary_format::deserializer::build_module_tables" build_module_tables. Admitted. Global Typeclasses Opaque build_module_tables. @@ -16069,7 +16155,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_module_handles : - M.IsFunction.Trait "move_binary_format::deserializer::load_module_handles" load_module_handles. + M.IsFunction.C "move_binary_format::deserializer::load_module_handles" load_module_handles. Admitted. Global Typeclasses Opaque load_module_handles. @@ -16798,7 +16884,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_handles : - M.IsFunction.Trait "move_binary_format::deserializer::load_struct_handles" load_struct_handles. + M.IsFunction.C "move_binary_format::deserializer::load_struct_handles" load_struct_handles. Admitted. Global Typeclasses Opaque load_struct_handles. @@ -17662,9 +17748,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_function_handles : - M.IsFunction.Trait - "move_binary_format::deserializer::load_function_handles" - load_function_handles. + M.IsFunction.C "move_binary_format::deserializer::load_function_handles" load_function_handles. Admitted. Global Typeclasses Opaque load_function_handles. @@ -18096,7 +18180,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_instantiations : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_struct_instantiations" load_struct_instantiations. Admitted. @@ -18533,7 +18617,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_function_instantiations : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_function_instantiations" load_function_instantiations. Admitted. @@ -19255,7 +19339,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_identifiers : - M.IsFunction.Trait "move_binary_format::deserializer::load_identifiers" load_identifiers. + M.IsFunction.C "move_binary_format::deserializer::load_identifiers" load_identifiers. Admitted. Global Typeclasses Opaque load_identifiers. @@ -19328,7 +19412,11 @@ Module deserializer. |) |)), M.read (| - M.get_constant "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.Usize 0 @@ -19429,7 +19517,11 @@ Module deserializer. |) |)), M.read (| - M.get_constant "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -19494,8 +19586,12 @@ Module deserializer. BinOp.Wrap.add (| M.read (| start |), M.read (| - M.get_constant - "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path + "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |) |) |) in @@ -19735,7 +19831,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_address_identifiers : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_address_identifiers" load_address_identifiers. Admitted. @@ -20032,7 +20128,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_constant_pool : - M.IsFunction.Trait "move_binary_format::deserializer::load_constant_pool" load_constant_pool. + M.IsFunction.C "move_binary_format::deserializer::load_constant_pool" load_constant_pool. Admitted. Global Typeclasses Opaque load_constant_pool. @@ -20341,7 +20437,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_constant : - M.IsFunction.Trait "move_binary_format::deserializer::load_constant" load_constant. + M.IsFunction.C "move_binary_format::deserializer::load_constant" load_constant. Admitted. Global Typeclasses Opaque load_constant. @@ -20635,7 +20731,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_metadata : - M.IsFunction.Trait "move_binary_format::deserializer::load_metadata" load_metadata. + M.IsFunction.C "move_binary_format::deserializer::load_metadata" load_metadata. Admitted. Global Typeclasses Opaque load_metadata. @@ -20983,7 +21079,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_metadata_entry : - M.IsFunction.Trait "move_binary_format::deserializer::load_metadata_entry" load_metadata_entry. + M.IsFunction.C "move_binary_format::deserializer::load_metadata_entry" load_metadata_entry. Admitted. Global Typeclasses Opaque load_metadata_entry. @@ -21501,7 +21597,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_byte_blob : - M.IsFunction.Trait "move_binary_format::deserializer::load_byte_blob" load_byte_blob. + M.IsFunction.C "move_binary_format::deserializer::load_byte_blob" load_byte_blob. Admitted. Global Typeclasses Opaque load_byte_blob. @@ -21832,7 +21928,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_signatures : - M.IsFunction.Trait "move_binary_format::deserializer::load_signatures" load_signatures. + M.IsFunction.C "move_binary_format::deserializer::load_signatures" load_signatures. Admitted. Global Typeclasses Opaque load_signatures. @@ -22280,9 +22376,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_signature_tokens : - M.IsFunction.Trait - "move_binary_format::deserializer::load_signature_tokens" - load_signature_tokens. + M.IsFunction.C "move_binary_format::deserializer::load_signature_tokens" load_signature_tokens. Admitted. Global Typeclasses Opaque load_signature_tokens. @@ -22727,8 +22821,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_6" + get_constant (| + "move_binary_format::file_format_common::VERSION_6", + Ty.path "u32" + |) |) |) |) in @@ -24366,8 +24462,10 @@ Module deserializer. [ M.borrow (| Pointer.Kind.Ref, stack |) ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::SIGNATURE_TOKEN_DEPTH_MAX" + get_constant (| + "move_binary_format::file_format_common::SIGNATURE_TOKEN_DEPTH_MAX", + Ty.path "usize" + |) |) |) |)) in @@ -24893,9 +24991,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_signature_token : - M.IsFunction.Trait - "move_binary_format::deserializer::load_signature_token" - load_signature_token. + M.IsFunction.C "move_binary_format::deserializer::load_signature_token" load_signature_token. Admitted. Global Typeclasses Opaque load_signature_token. @@ -25350,7 +25446,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_apply : M.IsAssociatedFunction.Trait Self "apply" apply. + Global Instance AssociatedFunction_apply : M.IsAssociatedFunction.C Self "apply" apply. Admitted. Global Typeclasses Opaque apply. @@ -25387,7 +25483,7 @@ Module deserializer. end. Global Instance AssociatedFunction_is_saturated : - M.IsAssociatedFunction.Trait Self "is_saturated" is_saturated. + M.IsAssociatedFunction.C Self "is_saturated" is_saturated. Admitted. Global Typeclasses Opaque is_saturated. @@ -25491,7 +25587,7 @@ Module deserializer. end. Global Instance AssociatedFunction_unwrap_saturated : - M.IsAssociatedFunction.Trait Self "unwrap_saturated" unwrap_saturated. + M.IsAssociatedFunction.C Self "unwrap_saturated" unwrap_saturated. Admitted. Global Typeclasses Opaque unwrap_saturated. End Impl_move_binary_format_deserializer_load_signature_token_TypeBuilder. @@ -25974,8 +26070,13 @@ Module deserializer. |), [ M.read (| - M.get_constant - "move_binary_format::file_format::EMPTY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |); Value.StructTuple "move_binary_format::file_format::Ability::Store" @@ -26048,8 +26149,13 @@ Module deserializer. |), [ M.read (| - M.get_constant - "move_binary_format::file_format::EMPTY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |); Value.StructTuple "move_binary_format::file_format::Ability::Store" @@ -26246,8 +26352,13 @@ Module deserializer. γ, "move_binary_format::deserializer::DeprecatedKind::ALL" |) in - M.get_constant - "move_binary_format::file_format::EMPTY")); + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |))); fun γ => ltac:(M.monadic (let _ := @@ -26291,8 +26402,13 @@ Module deserializer. |), [ M.read (| - M.get_constant - "move_binary_format::file_format::EMPTY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |); Value.StructTuple "move_binary_format::file_format::Ability::Copy" @@ -26331,8 +26447,13 @@ Module deserializer. |), [ M.read (| - M.get_constant - "move_binary_format::file_format::EMPTY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |); Value.StructTuple "move_binary_format::file_format::Ability::Key" @@ -26495,7 +26616,13 @@ Module deserializer. |), [ M.read (| - M.get_constant "move_binary_format::file_format::ALL" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "ALL", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |) ] |)) @@ -26644,7 +26771,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_ability_set : - M.IsFunction.Trait "move_binary_format::deserializer::load_ability_set" load_ability_set. + M.IsFunction.C "move_binary_format::deserializer::load_ability_set" load_ability_set. Admitted. Global Typeclasses Opaque load_ability_set. @@ -27100,7 +27227,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_ability_sets : - M.IsFunction.Trait "move_binary_format::deserializer::load_ability_sets" load_ability_sets. + M.IsFunction.C "move_binary_format::deserializer::load_ability_sets" load_ability_sets. Admitted. Global Typeclasses Opaque load_ability_sets. @@ -27561,7 +27688,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_type_parameters : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_struct_type_parameters" load_struct_type_parameters. Admitted. @@ -27744,8 +27871,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_3" + get_constant (| + "move_binary_format::file_format_common::VERSION_3", + Ty.path "u32" + |) |) |) |)) in @@ -27906,7 +28035,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_type_parameter : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_struct_type_parameter" load_struct_type_parameter. Admitted. @@ -28674,7 +28803,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_defs : - M.IsFunction.Trait "move_binary_format::deserializer::load_struct_defs" load_struct_defs. + M.IsFunction.C "move_binary_format::deserializer::load_struct_defs" load_struct_defs. Admitted. Global Typeclasses Opaque load_struct_defs. @@ -29124,7 +29253,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_field_defs : - M.IsFunction.Trait "move_binary_format::deserializer::load_field_defs" load_field_defs. + M.IsFunction.C "move_binary_format::deserializer::load_field_defs" load_field_defs. Admitted. Global Typeclasses Opaque load_field_defs. @@ -29405,7 +29534,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_field_def : - M.IsFunction.Trait "move_binary_format::deserializer::load_field_def" load_field_def. + M.IsFunction.C "move_binary_format::deserializer::load_field_def" load_field_def. Admitted. Global Typeclasses Opaque load_field_def. @@ -29708,7 +29837,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_function_defs : - M.IsFunction.Trait "move_binary_format::deserializer::load_function_defs" load_function_defs. + M.IsFunction.C "move_binary_format::deserializer::load_function_defs" load_function_defs. Admitted. Global Typeclasses Opaque load_function_defs. @@ -30132,7 +30261,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_field_handles : - M.IsFunction.Trait "move_binary_format::deserializer::load_field_handles" load_field_handles. + M.IsFunction.C "move_binary_format::deserializer::load_field_handles" load_field_handles. Admitted. Global Typeclasses Opaque load_field_handles. @@ -30557,7 +30686,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_field_instantiations : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_field_instantiations" load_field_instantiations. Admitted. @@ -31011,7 +31140,10 @@ Module deserializer. ] |), M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_1" + get_constant (| + "move_binary_format::file_format_common::VERSION_1", + Ty.path "u32" + |) |) |) |)) in @@ -31032,8 +31164,12 @@ Module deserializer. BinOp.bit_and (M.read (| flags |)) (M.read (| - M.get_constant - "move_binary_format::file_format::DEPRECATED_PUBLIC_BIT" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "DEPRECATED_PUBLIC_BIT", + Ty.path "u8" + |) |)), Value.Integer IntegerKind.U8 0 |) @@ -31051,8 +31187,12 @@ Module deserializer. BinOp.bit_xor (M.read (| β |)) (M.read (| - M.get_constant - "move_binary_format::file_format::DEPRECATED_PUBLIC_BIT" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "DEPRECATED_PUBLIC_BIT", + Ty.path "u8" + |) |)) |) |) in @@ -31109,8 +31249,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |)) in @@ -31138,8 +31280,12 @@ Module deserializer. BinOp.eq (| M.read (| flags |), M.read (| - M.get_constant - "move_binary_format::file_format::DEPRECATED_SCRIPT" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::Visibility", + "DEPRECATED_SCRIPT", + Ty.path "u8" + |) |) |) |)) in @@ -32145,7 +32291,12 @@ Module deserializer. BinOp.bit_and (M.read (| extra_flags |)) (M.read (| - M.get_constant "move_binary_format::file_format::ENTRY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "ENTRY", + Ty.path "u8" + |) |)), Value.Integer IntegerKind.U8 0 |) @@ -32171,8 +32322,12 @@ Module deserializer. BinOp.bit_xor (M.read (| β |)) (M.read (| - M.get_constant - "move_binary_format::file_format::ENTRY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "ENTRY", + Ty.path "u8" + |) |)) |) |) in @@ -32385,8 +32540,12 @@ Module deserializer. BinOp.bit_and (M.read (| extra_flags |)) (M.read (| - M.get_constant - "move_binary_format::file_format::NATIVE" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "NATIVE", + Ty.path "u8" + |) |)), Value.Integer IntegerKind.U8 0 |) @@ -32404,7 +32563,12 @@ Module deserializer. BinOp.bit_xor (M.read (| β |)) (M.read (| - M.get_constant "move_binary_format::file_format::NATIVE" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "NATIVE", + Ty.path "u8" + |) |)) |) |) in @@ -32628,7 +32792,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_function_def : - M.IsFunction.Trait "move_binary_format::deserializer::load_function_def" load_function_def. + M.IsFunction.C "move_binary_format::deserializer::load_function_def" load_function_def. Admitted. Global Typeclasses Opaque load_function_def. @@ -33082,7 +33246,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_struct_definition_indices : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::deserializer::load_struct_definition_indices" load_struct_definition_indices. Admitted. @@ -33389,7 +33553,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_code_unit : - M.IsFunction.Trait "move_binary_format::deserializer::load_code_unit" load_code_unit. + M.IsFunction.C "move_binary_format::deserializer::load_code_unit" load_code_unit. Admitted. Global Typeclasses Opaque load_code_unit. @@ -34198,8 +34362,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_4" + get_constant (| + "move_binary_format::file_format_common::VERSION_4", + Ty.path "u32" + |) |) |) |)) in @@ -34329,8 +34495,11 @@ Module deserializer. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_binary_format::file_format_common::VERSION_4" + get_constant (| + "move_binary_format::file_format_common::VERSION_4", + Ty.path + "u32" + |) |) |) |) @@ -34452,8 +34621,10 @@ Module deserializer. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_6" + get_constant (| + "move_binary_format::file_format_common::VERSION_6", + Ty.path "u32" + |) |) |) |) in @@ -41831,7 +42002,7 @@ Module deserializer. end. Global Instance Instance_IsFunction_load_code : - M.IsFunction.Trait "move_binary_format::deserializer::load_code" load_code. + M.IsFunction.C "move_binary_format::deserializer::load_code" load_code. Admitted. Global Typeclasses Opaque load_code. @@ -42145,8 +42316,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. End Impl_move_binary_format_file_format_common_TableType. @@ -42461,8 +42631,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. End Impl_move_binary_format_file_format_common_SerializedType. @@ -42690,8 +42859,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. End Impl_move_binary_format_deserializer_DeprecatedNominalResourceFlag. @@ -42832,8 +43000,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. End Impl_move_binary_format_deserializer_DeprecatedKind. @@ -42928,8 +43095,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. End Impl_move_binary_format_file_format_common_SerializedNativeStructFlag. @@ -44280,8 +44446,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. End Impl_move_binary_format_file_format_common_Opcodes. @@ -44798,8 +44963,12 @@ Module deserializer. BinOp.ne (| M.read (| count |), M.read (| - M.get_constant - "move_binary_format::file_format_common::MOVE_MAGIC_SIZE" + get_associated_constant (| + Ty.path + "move_binary_format::file_format_common::BinaryConstants", + "MOVE_MAGIC_SIZE", + Ty.path "usize" + |) |) |), ltac:(M.monadic @@ -44826,8 +44995,15 @@ Module deserializer. M.borrow (| Pointer.Kind.Ref, magic |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_binary_format::file_format_common::MOVE_MAGIC" + get_associated_constant (| + Ty.path + "move_binary_format::file_format_common::BinaryConstants", + "MOVE_MAGIC", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 4 ] + [ Ty.path "u8" ] + |) |) ] |))) @@ -45067,8 +45243,10 @@ Module deserializer. |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_MAX" + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) |) ] |) @@ -45818,7 +45996,7 @@ Module deserializer. end. Global Instance AssociatedFunction_initialize : - M.IsAssociatedFunction.Trait Self "initialize" initialize. + M.IsAssociatedFunction.C Self "initialize" initialize. Admitted. Global Typeclasses Opaque initialize. @@ -45842,8 +46020,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_version : - M.IsAssociatedFunction.Trait Self "version" version. + Global Instance AssociatedFunction_version : M.IsAssociatedFunction.C Self "version" version. Admitted. Global Typeclasses Opaque version. @@ -45868,7 +46045,7 @@ Module deserializer. end. Global Instance AssociatedFunction_module_idx : - M.IsAssociatedFunction.Trait Self "module_idx" module_idx. + M.IsAssociatedFunction.C Self "module_idx" module_idx. Admitted. Global Typeclasses Opaque module_idx. @@ -45893,7 +46070,7 @@ Module deserializer. end. Global Instance AssociatedFunction_binary_end_offset : - M.IsAssociatedFunction.Trait Self "binary_end_offset" binary_end_offset. + M.IsAssociatedFunction.C Self "binary_end_offset" binary_end_offset. Admitted. Global Typeclasses Opaque binary_end_offset. @@ -46021,7 +46198,7 @@ Module deserializer. end. Global Instance AssociatedFunction_new_cursor : - M.IsAssociatedFunction.Trait Self "new_cursor" new_cursor. + M.IsAssociatedFunction.C Self "new_cursor" new_cursor. Admitted. Global Typeclasses Opaque new_cursor. @@ -46102,7 +46279,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_slice : M.IsAssociatedFunction.Trait Self "slice" slice. + Global Instance AssociatedFunction_slice : M.IsAssociatedFunction.C Self "slice" slice. Admitted. Global Typeclasses Opaque slice. @@ -46139,7 +46316,7 @@ Module deserializer. end. Global Instance AssociatedFunction_check_no_extraneous_bytes : - M.IsAssociatedFunction.Trait Self "check_no_extraneous_bytes" check_no_extraneous_bytes. + M.IsAssociatedFunction.C Self "check_no_extraneous_bytes" check_no_extraneous_bytes. Admitted. Global Typeclasses Opaque check_no_extraneous_bytes. End Impl_move_binary_format_deserializer_VersionedBinary. @@ -46167,8 +46344,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_version : - M.IsAssociatedFunction.Trait Self "version" version. + Global Instance AssociatedFunction_version : M.IsAssociatedFunction.C Self "version" version. Admitted. Global Typeclasses Opaque version. @@ -46207,8 +46383,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_position : - M.IsAssociatedFunction.Trait Self "position" position. + Global Instance AssociatedFunction_position : M.IsAssociatedFunction.C Self "position" position. Admitted. Global Typeclasses Opaque position. @@ -46244,8 +46419,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_read_u8 : - M.IsAssociatedFunction.Trait Self "read_u8" read_u8. + Global Instance AssociatedFunction_read_u8 : M.IsAssociatedFunction.C Self "read_u8" read_u8. Admitted. Global Typeclasses Opaque read_u8. @@ -46294,7 +46468,7 @@ Module deserializer. end. Global Instance AssociatedFunction_set_position : - M.IsAssociatedFunction.Trait Self "set_position" set_position. + M.IsAssociatedFunction.C Self "set_position" set_position. Admitted. Global Typeclasses Opaque set_position. @@ -46330,8 +46504,7 @@ Module deserializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_read_u32 : - M.IsAssociatedFunction.Trait Self "read_u32" read_u32. + Global Instance AssociatedFunction_read_u32 : M.IsAssociatedFunction.C Self "read_u32" read_u32. Admitted. Global Typeclasses Opaque read_u32. @@ -46372,7 +46545,7 @@ Module deserializer. end. Global Instance AssociatedFunction_read_uleb128_as_u64 : - M.IsAssociatedFunction.Trait Self "read_uleb128_as_u64" read_uleb128_as_u64. + M.IsAssociatedFunction.C Self "read_uleb128_as_u64" read_uleb128_as_u64. Admitted. Global Typeclasses Opaque read_uleb128_as_u64. End Impl_move_binary_format_deserializer_VersionedCursor. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/errors.v b/CoqOfRust/move_sui/translations/move_binary_format/errors.v index 88841a79f..dd50223ed 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/errors.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/errors.v @@ -1072,7 +1072,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1103,7 +1103,7 @@ Module errors. end. Global Instance AssociatedFunction_stack_trace : - M.IsAssociatedFunction.Trait Self "stack_trace" stack_trace. + M.IsAssociatedFunction.C Self "stack_trace" stack_trace. Admitted. Global Typeclasses Opaque stack_trace. End Impl_move_binary_format_errors_ExecutionState. @@ -3146,7 +3146,7 @@ Module errors. end. Global Instance AssociatedFunction_major_status : - M.IsAssociatedFunction.Trait Self "major_status" major_status. + M.IsAssociatedFunction.C Self "major_status" major_status. Admitted. Global Typeclasses Opaque major_status. @@ -3179,7 +3179,7 @@ Module errors. end. Global Instance AssociatedFunction_sub_status : - M.IsAssociatedFunction.Trait Self "sub_status" sub_status. + M.IsAssociatedFunction.C Self "sub_status" sub_status. Admitted. Global Typeclasses Opaque sub_status. @@ -3226,8 +3226,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_message : - M.IsAssociatedFunction.Trait Self "message" message. + Global Instance AssociatedFunction_message : M.IsAssociatedFunction.C Self "message" message. Admitted. Global Typeclasses Opaque message. @@ -3279,7 +3278,7 @@ Module errors. end. Global Instance AssociatedFunction_exec_state : - M.IsAssociatedFunction.Trait Self "exec_state" exec_state. + M.IsAssociatedFunction.C Self "exec_state" exec_state. Admitted. Global Typeclasses Opaque exec_state. @@ -3319,7 +3318,7 @@ Module errors. end. Global Instance AssociatedFunction_remove_exec_state : - M.IsAssociatedFunction.Trait Self "remove_exec_state" remove_exec_state. + M.IsAssociatedFunction.C Self "remove_exec_state" remove_exec_state. Admitted. Global Typeclasses Opaque remove_exec_state. @@ -3357,8 +3356,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_location : - M.IsAssociatedFunction.Trait Self "location" location. + Global Instance AssociatedFunction_location : M.IsAssociatedFunction.C Self "location" location. Admitted. Global Typeclasses Opaque location. @@ -3396,8 +3394,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_indices : - M.IsAssociatedFunction.Trait Self "indices" indices. + Global Instance AssociatedFunction_indices : M.IsAssociatedFunction.C Self "indices" indices. Admitted. Global Typeclasses Opaque indices. @@ -3435,8 +3432,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_offsets : - M.IsAssociatedFunction.Trait Self "offsets" offsets. + Global Instance AssociatedFunction_offsets : M.IsAssociatedFunction.C Self "offsets" offsets. Admitted. Global Typeclasses Opaque offsets. @@ -3480,7 +3476,7 @@ Module errors. end. Global Instance AssociatedFunction_status_type : - M.IsAssociatedFunction.Trait Self "status_type" status_type. + M.IsAssociatedFunction.C Self "status_type" status_type. Admitted. Global Typeclasses Opaque status_type. @@ -3603,8 +3599,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_all_data : - M.IsAssociatedFunction.Trait Self "all_data" all_data. + Global Instance AssociatedFunction_all_data : M.IsAssociatedFunction.C Self "all_data" all_data. Admitted. Global Typeclasses Opaque all_data. @@ -3737,7 +3732,7 @@ Module errors. end. Global Instance AssociatedFunction_to_partial : - M.IsAssociatedFunction.Trait Self "to_partial" to_partial. + M.IsAssociatedFunction.C Self "to_partial" to_partial. Admitted. Global Typeclasses Opaque to_partial. End Impl_move_binary_format_errors_VMError. @@ -4655,8 +4650,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_all_data : - M.IsAssociatedFunction.Trait Self "all_data" all_data. + Global Instance AssociatedFunction_all_data : M.IsAssociatedFunction.C Self "all_data" all_data. Admitted. Global Typeclasses Opaque all_data. @@ -4790,7 +4784,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.Trait Self "finish" finish. + Global Instance AssociatedFunction_finish : M.IsAssociatedFunction.C Self "finish" finish. Admitted. Global Typeclasses Opaque finish. @@ -4905,7 +4899,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -4938,7 +4932,7 @@ Module errors. end. Global Instance AssociatedFunction_major_status : - M.IsAssociatedFunction.Trait Self "major_status" major_status. + M.IsAssociatedFunction.C Self "major_status" major_status. Admitted. Global Typeclasses Opaque major_status. @@ -5055,7 +5049,7 @@ Module errors. end. Global Instance AssociatedFunction_with_sub_status : - M.IsAssociatedFunction.Trait Self "with_sub_status" with_sub_status. + M.IsAssociatedFunction.C Self "with_sub_status" with_sub_status. Admitted. Global Typeclasses Opaque with_sub_status. @@ -5171,7 +5165,7 @@ Module errors. end. Global Instance AssociatedFunction_with_message : - M.IsAssociatedFunction.Trait Self "with_message" with_message. + M.IsAssociatedFunction.C Self "with_message" with_message. Admitted. Global Typeclasses Opaque with_message. @@ -5289,7 +5283,7 @@ Module errors. end. Global Instance AssociatedFunction_with_exec_state : - M.IsAssociatedFunction.Trait Self "with_exec_state" with_exec_state. + M.IsAssociatedFunction.C Self "with_exec_state" with_exec_state. Admitted. Global Typeclasses Opaque with_exec_state. @@ -5349,8 +5343,7 @@ Module errors. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_at_index : - M.IsAssociatedFunction.Trait Self "at_index" at_index. + Global Instance AssociatedFunction_at_index : M.IsAssociatedFunction.C Self "at_index" at_index. Admitted. Global Typeclasses Opaque at_index. @@ -5421,7 +5414,7 @@ Module errors. end. Global Instance AssociatedFunction_at_indices : - M.IsAssociatedFunction.Trait Self "at_indices" at_indices. + M.IsAssociatedFunction.C Self "at_indices" at_indices. Admitted. Global Typeclasses Opaque at_indices. @@ -5486,7 +5479,7 @@ Module errors. end. Global Instance AssociatedFunction_at_code_offset : - M.IsAssociatedFunction.Trait Self "at_code_offset" at_code_offset. + M.IsAssociatedFunction.C Self "at_code_offset" at_code_offset. Admitted. Global Typeclasses Opaque at_code_offset. @@ -5574,7 +5567,7 @@ Module errors. end. Global Instance AssociatedFunction_at_code_offsets : - M.IsAssociatedFunction.Trait Self "at_code_offsets" at_code_offsets. + M.IsAssociatedFunction.C Self "at_code_offsets" at_code_offsets. Admitted. Global Typeclasses Opaque at_code_offsets. @@ -5784,10 +5777,7 @@ Module errors. end. Global Instance AssociatedFunction_append_message_with_separator : - M.IsAssociatedFunction.Trait - Self - "append_message_with_separator" - append_message_with_separator. + M.IsAssociatedFunction.C Self "append_message_with_separator" append_message_with_separator. Admitted. Global Typeclasses Opaque append_message_with_separator. End Impl_move_binary_format_errors_PartialVMError. @@ -8581,7 +8571,7 @@ Module errors. end. Global Instance Instance_IsFunction_offset_out_of_bounds : - M.IsFunction.Trait "move_binary_format::errors::offset_out_of_bounds" offset_out_of_bounds. + M.IsFunction.C "move_binary_format::errors::offset_out_of_bounds" offset_out_of_bounds. Admitted. Global Typeclasses Opaque offset_out_of_bounds. @@ -8767,7 +8757,7 @@ Module errors. end. Global Instance Instance_IsFunction_bounds_error : - M.IsFunction.Trait "move_binary_format::errors::bounds_error" bounds_error. + M.IsFunction.C "move_binary_format::errors::bounds_error" bounds_error. Admitted. Global Typeclasses Opaque bounds_error. @@ -8810,7 +8800,7 @@ Module errors. end. Global Instance Instance_IsFunction_verification_error : - M.IsFunction.Trait "move_binary_format::errors::verification_error" verification_error. + M.IsFunction.C "move_binary_format::errors::verification_error" verification_error. Admitted. Global Typeclasses Opaque verification_error. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/file_format.v b/CoqOfRust/move_sui/translations/move_binary_format/file_format.v index 8482c4472..a4b5348b0 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/file_format.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/file_format.v @@ -351,7 +351,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_ModuleHandleIndex. @@ -546,10 +546,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::ModuleHandle" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::ModuleHandle" [] |))). (* fn into_index(self) -> usize { @@ -581,7 +580,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_ModuleHandleIndex. @@ -933,7 +932,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_StructHandleIndex. @@ -1128,10 +1127,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::StructHandle" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::StructHandle" [] |))). (* fn into_index(self) -> usize { @@ -1163,7 +1161,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_StructHandleIndex. @@ -1515,7 +1513,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_FunctionHandleIndex. @@ -1710,10 +1708,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FunctionHandle" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FunctionHandle" [] |))). (* fn into_index(self) -> usize { @@ -1745,7 +1742,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_FunctionHandleIndex. @@ -2097,7 +2094,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_FieldHandleIndex. @@ -2292,10 +2289,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FieldHandle" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FieldHandle" [] |))). (* fn into_index(self) -> usize { @@ -2327,7 +2323,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_FieldHandleIndex. @@ -2689,7 +2685,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_StructDefInstantiationIndex. @@ -2888,12 +2884,11 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "move_binary_format::IndexKind::StructDefInstantiation" [] - |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "move_binary_format::IndexKind::StructDefInstantiation" [] + |))). (* fn into_index(self) -> usize { @@ -2925,7 +2920,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_StructDefInstantiationIndex. @@ -3277,7 +3272,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_FunctionInstantiationIndex. @@ -3473,12 +3468,11 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "move_binary_format::IndexKind::FunctionInstantiation" [] - |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "move_binary_format::IndexKind::FunctionInstantiation" [] + |))). (* fn into_index(self) -> usize { @@ -3510,7 +3504,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_FunctionInstantiationIndex. @@ -3862,7 +3856,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_FieldInstantiationIndex. @@ -4057,10 +4051,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FieldInstantiation" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FieldInstantiation" [] |))). (* fn into_index(self) -> usize { @@ -4092,7 +4085,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_FieldInstantiationIndex. @@ -4442,7 +4435,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_IdentifierIndex. @@ -4637,10 +4630,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::Identifier" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::Identifier" [] |))). (* fn into_index(self) -> usize { @@ -4672,7 +4664,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_IdentifierIndex. @@ -5024,7 +5016,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_AddressIdentifierIndex. @@ -5219,10 +5211,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::AddressIdentifier" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::AddressIdentifier" [] |))). (* fn into_index(self) -> usize { @@ -5254,7 +5245,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_AddressIdentifierIndex. @@ -5606,7 +5597,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_ConstantPoolIndex. @@ -5801,10 +5792,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::ConstantPool" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::ConstantPool" [] |))). (* fn into_index(self) -> usize { @@ -5836,7 +5826,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_ConstantPoolIndex. @@ -6184,7 +6174,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_SignatureIndex. @@ -6379,10 +6369,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::Signature" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::Signature" [] |))). (* fn into_index(self) -> usize { @@ -6414,7 +6403,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_SignatureIndex. @@ -6766,7 +6755,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_StructDefinitionIndex. @@ -6961,10 +6950,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::StructDefinition" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::StructDefinition" [] |))). (* fn into_index(self) -> usize { @@ -6996,7 +6984,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_StructDefinitionIndex. @@ -7348,7 +7336,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_file_format_FunctionDefinitionIndex. @@ -7543,10 +7531,9 @@ Module file_format. (* const KIND: IndexKind = IndexKind::$kind; *) (* Ty.path "move_binary_format::IndexKind" *) - Definition value_KIND : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FunctionDefinition" [] |))). + Definition value_KIND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| Value.StructTuple "move_binary_format::IndexKind::FunctionDefinition" [] |))). (* fn into_index(self) -> usize { @@ -7578,7 +7565,7 @@ Module file_format. Self (* Instance *) [ - ("value_KIND", InstanceField.Constant value_KIND); + ("value_KIND", InstanceField.Method value_KIND); ("into_index", InstanceField.Method into_index) ]. End Impl_move_binary_format_internals_ModuleIndex_for_move_binary_format_file_format_FunctionDefinitionIndex. @@ -7657,22 +7644,22 @@ Module file_format. end. Global Instance Instance_IsFunction_self_module_name : - M.IsFunction.Trait "move_binary_format::file_format::self_module_name" self_module_name. + M.IsFunction.C "move_binary_format::file_format::self_module_name" self_module_name. Admitted. Global Typeclasses Opaque self_module_name. - Definition value_NO_TYPE_ARGUMENTS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::SignatureIndex" - [ Value.Integer IntegerKind.U16 0 ] - |))). + Definition value_NO_TYPE_ARGUMENTS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::SignatureIndex" + [ Value.Integer IntegerKind.U16 0 ] + |))). - Axiom Constant_value_NO_TYPE_ARGUMENTS : - (M.get_constant "move_binary_format::file_format::NO_TYPE_ARGUMENTS") = value_NO_TYPE_ARGUMENTS. - Global Hint Rewrite Constant_value_NO_TYPE_ARGUMENTS : constant_rewrites. + Global Instance Instance_IsConstant_value_NO_TYPE_ARGUMENTS : + M.IsFunction.C "move_binary_format::file_format::NO_TYPE_ARGUMENTS" value_NO_TYPE_ARGUMENTS. + Admitted. + Global Typeclasses Opaque value_NO_TYPE_ARGUMENTS. (* StructRecord { @@ -9644,7 +9631,7 @@ Module file_format. end. Global Instance AssociatedFunction_type_param_constraints : - M.IsAssociatedFunction.Trait Self "type_param_constraints" type_param_constraints. + M.IsAssociatedFunction.C Self "type_param_constraints" type_param_constraints. Admitted. Global Typeclasses Opaque type_param_constraints. End Impl_move_binary_format_file_format_StructHandle. @@ -10561,7 +10548,18 @@ Module file_format. M.read (| __deserializer |); mk_str (| "StructTypeParameter" |); M.read (| - M.get_constant "move_binary_format::file_format::_'1::deserialize::FIELDS" + get_constant (| + "move_binary_format::file_format::_'1::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::file_format::_'1::deserialize::__Visitor" @@ -10747,7 +10745,18 @@ Module file_format. M.read (| __deserializer |); mk_str (| "Visibility" |); M.read (| - M.get_constant "move_binary_format::file_format::_'3::deserialize::VARIANTS" + get_constant (| + "move_binary_format::file_format::_'3::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::file_format::_'3::deserialize::__Visitor" @@ -13996,7 +14005,7 @@ Module file_format. end. Global Instance AssociatedFunction_declared_field_count : - M.IsAssociatedFunction.Trait Self "declared_field_count" declared_field_count. + M.IsAssociatedFunction.C Self "declared_field_count" declared_field_count. Admitted. Global Typeclasses Opaque declared_field_count. @@ -14120,7 +14129,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_field : M.IsAssociatedFunction.Trait Self "field" field. + Global Instance AssociatedFunction_field : M.IsAssociatedFunction.C Self "field" field. Admitted. Global Typeclasses Opaque field. @@ -14229,7 +14238,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_fields : M.IsAssociatedFunction.Trait Self "fields" fields. + Global Instance AssociatedFunction_fields : M.IsAssociatedFunction.C Self "fields" fields. Admitted. Global Typeclasses Opaque fields. End Impl_move_binary_format_file_format_StructDefinition. @@ -14925,11 +14934,11 @@ Module file_format. (* pub const DEPRECATED_SCRIPT: u8 = 0x2; *) (* Ty.path "u8" *) - Definition value_DEPRECATED_SCRIPT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). + Definition value_DEPRECATED_SCRIPT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). Global Instance AssociatedConstant_value_DEPRECATED_SCRIPT : - M.IsAssociatedConstant.Trait Self "value_DEPRECATED_SCRIPT" value_DEPRECATED_SCRIPT. + M.IsAssociatedFunction.C Self "DEPRECATED_SCRIPT" value_DEPRECATED_SCRIPT. Admitted. Global Typeclasses Opaque value_DEPRECATED_SCRIPT. End Impl_move_binary_format_file_format_Visibility. @@ -14974,8 +14983,12 @@ Module file_format. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Visibility::Private_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Visibility::Private_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) |) @@ -15000,8 +15013,12 @@ Module file_format. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Visibility::Public_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Visibility::Public_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) |) @@ -15023,8 +15040,12 @@ Module file_format. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Visibility::Friend_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Visibility::Friend_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) |) @@ -15806,37 +15827,41 @@ Module file_format. end. Global Instance AssociatedFunction_is_native : - M.IsAssociatedFunction.Trait Self "is_native" is_native. + M.IsAssociatedFunction.C Self "is_native" is_native. Admitted. Global Typeclasses Opaque is_native. (* pub const DEPRECATED_PUBLIC_BIT: u8 = 0b01; *) (* Ty.path "u8" *) - Definition value_DEPRECATED_PUBLIC_BIT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). + Definition value_DEPRECATED_PUBLIC_BIT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). Global Instance AssociatedConstant_value_DEPRECATED_PUBLIC_BIT : - M.IsAssociatedConstant.Trait Self "value_DEPRECATED_PUBLIC_BIT" value_DEPRECATED_PUBLIC_BIT. + M.IsAssociatedFunction.C Self "DEPRECATED_PUBLIC_BIT" value_DEPRECATED_PUBLIC_BIT. Admitted. Global Typeclasses Opaque value_DEPRECATED_PUBLIC_BIT. (* pub const NATIVE: u8 = 0b10; *) (* Ty.path "u8" *) - Definition value_NATIVE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). + Definition value_NATIVE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). Global Instance AssociatedConstant_value_NATIVE : - M.IsAssociatedConstant.Trait Self "value_NATIVE" value_NATIVE. + M.IsAssociatedFunction.C Self "NATIVE" value_NATIVE. Admitted. Global Typeclasses Opaque value_NATIVE. (* pub const ENTRY: u8 = 0b100; *) (* Ty.path "u8" *) - Definition value_ENTRY : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 4 |))). + Definition value_ENTRY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 4 |))). Global Instance AssociatedConstant_value_ENTRY : - M.IsAssociatedConstant.Trait Self "value_ENTRY" value_ENTRY. + M.IsAssociatedFunction.C Self "ENTRY" value_ENTRY. Admitted. Global Typeclasses Opaque value_ENTRY. End Impl_move_binary_format_file_format_FunctionDefinition. @@ -17262,7 +17287,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -17304,8 +17329,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. End Impl_move_binary_format_file_format_Signature. @@ -17832,8 +17856,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. @@ -17894,8 +17917,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_requires : - M.IsAssociatedFunction.Trait Self "requires" requires. + Global Instance AssociatedFunction_requires : M.IsAssociatedFunction.C Self "requires" requires. Admitted. Global Typeclasses Opaque requires. @@ -17936,7 +17958,13 @@ Module file_format. [] |), [ - M.read (| M.get_constant "move_binary_format::file_format::EMPTY" |); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |); Value.StructTuple "move_binary_format::file_format::Ability::Copy" [] ] |) @@ -17958,7 +17986,13 @@ Module file_format. [] |), [ - M.read (| M.get_constant "move_binary_format::file_format::EMPTY" |); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |); Value.StructTuple "move_binary_format::file_format::Ability::Drop" [] ] |) @@ -17995,7 +18029,13 @@ Module file_format. [] |), [ - M.read (| M.get_constant "move_binary_format::file_format::EMPTY" |); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |); Value.StructTuple "move_binary_format::file_format::Ability::Store" [] ] |); @@ -18007,7 +18047,11 @@ Module file_format. ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "move_binary_format::file_format::Ability::Key" |) in - M.get_constant "move_binary_format::file_format::EMPTY")) + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |))) ] |) |))) @@ -18015,7 +18059,7 @@ Module file_format. end. Global Instance AssociatedFunction_required_by : - M.IsAssociatedFunction.Trait Self "required_by" required_by. + M.IsAssociatedFunction.C Self "required_by" required_by. Admitted. Global Typeclasses Opaque required_by. End Impl_move_binary_format_file_format_Ability. @@ -18316,17 +18360,16 @@ Module file_format. (* pub const EMPTY: Self = Self(0); *) (* Ty.path "move_binary_format::file_format::AbilitySet" *) - Definition value_EMPTY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::AbilitySet" - [ Value.Integer IntegerKind.U8 0 ] - |))). + Definition value_EMPTY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::AbilitySet" + [ Value.Integer IntegerKind.U8 0 ] + |))). Global Instance AssociatedConstant_value_EMPTY : - M.IsAssociatedConstant.Trait Self "value_EMPTY" value_EMPTY. + M.IsAssociatedFunction.C Self "EMPTY" value_EMPTY. Admitted. Global Typeclasses Opaque value_EMPTY. @@ -18335,93 +18378,118 @@ Module file_format. Self((Ability::Copy as u8) | (Ability::Drop as u8) | (Ability::Store as u8)); *) (* Ty.path "move_binary_format::file_format::AbilitySet" *) - Definition value_PRIMITIVES : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::AbilitySet" - [ - BinOp.bit_or - (BinOp.bit_or - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Ability::Copy_discriminant", - Value.Integer IntegerKind.U8 0 - |))) - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Ability::Drop_discriminant", - Value.Integer IntegerKind.U8 0 - |)))) + Definition value_PRIMITIVES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::AbilitySet" + [ + BinOp.bit_or + (BinOp.bit_or (M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant "move_binary_format::file_format::Ability::Store_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Copy_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |))) - ] - |))). + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Drop_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |)))) + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Store_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |))) + ] + |))). Global Instance AssociatedConstant_value_PRIMITIVES : - M.IsAssociatedConstant.Trait Self "value_PRIMITIVES" value_PRIMITIVES. + M.IsAssociatedFunction.C Self "PRIMITIVES" value_PRIMITIVES. Admitted. Global Typeclasses Opaque value_PRIMITIVES. (* pub const REFERENCES: AbilitySet = Self((Ability::Copy as u8) | (Ability::Drop as u8)); *) (* Ty.path "move_binary_format::file_format::AbilitySet" *) - Definition value_REFERENCES : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::AbilitySet" - [ - BinOp.bit_or - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant "move_binary_format::file_format::Ability::Copy_discriminant", - Value.Integer IntegerKind.U8 0 - |))) - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant "move_binary_format::file_format::Ability::Drop_discriminant", - Value.Integer IntegerKind.U8 0 - |))) - ] - |))). + Definition value_REFERENCES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::AbilitySet" + [ + BinOp.bit_or + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Copy_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |))) + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Drop_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |))) + ] + |))). Global Instance AssociatedConstant_value_REFERENCES : - M.IsAssociatedConstant.Trait Self "value_REFERENCES" value_REFERENCES. + M.IsAssociatedFunction.C Self "REFERENCES" value_REFERENCES. Admitted. Global Typeclasses Opaque value_REFERENCES. (* pub const SIGNER: AbilitySet = Self(Ability::Drop as u8); *) (* Ty.path "move_binary_format::file_format::AbilitySet" *) - Definition value_SIGNER : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::AbilitySet" - [ - M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant "move_binary_format::file_format::Ability::Drop_discriminant", - Value.Integer IntegerKind.U8 0 - |)) - ] - |))). + Definition value_SIGNER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::AbilitySet" + [ + M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Drop_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |)) + ] + |))). Global Instance AssociatedConstant_value_SIGNER : - M.IsAssociatedConstant.Trait Self "value_SIGNER" value_SIGNER. + M.IsAssociatedFunction.C Self "SIGNER" value_SIGNER. Admitted. Global Typeclasses Opaque value_SIGNER. @@ -18430,40 +18498,52 @@ Module file_format. Self((Ability::Copy as u8) | (Ability::Drop as u8) | (Ability::Store as u8)); *) (* Ty.path "move_binary_format::file_format::AbilitySet" *) - Definition value_VECTOR : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::AbilitySet" - [ - BinOp.bit_or - (BinOp.bit_or - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Ability::Copy_discriminant", - Value.Integer IntegerKind.U8 0 - |))) - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Ability::Drop_discriminant", - Value.Integer IntegerKind.U8 0 - |)))) + Definition value_VECTOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::AbilitySet" + [ + BinOp.bit_or + (BinOp.bit_or (M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant "move_binary_format::file_format::Ability::Store_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Copy_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |))) - ] - |))). + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Drop_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |)))) + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Store_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |))) + ] + |))). Global Instance AssociatedConstant_value_VECTOR : - M.IsAssociatedConstant.Trait Self "value_VECTOR" value_VECTOR. + M.IsAssociatedFunction.C Self "VECTOR" value_VECTOR. Admitted. Global Typeclasses Opaque value_VECTOR. @@ -18477,48 +18557,63 @@ Module file_format. ); *) (* Ty.path "move_binary_format::file_format::AbilitySet" *) - Definition value_ALL : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_binary_format::file_format::AbilitySet" - [ - BinOp.bit_or + Definition value_ALL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_binary_format::file_format::AbilitySet" + [ + BinOp.bit_or + (BinOp.bit_or (BinOp.bit_or - (BinOp.bit_or - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| "move_binary_format::file_format::Ability::Copy_discriminant", - Value.Integer IntegerKind.U8 0 - |))) - (M.cast - (Ty.path "u8") - (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Ability::Drop_discriminant", - Value.Integer IntegerKind.U8 0 - |)))) + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |))) (M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format::Ability::Store_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Drop_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)))) (M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant "move_binary_format::file_format::Ability::Key_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Store_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 - |))) - ] - |))). + |)))) + (M.cast + (Ty.path "u8") + (BinOp.Wrap.add (| + M.read (| + get_constant (| + "move_binary_format::file_format::Ability::Key_discriminant", + Ty.path "u8" + |) + |), + Value.Integer IntegerKind.U8 0 + |))) + ] + |))). - Global Instance AssociatedConstant_value_ALL : - M.IsAssociatedConstant.Trait Self "value_ALL" value_ALL. + Global Instance AssociatedConstant_value_ALL : M.IsAssociatedFunction.C Self "ALL" value_ALL. Admitted. Global Typeclasses Opaque value_ALL. @@ -18539,7 +18634,7 @@ Module file_format. end. Global Instance AssociatedFunction_singleton : - M.IsAssociatedFunction.Trait Self "singleton" singleton. + M.IsAssociatedFunction.C Self "singleton" singleton. Admitted. Global Typeclasses Opaque singleton. @@ -18576,7 +18671,7 @@ Module file_format. end. Global Instance AssociatedFunction_has_ability : - M.IsAssociatedFunction.Trait Self "has_ability" has_ability. + M.IsAssociatedFunction.C Self "has_ability" has_ability. Admitted. Global Typeclasses Opaque has_ability. @@ -18606,8 +18701,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_has_copy : - M.IsAssociatedFunction.Trait Self "has_copy" has_copy. + Global Instance AssociatedFunction_has_copy : M.IsAssociatedFunction.C Self "has_copy" has_copy. Admitted. Global Typeclasses Opaque has_copy. @@ -18637,8 +18731,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_has_drop : - M.IsAssociatedFunction.Trait Self "has_drop" has_drop. + Global Instance AssociatedFunction_has_drop : M.IsAssociatedFunction.C Self "has_drop" has_drop. Admitted. Global Typeclasses Opaque has_drop. @@ -18669,7 +18762,7 @@ Module file_format. end. Global Instance AssociatedFunction_has_store : - M.IsAssociatedFunction.Trait Self "has_store" has_store. + M.IsAssociatedFunction.C Self "has_store" has_store. Admitted. Global Typeclasses Opaque has_store. @@ -18699,8 +18792,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_has_key : - M.IsAssociatedFunction.Trait Self "has_key" has_key. + Global Instance AssociatedFunction_has_key : M.IsAssociatedFunction.C Self "has_key" has_key. Admitted. Global Typeclasses Opaque has_key. @@ -18731,7 +18823,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_remove : M.IsAssociatedFunction.Trait Self "remove" remove. + Global Instance AssociatedFunction_remove : M.IsAssociatedFunction.C Self "remove" remove. Admitted. Global Typeclasses Opaque remove. @@ -18769,7 +18861,7 @@ Module file_format. end. Global Instance AssociatedFunction_intersect : - M.IsAssociatedFunction.Trait Self "intersect" intersect. + M.IsAssociatedFunction.C Self "intersect" intersect. Admitted. Global Typeclasses Opaque intersect. @@ -18806,7 +18898,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_union : M.IsAssociatedFunction.Trait Self "union" union. + Global Instance AssociatedFunction_union : M.IsAssociatedFunction.C Self "union" union. Admitted. Global Typeclasses Opaque union. @@ -18826,7 +18918,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_subset_bits : - M.IsAssociatedFunction.Trait Self "is_subset_bits" is_subset_bits. + M.IsAssociatedFunction.C Self "is_subset_bits" is_subset_bits. Admitted. Global Typeclasses Opaque is_subset_bits. @@ -18870,7 +18962,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_subset : - M.IsAssociatedFunction.Trait Self "is_subset" is_subset. + M.IsAssociatedFunction.C Self "is_subset" is_subset. Admitted. Global Typeclasses Opaque is_subset. @@ -19656,8 +19748,13 @@ Module file_format. ] |); M.read (| - M.get_constant - "move_binary_format::file_format::EMPTY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |); M.get_associated_function (| Ty.path @@ -19747,7 +19844,7 @@ Module file_format. end. Global Instance AssociatedFunction_polymorphic_abilities : - M.IsAssociatedFunction.Trait Self "polymorphic_abilities" polymorphic_abilities. + M.IsAssociatedFunction.C Self "polymorphic_abilities" polymorphic_abilities. Admitted. Global Typeclasses Opaque polymorphic_abilities. @@ -19795,7 +19892,11 @@ Module file_format. M.read (| byte |); M.read (| M.SubPointer.get_struct_tuple_field (| - M.get_constant "move_binary_format::file_format::ALL", + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "ALL", + Ty.path "move_binary_format::file_format::AbilitySet" + |), "move_binary_format::file_format::AbilitySet", 0 |) @@ -19821,8 +19922,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_u8 : - M.IsAssociatedFunction.Trait Self "from_u8" from_u8. + Global Instance AssociatedFunction_from_u8 : M.IsAssociatedFunction.C Self "from_u8" from_u8. Admitted. Global Typeclasses Opaque from_u8. @@ -19846,8 +19946,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_into_u8 : - M.IsAssociatedFunction.Trait Self "into_u8" into_u8. + Global Instance AssociatedFunction_into_u8 : M.IsAssociatedFunction.C Self "into_u8" into_u8. Admitted. Global Typeclasses Opaque into_u8. End Impl_move_binary_format_file_format_AbilitySet. @@ -25334,7 +25433,7 @@ Module file_format. end. Global Instance AssociatedFunction_signature_token_kind : - M.IsAssociatedFunction.Trait Self "signature_token_kind" signature_token_kind. + M.IsAssociatedFunction.C Self "signature_token_kind" signature_token_kind. Admitted. Global Typeclasses Opaque signature_token_kind. @@ -25539,7 +25638,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_integer : - M.IsAssociatedFunction.Trait Self "is_integer" is_integer. + M.IsAssociatedFunction.C Self "is_integer" is_integer. Admitted. Global Typeclasses Opaque is_integer. @@ -25601,7 +25700,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_reference : - M.IsAssociatedFunction.Trait Self "is_reference" is_reference. + M.IsAssociatedFunction.C Self "is_reference" is_reference. Admitted. Global Typeclasses Opaque is_reference. @@ -25640,7 +25739,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_mutable_reference : - M.IsAssociatedFunction.Trait Self "is_mutable_reference" is_mutable_reference. + M.IsAssociatedFunction.C Self "is_mutable_reference" is_mutable_reference. Admitted. Global Typeclasses Opaque is_mutable_reference. @@ -25678,7 +25777,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_signer : - M.IsAssociatedFunction.Trait Self "is_signer" is_signer. + M.IsAssociatedFunction.C Self "is_signer" is_signer. Admitted. Global Typeclasses Opaque is_signer. @@ -25899,7 +25998,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_valid_for_constant : - M.IsAssociatedFunction.Trait Self "is_valid_for_constant" is_valid_for_constant. + M.IsAssociatedFunction.C Self "is_valid_for_constant" is_valid_for_constant. Admitted. Global Typeclasses Opaque is_valid_for_constant. @@ -26187,7 +26286,7 @@ Module file_format. end. Global Instance AssociatedFunction_debug_set_sh_idx : - M.IsAssociatedFunction.Trait Self "debug_set_sh_idx" debug_set_sh_idx. + M.IsAssociatedFunction.C Self "debug_set_sh_idx" debug_set_sh_idx. Admitted. Global Typeclasses Opaque debug_set_sh_idx. @@ -26283,7 +26382,7 @@ Module file_format. end. Global Instance AssociatedFunction_preorder_traversal : - M.IsAssociatedFunction.Trait Self "preorder_traversal" preorder_traversal. + M.IsAssociatedFunction.C Self "preorder_traversal" preorder_traversal. Admitted. Global Typeclasses Opaque preorder_traversal. @@ -26413,10 +26512,7 @@ Module file_format. end. Global Instance AssociatedFunction_preorder_traversal_with_depth : - M.IsAssociatedFunction.Trait - Self - "preorder_traversal_with_depth" - preorder_traversal_with_depth. + M.IsAssociatedFunction.C Self "preorder_traversal_with_depth" preorder_traversal_with_depth. Admitted. Global Typeclasses Opaque preorder_traversal_with_depth. End Impl_move_binary_format_file_format_SignatureToken. @@ -30886,11 +30982,11 @@ Module file_format. (* VariantCount *) (* Ty.path "usize" *) - Definition value_VARIANT_COUNT : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 77 |))). + Definition value_VARIANT_COUNT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 77 |))). Global Instance AssociatedConstant_value_VARIANT_COUNT : - M.IsAssociatedConstant.Trait Self "value_VARIANT_COUNT" value_VARIANT_COUNT. + M.IsAssociatedFunction.C Self "VARIANT_COUNT" value_VARIANT_COUNT. Admitted. Global Typeclasses Opaque value_VARIANT_COUNT. (* @@ -30957,7 +31053,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_unconditional_branch : - M.IsAssociatedFunction.Trait Self "is_unconditional_branch" is_unconditional_branch. + M.IsAssociatedFunction.C Self "is_unconditional_branch" is_unconditional_branch. Admitted. Global Typeclasses Opaque is_unconditional_branch. @@ -31017,7 +31113,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_conditional_branch : - M.IsAssociatedFunction.Trait Self "is_conditional_branch" is_conditional_branch. + M.IsAssociatedFunction.C Self "is_conditional_branch" is_conditional_branch. Admitted. Global Typeclasses Opaque is_conditional_branch. @@ -31058,7 +31154,7 @@ Module file_format. end. Global Instance AssociatedFunction_is_branch : - M.IsAssociatedFunction.Trait Self "is_branch" is_branch. + M.IsAssociatedFunction.C Self "is_branch" is_branch. Admitted. Global Typeclasses Opaque is_branch. @@ -31151,7 +31247,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_offset : M.IsAssociatedFunction.Trait Self "offset" offset. + Global Instance AssociatedFunction_offset : M.IsAssociatedFunction.C Self "offset" offset. Admitted. Global Typeclasses Opaque offset. @@ -31211,7 +31307,13 @@ Module file_format. LogicalOp.and (| BinOp.lt (| M.read (| pc |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u16", + "MAX", + Ty.path "u16" + |) + |) |), ltac:(M.monadic (BinOp.lt (| @@ -31651,7 +31753,7 @@ Module file_format. end. Global Instance AssociatedFunction_get_successors : - M.IsAssociatedFunction.Trait Self "get_successors" get_successors. + M.IsAssociatedFunction.C Self "get_successors" get_successors. Admitted. Global Typeclasses Opaque get_successors. End Impl_move_binary_format_file_format_Bytecode. @@ -42445,7 +42547,7 @@ Module file_format. end. Global Instance AssociatedFunction_kind_count : - M.IsAssociatedFunction.Trait Self "kind_count" kind_count. + M.IsAssociatedFunction.C Self "kind_count" kind_count. Admitted. Global Typeclasses Opaque kind_count. @@ -42470,7 +42572,7 @@ Module file_format. end. Global Instance AssociatedFunction_self_handle_idx : - M.IsAssociatedFunction.Trait Self "self_handle_idx" self_handle_idx. + M.IsAssociatedFunction.C Self "self_handle_idx" self_handle_idx. Admitted. Global Typeclasses Opaque self_handle_idx. @@ -42719,7 +42821,7 @@ Module file_format. end. Global Instance AssociatedFunction_self_handle : - M.IsAssociatedFunction.Trait Self "self_handle" self_handle. + M.IsAssociatedFunction.C Self "self_handle" self_handle. Admitted. Global Typeclasses Opaque self_handle. @@ -42774,7 +42876,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -42832,8 +42934,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_address : - M.IsAssociatedFunction.Trait Self "address" address. + Global Instance AssociatedFunction_address : M.IsAssociatedFunction.C Self "address" address. Admitted. Global Typeclasses Opaque address. @@ -42934,7 +43035,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_name : - M.IsAssociatedFunction.Trait Self "struct_name" struct_name. + M.IsAssociatedFunction.C Self "struct_name" struct_name. Admitted. Global Typeclasses Opaque struct_name. @@ -43208,7 +43309,7 @@ Module file_format. end. Global Instance AssociatedFunction_module_handle_at : - M.IsAssociatedFunction.Trait Self "module_handle_at" module_handle_at. + M.IsAssociatedFunction.C Self "module_handle_at" module_handle_at. Admitted. Global Typeclasses Opaque module_handle_at. @@ -43385,7 +43486,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_handle_at : - M.IsAssociatedFunction.Trait Self "struct_handle_at" struct_handle_at. + M.IsAssociatedFunction.C Self "struct_handle_at" struct_handle_at. Admitted. Global Typeclasses Opaque struct_handle_at. @@ -43660,7 +43761,7 @@ Module file_format. end. Global Instance AssociatedFunction_function_handle_at : - M.IsAssociatedFunction.Trait Self "function_handle_at" function_handle_at. + M.IsAssociatedFunction.C Self "function_handle_at" function_handle_at. Admitted. Global Typeclasses Opaque function_handle_at. @@ -43837,7 +43938,7 @@ Module file_format. end. Global Instance AssociatedFunction_field_handle_at : - M.IsAssociatedFunction.Trait Self "field_handle_at" field_handle_at. + M.IsAssociatedFunction.C Self "field_handle_at" field_handle_at. Admitted. Global Typeclasses Opaque field_handle_at. @@ -43913,7 +44014,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_instantiation_at : - M.IsAssociatedFunction.Trait Self "struct_instantiation_at" struct_instantiation_at. + M.IsAssociatedFunction.C Self "struct_instantiation_at" struct_instantiation_at. Admitted. Global Typeclasses Opaque struct_instantiation_at. @@ -43993,7 +44094,7 @@ Module file_format. end. Global Instance AssociatedFunction_function_instantiation_at : - M.IsAssociatedFunction.Trait Self "function_instantiation_at" function_instantiation_at. + M.IsAssociatedFunction.C Self "function_instantiation_at" function_instantiation_at. Admitted. Global Typeclasses Opaque function_instantiation_at. @@ -44066,7 +44167,7 @@ Module file_format. end. Global Instance AssociatedFunction_field_instantiation_at : - M.IsAssociatedFunction.Trait Self "field_instantiation_at" field_instantiation_at. + M.IsAssociatedFunction.C Self "field_instantiation_at" field_instantiation_at. Admitted. Global Typeclasses Opaque field_instantiation_at. @@ -44139,7 +44240,7 @@ Module file_format. end. Global Instance AssociatedFunction_signature_at : - M.IsAssociatedFunction.Trait Self "signature_at" signature_at. + M.IsAssociatedFunction.C Self "signature_at" signature_at. Admitted. Global Typeclasses Opaque signature_at. @@ -44231,7 +44332,7 @@ Module file_format. end. Global Instance AssociatedFunction_identifier_at : - M.IsAssociatedFunction.Trait Self "identifier_at" identifier_at. + M.IsAssociatedFunction.C Self "identifier_at" identifier_at. Admitted. Global Typeclasses Opaque identifier_at. @@ -44304,7 +44405,7 @@ Module file_format. end. Global Instance AssociatedFunction_address_identifier_at : - M.IsAssociatedFunction.Trait Self "address_identifier_at" address_identifier_at. + M.IsAssociatedFunction.C Self "address_identifier_at" address_identifier_at. Admitted. Global Typeclasses Opaque address_identifier_at. @@ -44377,7 +44478,7 @@ Module file_format. end. Global Instance AssociatedFunction_constant_at : - M.IsAssociatedFunction.Trait Self "constant_at" constant_at. + M.IsAssociatedFunction.C Self "constant_at" constant_at. Admitted. Global Typeclasses Opaque constant_at. @@ -44450,7 +44551,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_def_at : - M.IsAssociatedFunction.Trait Self "struct_def_at" struct_def_at. + M.IsAssociatedFunction.C Self "struct_def_at" struct_def_at. Admitted. Global Typeclasses Opaque struct_def_at. @@ -44815,7 +44916,7 @@ Module file_format. end. Global Instance AssociatedFunction_function_def_at : - M.IsAssociatedFunction.Trait Self "function_def_at" function_def_at. + M.IsAssociatedFunction.C Self "function_def_at" function_def_at. Admitted. Global Typeclasses Opaque function_def_at. @@ -44879,7 +44980,7 @@ Module file_format. end. Global Instance AssociatedFunction_module_handles : - M.IsAssociatedFunction.Trait Self "module_handles" module_handles. + M.IsAssociatedFunction.C Self "module_handles" module_handles. Admitted. Global Typeclasses Opaque module_handles. @@ -44943,7 +45044,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_handles : - M.IsAssociatedFunction.Trait Self "struct_handles" struct_handles. + M.IsAssociatedFunction.C Self "struct_handles" struct_handles. Admitted. Global Typeclasses Opaque struct_handles. @@ -45007,7 +45108,7 @@ Module file_format. end. Global Instance AssociatedFunction_function_handles : - M.IsAssociatedFunction.Trait Self "function_handles" function_handles. + M.IsAssociatedFunction.C Self "function_handles" function_handles. Admitted. Global Typeclasses Opaque function_handles. @@ -45071,7 +45172,7 @@ Module file_format. end. Global Instance AssociatedFunction_field_handles : - M.IsAssociatedFunction.Trait Self "field_handles" field_handles. + M.IsAssociatedFunction.C Self "field_handles" field_handles. Admitted. Global Typeclasses Opaque field_handles. @@ -45135,7 +45236,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_instantiations : - M.IsAssociatedFunction.Trait Self "struct_instantiations" struct_instantiations. + M.IsAssociatedFunction.C Self "struct_instantiations" struct_instantiations. Admitted. Global Typeclasses Opaque struct_instantiations. @@ -45199,7 +45300,7 @@ Module file_format. end. Global Instance AssociatedFunction_function_instantiations : - M.IsAssociatedFunction.Trait Self "function_instantiations" function_instantiations. + M.IsAssociatedFunction.C Self "function_instantiations" function_instantiations. Admitted. Global Typeclasses Opaque function_instantiations. @@ -45263,7 +45364,7 @@ Module file_format. end. Global Instance AssociatedFunction_field_instantiations : - M.IsAssociatedFunction.Trait Self "field_instantiations" field_instantiations. + M.IsAssociatedFunction.C Self "field_instantiations" field_instantiations. Admitted. Global Typeclasses Opaque field_instantiations. @@ -45327,7 +45428,7 @@ Module file_format. end. Global Instance AssociatedFunction_signatures : - M.IsAssociatedFunction.Trait Self "signatures" signatures. + M.IsAssociatedFunction.C Self "signatures" signatures. Admitted. Global Typeclasses Opaque signatures. @@ -45391,7 +45492,7 @@ Module file_format. end. Global Instance AssociatedFunction_constant_pool : - M.IsAssociatedFunction.Trait Self "constant_pool" constant_pool. + M.IsAssociatedFunction.C Self "constant_pool" constant_pool. Admitted. Global Typeclasses Opaque constant_pool. @@ -45455,7 +45556,7 @@ Module file_format. end. Global Instance AssociatedFunction_identifiers : - M.IsAssociatedFunction.Trait Self "identifiers" identifiers. + M.IsAssociatedFunction.C Self "identifiers" identifiers. Admitted. Global Typeclasses Opaque identifiers. @@ -45519,7 +45620,7 @@ Module file_format. end. Global Instance AssociatedFunction_address_identifiers : - M.IsAssociatedFunction.Trait Self "address_identifiers" address_identifiers. + M.IsAssociatedFunction.C Self "address_identifiers" address_identifiers. Admitted. Global Typeclasses Opaque address_identifiers. @@ -45583,7 +45684,7 @@ Module file_format. end. Global Instance AssociatedFunction_struct_defs : - M.IsAssociatedFunction.Trait Self "struct_defs" struct_defs. + M.IsAssociatedFunction.C Self "struct_defs" struct_defs. Admitted. Global Typeclasses Opaque struct_defs. @@ -45647,7 +45748,7 @@ Module file_format. end. Global Instance AssociatedFunction_function_defs : - M.IsAssociatedFunction.Trait Self "function_defs" function_defs. + M.IsAssociatedFunction.C Self "function_defs" function_defs. Admitted. Global Typeclasses Opaque function_defs. @@ -45711,7 +45812,7 @@ Module file_format. end. Global Instance AssociatedFunction_friend_decls : - M.IsAssociatedFunction.Trait Self "friend_decls" friend_decls. + M.IsAssociatedFunction.C Self "friend_decls" friend_decls. Admitted. Global Typeclasses Opaque friend_decls. @@ -45735,8 +45836,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_version : - M.IsAssociatedFunction.Trait Self "version" version. + Global Instance AssociatedFunction_version : M.IsAssociatedFunction.C Self "version" version. Admitted. Global Typeclasses Opaque version. @@ -46167,7 +46267,7 @@ Module file_format. end. Global Instance AssociatedFunction_immediate_dependencies : - M.IsAssociatedFunction.Trait Self "immediate_dependencies" immediate_dependencies. + M.IsAssociatedFunction.C Self "immediate_dependencies" immediate_dependencies. Admitted. Global Typeclasses Opaque immediate_dependencies. @@ -46372,7 +46472,7 @@ Module file_format. end. Global Instance AssociatedFunction_immediate_friends : - M.IsAssociatedFunction.Trait Self "immediate_friends" immediate_friends. + M.IsAssociatedFunction.C Self "immediate_friends" immediate_friends. Admitted. Global Typeclasses Opaque immediate_friends. @@ -46538,7 +46638,7 @@ Module file_format. end. Global Instance AssociatedFunction_find_struct_def : - M.IsAssociatedFunction.Trait Self "find_struct_def" find_struct_def. + M.IsAssociatedFunction.C Self "find_struct_def" find_struct_def. Admitted. Global Typeclasses Opaque find_struct_def. @@ -46777,7 +46877,7 @@ Module file_format. end. Global Instance AssociatedFunction_find_struct_def_by_name : - M.IsAssociatedFunction.Trait Self "find_struct_def_by_name" find_struct_def_by_name. + M.IsAssociatedFunction.C Self "find_struct_def_by_name" find_struct_def_by_name. Admitted. Global Typeclasses Opaque find_struct_def_by_name. @@ -46930,8 +47030,11 @@ Module file_format. "core::result::Result::Ok" [ M.read (| - M.get_constant - "move_binary_format::file_format::PRIMITIVES" + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "PRIMITIVES", + Ty.path "move_binary_format::file_format::AbilitySet" + |) |) ] |))) @@ -46974,8 +47077,11 @@ Module file_format. "core::result::Result::Ok" [ M.read (| - M.get_constant - "move_binary_format::file_format::REFERENCES" + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "REFERENCES", + Ty.path "move_binary_format::file_format::AbilitySet" + |) |) ] |))) @@ -46993,7 +47099,14 @@ Module file_format. M.alloc (| Value.StructTuple "core::result::Result::Ok" - [ M.read (| M.get_constant "move_binary_format::file_format::SIGNER" |) + [ + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "SIGNER", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |) ] |))); fun γ => @@ -47058,7 +47171,13 @@ Module file_format. ] |), [ - M.read (| M.get_constant "move_binary_format::file_format::VECTOR" |); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "VECTOR", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |); M.call_closure (| Ty.apply (Ty.path "alloc::vec::Vec") @@ -48103,7 +48222,7 @@ Module file_format. end. Global Instance AssociatedFunction_abilities : - M.IsAssociatedFunction.Trait Self "abilities" abilities. + M.IsAssociatedFunction.C Self "abilities" abilities. Admitted. Global Typeclasses Opaque abilities. @@ -48203,7 +48322,7 @@ Module file_format. end. Global Instance AssociatedFunction_module_id_for_handle : - M.IsAssociatedFunction.Trait Self "module_id_for_handle" module_id_for_handle. + M.IsAssociatedFunction.C Self "module_id_for_handle" module_id_for_handle. Admitted. Global Typeclasses Opaque module_id_for_handle. @@ -48250,8 +48369,7 @@ Module file_format. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_self_id : - M.IsAssociatedFunction.Trait Self "self_id" self_id. + Global Instance AssociatedFunction_self_id : M.IsAssociatedFunction.C Self "self_id" self_id. Admitted. Global Typeclasses Opaque self_id. End Impl_move_binary_format_file_format_CompiledModule. @@ -48290,7 +48408,12 @@ Module file_format. "move_binary_format::file_format::CompiledModule" [ ("version", - M.read (| M.get_constant "move_binary_format::file_format_common::VERSION_MAX" |)); + M.read (| + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) + |)); ("module_handles", M.call_closure (| Ty.apply @@ -48501,7 +48624,15 @@ Module file_format. [ M.alloc (| Value.Array - [ M.read (| M.get_constant "move_core_types::account_address::ZERO" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "ZERO", + Ty.path "move_core_types::account_address::AccountAddress" + |) + |) + ] |) ] |) @@ -48844,7 +48975,7 @@ Module file_format. end. Global Instance Instance_IsFunction_empty_module : - M.IsFunction.Trait "move_binary_format::file_format::empty_module" empty_module. + M.IsFunction.C "move_binary_format::file_format::empty_module" empty_module. Admitted. Global Typeclasses Opaque empty_module. @@ -49288,7 +49419,13 @@ Module file_format. |)) ]); ("abilities", - M.read (| M.get_constant "move_binary_format::file_format::EMPTY" |)); + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |)); ("type_parameters", M.call_closure (| Ty.apply @@ -49616,7 +49753,7 @@ Module file_format. end. Global Instance Instance_IsFunction_basic_test_module : - M.IsFunction.Trait "move_binary_format::file_format::basic_test_module" basic_test_module. + M.IsFunction.C "move_binary_format::file_format::basic_test_module" basic_test_module. Admitted. Global Typeclasses Opaque basic_test_module. End file_format. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/file_format_common.v b/CoqOfRust/move_sui/translations/move_binary_format/file_format_common.v index e4731e1f0..6c29280fe 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/file_format_common.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/file_format_common.v @@ -17,11 +17,11 @@ Module file_format_common. (* pub const MOVE_MAGIC_SIZE: usize = 4; *) (* Ty.path "usize" *) - Definition value_MOVE_MAGIC_SIZE : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). + Definition value_MOVE_MAGIC_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 4 |))). Global Instance AssociatedConstant_value_MOVE_MAGIC_SIZE : - M.IsAssociatedConstant.Trait Self "value_MOVE_MAGIC_SIZE" value_MOVE_MAGIC_SIZE. + M.IsAssociatedFunction.C Self "MOVE_MAGIC_SIZE" value_MOVE_MAGIC_SIZE. Admitted. Global Typeclasses Opaque value_MOVE_MAGIC_SIZE. @@ -30,330 +30,469 @@ Module file_format_common. (Ty.path "array") [ M.unevaluated_const - (M.get_constant "move_binary_format::file_format_common::MOVE_MAGIC_discriminant") + (mk_str (| "move_binary_format_file_format_common_MOVE_MAGIC_discriminant" |)) ] [ Ty.path "u8" ] *) - Definition value_MOVE_MAGIC : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U8 161; - Value.Integer IntegerKind.U8 28; - Value.Integer IntegerKind.U8 235; - Value.Integer IntegerKind.U8 11 - ] - |))). + Definition value_MOVE_MAGIC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U8 161; + Value.Integer IntegerKind.U8 28; + Value.Integer IntegerKind.U8 235; + Value.Integer IntegerKind.U8 11 + ] + |))). Global Instance AssociatedConstant_value_MOVE_MAGIC : - M.IsAssociatedConstant.Trait Self "value_MOVE_MAGIC" value_MOVE_MAGIC. + M.IsAssociatedFunction.C Self "MOVE_MAGIC" value_MOVE_MAGIC. Admitted. Global Typeclasses Opaque value_MOVE_MAGIC. (* pub const HEADER_SIZE: usize = BinaryConstants::MOVE_MAGIC_SIZE + 5; *) (* Ty.path "usize" *) - Definition value_HEADER_SIZE : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.add (| - M.read (| M.get_constant "move_binary_format::file_format_common::MOVE_MAGIC_SIZE" |), - Value.Integer IntegerKind.Usize 5 - |) - |))). + Definition value_HEADER_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.add (| + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format_common::BinaryConstants", + "MOVE_MAGIC_SIZE", + Ty.path "usize" + |) + |), + Value.Integer IntegerKind.Usize 5 + |) + |))). Global Instance AssociatedConstant_value_HEADER_SIZE : - M.IsAssociatedConstant.Trait Self "value_HEADER_SIZE" value_HEADER_SIZE. + M.IsAssociatedFunction.C Self "HEADER_SIZE" value_HEADER_SIZE. Admitted. Global Typeclasses Opaque value_HEADER_SIZE. (* pub const TABLE_HEADER_SIZE: u8 = size_of::() as u8 * 2 + 1; *) (* Ty.path "u8" *) - Definition value_TABLE_HEADER_SIZE : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.add (| - BinOp.Wrap.mul (| - M.cast - (Ty.path "u8") - (M.call_closure (| - Ty.path "usize", - M.get_function (| "core::mem::size_of", [], [ Ty.path "u32" ] |), - [] - |)), - Value.Integer IntegerKind.U8 2 - |), - Value.Integer IntegerKind.U8 1 - |) - |))). + Definition value_TABLE_HEADER_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.add (| + BinOp.Wrap.mul (| + M.cast + (Ty.path "u8") + (M.call_closure (| + Ty.path "usize", + M.get_function (| "core::mem::size_of", [], [ Ty.path "u32" ] |), + [] + |)), + Value.Integer IntegerKind.U8 2 + |), + Value.Integer IntegerKind.U8 1 + |) + |))). Global Instance AssociatedConstant_value_TABLE_HEADER_SIZE : - M.IsAssociatedConstant.Trait Self "value_TABLE_HEADER_SIZE" value_TABLE_HEADER_SIZE. + M.IsAssociatedFunction.C Self "TABLE_HEADER_SIZE" value_TABLE_HEADER_SIZE. Admitted. Global Typeclasses Opaque value_TABLE_HEADER_SIZE. End Impl_move_binary_format_file_format_common_BinaryConstants. - Definition value_TABLE_COUNT_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + Definition value_TABLE_COUNT_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - Axiom Constant_value_TABLE_COUNT_MAX : - (M.get_constant "move_binary_format::file_format_common::TABLE_COUNT_MAX") = - value_TABLE_COUNT_MAX. - Global Hint Rewrite Constant_value_TABLE_COUNT_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_TABLE_COUNT_MAX : + M.IsFunction.C "move_binary_format::file_format_common::TABLE_COUNT_MAX" value_TABLE_COUNT_MAX. + Admitted. + Global Typeclasses Opaque value_TABLE_COUNT_MAX. - Definition value_TABLE_OFFSET_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967295 |))). + Definition value_TABLE_OFFSET_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967295 |))). - Axiom Constant_value_TABLE_OFFSET_MAX : - (M.get_constant "move_binary_format::file_format_common::TABLE_OFFSET_MAX") = + Global Instance Instance_IsConstant_value_TABLE_OFFSET_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::TABLE_OFFSET_MAX" value_TABLE_OFFSET_MAX. - Global Hint Rewrite Constant_value_TABLE_OFFSET_MAX : constant_rewrites. - - Definition value_TABLE_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967295 |))). - - Axiom Constant_value_TABLE_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::TABLE_SIZE_MAX") = - value_TABLE_SIZE_MAX. - Global Hint Rewrite Constant_value_TABLE_SIZE_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TABLE_OFFSET_MAX. - Definition value_TABLE_CONTENT_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967295 |))). + Definition value_TABLE_SIZE_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967295 |))). - Axiom Constant_value_TABLE_CONTENT_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::TABLE_CONTENT_SIZE_MAX") = + Global Instance Instance_IsConstant_value_TABLE_SIZE_MAX : + M.IsFunction.C "move_binary_format::file_format_common::TABLE_SIZE_MAX" value_TABLE_SIZE_MAX. + Admitted. + Global Typeclasses Opaque value_TABLE_SIZE_MAX. + + Definition value_TABLE_CONTENT_SIZE_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4294967295 |))). + + Global Instance Instance_IsConstant_value_TABLE_CONTENT_SIZE_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::TABLE_CONTENT_SIZE_MAX" value_TABLE_CONTENT_SIZE_MAX. - Global Hint Rewrite Constant_value_TABLE_CONTENT_SIZE_MAX : constant_rewrites. - - Definition value_TABLE_INDEX_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - - Axiom Constant_value_TABLE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX") = - value_TABLE_INDEX_MAX. - Global Hint Rewrite Constant_value_TABLE_INDEX_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TABLE_CONTENT_SIZE_MAX. - Definition value_SIGNATURE_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). + Definition value_TABLE_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - Axiom Constant_value_SIGNATURE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::SIGNATURE_INDEX_MAX") = + Global Instance Instance_IsConstant_value_TABLE_INDEX_MAX : + M.IsFunction.C "move_binary_format::file_format_common::TABLE_INDEX_MAX" value_TABLE_INDEX_MAX. + Admitted. + Global Typeclasses Opaque value_TABLE_INDEX_MAX. + + Definition value_SIGNATURE_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_SIGNATURE_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::SIGNATURE_INDEX_MAX" value_SIGNATURE_INDEX_MAX. - Global Hint Rewrite Constant_value_SIGNATURE_INDEX_MAX : constant_rewrites. - - Definition value_ADDRESS_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_ADDRESS_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::ADDRESS_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_SIGNATURE_INDEX_MAX. + + Definition value_ADDRESS_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_ADDRESS_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::ADDRESS_INDEX_MAX" value_ADDRESS_INDEX_MAX. - Global Hint Rewrite Constant_value_ADDRESS_INDEX_MAX : constant_rewrites. - - Definition value_IDENTIFIER_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_IDENTIFIER_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::IDENTIFIER_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_ADDRESS_INDEX_MAX. + + Definition value_IDENTIFIER_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_IDENTIFIER_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::IDENTIFIER_INDEX_MAX" value_IDENTIFIER_INDEX_MAX. - Global Hint Rewrite Constant_value_IDENTIFIER_INDEX_MAX : constant_rewrites. - - Definition value_MODULE_HANDLE_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_MODULE_HANDLE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::MODULE_HANDLE_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_IDENTIFIER_INDEX_MAX. + + Definition value_MODULE_HANDLE_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_MODULE_HANDLE_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::MODULE_HANDLE_INDEX_MAX" value_MODULE_HANDLE_INDEX_MAX. - Global Hint Rewrite Constant_value_MODULE_HANDLE_INDEX_MAX : constant_rewrites. - - Definition value_STRUCT_HANDLE_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_STRUCT_HANDLE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::STRUCT_HANDLE_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_MODULE_HANDLE_INDEX_MAX. + + Definition value_STRUCT_HANDLE_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_STRUCT_HANDLE_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::STRUCT_HANDLE_INDEX_MAX" value_STRUCT_HANDLE_INDEX_MAX. - Global Hint Rewrite Constant_value_STRUCT_HANDLE_INDEX_MAX : constant_rewrites. - - Definition value_STRUCT_DEF_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_STRUCT_DEF_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::STRUCT_DEF_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_STRUCT_HANDLE_INDEX_MAX. + + Definition value_STRUCT_DEF_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_STRUCT_DEF_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::STRUCT_DEF_INDEX_MAX" value_STRUCT_DEF_INDEX_MAX. - Global Hint Rewrite Constant_value_STRUCT_DEF_INDEX_MAX : constant_rewrites. - - Definition value_FUNCTION_HANDLE_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_FUNCTION_HANDLE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::FUNCTION_HANDLE_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_STRUCT_DEF_INDEX_MAX. + + Definition value_FUNCTION_HANDLE_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_FUNCTION_HANDLE_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::FUNCTION_HANDLE_INDEX_MAX" value_FUNCTION_HANDLE_INDEX_MAX. - Global Hint Rewrite Constant_value_FUNCTION_HANDLE_INDEX_MAX : constant_rewrites. - - Definition value_FUNCTION_INST_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_FUNCTION_INST_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::FUNCTION_INST_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_FUNCTION_HANDLE_INDEX_MAX. + + Definition value_FUNCTION_INST_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_FUNCTION_INST_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::FUNCTION_INST_INDEX_MAX" value_FUNCTION_INST_INDEX_MAX. - Global Hint Rewrite Constant_value_FUNCTION_INST_INDEX_MAX : constant_rewrites. - - Definition value_FIELD_HANDLE_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_FIELD_HANDLE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::FIELD_HANDLE_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_FUNCTION_INST_INDEX_MAX. + + Definition value_FIELD_HANDLE_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_FIELD_HANDLE_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::FIELD_HANDLE_INDEX_MAX" value_FIELD_HANDLE_INDEX_MAX. - Global Hint Rewrite Constant_value_FIELD_HANDLE_INDEX_MAX : constant_rewrites. - - Definition value_FIELD_INST_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_FIELD_INST_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::FIELD_INST_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_FIELD_HANDLE_INDEX_MAX. + + Definition value_FIELD_INST_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_FIELD_INST_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::FIELD_INST_INDEX_MAX" value_FIELD_INST_INDEX_MAX. - Global Hint Rewrite Constant_value_FIELD_INST_INDEX_MAX : constant_rewrites. - - Definition value_STRUCT_DEF_INST_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_STRUCT_DEF_INST_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::STRUCT_DEF_INST_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_FIELD_INST_INDEX_MAX. + + Definition value_STRUCT_DEF_INST_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_STRUCT_DEF_INST_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::STRUCT_DEF_INST_INDEX_MAX" value_STRUCT_DEF_INST_INDEX_MAX. - Global Hint Rewrite Constant_value_STRUCT_DEF_INST_INDEX_MAX : constant_rewrites. - - Definition value_CONSTANT_INDEX_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::TABLE_INDEX_MAX")). - - Axiom Constant_value_CONSTANT_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::CONSTANT_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_STRUCT_DEF_INST_INDEX_MAX. + + Definition value_CONSTANT_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| + "move_binary_format::file_format_common::TABLE_INDEX_MAX", + Ty.path "u64" + |))). + + Global Instance Instance_IsConstant_value_CONSTANT_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::CONSTANT_INDEX_MAX" value_CONSTANT_INDEX_MAX. - Global Hint Rewrite Constant_value_CONSTANT_INDEX_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_CONSTANT_INDEX_MAX. - Definition value_BYTECODE_COUNT_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). + Definition value_BYTECODE_COUNT_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - Axiom Constant_value_BYTECODE_COUNT_MAX : - (M.get_constant "move_binary_format::file_format_common::BYTECODE_COUNT_MAX") = + Global Instance Instance_IsConstant_value_BYTECODE_COUNT_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::BYTECODE_COUNT_MAX" value_BYTECODE_COUNT_MAX. - Global Hint Rewrite Constant_value_BYTECODE_COUNT_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BYTECODE_COUNT_MAX. - Definition value_BYTECODE_INDEX_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). + Definition value_BYTECODE_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - Axiom Constant_value_BYTECODE_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::BYTECODE_INDEX_MAX") = + Global Instance Instance_IsConstant_value_BYTECODE_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::BYTECODE_INDEX_MAX" value_BYTECODE_INDEX_MAX. - Global Hint Rewrite Constant_value_BYTECODE_INDEX_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BYTECODE_INDEX_MAX. - Definition value_LOCAL_INDEX_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + Definition value_LOCAL_INDEX_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - Axiom Constant_value_LOCAL_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::LOCAL_INDEX_MAX") = - value_LOCAL_INDEX_MAX. - Global Hint Rewrite Constant_value_LOCAL_INDEX_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_LOCAL_INDEX_MAX : + M.IsFunction.C "move_binary_format::file_format_common::LOCAL_INDEX_MAX" value_LOCAL_INDEX_MAX. + Admitted. + Global Typeclasses Opaque value_LOCAL_INDEX_MAX. - Definition value_IDENTIFIER_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). + Definition value_IDENTIFIER_SIZE_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - Axiom Constant_value_IDENTIFIER_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::IDENTIFIER_SIZE_MAX") = + Global Instance Instance_IsConstant_value_IDENTIFIER_SIZE_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::IDENTIFIER_SIZE_MAX" value_IDENTIFIER_SIZE_MAX. - Global Hint Rewrite Constant_value_IDENTIFIER_SIZE_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_IDENTIFIER_SIZE_MAX. - Definition value_CONSTANT_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). + Definition value_CONSTANT_SIZE_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - Axiom Constant_value_CONSTANT_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::CONSTANT_SIZE_MAX") = + Global Instance Instance_IsConstant_value_CONSTANT_SIZE_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::CONSTANT_SIZE_MAX" value_CONSTANT_SIZE_MAX. - Global Hint Rewrite Constant_value_CONSTANT_SIZE_MAX : constant_rewrites. - - Definition value_METADATA_KEY_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1023 |))). - - Axiom Constant_value_METADATA_KEY_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::METADATA_KEY_SIZE_MAX") = + Admitted. + Global Typeclasses Opaque value_CONSTANT_SIZE_MAX. + + Definition value_METADATA_KEY_SIZE_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1023 |))). + + Global Instance Instance_IsConstant_value_METADATA_KEY_SIZE_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::METADATA_KEY_SIZE_MAX" value_METADATA_KEY_SIZE_MAX. - Global Hint Rewrite Constant_value_METADATA_KEY_SIZE_MAX : constant_rewrites. - - Definition value_METADATA_VALUE_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). - - Axiom Constant_value_METADATA_VALUE_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::METADATA_VALUE_SIZE_MAX") = + Admitted. + Global Typeclasses Opaque value_METADATA_KEY_SIZE_MAX. + + Definition value_METADATA_VALUE_SIZE_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65535 |))). + + Global Instance Instance_IsConstant_value_METADATA_VALUE_SIZE_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::METADATA_VALUE_SIZE_MAX" value_METADATA_VALUE_SIZE_MAX. - Global Hint Rewrite Constant_value_METADATA_VALUE_SIZE_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_METADATA_VALUE_SIZE_MAX. - Definition value_SIGNATURE_SIZE_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + Definition value_SIGNATURE_SIZE_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - Axiom Constant_value_SIGNATURE_SIZE_MAX : - (M.get_constant "move_binary_format::file_format_common::SIGNATURE_SIZE_MAX") = + Global Instance Instance_IsConstant_value_SIGNATURE_SIZE_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::SIGNATURE_SIZE_MAX" value_SIGNATURE_SIZE_MAX. - Global Hint Rewrite Constant_value_SIGNATURE_SIZE_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SIGNATURE_SIZE_MAX. - Definition value_ACQUIRES_COUNT_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + Definition value_ACQUIRES_COUNT_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - Axiom Constant_value_ACQUIRES_COUNT_MAX : - (M.get_constant "move_binary_format::file_format_common::ACQUIRES_COUNT_MAX") = + Global Instance Instance_IsConstant_value_ACQUIRES_COUNT_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::ACQUIRES_COUNT_MAX" value_ACQUIRES_COUNT_MAX. - Global Hint Rewrite Constant_value_ACQUIRES_COUNT_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ACQUIRES_COUNT_MAX. - Definition value_FIELD_COUNT_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + Definition value_FIELD_COUNT_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - Axiom Constant_value_FIELD_COUNT_MAX : - (M.get_constant "move_binary_format::file_format_common::FIELD_COUNT_MAX") = - value_FIELD_COUNT_MAX. - Global Hint Rewrite Constant_value_FIELD_COUNT_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_FIELD_COUNT_MAX : + M.IsFunction.C "move_binary_format::file_format_common::FIELD_COUNT_MAX" value_FIELD_COUNT_MAX. + Admitted. + Global Typeclasses Opaque value_FIELD_COUNT_MAX. - Definition value_FIELD_OFFSET_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + Definition value_FIELD_OFFSET_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - Axiom Constant_value_FIELD_OFFSET_MAX : - (M.get_constant "move_binary_format::file_format_common::FIELD_OFFSET_MAX") = + Global Instance Instance_IsConstant_value_FIELD_OFFSET_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::FIELD_OFFSET_MAX" value_FIELD_OFFSET_MAX. - Global Hint Rewrite Constant_value_FIELD_OFFSET_MAX : constant_rewrites. - - Definition value_TYPE_PARAMETER_COUNT_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). - - Axiom Constant_value_TYPE_PARAMETER_COUNT_MAX : - (M.get_constant "move_binary_format::file_format_common::TYPE_PARAMETER_COUNT_MAX") = + Admitted. + Global Typeclasses Opaque value_FIELD_OFFSET_MAX. + + Definition value_TYPE_PARAMETER_COUNT_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 255 |))). + + Global Instance Instance_IsConstant_value_TYPE_PARAMETER_COUNT_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::TYPE_PARAMETER_COUNT_MAX" value_TYPE_PARAMETER_COUNT_MAX. - Global Hint Rewrite Constant_value_TYPE_PARAMETER_COUNT_MAX : constant_rewrites. - - Definition value_TYPE_PARAMETER_INDEX_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65536 |))). - - Axiom Constant_value_TYPE_PARAMETER_INDEX_MAX : - (M.get_constant "move_binary_format::file_format_common::TYPE_PARAMETER_INDEX_MAX") = + Admitted. + Global Typeclasses Opaque value_TYPE_PARAMETER_COUNT_MAX. + + Definition value_TYPE_PARAMETER_INDEX_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65536 |))). + + Global Instance Instance_IsConstant_value_TYPE_PARAMETER_INDEX_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::TYPE_PARAMETER_INDEX_MAX" value_TYPE_PARAMETER_INDEX_MAX. - Global Hint Rewrite Constant_value_TYPE_PARAMETER_INDEX_MAX : constant_rewrites. - - Definition value_SIGNATURE_TOKEN_DEPTH_MAX : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - - Axiom Constant_value_SIGNATURE_TOKEN_DEPTH_MAX : - (M.get_constant "move_binary_format::file_format_common::SIGNATURE_TOKEN_DEPTH_MAX") = + Admitted. + Global Typeclasses Opaque value_TYPE_PARAMETER_INDEX_MAX. + + Definition value_SIGNATURE_TOKEN_DEPTH_MAX + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + + Global Instance Instance_IsConstant_value_SIGNATURE_TOKEN_DEPTH_MAX : + M.IsFunction.C + "move_binary_format::file_format_common::SIGNATURE_TOKEN_DEPTH_MAX" value_SIGNATURE_TOKEN_DEPTH_MAX. - Global Hint Rewrite Constant_value_SIGNATURE_TOKEN_DEPTH_MAX : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_SIGNATURE_TOKEN_DEPTH_MAX. (* Enum TableType @@ -2807,21 +2946,22 @@ Module file_format_common. (* Instance *) [ ("fmt", InstanceField.Method fmt) ]. End Impl_core_fmt_Debug_for_move_binary_format_file_format_common_Opcodes. - Definition value_BINARY_SIZE_LIMIT : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_associated_function (| Ty.path "usize", "max_value", [], [] |), - [] - |) - |))). - - Axiom Constant_value_BINARY_SIZE_LIMIT : - (M.get_constant "move_binary_format::file_format_common::BINARY_SIZE_LIMIT") = + Definition value_BINARY_SIZE_LIMIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_associated_function (| Ty.path "usize", "max_value", [], [] |), + [] + |) + |))). + + Global Instance Instance_IsConstant_value_BINARY_SIZE_LIMIT : + M.IsFunction.C + "move_binary_format::file_format_common::BINARY_SIZE_LIMIT" value_BINARY_SIZE_LIMIT. - Global Hint Rewrite Constant_value_BINARY_SIZE_LIMIT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BINARY_SIZE_LIMIT. (* StructRecord { @@ -2977,7 +3117,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3029,8 +3169,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_inner : - M.IsAssociatedFunction.Trait Self "as_inner" as_inner. + Global Instance AssociatedFunction_as_inner : M.IsAssociatedFunction.C Self "as_inner" as_inner. Admitted. Global Typeclasses Opaque as_inner. @@ -3055,7 +3194,7 @@ Module file_format_common. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -3309,8 +3448,10 @@ Module file_format_common. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_binary_format::file_format_common::BINARY_SIZE_LIMIT" + get_constant (| + "move_binary_format::file_format_common::BINARY_SIZE_LIMIT", + Ty.path "usize" + |) |) |) |) @@ -3345,7 +3486,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push : M.IsAssociatedFunction.Trait Self "push" push. + Global Instance AssociatedFunction_push : M.IsAssociatedFunction.C Self "push" push. Admitted. Global Typeclasses Opaque push. @@ -3673,8 +3814,10 @@ Module file_format_common. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_binary_format::file_format_common::BINARY_SIZE_LIMIT" + get_constant (| + "move_binary_format::file_format_common::BINARY_SIZE_LIMIT", + Ty.path "usize" + |) |) |) |) @@ -3709,7 +3852,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_extend : M.IsAssociatedFunction.Trait Self "extend" extend. + Global Instance AssociatedFunction_extend : M.IsAssociatedFunction.C Self "extend" extend. Admitted. Global Typeclasses Opaque extend. @@ -3748,7 +3891,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -3787,8 +3930,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -3833,7 +3975,7 @@ Module file_format_common. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.Trait Self "clear" clear. + Global Instance AssociatedFunction_clear : M.IsAssociatedFunction.C Self "clear" clear. Admitted. Global Typeclasses Opaque clear. End Impl_move_binary_format_file_format_common_BinaryData. @@ -4167,7 +4309,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_write_u64_as_uleb128 : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::file_format_common::write_u64_as_uleb128" write_u64_as_uleb128. Admitted. @@ -4218,7 +4360,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_write_u16 : - M.IsFunction.Trait "move_binary_format::file_format_common::write_u16" write_u16. + M.IsFunction.C "move_binary_format::file_format_common::write_u16" write_u16. Admitted. Global Typeclasses Opaque write_u16. @@ -4267,7 +4409,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_write_u32 : - M.IsFunction.Trait "move_binary_format::file_format_common::write_u32" write_u32. + M.IsFunction.C "move_binary_format::file_format_common::write_u32" write_u32. Admitted. Global Typeclasses Opaque write_u32. @@ -4316,7 +4458,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_write_u64 : - M.IsFunction.Trait "move_binary_format::file_format_common::write_u64" write_u64. + M.IsFunction.C "move_binary_format::file_format_common::write_u64" write_u64. Admitted. Global Typeclasses Opaque write_u64. @@ -4365,7 +4507,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_write_u128 : - M.IsFunction.Trait "move_binary_format::file_format_common::write_u128" write_u128. + M.IsFunction.C "move_binary_format::file_format_common::write_u128" write_u128. Admitted. Global Typeclasses Opaque write_u128. @@ -4422,7 +4564,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_write_u256 : - M.IsFunction.Trait "move_binary_format::file_format_common::write_u256" write_u256. + M.IsFunction.C "move_binary_format::file_format_common::write_u256" write_u256. Admitted. Global Typeclasses Opaque write_u256. @@ -4583,7 +4725,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_read_u8 : - M.IsFunction.Trait "move_binary_format::file_format_common::read_u8" read_u8. + M.IsFunction.C "move_binary_format::file_format_common::read_u8" read_u8. Admitted. Global Typeclasses Opaque read_u8. @@ -4746,7 +4888,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_read_u32 : - M.IsFunction.Trait "move_binary_format::file_format_common::read_u32" read_u32. + M.IsFunction.C "move_binary_format::file_format_common::read_u32" read_u32. Admitted. Global Typeclasses Opaque read_u32. @@ -5082,7 +5224,13 @@ Module file_format_common. (M.alloc (| BinOp.gt (| M.read (| shift |), - M.read (| M.get_constant "core::num::BITS" |) + M.read (| + get_associated_constant (| + Ty.path "u64", + "BITS", + Ty.path "u32" + |) + |) |) |)) in let _ := @@ -5160,69 +5308,77 @@ Module file_format_common. end. Global Instance Instance_IsFunction_read_uleb128_as_u64 : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::file_format_common::read_uleb128_as_u64" read_uleb128_as_u64. Admitted. Global Typeclasses Opaque read_uleb128_as_u64. - Definition value_VERSION_1 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1 |))). + Definition value_VERSION_1 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 1 |))). - Axiom Constant_value_VERSION_1 : - (M.get_constant "move_binary_format::file_format_common::VERSION_1") = value_VERSION_1. - Global Hint Rewrite Constant_value_VERSION_1 : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_1 : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_1" value_VERSION_1. + Admitted. + Global Typeclasses Opaque value_VERSION_1. - Definition value_VERSION_2 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). + Definition value_VERSION_2 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 2 |))). - Axiom Constant_value_VERSION_2 : - (M.get_constant "move_binary_format::file_format_common::VERSION_2") = value_VERSION_2. - Global Hint Rewrite Constant_value_VERSION_2 : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_2 : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_2" value_VERSION_2. + Admitted. + Global Typeclasses Opaque value_VERSION_2. - Definition value_VERSION_3 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 3 |))). + Definition value_VERSION_3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 3 |))). - Axiom Constant_value_VERSION_3 : - (M.get_constant "move_binary_format::file_format_common::VERSION_3") = value_VERSION_3. - Global Hint Rewrite Constant_value_VERSION_3 : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_3 : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_3" value_VERSION_3. + Admitted. + Global Typeclasses Opaque value_VERSION_3. - Definition value_VERSION_4 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 4 |))). + Definition value_VERSION_4 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 4 |))). - Axiom Constant_value_VERSION_4 : - (M.get_constant "move_binary_format::file_format_common::VERSION_4") = value_VERSION_4. - Global Hint Rewrite Constant_value_VERSION_4 : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_4 : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_4" value_VERSION_4. + Admitted. + Global Typeclasses Opaque value_VERSION_4. - Definition value_VERSION_5 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 5 |))). + Definition value_VERSION_5 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 5 |))). - Axiom Constant_value_VERSION_5 : - (M.get_constant "move_binary_format::file_format_common::VERSION_5") = value_VERSION_5. - Global Hint Rewrite Constant_value_VERSION_5 : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_5 : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_5" value_VERSION_5. + Admitted. + Global Typeclasses Opaque value_VERSION_5. - Definition value_VERSION_6 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 6 |))). + Definition value_VERSION_6 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U32 6 |))). - Axiom Constant_value_VERSION_6 : - (M.get_constant "move_binary_format::file_format_common::VERSION_6") = value_VERSION_6. - Global Hint Rewrite Constant_value_VERSION_6 : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_6 : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_6" value_VERSION_6. + Admitted. + Global Typeclasses Opaque value_VERSION_6. - Definition value_VERSION_MAX : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::VERSION_6")). + Definition value_VERSION_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| "move_binary_format::file_format_common::VERSION_6", Ty.path "u32" |))). - Axiom Constant_value_VERSION_MAX : - (M.get_constant "move_binary_format::file_format_common::VERSION_MAX") = value_VERSION_MAX. - Global Hint Rewrite Constant_value_VERSION_MAX : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_MAX : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_MAX" value_VERSION_MAX. + Admitted. + Global Typeclasses Opaque value_VERSION_MAX. - Definition value_VERSION_MIN : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "move_binary_format::file_format_common::VERSION_5")). + Definition value_VERSION_MIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| "move_binary_format::file_format_common::VERSION_5", Ty.path "u32" |))). - Axiom Constant_value_VERSION_MIN : - (M.get_constant "move_binary_format::file_format_common::VERSION_MIN") = value_VERSION_MIN. - Global Hint Rewrite Constant_value_VERSION_MIN : constant_rewrites. + Global Instance Instance_IsConstant_value_VERSION_MIN : + M.IsFunction.C "move_binary_format::file_format_common::VERSION_MIN" value_VERSION_MIN. + Admitted. + Global Typeclasses Opaque value_VERSION_MIN. (* pub fn instruction_key(instruction: &Bytecode) -> u8 { @@ -6329,7 +6485,7 @@ Module file_format_common. end. Global Instance Instance_IsFunction_instruction_key : - M.IsFunction.Trait "move_binary_format::file_format_common::instruction_key" instruction_key. + M.IsFunction.C "move_binary_format::file_format_common::instruction_key" instruction_key. Admitted. Global Typeclasses Opaque instruction_key. End file_format_common. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/lib.v b/CoqOfRust/move_sui/translations/move_binary_format/lib.v index a48a38337..000c14f84 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/lib.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/lib.v @@ -753,8 +753,7 @@ Module Impl_move_binary_format_IndexKind. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_variants : - M.IsAssociatedFunction.Trait Self "variants" variants. + Global Instance AssociatedFunction_variants : M.IsAssociatedFunction.C Self "variants" variants. Admitted. Global Typeclasses Opaque variants. End Impl_move_binary_format_IndexKind. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/normalized.v b/CoqOfRust/move_sui/translations/move_binary_format/normalized.v index 7cd3d1c3f..721865752 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/normalized.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/normalized.v @@ -3536,7 +3536,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Type" |); M.read (| - M.get_constant "move_binary_format::normalized::_'1::deserialize::VARIANTS" + get_constant (| + "move_binary_format::normalized::_'1::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'1::deserialize::__Visitor" @@ -3877,7 +3888,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Field" |); M.read (| - M.get_constant "move_binary_format::normalized::_'3::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'3::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'3::deserialize::__Visitor" @@ -4223,7 +4245,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Constant" |); M.read (| - M.get_constant "move_binary_format::normalized::_'5::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'5::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'5::deserialize::__Visitor" @@ -4664,7 +4697,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Struct" |); M.read (| - M.get_constant "move_binary_format::normalized::_'7::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'7::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'7::deserialize::__Visitor" @@ -5373,7 +5417,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Function" |); M.read (| - M.get_constant "move_binary_format::normalized::_'9::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'9::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'9::deserialize::__Visitor" @@ -5714,7 +5769,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "FieldRef" |); M.read (| - M.get_constant "move_binary_format::normalized::_'11::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'11::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'11::deserialize::__Visitor" @@ -6055,7 +6121,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "FunctionRef" |); M.read (| - M.get_constant "move_binary_format::normalized::_'13::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'13::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'13::deserialize::__Visitor" @@ -9445,7 +9522,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Bytecode" |); M.read (| - M.get_constant "move_binary_format::normalized::_'15::deserialize::VARIANTS" + get_constant (| + "move_binary_format::normalized::_'15::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'15::deserialize::__Visitor" @@ -10332,7 +10420,18 @@ Module normalized. M.read (| __deserializer |); mk_str (| "Module" |); M.read (| - M.get_constant "move_binary_format::normalized::_'17::deserialize::FIELDS" + get_constant (| + "move_binary_format::normalized::_'17::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_binary_format::normalized::_'17::deserialize::__Visitor" @@ -27068,7 +27167,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_normalized_Constant. @@ -28920,7 +29019,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -28978,7 +29077,7 @@ Module normalized. end. Global Instance AssociatedFunction_module_id : - M.IsAssociatedFunction.Trait Self "module_id" module_id. + M.IsAssociatedFunction.C Self "module_id" module_id. Admitted. Global Typeclasses Opaque module_id. End Impl_move_binary_format_normalized_Module. @@ -30058,7 +30157,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -30369,7 +30468,7 @@ Module normalized. end. Global Instance AssociatedFunction_is_closed : - M.IsAssociatedFunction.Trait Self "is_closed" is_closed. + M.IsAssociatedFunction.C Self "is_closed" is_closed. Admitted. Global Typeclasses Opaque is_closed. @@ -31011,7 +31110,7 @@ Module normalized. end. Global Instance AssociatedFunction_into_type_tag : - M.IsAssociatedFunction.Trait Self "into_type_tag" into_type_tag. + M.IsAssociatedFunction.C Self "into_type_tag" into_type_tag. Admitted. Global Typeclasses Opaque into_type_tag. @@ -31160,7 +31259,7 @@ Module normalized. end. Global Instance AssociatedFunction_into_struct_tag : - M.IsAssociatedFunction.Trait Self "into_struct_tag" into_struct_tag. + M.IsAssociatedFunction.C Self "into_struct_tag" into_struct_tag. Admitted. Global Typeclasses Opaque into_struct_tag. @@ -31852,7 +31951,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_subst : M.IsAssociatedFunction.Trait Self "subst" subst. + Global Instance AssociatedFunction_subst : M.IsAssociatedFunction.C Self "subst" subst. Admitted. Global Typeclasses Opaque subst. End Impl_move_binary_format_normalized_Type. @@ -31953,7 +32052,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_normalized_Field. @@ -32411,7 +32510,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -32466,8 +32565,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_idx : - M.IsAssociatedFunction.Trait Self "from_idx" from_idx. + Global Instance AssociatedFunction_from_idx : M.IsAssociatedFunction.C Self "from_idx" from_idx. Admitted. Global Typeclasses Opaque from_idx. @@ -32640,7 +32738,7 @@ Module normalized. end. Global Instance AssociatedFunction_type_param_constraints : - M.IsAssociatedFunction.Trait Self "type_param_constraints" type_param_constraints. + M.IsAssociatedFunction.C Self "type_param_constraints" type_param_constraints. Admitted. Global Typeclasses Opaque type_param_constraints. End Impl_move_binary_format_normalized_Struct. @@ -33726,7 +33824,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -34041,7 +34139,7 @@ Module normalized. end. Global Instance AssociatedFunction_new_from_name : - M.IsAssociatedFunction.Trait Self "new_from_name" new_from_name. + M.IsAssociatedFunction.C Self "new_from_name" new_from_name. Admitted. Global Typeclasses Opaque new_from_name. End Impl_move_binary_format_normalized_Function. @@ -34515,7 +34613,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -34566,8 +34664,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_idx : - M.IsAssociatedFunction.Trait Self "from_idx" from_idx. + Global Instance AssociatedFunction_from_idx : M.IsAssociatedFunction.C Self "from_idx" from_idx. Admitted. Global Typeclasses Opaque from_idx. End Impl_move_binary_format_normalized_FieldRef. @@ -34678,7 +34775,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -34729,8 +34826,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_idx : - M.IsAssociatedFunction.Trait Self "from_idx" from_idx. + Global Instance AssociatedFunction_from_idx : M.IsAssociatedFunction.C Self "from_idx" from_idx. Admitted. Global Typeclasses Opaque from_idx. End Impl_move_binary_format_normalized_FunctionRef. @@ -36807,7 +36903,7 @@ Module normalized. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_binary_format_normalized_Bytecode. @@ -39270,7 +39366,7 @@ Module normalized. end. Global Instance Instance_IsFunction_struct_instantiation : - M.IsFunction.Trait "move_binary_format::normalized::struct_instantiation" struct_instantiation. + M.IsFunction.C "move_binary_format::normalized::struct_instantiation" struct_instantiation. Admitted. Global Typeclasses Opaque struct_instantiation. @@ -39630,7 +39726,7 @@ Module normalized. end. Global Instance Instance_IsFunction_field_instantiation : - M.IsFunction.Trait "move_binary_format::normalized::field_instantiation" field_instantiation. + M.IsFunction.C "move_binary_format::normalized::field_instantiation" field_instantiation. Admitted. Global Typeclasses Opaque field_instantiation. @@ -39720,7 +39816,7 @@ Module normalized. end. Global Instance Instance_IsFunction_signature_to_single_type : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::normalized::signature_to_single_type" signature_to_single_type. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_binary_format/serializer.v b/CoqOfRust/move_sui/translations/move_binary_format/serializer.v index f506f0e50..a228ab2ff 100644 --- a/CoqOfRust/move_sui/translations/move_binary_format/serializer.v +++ b/CoqOfRust/move_sui/translations/move_binary_format/serializer.v @@ -233,7 +233,7 @@ Module serializer. end. Global Instance Instance_IsFunction_write_as_uleb128 : - M.IsFunction.Trait "move_binary_format::serializer::write_as_uleb128" write_as_uleb128. + M.IsFunction.C "move_binary_format::serializer::write_as_uleb128" write_as_uleb128. Admitted. Global Typeclasses Opaque write_as_uleb128. @@ -265,7 +265,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::SIGNATURE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::SIGNATURE_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -273,7 +276,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_signature_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_signature_index" serialize_signature_index. Admitted. @@ -311,7 +314,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::MODULE_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::MODULE_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -319,7 +325,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_module_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_module_handle_index" serialize_module_handle_index. Admitted. @@ -353,7 +359,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::IDENTIFIER_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::IDENTIFIER_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -361,7 +370,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_identifier_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_identifier_index" serialize_identifier_index. Admitted. @@ -399,7 +408,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::STRUCT_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::STRUCT_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -407,7 +419,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_struct_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_struct_handle_index" serialize_struct_handle_index. Admitted. @@ -447,14 +459,19 @@ Module serializer. 0 |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::ADDRESS_INDEX_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::ADDRESS_INDEX_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_address_identifier_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_address_identifier_index" serialize_address_identifier_index. Admitted. @@ -488,7 +505,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::STRUCT_DEF_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::STRUCT_DEF_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -496,7 +516,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_struct_def_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_struct_def_index" serialize_struct_def_index. Admitted. @@ -537,7 +557,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::FUNCTION_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FUNCTION_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -545,7 +568,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_function_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_function_handle_index" serialize_function_handle_index. Admitted. @@ -583,7 +606,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::FIELD_HANDLE_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FIELD_HANDLE_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -591,7 +617,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_field_handle_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_field_handle_index" serialize_field_handle_index. Admitted. @@ -628,7 +654,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::FIELD_INST_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FIELD_INST_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -636,7 +665,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_field_inst_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_field_inst_index" serialize_field_inst_index. Admitted. @@ -677,7 +706,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::FUNCTION_INST_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::FUNCTION_INST_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -685,7 +717,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_function_inst_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_function_inst_index" serialize_function_inst_index. Admitted. @@ -726,7 +758,10 @@ Module serializer. |) |); M.read (| - M.get_constant "move_binary_format::file_format_common::STRUCT_DEF_INST_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::STRUCT_DEF_INST_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -734,7 +769,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_struct_def_inst_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_struct_def_inst_index" serialize_struct_def_inst_index. Admitted. @@ -761,16 +796,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| offset |); - M.read (| M.get_constant "move_binary_format::file_format_common::TABLE_OFFSET_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::TABLE_OFFSET_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_seiralize_table_offset : - M.IsFunction.Trait - "move_binary_format::serializer::seiralize_table_offset" - seiralize_table_offset. + M.IsFunction.C "move_binary_format::serializer::seiralize_table_offset" seiralize_table_offset. Admitted. Global Typeclasses Opaque seiralize_table_offset. @@ -795,14 +833,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| size |); - M.read (| M.get_constant "move_binary_format::file_format_common::TABLE_SIZE_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::TABLE_SIZE_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_table_size : - M.IsFunction.Trait "move_binary_format::serializer::serialize_table_size" serialize_table_size. + M.IsFunction.C "move_binary_format::serializer::serialize_table_size" serialize_table_size. Admitted. Global Typeclasses Opaque serialize_table_size. @@ -837,14 +880,19 @@ Module serializer. 0 |) |); - M.read (| M.get_constant "move_binary_format::file_format_common::CONSTANT_INDEX_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::CONSTANT_INDEX_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_constant_pool_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_constant_pool_index" serialize_constant_pool_index. Admitted. @@ -871,14 +919,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); - M.read (| M.get_constant "move_binary_format::file_format_common::BYTECODE_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::BYTECODE_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_bytecode_count : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_bytecode_count" serialize_bytecode_count. Admitted. @@ -906,7 +959,10 @@ Module serializer. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); M.read (| - M.get_constant "move_binary_format::file_format_common::IDENTIFIER_SIZE_MAX" + get_constant (| + "move_binary_format::file_format_common::IDENTIFIER_SIZE_MAX", + Ty.path "u64" + |) |) ] |))) @@ -914,7 +970,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_identifier_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_identifier_size" serialize_identifier_size. Admitted. @@ -941,14 +997,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); - M.read (| M.get_constant "move_binary_format::file_format_common::CONSTANT_SIZE_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::CONSTANT_SIZE_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_constant_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_constant_size" serialize_constant_size. Admitted. @@ -980,7 +1041,10 @@ Module serializer. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); M.read (| - M.get_constant "move_binary_format::file_format_common::METADATA_KEY_SIZE_MAX" + get_constant (| + "move_binary_format::file_format_common::METADATA_KEY_SIZE_MAX", + Ty.path "u64" + |) |) ] |))) @@ -988,7 +1052,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_metadata_key_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_metadata_key_size" serialize_metadata_key_size. Admitted. @@ -1020,7 +1084,10 @@ Module serializer. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); M.read (| - M.get_constant "move_binary_format::file_format_common::METADATA_VALUE_SIZE_MAX" + get_constant (| + "move_binary_format::file_format_common::METADATA_VALUE_SIZE_MAX", + Ty.path "u64" + |) |) ] |))) @@ -1028,7 +1095,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_metadata_value_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_metadata_value_size" serialize_metadata_value_size. Admitted. @@ -1055,16 +1122,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); - M.read (| M.get_constant "move_binary_format::file_format_common::FIELD_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::FIELD_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_field_count : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_field_count" - serialize_field_count. + M.IsFunction.C "move_binary_format::serializer::serialize_field_count" serialize_field_count. Admitted. Global Typeclasses Opaque serialize_field_count. @@ -1089,16 +1159,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| offset |); - M.read (| M.get_constant "move_binary_format::file_format_common::FIELD_OFFSET_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::FIELD_OFFSET_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_field_offset : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_field_offset" - serialize_field_offset. + M.IsFunction.C "move_binary_format::serializer::serialize_field_offset" serialize_field_offset. Admitted. Global Typeclasses Opaque serialize_field_offset. @@ -1123,14 +1196,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); - M.read (| M.get_constant "move_binary_format::file_format_common::ACQUIRES_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::ACQUIRES_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_acquires_count : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_acquires_count" serialize_acquires_count. Admitted. @@ -1157,14 +1235,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); - M.read (| M.get_constant "move_binary_format::file_format_common::SIGNATURE_SIZE_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::SIGNATURE_SIZE_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_signature_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_signature_size" serialize_signature_size. Admitted. @@ -1196,7 +1279,10 @@ Module serializer. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| idx |); M.read (| - M.get_constant "move_binary_format::file_format_common::TYPE_PARAMETER_INDEX_MAX" + get_constant (| + "move_binary_format::file_format_common::TYPE_PARAMETER_INDEX_MAX", + Ty.path "u64" + |) |) ] |))) @@ -1204,7 +1290,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_type_parameter_index : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_type_parameter_index" serialize_type_parameter_index. Admitted. @@ -1236,7 +1322,10 @@ Module serializer. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.cast (Ty.path "u64") (M.read (| len |)); M.read (| - M.get_constant "move_binary_format::file_format_common::TYPE_PARAMETER_COUNT_MAX" + get_constant (| + "move_binary_format::file_format_common::TYPE_PARAMETER_COUNT_MAX", + Ty.path "u64" + |) |) ] |))) @@ -1244,7 +1333,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_type_parameter_count : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_type_parameter_count" serialize_type_parameter_count. Admitted. @@ -1271,14 +1360,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| offset |); - M.read (| M.get_constant "move_binary_format::file_format_common::BYTECODE_INDEX_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::BYTECODE_INDEX_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_bytecode_offset : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_bytecode_offset" serialize_bytecode_offset. Admitted. @@ -1305,16 +1399,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| len |); - M.read (| M.get_constant "move_binary_format::file_format_common::TABLE_COUNT_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::TABLE_COUNT_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_table_count : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_table_count" - serialize_table_count. + M.IsFunction.C "move_binary_format::serializer::serialize_table_count" serialize_table_count. Admitted. Global Typeclasses Opaque serialize_table_count. @@ -1339,16 +1436,19 @@ Module serializer. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| binary |) |) |); M.read (| idx |); - M.read (| M.get_constant "move_binary_format::file_format_common::LOCAL_INDEX_MAX" |) + M.read (| + get_constant (| + "move_binary_format::file_format_common::LOCAL_INDEX_MAX", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_serialize_local_index : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_local_index" - serialize_local_index. + M.IsFunction.C "move_binary_format::serializer::serialize_local_index" serialize_local_index. Admitted. Global Typeclasses Opaque serialize_local_index. @@ -1419,12 +1519,16 @@ Module serializer. |), [ M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_MIN" + get_constant (| + "move_binary_format::file_format_common::VERSION_MIN", + Ty.path "u32" + |) |); M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_MAX" + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) |) ] |) @@ -1549,8 +1653,10 @@ Module serializer. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_binary_format::file_format_common::VERSION_MIN" + get_constant (| + "move_binary_format::file_format_common::VERSION_MIN", + Ty.path "u32" + |) |) |) |) @@ -1572,8 +1678,10 @@ Module serializer. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_binary_format::file_format_common::VERSION_MAX" + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) |) |) |) @@ -1613,7 +1721,7 @@ Module serializer. end. Global Instance Instance_IsFunction_validate_version : - M.IsFunction.Trait "move_binary_format::serializer::validate_version" validate_version. + M.IsFunction.C "move_binary_format::serializer::validate_version" validate_version. Admitted. Global Typeclasses Opaque validate_version. @@ -1649,7 +1757,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize : - M.IsAssociatedFunction.Trait Self "serialize" serialize. + M.IsAssociatedFunction.C Self "serialize" serialize. Admitted. Global Typeclasses Opaque serialize. @@ -1706,7 +1814,10 @@ Module serializer. [ M.read (| bytecode_version |); M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_MAX" + get_constant (| + "move_binary_format::file_format_common::VERSION_MAX", + Ty.path "u32" + |) |) ] |) @@ -2682,7 +2793,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_for_version : - M.IsAssociatedFunction.Trait Self "serialize_for_version" serialize_for_version. + M.IsAssociatedFunction.C Self "serialize_for_version" serialize_for_version. Admitted. Global Typeclasses Opaque serialize_for_version. End Impl_move_binary_format_file_format_CompiledModule. @@ -3432,9 +3543,7 @@ Module serializer. end. Global Instance Instance_IsFunction_check_index_in_binary : - M.IsFunction.Trait - "move_binary_format::serializer::check_index_in_binary" - check_index_in_binary. + M.IsFunction.C "move_binary_format::serializer::check_index_in_binary" check_index_in_binary. Admitted. Global Typeclasses Opaque check_index_in_binary. @@ -3811,9 +3920,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_table_index : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_table_index" - serialize_table_index. + M.IsFunction.C "move_binary_format::serializer::serialize_table_index" serialize_table_index. Admitted. Global Typeclasses Opaque serialize_table_index. @@ -3860,7 +3967,14 @@ Module serializer. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "move_binary_format::file_format_common::MOVE_MAGIC" + get_associated_constant (| + Ty.path "move_binary_format::file_format_common::BinaryConstants", + "MOVE_MAGIC", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 4 ] + [ Ty.path "u8" ] + |) |) ] |) @@ -4048,7 +4162,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_magic : - M.IsFunction.Trait "move_binary_format::serializer::serialize_magic" serialize_magic. + M.IsFunction.C "move_binary_format::serializer::serialize_magic" serialize_magic. Admitted. Global Typeclasses Opaque serialize_magic. @@ -4860,7 +4974,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_module_handle : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_module_handle" serialize_module_handle. Admitted. @@ -5290,7 +5404,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_struct_handle : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_struct_handle" serialize_struct_handle. Admitted. @@ -5663,7 +5777,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_type_parameters : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_type_parameters" serialize_type_parameters. Admitted. @@ -5828,7 +5942,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_type_parameter : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_type_parameter" serialize_type_parameter. Admitted. @@ -6383,7 +6497,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_function_handle : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_function_handle" serialize_function_handle. Admitted. @@ -6649,7 +6763,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_function_instantiation : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_function_instantiation" serialize_function_instantiation. Admitted. @@ -7000,7 +7114,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_identifier : - M.IsFunction.Trait "move_binary_format::serializer::serialize_identifier" serialize_identifier. + M.IsFunction.C "move_binary_format::serializer::serialize_identifier" serialize_identifier. Admitted. Global Typeclasses Opaque serialize_identifier. @@ -7243,7 +7357,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_address : - M.IsFunction.Trait "move_binary_format::serializer::serialize_address" serialize_address. + M.IsFunction.C "move_binary_format::serializer::serialize_address" serialize_address. Admitted. Global Typeclasses Opaque serialize_address. @@ -7455,7 +7569,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_constant : - M.IsFunction.Trait "move_binary_format::serializer::serialize_constant" serialize_constant. + M.IsFunction.C "move_binary_format::serializer::serialize_constant" serialize_constant. Admitted. Global Typeclasses Opaque serialize_constant. @@ -7711,7 +7825,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_metadata_entry : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_metadata_entry" serialize_metadata_entry. Admitted. @@ -8079,7 +8193,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_byte_blob : - M.IsFunction.Trait "move_binary_format::serializer::serialize_byte_blob" serialize_byte_blob. + M.IsFunction.C "move_binary_format::serializer::serialize_byte_blob" serialize_byte_blob. Admitted. Global Typeclasses Opaque serialize_byte_blob. @@ -8268,8 +8382,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedNativeStructFlag::NATIVE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedNativeStructFlag::NATIVE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -8333,8 +8451,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedNativeStructFlag::DECLARED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedNativeStructFlag::DECLARED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -8461,7 +8583,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_struct_definition : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_struct_definition" serialize_struct_definition. Admitted. @@ -8727,7 +8849,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_struct_def_instantiation : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_struct_def_instantiation" serialize_struct_def_instantiation. Admitted. @@ -9095,7 +9217,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_field_definitions : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_field_definitions" serialize_field_definitions. Admitted. @@ -9273,7 +9395,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_field_definition : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_field_definition" serialize_field_definition. Admitted. @@ -9526,9 +9648,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_field_handle : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_field_handle" - serialize_field_handle. + M.IsFunction.C "move_binary_format::serializer::serialize_field_handle" serialize_field_handle. Admitted. Global Typeclasses Opaque serialize_field_handle. @@ -9792,7 +9912,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_field_instantiation : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_field_instantiation" serialize_field_instantiation. Admitted. @@ -10158,7 +10278,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_acquires : - M.IsFunction.Trait "move_binary_format::serializer::serialize_acquires" serialize_acquires. + M.IsFunction.C "move_binary_format::serializer::serialize_acquires" serialize_acquires. Admitted. Global Typeclasses Opaque serialize_acquires. @@ -10230,7 +10350,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_signature : - M.IsFunction.Trait "move_binary_format::serializer::serialize_signature" serialize_signature. + M.IsFunction.C "move_binary_format::serializer::serialize_signature" serialize_signature. Admitted. Global Typeclasses Opaque serialize_signature. @@ -10592,7 +10712,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_signature_tokens : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_signature_tokens" serialize_signature_tokens. Admitted. @@ -10713,8 +10833,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::BOOL_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::BOOL_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -10834,8 +10958,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::U8_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::U8_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -10955,8 +11083,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::U16_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::U16_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11076,8 +11208,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::U32_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::U32_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11197,8 +11333,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::U64_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::U64_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11318,8 +11458,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::U128_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::U128_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11439,8 +11583,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::U256_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::U256_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11560,8 +11708,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::ADDRESS_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::ADDRESS_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11681,8 +11833,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::SIGNER_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::SIGNER_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11804,8 +11960,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::VECTOR_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::VECTOR_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -11929,8 +12089,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::STRUCT_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::STRUCT_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -12183,8 +12347,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::STRUCT_INST_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::STRUCT_INST_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -12551,8 +12719,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::REFERENCE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::REFERENCE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -12675,8 +12847,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::MUTABLE_REFERENCE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::MUTABLE_REFERENCE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -12800,8 +12976,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::SerializedType::TYPE_PARAMETER_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::SerializedType::TYPE_PARAMETER_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -12983,7 +13163,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_signature_token_single_node_impl : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_signature_token_single_node_impl" serialize_signature_token_single_node_impl. Admitted. @@ -13125,8 +13305,10 @@ Module serializer. BinOp.gt (| M.read (| depth |), M.read (| - M.get_constant - "move_binary_format::file_format_common::SIGNATURE_TOKEN_DEPTH_MAX" + get_constant (| + "move_binary_format::file_format_common::SIGNATURE_TOKEN_DEPTH_MAX", + Ty.path "usize" + |) |) |) |)) in @@ -13332,7 +13514,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_signature_token : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_signature_token" serialize_signature_token. Admitted. @@ -13411,7 +13593,15 @@ Module serializer. [], [] |), - [ M.read (| M.get_constant "move_binary_format::file_format::ALL" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "move_binary_format::file_format::AbilitySet", + "ALL", + Ty.path "move_binary_format::file_format::AbilitySet" + |) + |) + ] |) ] |) @@ -13482,9 +13672,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_ability_set : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_ability_set" - serialize_ability_set. + M.IsFunction.C "move_binary_format::serializer::serialize_ability_set" serialize_ability_set. Admitted. Global Typeclasses Opaque serialize_ability_set. @@ -13838,9 +14026,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_ability_sets : - M.IsFunction.Trait - "move_binary_format::serializer::serialize_ability_sets" - serialize_ability_sets. + M.IsFunction.C "move_binary_format::serializer::serialize_ability_sets" serialize_ability_sets. Admitted. Global Typeclasses Opaque serialize_ability_sets. @@ -14040,7 +14226,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_code_unit : - M.IsFunction.Trait "move_binary_format::serializer::serialize_code_unit" serialize_code_unit. + M.IsFunction.C "move_binary_format::serializer::serialize_code_unit" serialize_code_unit. Admitted. Global Typeclasses Opaque serialize_code_unit. @@ -14373,8 +14559,10 @@ Module serializer. BinOp.lt (| M.read (| major_version |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_6" + get_constant (| + "move_binary_format::file_format_common::VERSION_6", + Ty.path "u32" + |) |) |) |) in @@ -14551,8 +14739,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::FREEZE_REF_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::FREEZE_REF_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -14586,8 +14778,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::POP_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::POP_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -14621,8 +14817,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::RET_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::RET_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -14689,8 +14889,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::BR_TRUE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::BR_TRUE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -14836,8 +15040,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::BR_FALSE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::BR_FALSE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -14983,8 +15191,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::BRANCH_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::BRANCH_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15130,8 +15342,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_U8_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_U8_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15278,8 +15494,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_U64_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_U64_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15425,8 +15645,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_U128_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_U128_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15541,8 +15765,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CAST_U8_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CAST_U8_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15576,8 +15804,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CAST_U64_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CAST_U64_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15611,8 +15843,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CAST_U128_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CAST_U128_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15679,8 +15915,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_CONST_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_CONST_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15796,8 +16036,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_TRUE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_TRUE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15831,8 +16075,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_FALSE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_FALSE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -15899,8 +16147,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::COPY_LOC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::COPY_LOC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16046,8 +16298,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MOVE_LOC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MOVE_LOC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16193,8 +16449,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::ST_LOC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::ST_LOC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16340,8 +16600,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MUT_BORROW_LOC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MUT_BORROW_LOC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16487,8 +16751,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::IMM_BORROW_LOC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::IMM_BORROW_LOC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16634,8 +16902,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MUT_BORROW_FIELD_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MUT_BORROW_FIELD_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16784,8 +17056,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MUT_BORROW_FIELD_GENERIC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MUT_BORROW_FIELD_GENERIC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -16934,8 +17210,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::IMM_BORROW_FIELD_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::IMM_BORROW_FIELD_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17084,8 +17364,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::IMM_BORROW_FIELD_GENERIC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::IMM_BORROW_FIELD_GENERIC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17234,8 +17518,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CALL_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CALL_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17384,8 +17672,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::PACK_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::PACK_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17534,8 +17826,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::UNPACK_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::UNPACK_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17684,8 +17980,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CALL_GENERIC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CALL_GENERIC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17834,8 +18134,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::PACK_GENERIC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::PACK_GENERIC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -17984,8 +18288,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::UNPACK_GENERIC_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::UNPACK_GENERIC_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18101,8 +18409,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::READ_REF_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::READ_REF_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18136,8 +18448,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::WRITE_REF_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::WRITE_REF_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18171,8 +18487,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::ADD_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::ADD_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18206,8 +18526,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::SUB_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::SUB_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18241,8 +18565,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MUL_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MUL_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18276,8 +18604,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MOD_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MOD_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18311,8 +18643,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::DIV_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::DIV_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18346,8 +18682,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::BIT_OR_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::BIT_OR_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18381,8 +18721,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::BIT_AND_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::BIT_AND_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18416,8 +18760,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::XOR_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::XOR_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18451,8 +18799,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::SHL_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::SHL_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18486,8 +18838,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::SHR_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::SHR_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18521,8 +18877,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::OR_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::OR_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18556,8 +18916,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::AND_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::AND_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18591,8 +18955,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::NOT_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::NOT_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18626,8 +18994,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::EQ_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::EQ_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18661,8 +19033,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::NEQ_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::NEQ_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18696,8 +19072,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LT_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LT_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18731,8 +19111,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::GT_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::GT_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18766,8 +19150,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18801,8 +19189,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::GE_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::GE_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18836,8 +19228,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::ABORT_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::ABORT_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18871,8 +19267,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::NOP_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::NOP_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -18939,8 +19339,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::EXISTS_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::EXISTS_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19089,8 +19493,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MUT_BORROW_GLOBAL_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MUT_BORROW_GLOBAL_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19239,8 +19647,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::IMM_BORROW_GLOBAL_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::IMM_BORROW_GLOBAL_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19389,8 +19801,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MOVE_FROM_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MOVE_FROM_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19539,8 +19955,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MOVE_TO_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MOVE_TO_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19689,8 +20109,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::EXISTS_GENERIC_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::EXISTS_GENERIC_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19839,8 +20263,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MUT_BORROW_GLOBAL_GENERIC_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MUT_BORROW_GLOBAL_GENERIC_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -19989,8 +20417,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::IMM_BORROW_GLOBAL_GENERIC_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::IMM_BORROW_GLOBAL_GENERIC_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -20139,8 +20571,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MOVE_FROM_GENERIC_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MOVE_FROM_GENERIC_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -20289,8 +20725,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::MOVE_TO_GENERIC_DEPRECATED_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::MOVE_TO_GENERIC_DEPRECATED_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -20446,8 +20886,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_PACK_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_PACK_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -20705,8 +21149,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_LEN_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_LEN_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -20852,8 +21300,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_IMM_BORROW_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_IMM_BORROW_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -20999,8 +21451,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_MUT_BORROW_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_MUT_BORROW_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -21146,8 +21602,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_PUSH_BACK_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_PUSH_BACK_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -21293,8 +21753,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_POP_BACK_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_POP_BACK_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -21447,8 +21911,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_UNPACK_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_UNPACK_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -21706,8 +22174,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::VEC_SWAP_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::VEC_SWAP_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -21853,8 +22325,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_U16_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_U16_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -22000,8 +22476,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_U32_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_U32_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -22147,8 +22627,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::LD_U256_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::LD_U256_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -22263,8 +22747,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CAST_U16_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CAST_U16_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -22298,8 +22786,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CAST_U32_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CAST_U32_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -22333,8 +22825,12 @@ Module serializer. M.cast (Ty.path "u8") (BinOp.Wrap.add (| - M.get_constant - "move_binary_format::file_format_common::Opcodes::CAST_U256_discriminant", + M.read (| + get_constant (| + "move_binary_format::file_format_common::Opcodes::CAST_U256_discriminant", + Ty.path "u8" + |) + |), Value.Integer IntegerKind.U8 0 |)) ] @@ -22437,7 +22933,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_instruction_inner : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::serialize_instruction_inner" serialize_instruction_inner. Admitted. @@ -22797,7 +23293,7 @@ Module serializer. end. Global Instance Instance_IsFunction_serialize_code : - M.IsFunction.Trait "move_binary_format::serializer::serialize_code" serialize_code. + M.IsFunction.C "move_binary_format::serializer::serialize_code" serialize_code. Admitted. Global Typeclasses Opaque serialize_code. @@ -22996,7 +23492,7 @@ Module serializer. end. Global Instance Instance_IsFunction_checked_calculate_table_size : - M.IsFunction.Trait + M.IsFunction.C "move_binary_format::serializer::checked_calculate_table_size" checked_calculate_table_size. Admitted. @@ -23054,7 +23550,7 @@ Module serializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -23291,7 +23787,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_header : - M.IsAssociatedFunction.Trait Self "serialize_header" serialize_header. + M.IsAssociatedFunction.C Self "serialize_header" serialize_header. Admitted. Global Typeclasses Opaque serialize_header. @@ -24496,8 +24992,10 @@ Module serializer. |) |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |)) in @@ -24645,7 +25143,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_table_indices : - M.IsAssociatedFunction.Trait Self "serialize_table_indices" serialize_table_indices. + M.IsAssociatedFunction.C Self "serialize_table_indices" serialize_table_indices. Admitted. Global Typeclasses Opaque serialize_table_indices. @@ -25899,8 +26397,10 @@ Module serializer. |) |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |)) in @@ -26062,7 +26562,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_common_tables : - M.IsAssociatedFunction.Trait Self "serialize_common_tables" serialize_common_tables. + M.IsAssociatedFunction.C Self "serialize_common_tables" serialize_common_tables. Admitted. Global Typeclasses Opaque serialize_common_tables. @@ -26661,7 +27161,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_module_handles : - M.IsAssociatedFunction.Trait Self "serialize_module_handles" serialize_module_handles. + M.IsAssociatedFunction.C Self "serialize_module_handles" serialize_module_handles. Admitted. Global Typeclasses Opaque serialize_module_handles. @@ -27260,7 +27760,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_struct_handles : - M.IsAssociatedFunction.Trait Self "serialize_struct_handles" serialize_struct_handles. + M.IsAssociatedFunction.C Self "serialize_struct_handles" serialize_struct_handles. Admitted. Global Typeclasses Opaque serialize_struct_handles. @@ -27865,7 +28365,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_function_handles : - M.IsAssociatedFunction.Trait Self "serialize_function_handles" serialize_function_handles. + M.IsAssociatedFunction.C Self "serialize_function_handles" serialize_function_handles. Admitted. Global Typeclasses Opaque serialize_function_handles. @@ -28478,7 +28978,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_function_instantiations : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "serialize_function_instantiations" serialize_function_instantiations. @@ -29126,7 +29626,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_identifiers : - M.IsAssociatedFunction.Trait Self "serialize_identifiers" serialize_identifiers. + M.IsAssociatedFunction.C Self "serialize_identifiers" serialize_identifiers. Admitted. Global Typeclasses Opaque serialize_identifiers. @@ -29732,10 +30232,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_address_identifiers : - M.IsAssociatedFunction.Trait - Self - "serialize_address_identifiers" - serialize_address_identifiers. + M.IsAssociatedFunction.C Self "serialize_address_identifiers" serialize_address_identifiers. Admitted. Global Typeclasses Opaque serialize_address_identifiers. @@ -30331,7 +30828,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_constants : - M.IsAssociatedFunction.Trait Self "serialize_constants" serialize_constants. + M.IsAssociatedFunction.C Self "serialize_constants" serialize_constants. Admitted. Global Typeclasses Opaque serialize_constants. @@ -30921,7 +31418,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_metadata : - M.IsAssociatedFunction.Trait Self "serialize_metadata" serialize_metadata. + M.IsAssociatedFunction.C Self "serialize_metadata" serialize_metadata. Admitted. Global Typeclasses Opaque serialize_metadata. @@ -31517,7 +32014,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_signatures : - M.IsAssociatedFunction.Trait Self "serialize_signatures" serialize_signatures. + M.IsAssociatedFunction.C Self "serialize_signatures" serialize_signatures. Admitted. Global Typeclasses Opaque serialize_signatures. @@ -31542,7 +32039,7 @@ Module serializer. end. Global Instance AssociatedFunction_major_version : - M.IsAssociatedFunction.Trait Self "major_version" major_version. + M.IsAssociatedFunction.C Self "major_version" major_version. Admitted. Global Typeclasses Opaque major_version. End Impl_move_binary_format_serializer_CommonSerializer. @@ -31598,7 +32095,7 @@ Module serializer. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -32571,7 +33068,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_tables : - M.IsAssociatedFunction.Trait Self "serialize_tables" serialize_tables. + M.IsAssociatedFunction.C Self "serialize_tables" serialize_tables. Admitted. Global Typeclasses Opaque serialize_tables. @@ -33494,7 +33991,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_table_indices : - M.IsAssociatedFunction.Trait Self "serialize_table_indices" serialize_table_indices. + M.IsAssociatedFunction.C Self "serialize_table_indices" serialize_table_indices. Admitted. Global Typeclasses Opaque serialize_table_indices. @@ -34125,7 +34622,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_struct_definitions : - M.IsAssociatedFunction.Trait Self "serialize_struct_definitions" serialize_struct_definitions. + M.IsAssociatedFunction.C Self "serialize_struct_definitions" serialize_struct_definitions. Admitted. Global Typeclasses Opaque serialize_struct_definitions. @@ -34761,7 +35258,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_struct_def_instantiations : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "serialize_struct_def_instantiations" serialize_struct_def_instantiations. @@ -35365,7 +35862,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_field_handles : - M.IsAssociatedFunction.Trait Self "serialize_field_handles" serialize_field_handles. + M.IsAssociatedFunction.C Self "serialize_field_handles" serialize_field_handles. Admitted. Global Typeclasses Opaque serialize_field_handles. @@ -35981,10 +36478,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_field_instantiations : - M.IsAssociatedFunction.Trait - Self - "serialize_field_instantiations" - serialize_field_instantiations. + M.IsAssociatedFunction.C Self "serialize_field_instantiations" serialize_field_instantiations. Admitted. Global Typeclasses Opaque serialize_field_instantiations. @@ -36625,10 +37119,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_function_definitions : - M.IsAssociatedFunction.Trait - Self - "serialize_function_definitions" - serialize_function_definitions. + M.IsAssociatedFunction.C Self "serialize_function_definitions" serialize_function_definitions. Admitted. Global Typeclasses Opaque serialize_function_definitions. @@ -36821,8 +37312,10 @@ Module serializer. |) |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |)) in @@ -36891,8 +37384,11 @@ Module serializer. M.read (| γ |), Value.Bool true |) in - M.get_constant - "move_binary_format::file_format::DEPRECATED_SCRIPT")); + get_associated_constant (| + Ty.path "move_binary_format::file_format::Visibility", + "DEPRECATED_SCRIPT", + Ty.path "u8" + |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -37168,7 +37664,12 @@ Module serializer. BinOp.bit_or (M.read (| β |)) (M.read (| - M.get_constant "move_binary_format::file_format::ENTRY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::FunctionDefinition", + "ENTRY", + Ty.path "u8" + |) |)) |) |) in @@ -37213,7 +37714,11 @@ Module serializer. BinOp.bit_or (M.read (| β |)) (M.read (| - M.get_constant "move_binary_format::file_format::NATIVE" + get_associated_constant (| + Ty.path "move_binary_format::file_format::FunctionDefinition", + "NATIVE", + Ty.path "u8" + |) |)) |) |))); @@ -37645,10 +38150,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_function_definition : - M.IsAssociatedFunction.Trait - Self - "serialize_function_definition" - serialize_function_definition. + M.IsAssociatedFunction.C Self "serialize_function_definition" serialize_function_definition. Admitted. Global Typeclasses Opaque serialize_function_definition. @@ -38275,10 +38777,7 @@ Module serializer. end. Global Instance AssociatedFunction_serialize_friend_declarations : - M.IsAssociatedFunction.Trait - Self - "serialize_friend_declarations" - serialize_friend_declarations. + M.IsAssociatedFunction.C Self "serialize_friend_declarations" serialize_friend_declarations. Admitted. Global Typeclasses Opaque serialize_friend_declarations. End Impl_move_binary_format_serializer_ModuleSerializer. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/ability_field_requirements.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/ability_field_requirements.v index 00eb00272..983ed7d33 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/ability_field_requirements.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/ability_field_requirements.v @@ -101,7 +101,7 @@ Module ability_field_requirements. end. Global Instance Instance_IsFunction_verify_module : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::ability_field_requirements::verify_module" verify_module. Admitted. @@ -596,8 +596,13 @@ Module ability_field_requirements. ] |); M.read (| - M.get_constant - "move_binary_format::file_format::EMPTY" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "EMPTY", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |); M.closure (fun γ => @@ -897,8 +902,13 @@ Module ability_field_requirements. fun γ => ltac:(M.monadic (M.read (| - M.get_constant - "move_binary_format::file_format::ALL" + get_associated_constant (| + Ty.path + "move_binary_format::file_format::AbilitySet", + "ALL", + Ty.path + "move_binary_format::file_format::AbilitySet" + |) |))) ] |))) @@ -1346,7 +1356,7 @@ Module ability_field_requirements. end. Global Instance Instance_IsFunction_verify_module_impl : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::ability_field_requirements::verify_module_impl" verify_module_impl. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/absint.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/absint.v index f4d518ad0..434e24a15 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/absint.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/absint.v @@ -193,36 +193,49 @@ Module absint. Ty.path "alloc::alloc::Global" ]). - Definition value_ANALYZE_FUNCTION_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_ANALYZE_FUNCTION_BASE_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_ANALYZE_FUNCTION_BASE_COST : - (M.get_constant "move_bytecode_verifier::absint::ANALYZE_FUNCTION_BASE_COST") = + Global Instance Instance_IsConstant_value_ANALYZE_FUNCTION_BASE_COST : + M.IsFunction.C + "move_bytecode_verifier::absint::ANALYZE_FUNCTION_BASE_COST" value_ANALYZE_FUNCTION_BASE_COST. - Global Hint Rewrite Constant_value_ANALYZE_FUNCTION_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ANALYZE_FUNCTION_BASE_COST. - Definition value_EXECUTE_BLOCK_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_EXECUTE_BLOCK_BASE_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_EXECUTE_BLOCK_BASE_COST : - (M.get_constant "move_bytecode_verifier::absint::EXECUTE_BLOCK_BASE_COST") = + Global Instance Instance_IsConstant_value_EXECUTE_BLOCK_BASE_COST : + M.IsFunction.C + "move_bytecode_verifier::absint::EXECUTE_BLOCK_BASE_COST" value_EXECUTE_BLOCK_BASE_COST. - Global Hint Rewrite Constant_value_EXECUTE_BLOCK_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EXECUTE_BLOCK_BASE_COST. - Definition value_PER_BACKEDGE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_PER_BACKEDGE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_PER_BACKEDGE_COST : - (M.get_constant "move_bytecode_verifier::absint::PER_BACKEDGE_COST") = value_PER_BACKEDGE_COST. - Global Hint Rewrite Constant_value_PER_BACKEDGE_COST : constant_rewrites. + Global Instance Instance_IsConstant_value_PER_BACKEDGE_COST : + M.IsFunction.C "move_bytecode_verifier::absint::PER_BACKEDGE_COST" value_PER_BACKEDGE_COST. + Admitted. + Global Typeclasses Opaque value_PER_BACKEDGE_COST. - Definition value_PER_SUCCESSOR_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_PER_SUCCESSOR_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_PER_SUCCESSOR_COST : - (M.get_constant "move_bytecode_verifier::absint::PER_SUCCESSOR_COST") = - value_PER_SUCCESSOR_COST. - Global Hint Rewrite Constant_value_PER_SUCCESSOR_COST : constant_rewrites. + Global Instance Instance_IsConstant_value_PER_SUCCESSOR_COST : + M.IsFunction.C "move_bytecode_verifier::absint::PER_SUCCESSOR_COST" value_PER_SUCCESSOR_COST. + Admitted. + Global Typeclasses Opaque value_PER_SUCCESSOR_COST. (* Trait *) (* Empty module 'TransferFunctions' *) @@ -294,8 +307,10 @@ Module absint. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::absint::ANALYZE_FUNCTION_BASE_COST" + get_constant (| + "move_bytecode_verifier::absint::ANALYZE_FUNCTION_BASE_COST", + Ty.path "u128" + |) |) ] |) @@ -1193,8 +1208,10 @@ Module absint. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::absint::PER_SUCCESSOR_COST" + get_constant (| + "move_bytecode_verifier::absint::PER_SUCCESSOR_COST", + Ty.path "u128" + |) |) ] |) @@ -1741,8 +1758,11 @@ Module absint. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::absint::PER_BACKEDGE_COST" + get_constant (| + "move_bytecode_verifier::absint::PER_BACKEDGE_COST", + Ty.path + "u128" + |) |) ] |) @@ -2094,8 +2114,10 @@ Module absint. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::absint::EXECUTE_BLOCK_BASE_COST" + get_constant (| + "move_bytecode_verifier::absint::EXECUTE_BLOCK_BASE_COST", + Ty.path "u128" + |) |) ] |) @@ -2877,7 +2899,7 @@ Module absint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2901,7 +2923,7 @@ Module absint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_index : M.IsAssociatedFunction.Trait Self "index" index. + Global Instance AssociatedFunction_index : M.IsAssociatedFunction.C Self "index" index. Admitted. Global Typeclasses Opaque index. @@ -2930,7 +2952,7 @@ Module absint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_code : M.IsAssociatedFunction.Trait Self "code" code. + Global Instance AssociatedFunction_code : M.IsAssociatedFunction.C Self "code" code. Admitted. Global Typeclasses Opaque code. @@ -2960,7 +2982,7 @@ Module absint. end. Global Instance AssociatedFunction_parameters : - M.IsAssociatedFunction.Trait Self "parameters" parameters. + M.IsAssociatedFunction.C Self "parameters" parameters. Admitted. Global Typeclasses Opaque parameters. @@ -2989,8 +3011,7 @@ Module absint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_return_ : - M.IsAssociatedFunction.Trait Self "return_" return_. + Global Instance AssociatedFunction_return_ : M.IsAssociatedFunction.C Self "return_" return_. Admitted. Global Typeclasses Opaque return_. @@ -3019,7 +3040,7 @@ Module absint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_locals : M.IsAssociatedFunction.Trait Self "locals" locals. + Global Instance AssociatedFunction_locals : M.IsAssociatedFunction.C Self "locals" locals. Admitted. Global Typeclasses Opaque locals. @@ -3049,7 +3070,7 @@ Module absint. end. Global Instance AssociatedFunction_type_parameters : - M.IsAssociatedFunction.Trait Self "type_parameters" type_parameters. + M.IsAssociatedFunction.C Self "type_parameters" type_parameters. Admitted. Global Typeclasses Opaque type_parameters. @@ -3079,7 +3100,7 @@ Module absint. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_cfg : M.IsAssociatedFunction.Trait Self "cfg" cfg. + Global Instance AssociatedFunction_cfg : M.IsAssociatedFunction.C Self "cfg" cfg. Admitted. Global Typeclasses Opaque cfg. End Impl_move_bytecode_verifier_absint_FunctionContext. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/acquires_list_verifier.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/acquires_list_verifier.v index 77d3a54b0..0bb0de3bc 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/acquires_list_verifier.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/acquires_list_verifier.v @@ -1856,7 +1856,7 @@ Module acquires_list_verifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_verify : M.IsAssociatedFunction.Trait Self "verify" verify. + Global Instance AssociatedFunction_verify : M.IsAssociatedFunction.C Self "verify" verify. Admitted. Global Typeclasses Opaque verify. @@ -2940,7 +2940,7 @@ Module acquires_list_verifier. end. Global Instance AssociatedFunction_verify_instruction : - M.IsAssociatedFunction.Trait Self "verify_instruction" verify_instruction. + M.IsAssociatedFunction.C Self "verify_instruction" verify_instruction. Admitted. Global Typeclasses Opaque verify_instruction. @@ -3275,7 +3275,7 @@ Module acquires_list_verifier. end. Global Instance AssociatedFunction_call_acquire : - M.IsAssociatedFunction.Trait Self "call_acquire" call_acquire. + M.IsAssociatedFunction.C Self "call_acquire" call_acquire. Admitted. Global Typeclasses Opaque call_acquire. @@ -3407,7 +3407,7 @@ Module acquires_list_verifier. end. Global Instance AssociatedFunction_struct_acquire : - M.IsAssociatedFunction.Trait Self "struct_acquire" struct_acquire. + M.IsAssociatedFunction.C Self "struct_acquire" struct_acquire. Admitted. Global Typeclasses Opaque struct_acquire. @@ -3787,7 +3787,7 @@ Module acquires_list_verifier. end. Global Instance AssociatedFunction_function_acquired_resources : - M.IsAssociatedFunction.Trait Self "function_acquired_resources" function_acquired_resources. + M.IsAssociatedFunction.C Self "function_acquired_resources" function_acquired_resources. Admitted. Global Typeclasses Opaque function_acquired_resources. @@ -3835,7 +3835,7 @@ Module acquires_list_verifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_error : M.IsAssociatedFunction.Trait Self "error" error. + Global Instance AssociatedFunction_error : M.IsAssociatedFunction.C Self "error" error. Admitted. Global Typeclasses Opaque error. End Impl_move_bytecode_verifier_acquires_list_verifier_AcquiresVerifier. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/check_duplication.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/check_duplication.v index d4b01fb96..6dcd199cd 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/check_duplication.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/check_duplication.v @@ -119,7 +119,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -1895,7 +1895,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -1987,7 +1987,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_identifiers : - M.IsAssociatedFunction.Trait Self "check_identifiers" check_identifiers. + M.IsAssociatedFunction.C Self "check_identifiers" check_identifiers. Admitted. Global Typeclasses Opaque check_identifiers. @@ -2085,7 +2085,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_address_identifiers : - M.IsAssociatedFunction.Trait Self "check_address_identifiers" check_address_identifiers. + M.IsAssociatedFunction.C Self "check_address_identifiers" check_address_identifiers. Admitted. Global Typeclasses Opaque check_address_identifiers. @@ -2177,7 +2177,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_constants : - M.IsAssociatedFunction.Trait Self "check_constants" check_constants. + M.IsAssociatedFunction.C Self "check_constants" check_constants. Admitted. Global Typeclasses Opaque check_constants. @@ -2269,7 +2269,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_signatures : - M.IsAssociatedFunction.Trait Self "check_signatures" check_signatures. + M.IsAssociatedFunction.C Self "check_signatures" check_signatures. Admitted. Global Typeclasses Opaque check_signatures. @@ -2361,7 +2361,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_module_handles : - M.IsAssociatedFunction.Trait Self "check_module_handles" check_module_handles. + M.IsAssociatedFunction.C Self "check_module_handles" check_module_handles. Admitted. Global Typeclasses Opaque check_module_handles. @@ -2605,7 +2605,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_struct_handles : - M.IsAssociatedFunction.Trait Self "check_struct_handles" check_struct_handles. + M.IsAssociatedFunction.C Self "check_struct_handles" check_struct_handles. Admitted. Global Typeclasses Opaque check_struct_handles. @@ -2705,10 +2705,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_function_instantiations : - M.IsAssociatedFunction.Trait - Self - "check_function_instantiations" - check_function_instantiations. + M.IsAssociatedFunction.C Self "check_function_instantiations" check_function_instantiations. Admitted. Global Typeclasses Opaque check_function_instantiations. @@ -2952,7 +2949,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_function_handles : - M.IsAssociatedFunction.Trait Self "check_function_handles" check_function_handles. + M.IsAssociatedFunction.C Self "check_function_handles" check_function_handles. Admitted. Global Typeclasses Opaque check_function_handles. @@ -3076,7 +3073,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_field_handles : - M.IsAssociatedFunction.Trait Self "check_field_handles" check_field_handles. + M.IsAssociatedFunction.C Self "check_field_handles" check_field_handles. Admitted. Global Typeclasses Opaque check_field_handles. @@ -3206,7 +3203,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_struct_instantiations : - M.IsAssociatedFunction.Trait Self "check_struct_instantiations" check_struct_instantiations. + M.IsAssociatedFunction.C Self "check_struct_instantiations" check_struct_instantiations. Admitted. Global Typeclasses Opaque check_struct_instantiations. @@ -3349,7 +3346,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_field_instantiations : - M.IsAssociatedFunction.Trait Self "check_field_instantiations" check_field_instantiations. + M.IsAssociatedFunction.C Self "check_field_instantiations" check_field_instantiations. Admitted. Global Typeclasses Opaque check_field_instantiations. @@ -5105,7 +5102,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_struct_definitions : - M.IsAssociatedFunction.Trait Self "check_struct_definitions" check_struct_definitions. + M.IsAssociatedFunction.C Self "check_struct_definitions" check_struct_definitions. Admitted. Global Typeclasses Opaque check_struct_definitions. @@ -6619,7 +6616,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_check_function_defintions : - M.IsAssociatedFunction.Trait Self "check_function_defintions" check_function_defintions. + M.IsAssociatedFunction.C Self "check_function_defintions" check_function_defintions. Admitted. Global Typeclasses Opaque check_function_defintions. @@ -6935,7 +6932,7 @@ Module check_duplication. end. Global Instance AssociatedFunction_first_duplicate_element : - M.IsAssociatedFunction.Trait Self "first_duplicate_element" first_duplicate_element. + M.IsAssociatedFunction.C Self "first_duplicate_element" first_duplicate_element. Admitted. Global Typeclasses Opaque first_duplicate_element. End Impl_move_bytecode_verifier_check_duplication_DuplicationChecker. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/code_unit_verifier.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/code_unit_verifier.v index d20a994b8..891c0cfbe 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/code_unit_verifier.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/code_unit_verifier.v @@ -148,7 +148,7 @@ Module code_unit_verifier. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -1070,7 +1070,7 @@ Module code_unit_verifier. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -2087,7 +2087,7 @@ Module code_unit_verifier. end. Global Instance AssociatedFunction_verify_function : - M.IsAssociatedFunction.Trait Self "verify_function" verify_function. + M.IsAssociatedFunction.C Self "verify_function" verify_function. Admitted. Global Typeclasses Opaque verify_function. @@ -2591,7 +2591,7 @@ Module code_unit_verifier. end. Global Instance AssociatedFunction_verify_common : - M.IsAssociatedFunction.Trait Self "verify_common" verify_common. + M.IsAssociatedFunction.C Self "verify_common" verify_common. Admitted. Global Typeclasses Opaque verify_common. End Impl_move_bytecode_verifier_code_unit_verifier_CodeUnitVerifier. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/constants.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/constants.v index 0defc3df4..2e2fc4028 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/constants.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/constants.v @@ -97,7 +97,7 @@ Module constants. end. Global Instance Instance_IsFunction_verify_module : - M.IsFunction.Trait "move_bytecode_verifier::constants::verify_module" verify_module. + M.IsFunction.C "move_bytecode_verifier::constants::verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -438,7 +438,7 @@ Module constants. end. Global Instance Instance_IsFunction_verify_module_impl : - M.IsFunction.Trait "move_bytecode_verifier::constants::verify_module_impl" verify_module_impl. + M.IsFunction.C "move_bytecode_verifier::constants::verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -604,7 +604,7 @@ Module constants. end. Global Instance Instance_IsFunction_verify_constant : - M.IsFunction.Trait "move_bytecode_verifier::constants::verify_constant" verify_constant. + M.IsFunction.C "move_bytecode_verifier::constants::verify_constant" verify_constant. Admitted. Global Typeclasses Opaque verify_constant. @@ -684,9 +684,7 @@ Module constants. end. Global Instance Instance_IsFunction_verify_constant_type : - M.IsFunction.Trait - "move_bytecode_verifier::constants::verify_constant_type" - verify_constant_type. + M.IsFunction.C "move_bytecode_verifier::constants::verify_constant_type" verify_constant_type. Admitted. Global Typeclasses Opaque verify_constant_type. @@ -767,9 +765,7 @@ Module constants. end. Global Instance Instance_IsFunction_verify_constant_data : - M.IsFunction.Trait - "move_bytecode_verifier::constants::verify_constant_data" - verify_constant_data. + M.IsFunction.C "move_bytecode_verifier::constants::verify_constant_data" verify_constant_data. Admitted. Global Typeclasses Opaque verify_constant_data. End constants. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow.v index 91beb9c12..ad2164abd 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow.v @@ -540,7 +540,7 @@ Module control_flow. end. Global Instance Instance_IsFunction_verify_function : - M.IsFunction.Trait "move_bytecode_verifier::control_flow::verify_function" verify_function. + M.IsFunction.C "move_bytecode_verifier::control_flow::verify_function" verify_function. Admitted. Global Typeclasses Opaque verify_function. @@ -779,9 +779,7 @@ Module control_flow. end. Global Instance Instance_IsFunction_verify_fallthrough : - M.IsFunction.Trait - "move_bytecode_verifier::control_flow::verify_fallthrough" - verify_fallthrough. + M.IsFunction.C "move_bytecode_verifier::control_flow::verify_fallthrough" verify_fallthrough. Admitted. Global Typeclasses Opaque verify_fallthrough. @@ -2306,9 +2304,7 @@ Module control_flow. end. Global Instance Instance_IsFunction_verify_reducibility : - M.IsFunction.Trait - "move_bytecode_verifier::control_flow::verify_reducibility" - verify_reducibility. + M.IsFunction.C "move_bytecode_verifier::control_flow::verify_reducibility" verify_reducibility. Admitted. Global Typeclasses Opaque verify_reducibility. End control_flow. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow_v5.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow_v5.v index 2ff183c73..4b47a0541 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow_v5.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/control_flow_v5.v @@ -258,7 +258,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_verify : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::verify" verify. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::verify" verify. Admitted. Global Typeclasses Opaque verify. @@ -458,9 +458,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_verify_fallthrough : - M.IsFunction.Trait - "move_bytecode_verifier::control_flow_v5::verify_fallthrough" - verify_fallthrough. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::verify_fallthrough" verify_fallthrough. Admitted. Global Typeclasses Opaque verify_fallthrough. @@ -829,7 +827,7 @@ Module control_flow_v5. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_code : M.IsAssociatedFunction.Trait Self "code" code. + Global Instance AssociatedFunction_code : M.IsAssociatedFunction.C Self "code" code. Admitted. Global Typeclasses Opaque code. @@ -1073,7 +1071,7 @@ Module control_flow_v5. end. Global Instance AssociatedFunction_labeled_code : - M.IsAssociatedFunction.Trait Self "labeled_code" labeled_code. + M.IsAssociatedFunction.C Self "labeled_code" labeled_code. Admitted. Global Typeclasses Opaque labeled_code. @@ -1121,7 +1119,7 @@ Module control_flow_v5. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_error : M.IsAssociatedFunction.Trait Self "error" error. + Global Instance AssociatedFunction_error : M.IsAssociatedFunction.C Self "error" error. Admitted. Global Typeclasses Opaque error. End Impl_move_bytecode_verifier_control_flow_v5_ControlFlowVerifier. @@ -1567,9 +1565,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_instruction_labels : - M.IsFunction.Trait - "move_bytecode_verifier::control_flow_v5::instruction_labels" - instruction_labels. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::instruction_labels" instruction_labels. Admitted. Global Typeclasses Opaque instruction_labels. @@ -2221,7 +2217,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_check_jumps : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::check_jumps" check_jumps. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::check_jumps" check_jumps. Admitted. Global Typeclasses Opaque check_jumps. @@ -3216,7 +3212,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_check_code : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::check_code" check_code. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::check_code" check_code. Admitted. Global Typeclasses Opaque check_code. @@ -3236,7 +3232,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_is_back_edge : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::is_back_edge" is_back_edge. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::is_back_edge" is_back_edge. Admitted. Global Typeclasses Opaque is_back_edge. @@ -4077,7 +4073,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_check_continues : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::check_continues" check_continues. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::check_continues" check_continues. Admitted. Global Typeclasses Opaque check_continues. @@ -4650,7 +4646,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_check_breaks : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::check_breaks" check_breaks. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::check_breaks" check_breaks. Admitted. Global Typeclasses Opaque check_breaks. @@ -5440,7 +5436,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_check_no_loop_splits : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::check_no_loop_splits" check_no_loop_splits. Admitted. @@ -5776,7 +5772,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_check_loop_depth : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::check_loop_depth" check_loop_depth. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::check_loop_depth" check_loop_depth. Admitted. Global Typeclasses Opaque check_loop_depth. @@ -6332,7 +6328,7 @@ Module control_flow_v5. end. Global Instance Instance_IsFunction_count_loop_depth : - M.IsFunction.Trait "move_bytecode_verifier::control_flow_v5::count_loop_depth" count_loop_depth. + M.IsFunction.C "move_bytecode_verifier::control_flow_v5::count_loop_depth" count_loop_depth. Admitted. Global Typeclasses Opaque count_loop_depth. End control_flow_v5. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/cyclic_dependencies.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/cyclic_dependencies.v index 0af02a4f4..e8b131959 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/cyclic_dependencies.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/cyclic_dependencies.v @@ -108,7 +108,7 @@ Module cyclic_dependencies. end. Global Instance Instance_IsFunction_verify_module : - M.IsFunction.Trait "move_bytecode_verifier::cyclic_dependencies::verify_module" verify_module. + M.IsFunction.C "move_bytecode_verifier::cyclic_dependencies::verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -530,7 +530,7 @@ Module cyclic_dependencies. end. Global Instance Instance_IsFunction_verify_module_impl : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::cyclic_dependencies::verify_module_impl" verify_module_impl. Admitted. @@ -1158,7 +1158,7 @@ Module cyclic_dependencies. end. Global Instance Instance_IsFunction_detect_cycles : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::cyclic_dependencies::verify_module_impl::detect_cycles" detect_cycles. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/dependencies.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/dependencies.v index 3cade246a..7370cc484 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/dependencies.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/dependencies.v @@ -110,7 +110,7 @@ Module dependencies. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_module : M.IsAssociatedFunction.Trait Self "module" module. + Global Instance AssociatedFunction_module : M.IsAssociatedFunction.C Self "module" module. Admitted. Global Typeclasses Opaque module. @@ -787,7 +787,10 @@ Module dependencies. ] |), M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |)) in @@ -3235,8 +3238,10 @@ Module dependencies. dep_file_format_version |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |), ltac:(M.monadic @@ -3456,7 +3461,7 @@ Module dependencies. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_bytecode_verifier_dependencies_Context. @@ -3568,7 +3573,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_module : - M.IsFunction.Trait "move_bytecode_verifier::dependencies::verify_module" verify_module. + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -3966,9 +3971,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_module_impl : - M.IsFunction.Trait - "move_bytecode_verifier::dependencies::verify_module_impl" - verify_module_impl. + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -4399,7 +4402,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_imported_modules : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_imported_modules" verify_imported_modules. Admitted. @@ -5627,7 +5630,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_imported_structs : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_imported_structs" verify_imported_structs. Admitted. @@ -8014,7 +8017,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_imported_functions : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_imported_functions" verify_imported_functions. Admitted. @@ -8053,7 +8056,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compatible_struct_abilities : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::compatible_struct_abilities" compatible_struct_abilities. Admitted. @@ -8304,7 +8307,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compatible_fun_type_parameters : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::compatible_fun_type_parameters" compatible_fun_type_parameters. Admitted. @@ -8587,7 +8590,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compatible_struct_type_parameters : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::compatible_struct_type_parameters" compatible_struct_type_parameters. Admitted. @@ -8632,7 +8635,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compatible_type_parameter_constraints : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::compatible_type_parameter_constraints" compatible_type_parameter_constraints. Admitted. @@ -8680,7 +8683,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compatible_type_parameter_phantom_decl : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::compatible_type_parameter_phantom_decl" compatible_type_parameter_phantom_decl. Admitted. @@ -9144,7 +9147,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compare_cross_module_signatures : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::compare_cross_module_signatures" compare_cross_module_signatures. Admitted. @@ -10168,7 +10171,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compare_types : - M.IsFunction.Trait "move_bytecode_verifier::dependencies::compare_types" compare_types. + M.IsFunction.C "move_bytecode_verifier::dependencies::compare_types" compare_types. Admitted. Global Typeclasses Opaque compare_types. @@ -10521,7 +10524,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_compare_structs : - M.IsFunction.Trait "move_bytecode_verifier::dependencies::compare_structs" compare_structs. + M.IsFunction.C "move_bytecode_verifier::dependencies::compare_structs" compare_structs. Admitted. Global Typeclasses Opaque compare_structs. @@ -10679,8 +10682,10 @@ Module dependencies. ] |), M.read (| - M.get_constant - "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |) @@ -11187,7 +11192,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_all_script_visibility_usage : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_all_script_visibility_usage" verify_all_script_visibility_usage. Admitted. @@ -11655,7 +11660,7 @@ Module dependencies. end. Global Instance Instance_IsFunction_verify_script_visibility_usage : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::dependencies::verify_script_visibility_usage" verify_script_visibility_usage. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/friends.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/friends.v index d550f156d..c93d99636 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/friends.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/friends.v @@ -97,7 +97,7 @@ Module friends. end. Global Instance Instance_IsFunction_verify_module : - M.IsFunction.Trait "move_bytecode_verifier::friends::verify_module" verify_module. + M.IsFunction.C "move_bytecode_verifier::friends::verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -537,7 +537,7 @@ Module friends. end. Global Instance Instance_IsFunction_verify_module_impl : - M.IsFunction.Trait "move_bytecode_verifier::friends::verify_module_impl" verify_module_impl. + M.IsFunction.C "move_bytecode_verifier::friends::verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. End friends. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/instantiation_loops.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/instantiation_loops.v index 0a7dd85be..6076d1b3d 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/instantiation_loops.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/instantiation_loops.v @@ -717,7 +717,7 @@ Module instantiation_loops. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -822,7 +822,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -1830,7 +1830,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -2017,7 +2017,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_get_or_add_node : - M.IsAssociatedFunction.Trait Self "get_or_add_node" get_or_add_node. + M.IsAssociatedFunction.C Self "get_or_add_node" get_or_add_node. Admitted. Global Typeclasses Opaque get_or_add_node. @@ -2098,7 +2098,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_extract_type_parameters : - M.IsAssociatedFunction.Trait Self "extract_type_parameters" extract_type_parameters. + M.IsAssociatedFunction.C Self "extract_type_parameters" extract_type_parameters. Admitted. Global Typeclasses Opaque extract_type_parameters. @@ -2190,8 +2190,7 @@ Module instantiation_loops. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_add_edge : - M.IsAssociatedFunction.Trait Self "add_edge" add_edge. + Global Instance AssociatedFunction_add_edge : M.IsAssociatedFunction.C Self "add_edge" add_edge. Admitted. Global Typeclasses Opaque add_edge. @@ -2724,7 +2723,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_build_graph_call : - M.IsAssociatedFunction.Trait Self "build_graph_call" build_graph_call. + M.IsAssociatedFunction.C Self "build_graph_call" build_graph_call. Admitted. Global Typeclasses Opaque build_graph_call. @@ -3086,7 +3085,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_build_graph_function_def : - M.IsAssociatedFunction.Trait Self "build_graph_function_def" build_graph_function_def. + M.IsAssociatedFunction.C Self "build_graph_function_def" build_graph_function_def. Admitted. Global Typeclasses Opaque build_graph_function_def. @@ -3574,7 +3573,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_build_graph : - M.IsAssociatedFunction.Trait Self "build_graph" build_graph. + M.IsAssociatedFunction.C Self "build_graph" build_graph. Admitted. Global Typeclasses Opaque build_graph. @@ -5496,7 +5495,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_find_non_trivial_components : - M.IsAssociatedFunction.Trait Self "find_non_trivial_components" find_non_trivial_components. + M.IsAssociatedFunction.C Self "find_non_trivial_components" find_non_trivial_components. Admitted. Global Typeclasses Opaque find_non_trivial_components. @@ -5712,7 +5711,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_format_node : - M.IsAssociatedFunction.Trait Self "format_node" format_node. + M.IsAssociatedFunction.C Self "format_node" format_node. Admitted. Global Typeclasses Opaque format_node. @@ -6187,7 +6186,7 @@ Module instantiation_loops. end. Global Instance AssociatedFunction_format_edge : - M.IsAssociatedFunction.Trait Self "format_edge" format_edge. + M.IsAssociatedFunction.C Self "format_edge" format_edge. Admitted. Global Typeclasses Opaque format_edge. End Impl_move_bytecode_verifier_instantiation_loops_InstantiationLoopChecker. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/instruction_consistency.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/instruction_consistency.v index 7a0e31cf7..c8266b170 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/instruction_consistency.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/instruction_consistency.v @@ -127,7 +127,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -555,7 +555,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -4432,8 +4432,11 @@ Module instruction_consistency. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "u16", + "MAX", + Ty.path "u16" + |) |)) |) |)) in @@ -5103,7 +5106,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_check_instructions : - M.IsAssociatedFunction.Trait Self "check_instructions" check_instructions. + M.IsAssociatedFunction.C Self "check_instructions" check_instructions. Admitted. Global Typeclasses Opaque check_instructions. @@ -5192,7 +5195,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_check_field_op : - M.IsAssociatedFunction.Trait Self "check_field_op" check_field_op. + M.IsAssociatedFunction.C Self "check_field_op" check_field_op. Admitted. Global Typeclasses Opaque check_field_op. @@ -5234,7 +5237,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_current_function : - M.IsAssociatedFunction.Trait Self "current_function" current_function. + M.IsAssociatedFunction.C Self "current_function" current_function. Admitted. Global Typeclasses Opaque current_function. @@ -5448,7 +5451,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_check_type_op : - M.IsAssociatedFunction.Trait Self "check_type_op" check_type_op. + M.IsAssociatedFunction.C Self "check_type_op" check_type_op. Admitted. Global Typeclasses Opaque check_type_op. @@ -5620,7 +5623,7 @@ Module instruction_consistency. end. Global Instance AssociatedFunction_check_function_op : - M.IsAssociatedFunction.Trait Self "check_function_op" check_function_op. + M.IsAssociatedFunction.C Self "check_function_op" check_function_op. Admitted. Global Typeclasses Opaque check_function_op. End Impl_move_bytecode_verifier_instruction_consistency_InstructionConsistency. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/limits.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/limits.v index 259843fbc..bb6a89047 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/limits.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/limits.v @@ -123,7 +123,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -745,7 +745,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -1120,7 +1120,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_struct_handles : - M.IsAssociatedFunction.Trait Self "verify_struct_handles" verify_struct_handles. + M.IsAssociatedFunction.C Self "verify_struct_handles" verify_struct_handles. Admitted. Global Typeclasses Opaque verify_struct_handles. @@ -1657,7 +1657,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_function_handles : - M.IsAssociatedFunction.Trait Self "verify_function_handles" verify_function_handles. + M.IsAssociatedFunction.C Self "verify_function_handles" verify_function_handles. Admitted. Global Typeclasses Opaque verify_function_handles. @@ -2868,7 +2868,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_type_nodes : - M.IsAssociatedFunction.Trait Self "verify_type_nodes" verify_type_nodes. + M.IsAssociatedFunction.C Self "verify_type_nodes" verify_type_nodes. Admitted. Global Typeclasses Opaque verify_type_nodes. @@ -3082,8 +3082,10 @@ Module limits. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "move_bytecode_verifier::limits::verify_type_node::STRUCT_SIZE_WEIGHT" + get_constant (| + "move_bytecode_verifier::limits::verify_type_node::STRUCT_SIZE_WEIGHT", + Ty.path "usize" + |) |) |) |) @@ -3108,8 +3110,10 @@ Module limits. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "move_bytecode_verifier::limits::verify_type_node::PARAM_SIZE_WEIGHT" + get_constant (| + "move_bytecode_verifier::limits::verify_type_node::PARAM_SIZE_WEIGHT", + Ty.path "usize" + |) |) |) |) @@ -3194,7 +3198,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_type_node : - M.IsAssociatedFunction.Trait Self "verify_type_node" verify_type_node. + M.IsAssociatedFunction.C Self "verify_type_node" verify_type_node. Admitted. Global Typeclasses Opaque verify_type_node. @@ -3767,7 +3771,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_definitions : - M.IsAssociatedFunction.Trait Self "verify_definitions" verify_definitions. + M.IsAssociatedFunction.C Self "verify_definitions" verify_definitions. Admitted. Global Typeclasses Opaque verify_definitions. @@ -4554,7 +4558,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_constants : - M.IsAssociatedFunction.Trait Self "verify_constants" verify_constants. + M.IsAssociatedFunction.C Self "verify_constants" verify_constants. Admitted. Global Typeclasses Opaque verify_constants. @@ -4925,7 +4929,7 @@ Module limits. end. Global Instance AssociatedFunction_verify_identifiers : - M.IsAssociatedFunction.Trait Self "verify_identifiers" verify_identifiers. + M.IsAssociatedFunction.C Self "verify_identifiers" verify_identifiers. Admitted. Global Typeclasses Opaque verify_identifiers. End Impl_move_bytecode_verifier_limits_LimitsVerifier. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/abstract_state.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/abstract_state.v index a99a3c466..c8e6a946b 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/abstract_state.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/abstract_state.v @@ -249,38 +249,49 @@ Module locals_safety. (* Instance *) [ ("eq", InstanceField.Method eq) ]. End Impl_core_cmp_PartialEq_move_bytecode_verifier_locals_safety_abstract_state_LocalState_for_move_bytecode_verifier_locals_safety_abstract_state_LocalState. - Definition value_STEP_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 15 |))). + Definition value_STEP_BASE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 15 |))). - Axiom Constant_value_STEP_BASE_COST : - (M.get_constant "move_bytecode_verifier::locals_safety::abstract_state::STEP_BASE_COST") = + Global Instance Instance_IsConstant_value_STEP_BASE_COST : + M.IsFunction.C + "move_bytecode_verifier::locals_safety::abstract_state::STEP_BASE_COST" value_STEP_BASE_COST. - Global Hint Rewrite Constant_value_STEP_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_STEP_BASE_COST. - Definition value_RET_PER_LOCAL_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 30 |))). + Definition value_RET_PER_LOCAL_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 30 |))). - Axiom Constant_value_RET_PER_LOCAL_COST : - (M.get_constant "move_bytecode_verifier::locals_safety::abstract_state::RET_PER_LOCAL_COST") = + Global Instance Instance_IsConstant_value_RET_PER_LOCAL_COST : + M.IsFunction.C + "move_bytecode_verifier::locals_safety::abstract_state::RET_PER_LOCAL_COST" value_RET_PER_LOCAL_COST. - Global Hint Rewrite Constant_value_RET_PER_LOCAL_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_RET_PER_LOCAL_COST. - Definition value_JOIN_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_JOIN_BASE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_JOIN_BASE_COST : - (M.get_constant "move_bytecode_verifier::locals_safety::abstract_state::JOIN_BASE_COST") = + Global Instance Instance_IsConstant_value_JOIN_BASE_COST : + M.IsFunction.C + "move_bytecode_verifier::locals_safety::abstract_state::JOIN_BASE_COST" value_JOIN_BASE_COST. - Global Hint Rewrite Constant_value_JOIN_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_JOIN_BASE_COST. - Definition value_JOIN_PER_LOCAL_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 5 |))). + Definition value_JOIN_PER_LOCAL_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 5 |))). - Axiom Constant_value_JOIN_PER_LOCAL_COST : - (M.get_constant - "move_bytecode_verifier::locals_safety::abstract_state::JOIN_PER_LOCAL_COST") = + Global Instance Instance_IsConstant_value_JOIN_PER_LOCAL_COST : + M.IsFunction.C + "move_bytecode_verifier::locals_safety::abstract_state::JOIN_PER_LOCAL_COST" value_JOIN_PER_LOCAL_COST. - Global Hint Rewrite Constant_value_JOIN_PER_LOCAL_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_JOIN_PER_LOCAL_COST. (* StructRecord { @@ -1710,7 +1721,7 @@ Module locals_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1765,7 +1776,7 @@ Module locals_safety. end. Global Instance AssociatedFunction_local_abilities : - M.IsAssociatedFunction.Trait Self "local_abilities" local_abilities. + M.IsAssociatedFunction.C Self "local_abilities" local_abilities. Admitted. Global Typeclasses Opaque local_abilities. @@ -1796,7 +1807,7 @@ Module locals_safety. end. Global Instance AssociatedFunction_all_local_abilities : - M.IsAssociatedFunction.Trait Self "all_local_abilities" all_local_abilities. + M.IsAssociatedFunction.C Self "all_local_abilities" all_local_abilities. Admitted. Global Typeclasses Opaque all_local_abilities. @@ -1851,7 +1862,7 @@ Module locals_safety. end. Global Instance AssociatedFunction_local_state : - M.IsAssociatedFunction.Trait Self "local_state" local_state. + M.IsAssociatedFunction.C Self "local_state" local_state. Admitted. Global Typeclasses Opaque local_state. @@ -1882,7 +1893,7 @@ Module locals_safety. end. Global Instance AssociatedFunction_local_states : - M.IsAssociatedFunction.Trait Self "local_states" local_states. + M.IsAssociatedFunction.C Self "local_states" local_states. Admitted. Global Typeclasses Opaque local_states. @@ -1940,7 +1951,7 @@ Module locals_safety. end. Global Instance AssociatedFunction_set_available : - M.IsAssociatedFunction.Trait Self "set_available" set_available. + M.IsAssociatedFunction.C Self "set_available" set_available. Admitted. Global Typeclasses Opaque set_available. @@ -2105,7 +2116,7 @@ Module locals_safety. end. Global Instance AssociatedFunction_set_unavailable : - M.IsAssociatedFunction.Trait Self "set_unavailable" set_unavailable. + M.IsAssociatedFunction.C Self "set_unavailable" set_unavailable. Admitted. Global Typeclasses Opaque set_unavailable. @@ -2173,7 +2184,7 @@ Module locals_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_error : M.IsAssociatedFunction.Trait Self "error" error. + Global Instance AssociatedFunction_error : M.IsAssociatedFunction.C Self "error" error. Admitted. Global Typeclasses Opaque error. @@ -3159,7 +3170,7 @@ Module locals_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_join_ : M.IsAssociatedFunction.Trait Self "join_" join_. + Global Instance AssociatedFunction_join_ : M.IsAssociatedFunction.C Self "join_" join_. Admitted. Global Typeclasses Opaque join_. End Impl_move_bytecode_verifier_locals_safety_abstract_state_AbstractState. @@ -3260,8 +3271,10 @@ Module locals_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::locals_safety::abstract_state::JOIN_BASE_COST" + get_constant (| + "move_bytecode_verifier::locals_safety::abstract_state::JOIN_BASE_COST", + Ty.path "u128" + |) |) ] |) @@ -3386,8 +3399,10 @@ Module locals_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::locals_safety::abstract_state::JOIN_PER_LOCAL_COST" + get_constant (| + "move_bytecode_verifier::locals_safety::abstract_state::JOIN_PER_LOCAL_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/mod.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/mod.v index 3e1d16887..6544cfd40 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/mod.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/locals_safety/mod.v @@ -189,7 +189,7 @@ Module locals_safety. end. Global Instance Instance_IsFunction_verify : - M.IsFunction.Trait "move_bytecode_verifier::locals_safety::verify" verify. + M.IsFunction.C "move_bytecode_verifier::locals_safety::verify" verify. Admitted. Global Typeclasses Opaque verify. @@ -388,8 +388,10 @@ Module locals_safety. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::locals_safety::abstract_state::STEP_BASE_COST" + get_constant (| + "move_bytecode_verifier::locals_safety::abstract_state::STEP_BASE_COST", + Ty.path "u128" + |) |) ] |) @@ -1085,8 +1087,10 @@ Module locals_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::locals_safety::abstract_state::RET_PER_LOCAL_COST" + get_constant (| + "move_bytecode_verifier::locals_safety::abstract_state::RET_PER_LOCAL_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", @@ -2370,7 +2374,7 @@ Module locals_safety. end. Global Instance Instance_IsFunction_execute_inner : - M.IsFunction.Trait "move_bytecode_verifier::locals_safety::execute_inner" execute_inner. + M.IsFunction.C "move_bytecode_verifier::locals_safety::execute_inner" execute_inner. Admitted. Global Typeclasses Opaque execute_inner. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/loop_summary.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/loop_summary.v index 8110ee15a..9b3747b98 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/loop_summary.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/loop_summary.v @@ -2012,7 +2012,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2105,7 +2105,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_is_descendant : - M.IsAssociatedFunction.Trait Self "is_descendant" is_descendant. + M.IsAssociatedFunction.C Self "is_descendant" is_descendant. Admitted. Global Typeclasses Opaque is_descendant. @@ -2202,8 +2202,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_preorder : - M.IsAssociatedFunction.Trait Self "preorder" preorder. + Global Instance AssociatedFunction_preorder : M.IsAssociatedFunction.C Self "preorder" preorder. Admitted. Global Typeclasses Opaque preorder. @@ -2263,7 +2262,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_block : M.IsAssociatedFunction.Trait Self "block" block. + Global Instance AssociatedFunction_block : M.IsAssociatedFunction.C Self "block" block. Admitted. Global Typeclasses Opaque block. @@ -2350,7 +2349,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_back_edges : - M.IsAssociatedFunction.Trait Self "back_edges" back_edges. + M.IsAssociatedFunction.C Self "back_edges" back_edges. Admitted. Global Typeclasses Opaque back_edges. @@ -2437,7 +2436,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_pred_edges : - M.IsAssociatedFunction.Trait Self "pred_edges" pred_edges. + M.IsAssociatedFunction.C Self "pred_edges" pred_edges. Admitted. Global Typeclasses Opaque pred_edges. End Impl_move_bytecode_verifier_loop_summary_LoopSummary. @@ -2598,7 +2597,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3000,7 +2999,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_containing_loop : - M.IsAssociatedFunction.Trait Self "containing_loop" containing_loop. + M.IsAssociatedFunction.C Self "containing_loop" containing_loop. Admitted. Global Typeclasses Opaque containing_loop. @@ -3590,7 +3589,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_collapse_loop : - M.IsAssociatedFunction.Trait Self "collapse_loop" collapse_loop. + M.IsAssociatedFunction.C Self "collapse_loop" collapse_loop. Admitted. Global Typeclasses Opaque collapse_loop. @@ -3656,7 +3655,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_parent : M.IsAssociatedFunction.Trait Self "parent" parent. + Global Instance AssociatedFunction_parent : M.IsAssociatedFunction.C Self "parent" parent. Admitted. Global Typeclasses Opaque parent. @@ -3734,7 +3733,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_parent_mut : - M.IsAssociatedFunction.Trait Self "parent_mut" parent_mut. + M.IsAssociatedFunction.C Self "parent_mut" parent_mut. Admitted. Global Typeclasses Opaque parent_mut. @@ -3794,7 +3793,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_depth : M.IsAssociatedFunction.Trait Self "depth" depth. + Global Instance AssociatedFunction_depth : M.IsAssociatedFunction.C Self "depth" depth. Admitted. Global Typeclasses Opaque depth. @@ -3866,7 +3865,7 @@ Module loop_summary. end. Global Instance AssociatedFunction_depth_mut : - M.IsAssociatedFunction.Trait Self "depth_mut" depth_mut. + M.IsAssociatedFunction.C Self "depth_mut" depth_mut. Admitted. Global Typeclasses Opaque depth_mut. End Impl_move_bytecode_verifier_loop_summary_LoopPartition. @@ -3907,7 +3906,7 @@ Module loop_summary. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bump : M.IsAssociatedFunction.Trait Self "bump" bump. + Global Instance AssociatedFunction_bump : M.IsAssociatedFunction.C Self "bump" bump. Admitted. Global Typeclasses Opaque bump. End Impl_move_bytecode_verifier_loop_summary_NodeId. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/abstract_state.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/abstract_state.v index 7750034d8..f59f28f03 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/abstract_state.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/abstract_state.v @@ -389,7 +389,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_reference : - M.IsAssociatedFunction.Trait Self "is_reference" is_reference. + M.IsAssociatedFunction.C Self "is_reference" is_reference. Admitted. Global Typeclasses Opaque is_reference. @@ -419,7 +419,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_value : - M.IsAssociatedFunction.Trait Self "is_value" is_value. + M.IsAssociatedFunction.C Self "is_value" is_value. Admitted. Global Typeclasses Opaque is_value. @@ -475,7 +475,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ref_id : M.IsAssociatedFunction.Trait Self "ref_id" ref_id. + Global Instance AssociatedFunction_ref_id : M.IsAssociatedFunction.C Self "ref_id" ref_id. Admitted. Global Typeclasses Opaque ref_id. End Impl_move_bytecode_verifier_reference_safety_abstract_state_AbstractValue. @@ -1777,84 +1777,123 @@ Module reference_safety. (* Instance *) [ ("fmt", InstanceField.Method fmt) ]. End Impl_core_fmt_Display_for_move_bytecode_verifier_reference_safety_abstract_state_Label. - Definition value_STEP_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_STEP_BASE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_STEP_BASE_COST : - (M.get_constant "move_bytecode_verifier::reference_safety::abstract_state::STEP_BASE_COST") = + Global Instance Instance_IsConstant_value_STEP_BASE_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::STEP_BASE_COST" value_STEP_BASE_COST. - Global Hint Rewrite Constant_value_STEP_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_STEP_BASE_COST. - Definition value_STEP_PER_LOCAL_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 20 |))). + Definition value_STEP_PER_LOCAL_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 20 |))). - Axiom Constant_value_STEP_PER_LOCAL_COST : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_LOCAL_COST") = + Global Instance Instance_IsConstant_value_STEP_PER_LOCAL_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_LOCAL_COST" value_STEP_PER_LOCAL_COST. - Global Hint Rewrite Constant_value_STEP_PER_LOCAL_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_STEP_PER_LOCAL_COST. - Definition value_STEP_PER_GRAPH_ITEM_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 50 |))). + Definition value_STEP_PER_GRAPH_ITEM_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 50 |))). - Axiom Constant_value_STEP_PER_GRAPH_ITEM_COST : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_GRAPH_ITEM_COST") = + Global Instance Instance_IsConstant_value_STEP_PER_GRAPH_ITEM_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_GRAPH_ITEM_COST" value_STEP_PER_GRAPH_ITEM_COST. - Global Hint Rewrite Constant_value_STEP_PER_GRAPH_ITEM_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_STEP_PER_GRAPH_ITEM_COST. - Definition value_JOIN_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 100 |))). + Definition value_JOIN_BASE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 100 |))). - Axiom Constant_value_JOIN_BASE_COST : - (M.get_constant "move_bytecode_verifier::reference_safety::abstract_state::JOIN_BASE_COST") = + Global Instance Instance_IsConstant_value_JOIN_BASE_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::JOIN_BASE_COST" value_JOIN_BASE_COST. - Global Hint Rewrite Constant_value_JOIN_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_JOIN_BASE_COST. - Definition value_JOIN_PER_LOCAL_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). + Definition value_JOIN_PER_LOCAL_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 10 |))). - Axiom Constant_value_JOIN_PER_LOCAL_COST : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_LOCAL_COST") = + Global Instance Instance_IsConstant_value_JOIN_PER_LOCAL_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_LOCAL_COST" value_JOIN_PER_LOCAL_COST. - Global Hint Rewrite Constant_value_JOIN_PER_LOCAL_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_JOIN_PER_LOCAL_COST. - Definition value_JOIN_PER_GRAPH_ITEM_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 50 |))). + Definition value_JOIN_PER_GRAPH_ITEM_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 50 |))). - Axiom Constant_value_JOIN_PER_GRAPH_ITEM_COST : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_GRAPH_ITEM_COST") = + Global Instance Instance_IsConstant_value_JOIN_PER_GRAPH_ITEM_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_GRAPH_ITEM_COST" value_JOIN_PER_GRAPH_ITEM_COST. - Global Hint Rewrite Constant_value_JOIN_PER_GRAPH_ITEM_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_JOIN_PER_GRAPH_ITEM_COST. - Definition value_REF_PARAM_EDGE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 100 |))). + Definition value_REF_PARAM_EDGE_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 100 |))). - Axiom Constant_value_REF_PARAM_EDGE_COST : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST") = + Global Instance Instance_IsConstant_value_REF_PARAM_EDGE_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST" value_REF_PARAM_EDGE_COST. - Global Hint Rewrite Constant_value_REF_PARAM_EDGE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_REF_PARAM_EDGE_COST. - Definition value_REF_PARAM_EDGE_COST_GROWTH : Value.t := - M.run_constant ltac:(M.monadic UnsupportedLiteral). + Definition value_REF_PARAM_EDGE_COST_GROWTH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic UnsupportedLiteral). - Axiom Constant_value_REF_PARAM_EDGE_COST_GROWTH : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST_GROWTH") = + Global Instance Instance_IsConstant_value_REF_PARAM_EDGE_COST_GROWTH : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST_GROWTH" value_REF_PARAM_EDGE_COST_GROWTH. - Global Hint Rewrite Constant_value_REF_PARAM_EDGE_COST_GROWTH : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_REF_PARAM_EDGE_COST_GROWTH. - Definition value_CALL_PER_ACQUIRES_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 100 |))). + Definition value_CALL_PER_ACQUIRES_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 100 |))). - Axiom Constant_value_CALL_PER_ACQUIRES_COST : - (M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::CALL_PER_ACQUIRES_COST") = + Global Instance Instance_IsConstant_value_CALL_PER_ACQUIRES_COST : + M.IsFunction.C + "move_bytecode_verifier::reference_safety::abstract_state::CALL_PER_ACQUIRES_COST" value_CALL_PER_ACQUIRES_COST. - Global Hint Rewrite Constant_value_CALL_PER_ACQUIRES_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_CALL_PER_ACQUIRES_COST. (* StructRecord { @@ -3055,7 +3094,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3099,7 +3138,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_local_count : - M.IsAssociatedFunction.Trait Self "local_count" local_count. + M.IsAssociatedFunction.C Self "local_count" local_count. Admitted. Global Typeclasses Opaque local_count. @@ -3142,7 +3181,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_graph_size : - M.IsAssociatedFunction.Trait Self "graph_size" graph_size. + M.IsAssociatedFunction.C Self "graph_size" graph_size. Admitted. Global Typeclasses Opaque graph_size. @@ -3197,7 +3236,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_frame_root : - M.IsAssociatedFunction.Trait Self "frame_root" frame_root. + M.IsAssociatedFunction.C Self "frame_root" frame_root. Admitted. Global Typeclasses Opaque frame_root. @@ -3265,7 +3304,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_error : M.IsAssociatedFunction.Trait Self "error" error. + Global Instance AssociatedFunction_error : M.IsAssociatedFunction.C Self "error" error. Admitted. Global Typeclasses Opaque error. @@ -3363,7 +3402,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_value_for : - M.IsAssociatedFunction.Trait Self "value_for" value_for. + M.IsAssociatedFunction.C Self "value_for" value_for. Admitted. Global Typeclasses Opaque value_for. @@ -3451,8 +3490,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new_ref : - M.IsAssociatedFunction.Trait Self "new_ref" new_ref. + Global Instance AssociatedFunction_new_ref : M.IsAssociatedFunction.C Self "new_ref" new_ref. Admitted. Global Typeclasses Opaque new_ref. @@ -3500,7 +3538,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_add_copy : - M.IsAssociatedFunction.Trait Self "add_copy" add_copy. + M.IsAssociatedFunction.C Self "add_copy" add_copy. Admitted. Global Typeclasses Opaque add_copy. @@ -3548,7 +3586,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_add_borrow : - M.IsAssociatedFunction.Trait Self "add_borrow" add_borrow. + M.IsAssociatedFunction.C Self "add_borrow" add_borrow. Admitted. Global Typeclasses Opaque add_borrow. @@ -3601,7 +3639,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_add_field_borrow : - M.IsAssociatedFunction.Trait Self "add_field_borrow" add_field_borrow. + M.IsAssociatedFunction.C Self "add_field_borrow" add_field_borrow. Admitted. Global Typeclasses Opaque add_field_borrow. @@ -3663,7 +3701,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_add_local_borrow : - M.IsAssociatedFunction.Trait Self "add_local_borrow" add_local_borrow. + M.IsAssociatedFunction.C Self "add_local_borrow" add_local_borrow. Admitted. Global Typeclasses Opaque add_local_borrow. @@ -3725,7 +3763,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_add_resource_borrow : - M.IsAssociatedFunction.Trait Self "add_resource_borrow" add_resource_borrow. + M.IsAssociatedFunction.C Self "add_resource_borrow" add_resource_borrow. Admitted. Global Typeclasses Opaque add_resource_borrow. @@ -3775,8 +3813,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_release : - M.IsAssociatedFunction.Trait Self "release" release. + Global Instance AssociatedFunction_release : M.IsAssociatedFunction.C Self "release" release. Admitted. Global Typeclasses Opaque release. @@ -3884,7 +3921,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_has_full_borrows : - M.IsAssociatedFunction.Trait Self "has_full_borrows" has_full_borrows. + M.IsAssociatedFunction.C Self "has_full_borrows" has_full_borrows. Admitted. Global Typeclasses Opaque has_full_borrows. @@ -4400,7 +4437,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_has_consistent_borrows : - M.IsAssociatedFunction.Trait Self "has_consistent_borrows" has_consistent_borrows. + M.IsAssociatedFunction.C Self "has_consistent_borrows" has_consistent_borrows. Admitted. Global Typeclasses Opaque has_consistent_borrows. @@ -4916,7 +4953,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_has_consistent_mutable_borrows : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "has_consistent_mutable_borrows" has_consistent_mutable_borrows. @@ -5014,7 +5051,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_writable : - M.IsAssociatedFunction.Trait Self "is_writable" is_writable. + M.IsAssociatedFunction.C Self "is_writable" is_writable. Admitted. Global Typeclasses Opaque is_writable. @@ -5139,7 +5176,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_freezable : - M.IsAssociatedFunction.Trait Self "is_freezable" is_freezable. + M.IsAssociatedFunction.C Self "is_freezable" is_freezable. Admitted. Global Typeclasses Opaque is_freezable. @@ -5212,7 +5249,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_readable : - M.IsAssociatedFunction.Trait Self "is_readable" is_readable. + M.IsAssociatedFunction.C Self "is_readable" is_readable. Admitted. Global Typeclasses Opaque is_readable. @@ -5261,7 +5298,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_local_borrowed : - M.IsAssociatedFunction.Trait Self "is_local_borrowed" is_local_borrowed. + M.IsAssociatedFunction.C Self "is_local_borrowed" is_local_borrowed. Admitted. Global Typeclasses Opaque is_local_borrowed. @@ -5314,7 +5351,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_local_mutably_borrowed : - M.IsAssociatedFunction.Trait Self "is_local_mutably_borrowed" is_local_mutably_borrowed. + M.IsAssociatedFunction.C Self "is_local_mutably_borrowed" is_local_mutably_borrowed. Admitted. Global Typeclasses Opaque is_local_mutably_borrowed. @@ -5363,7 +5400,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_global_borrowed : - M.IsAssociatedFunction.Trait Self "is_global_borrowed" is_global_borrowed. + M.IsAssociatedFunction.C Self "is_global_borrowed" is_global_borrowed. Admitted. Global Typeclasses Opaque is_global_borrowed. @@ -5416,7 +5453,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_global_mutably_borrowed : - M.IsAssociatedFunction.Trait Self "is_global_mutably_borrowed" is_global_mutably_borrowed. + M.IsAssociatedFunction.C Self "is_global_mutably_borrowed" is_global_mutably_borrowed. Admitted. Global Typeclasses Opaque is_global_mutably_borrowed. @@ -5464,7 +5501,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_frame_safe_to_destroy : - M.IsAssociatedFunction.Trait Self "is_frame_safe_to_destroy" is_frame_safe_to_destroy. + M.IsAssociatedFunction.C Self "is_frame_safe_to_destroy" is_frame_safe_to_destroy. Admitted. Global Typeclasses Opaque is_frame_safe_to_destroy. @@ -5527,7 +5564,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_release_value : - M.IsAssociatedFunction.Trait Self "release_value" release_value. + M.IsAssociatedFunction.C Self "release_value" release_value. Admitted. Global Typeclasses Opaque release_value. @@ -6052,7 +6089,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_copy_loc : - M.IsAssociatedFunction.Trait Self "copy_loc" copy_loc. + M.IsAssociatedFunction.C Self "copy_loc" copy_loc. Admitted. Global Typeclasses Opaque copy_loc. @@ -6592,7 +6629,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_move_loc : - M.IsAssociatedFunction.Trait Self "move_loc" move_loc. + M.IsAssociatedFunction.C Self "move_loc" move_loc. Admitted. Global Typeclasses Opaque move_loc. @@ -7136,7 +7173,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_st_loc : M.IsAssociatedFunction.Trait Self "st_loc" st_loc. + Global Instance AssociatedFunction_st_loc : M.IsAssociatedFunction.C Self "st_loc" st_loc. Admitted. Global Typeclasses Opaque st_loc. @@ -7297,7 +7334,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_freeze_ref : - M.IsAssociatedFunction.Trait Self "freeze_ref" freeze_ref. + M.IsAssociatedFunction.C Self "freeze_ref" freeze_ref. Admitted. Global Typeclasses Opaque freeze_ref. @@ -7604,7 +7641,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_comparison : - M.IsAssociatedFunction.Trait Self "comparison" comparison. + M.IsAssociatedFunction.C Self "comparison" comparison. Admitted. Global Typeclasses Opaque comparison. @@ -7728,7 +7765,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_read_ref : - M.IsAssociatedFunction.Trait Self "read_ref" read_ref. + M.IsAssociatedFunction.C Self "read_ref" read_ref. Admitted. Global Typeclasses Opaque read_ref. @@ -7843,7 +7880,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_write_ref : - M.IsAssociatedFunction.Trait Self "write_ref" write_ref. + M.IsAssociatedFunction.C Self "write_ref" write_ref. Admitted. Global Typeclasses Opaque write_ref. @@ -7995,7 +8032,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_borrow_loc : - M.IsAssociatedFunction.Trait Self "borrow_loc" borrow_loc. + M.IsAssociatedFunction.C Self "borrow_loc" borrow_loc. Admitted. Global Typeclasses Opaque borrow_loc. @@ -8280,7 +8317,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_borrow_field : - M.IsAssociatedFunction.Trait Self "borrow_field" borrow_field. + M.IsAssociatedFunction.C Self "borrow_field" borrow_field. Admitted. Global Typeclasses Opaque borrow_field. @@ -8451,7 +8488,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_borrow_global : - M.IsAssociatedFunction.Trait Self "borrow_global" borrow_global. + M.IsAssociatedFunction.C Self "borrow_global" borrow_global. Admitted. Global Typeclasses Opaque borrow_global. @@ -8550,7 +8587,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_move_from : - M.IsAssociatedFunction.Trait Self "move_from" move_from. + M.IsAssociatedFunction.C Self "move_from" move_from. Admitted. Global Typeclasses Opaque move_from. @@ -8925,7 +8962,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_vector_op : - M.IsAssociatedFunction.Trait Self "vector_op" vector_op. + M.IsAssociatedFunction.C Self "vector_op" vector_op. Admitted. Global Typeclasses Opaque vector_op. @@ -9350,7 +9387,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_vector_element_borrow : - M.IsAssociatedFunction.Trait Self "vector_element_borrow" vector_element_borrow. + M.IsAssociatedFunction.C Self "vector_element_borrow" vector_element_borrow. Admitted. Global Typeclasses Opaque vector_element_borrow. @@ -9503,8 +9540,10 @@ Module reference_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::CALL_PER_ACQUIRES_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::CALL_PER_ACQUIRES_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", @@ -11119,8 +11158,10 @@ Module reference_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", @@ -11156,8 +11197,10 @@ Module reference_safety. ] |); M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST_GROWTH" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::REF_PARAM_EDGE_COST_GROWTH", + Ty.path "f32" + |) |) ] |) @@ -11364,7 +11407,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_call : M.IsAssociatedFunction.Trait Self "call" call. + Global Instance AssociatedFunction_call : M.IsAssociatedFunction.C Self "call" call. Admitted. Global Typeclasses Opaque call. @@ -12216,7 +12259,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ret : M.IsAssociatedFunction.Trait Self "ret" ret. + Global Instance AssociatedFunction_ret : M.IsAssociatedFunction.C Self "ret" ret. Admitted. Global Typeclasses Opaque ret. @@ -12976,7 +13019,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_construct_canonical_state : - M.IsAssociatedFunction.Trait Self "construct_canonical_state" construct_canonical_state. + M.IsAssociatedFunction.C Self "construct_canonical_state" construct_canonical_state. Admitted. Global Typeclasses Opaque construct_canonical_state. @@ -13106,7 +13149,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_all_immutable : - M.IsAssociatedFunction.Trait Self "all_immutable" all_immutable. + M.IsAssociatedFunction.C Self "all_immutable" all_immutable. Admitted. Global Typeclasses Opaque all_immutable. @@ -13485,7 +13528,7 @@ Module reference_safety. end. Global Instance AssociatedFunction_is_canonical : - M.IsAssociatedFunction.Trait Self "is_canonical" is_canonical. + M.IsAssociatedFunction.C Self "is_canonical" is_canonical. Admitted. Global Typeclasses Opaque is_canonical. @@ -14547,7 +14590,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_join_ : M.IsAssociatedFunction.Trait Self "join_" join_. + Global Instance AssociatedFunction_join_ : M.IsAssociatedFunction.C Self "join_" join_. Admitted. Global Typeclasses Opaque join_. End Impl_move_bytecode_verifier_reference_safety_abstract_state_AbstractState. @@ -14795,8 +14838,10 @@ Module reference_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::JOIN_BASE_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::JOIN_BASE_COST", + Ty.path "u128" + |) |) ] |) @@ -14921,8 +14966,10 @@ Module reference_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_LOCAL_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_LOCAL_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", @@ -15073,8 +15120,10 @@ Module reference_safety. "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_GRAPH_ITEM_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::JOIN_PER_GRAPH_ITEM_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/mod.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/mod.v index 3233e66ca..8135af8ad 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/mod.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/reference_safety/mod.v @@ -99,7 +99,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -440,7 +440,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push : M.IsAssociatedFunction.Trait Self "push" push. + Global Instance AssociatedFunction_push : M.IsAssociatedFunction.C Self "push" push. Admitted. Global Typeclasses Opaque push. @@ -783,7 +783,7 @@ Module reference_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push_n : M.IsAssociatedFunction.Trait Self "push_n" push_n. + Global Instance AssociatedFunction_push_n : M.IsAssociatedFunction.C Self "push_n" push_n. Admitted. Global Typeclasses Opaque push_n. End Impl_move_bytecode_verifier_reference_safety_ReferenceSafetyAnalysis. @@ -870,7 +870,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_verify : - M.IsFunction.Trait "move_bytecode_verifier::reference_safety::verify" verify. + M.IsFunction.C "move_bytecode_verifier::reference_safety::verify" verify. Admitted. Global Typeclasses Opaque verify. @@ -2150,7 +2150,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_call : - M.IsFunction.Trait "move_bytecode_verifier::reference_safety::call" call. + M.IsFunction.C "move_bytecode_verifier::reference_safety::call" call. Admitted. Global Typeclasses Opaque call. @@ -2225,7 +2225,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_num_fields : - M.IsFunction.Trait "move_bytecode_verifier::reference_safety::num_fields" num_fields. + M.IsFunction.C "move_bytecode_verifier::reference_safety::num_fields" num_fields. Admitted. Global Typeclasses Opaque num_fields. @@ -3127,7 +3127,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_pack : - M.IsFunction.Trait "move_bytecode_verifier::reference_safety::pack" pack. + M.IsFunction.C "move_bytecode_verifier::reference_safety::pack" pack. Admitted. Global Typeclasses Opaque pack. @@ -3874,7 +3874,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_unpack : - M.IsFunction.Trait "move_bytecode_verifier::reference_safety::unpack" unpack. + M.IsFunction.C "move_bytecode_verifier::reference_safety::unpack" unpack. Admitted. Global Typeclasses Opaque unpack. @@ -4055,9 +4055,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_vec_element_type : - M.IsFunction.Trait - "move_bytecode_verifier::reference_safety::vec_element_type" - vec_element_type. + M.IsFunction.C "move_bytecode_verifier::reference_safety::vec_element_type" vec_element_type. Admitted. Global Typeclasses Opaque vec_element_type. @@ -4399,8 +4397,10 @@ Module reference_safety. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::STEP_BASE_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::STEP_BASE_COST", + Ty.path "u128" + |) |) ] |) @@ -4519,8 +4519,10 @@ Module reference_safety. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_LOCAL_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_LOCAL_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", @@ -4650,8 +4652,10 @@ Module reference_safety. M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; M.read (| - M.get_constant - "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_GRAPH_ITEM_COST" + get_constant (| + "move_bytecode_verifier::reference_safety::abstract_state::STEP_PER_GRAPH_ITEM_COST", + Ty.path "u128" + |) |); M.call_closure (| Ty.path "usize", @@ -35296,7 +35300,7 @@ Module reference_safety. end. Global Instance Instance_IsFunction_execute_inner : - M.IsFunction.Trait "move_bytecode_verifier::reference_safety::execute_inner" execute_inner. + M.IsFunction.C "move_bytecode_verifier::reference_safety::execute_inner" execute_inner. Admitted. Global Typeclasses Opaque execute_inner. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/script_signature.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/script_signature.v index 1e1ba5f7c..e9bbbe3f1 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/script_signature.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/script_signature.v @@ -72,7 +72,10 @@ Module script_signature. |) |), M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |) |)) in @@ -652,7 +655,7 @@ Module script_signature. end. Global Instance Instance_IsFunction_verify_module : - M.IsFunction.Trait "move_bytecode_verifier::script_signature::verify_module" verify_module. + M.IsFunction.C "move_bytecode_verifier::script_signature::verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -1282,7 +1285,7 @@ Module script_signature. end. Global Instance Instance_IsFunction_verify_module_function_signature_by_name : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::script_signature::verify_module_function_signature_by_name" verify_module_function_signature_by_name. Admitted. @@ -1519,7 +1522,7 @@ Module script_signature. end. Global Instance Instance_IsFunction_verify_module_function_signature : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::script_signature::verify_module_function_signature" verify_module_function_signature. Admitted. @@ -1568,7 +1571,10 @@ Module script_signature. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| module |) |) |) ] |), M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_5" + get_constant (| + "move_binary_format::file_format_common::VERSION_5", + Ty.path "u32" + |) |) |), ltac:(M.monadic (M.read (| is_entry |))) @@ -1734,7 +1740,7 @@ Module script_signature. end. Global Instance Instance_IsFunction_verify_main_signature_impl : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::script_signature::verify_main_signature_impl" verify_main_signature_impl. Admitted. @@ -1767,7 +1773,7 @@ Module script_signature. end. Global Instance Instance_IsFunction_no_additional_script_signature_checks : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::script_signature::no_additional_script_signature_checks" no_additional_script_signature_checks. Admitted. @@ -2111,7 +2117,10 @@ Module script_signature. ] |), M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_1" + get_constant (| + "move_binary_format::file_format_common::VERSION_1", + Ty.path "u32" + |) |) |) |)) in @@ -2815,7 +2824,7 @@ Module script_signature. end. Global Instance Instance_IsFunction_legacy_script_signature_checks : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::script_signature::legacy_script_signature_checks" legacy_script_signature_checks. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/signature.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/signature.v index c2c1a8bf0..e3a4b7ffd 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/signature.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/signature.v @@ -142,7 +142,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -718,7 +718,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. @@ -992,7 +992,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_signature_pool : - M.IsAssociatedFunction.Trait Self "verify_signature_pool" verify_signature_pool. + M.IsAssociatedFunction.C Self "verify_signature_pool" verify_signature_pool. Admitted. Global Typeclasses Opaque verify_signature_pool. @@ -1938,7 +1938,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_function_signatures : - M.IsAssociatedFunction.Trait Self "verify_function_signatures" verify_function_signatures. + M.IsAssociatedFunction.C Self "verify_function_signatures" verify_function_signatures. Admitted. Global Typeclasses Opaque verify_function_signatures. @@ -3678,7 +3678,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_fields : - M.IsAssociatedFunction.Trait Self "verify_fields" verify_fields. + M.IsAssociatedFunction.C Self "verify_fields" verify_fields. Admitted. Global Typeclasses Opaque verify_fields. @@ -4283,7 +4283,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_code_units : - M.IsAssociatedFunction.Trait Self "verify_code_units" verify_code_units. + M.IsAssociatedFunction.C Self "verify_code_units" verify_code_units. Admitted. Global Typeclasses Opaque verify_code_units. @@ -7956,7 +7956,7 @@ Module signature. end. Global Instance AssociatedFunction_verify_code : - M.IsAssociatedFunction.Trait Self "verify_code" verify_code. + M.IsAssociatedFunction.C Self "verify_code" verify_code. Admitted. Global Typeclasses Opaque verify_code. @@ -8918,7 +8918,7 @@ Module signature. end. Global Instance AssociatedFunction_check_phantom_params : - M.IsAssociatedFunction.Trait Self "check_phantom_params" check_phantom_params. + M.IsAssociatedFunction.C Self "check_phantom_params" check_phantom_params. Admitted. Global Typeclasses Opaque check_phantom_params. @@ -9428,7 +9428,7 @@ Module signature. end. Global Instance AssociatedFunction_check_signature : - M.IsAssociatedFunction.Trait Self "check_signature" check_signature. + M.IsAssociatedFunction.C Self "check_signature" check_signature. Admitted. Global Typeclasses Opaque check_signature. @@ -9691,7 +9691,7 @@ Module signature. end. Global Instance AssociatedFunction_check_signature_tokens : - M.IsAssociatedFunction.Trait Self "check_signature_tokens" check_signature_tokens. + M.IsAssociatedFunction.C Self "check_signature_tokens" check_signature_tokens. Admitted. Global Typeclasses Opaque check_signature_tokens. @@ -10057,7 +10057,7 @@ Module signature. end. Global Instance AssociatedFunction_check_signature_token : - M.IsAssociatedFunction.Trait Self "check_signature_token" check_signature_token. + M.IsAssociatedFunction.C Self "check_signature_token" check_signature_token. Admitted. Global Typeclasses Opaque check_signature_token. @@ -10708,7 +10708,7 @@ Module signature. end. Global Instance AssociatedFunction_check_instantiation : - M.IsAssociatedFunction.Trait Self "check_instantiation" check_instantiation. + M.IsAssociatedFunction.C Self "check_instantiation" check_instantiation. Admitted. Global Typeclasses Opaque check_instantiation. @@ -10777,7 +10777,10 @@ Module signature. ] |), M.read (| - M.get_constant "move_binary_format::file_format_common::VERSION_6" + get_constant (| + "move_binary_format::file_format_common::VERSION_6", + Ty.path "u32" + |) |) |) |)) in @@ -11068,7 +11071,7 @@ Module signature. end. Global Instance AssociatedFunction_check_type_instantiation : - M.IsAssociatedFunction.Trait Self "check_type_instantiation" check_type_instantiation. + M.IsAssociatedFunction.C Self "check_type_instantiation" check_type_instantiation. Admitted. Global Typeclasses Opaque check_type_instantiation. @@ -11422,7 +11425,7 @@ Module signature. end. Global Instance AssociatedFunction_check_type_instantiation_ : - M.IsAssociatedFunction.Trait Self "check_type_instantiation_" check_type_instantiation_. + M.IsAssociatedFunction.C Self "check_type_instantiation_" check_type_instantiation_. Admitted. Global Typeclasses Opaque check_type_instantiation_. @@ -12303,7 +12306,7 @@ Module signature. end. Global Instance AssociatedFunction_check_generic_instance : - M.IsAssociatedFunction.Trait Self "check_generic_instance" check_generic_instance. + M.IsAssociatedFunction.C Self "check_generic_instance" check_generic_instance. Admitted. Global Typeclasses Opaque check_generic_instance. End Impl_move_bytecode_verifier_signature_SignatureChecker. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/stack_usage_verifier.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/stack_usage_verifier.v index 2a1ce12a0..91a5eb427 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/stack_usage_verifier.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/stack_usage_verifier.v @@ -435,7 +435,7 @@ Module stack_usage_verifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_verify : M.IsAssociatedFunction.Trait Self "verify" verify. + Global Instance AssociatedFunction_verify : M.IsAssociatedFunction.C Self "verify" verify. Admitted. Global Typeclasses Opaque verify. @@ -1534,7 +1534,7 @@ Module stack_usage_verifier. end. Global Instance AssociatedFunction_verify_block : - M.IsAssociatedFunction.Trait Self "verify_block" verify_block. + M.IsAssociatedFunction.C Self "verify_block" verify_block. Admitted. Global Typeclasses Opaque verify_block. @@ -3482,7 +3482,7 @@ Module stack_usage_verifier. end. Global Instance AssociatedFunction_instruction_effect : - M.IsAssociatedFunction.Trait Self "instruction_effect" instruction_effect. + M.IsAssociatedFunction.C Self "instruction_effect" instruction_effect. Admitted. Global Typeclasses Opaque instruction_effect. @@ -3524,7 +3524,7 @@ Module stack_usage_verifier. end. Global Instance AssociatedFunction_current_function : - M.IsAssociatedFunction.Trait Self "current_function" current_function. + M.IsAssociatedFunction.C Self "current_function" current_function. Admitted. Global Typeclasses Opaque current_function. End Impl_move_bytecode_verifier_stack_usage_verifier_StackUsageVerifier. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/struct_defs.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/struct_defs.v index 8f88e7411..aa1a72976 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/struct_defs.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/struct_defs.v @@ -119,7 +119,7 @@ Module struct_defs. end. Global Instance AssociatedFunction_verify_module : - M.IsAssociatedFunction.Trait Self "verify_module" verify_module. + M.IsAssociatedFunction.C Self "verify_module" verify_module. Admitted. Global Typeclasses Opaque verify_module. @@ -473,7 +473,7 @@ Module struct_defs. end. Global Instance AssociatedFunction_verify_module_impl : - M.IsAssociatedFunction.Trait Self "verify_module_impl" verify_module_impl. + M.IsAssociatedFunction.C Self "verify_module_impl" verify_module_impl. Admitted. Global Typeclasses Opaque verify_module_impl. End Impl_move_bytecode_verifier_struct_defs_RecursiveStructDefChecker. @@ -814,7 +814,7 @@ Module struct_defs. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1868,7 +1868,7 @@ Module struct_defs. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_build : M.IsAssociatedFunction.Trait Self "build" build. + Global Instance AssociatedFunction_build : M.IsAssociatedFunction.C Self "build" build. Admitted. Global Typeclasses Opaque build. @@ -2364,7 +2364,7 @@ Module struct_defs. end. Global Instance AssociatedFunction_add_struct_defs : - M.IsAssociatedFunction.Trait Self "add_struct_defs" add_struct_defs. + M.IsAssociatedFunction.C Self "add_struct_defs" add_struct_defs. Admitted. Global Typeclasses Opaque add_struct_defs. @@ -3466,7 +3466,7 @@ Module struct_defs. end. Global Instance AssociatedFunction_add_signature_token : - M.IsAssociatedFunction.Trait Self "add_signature_token" add_signature_token. + M.IsAssociatedFunction.C Self "add_signature_token" add_signature_token. Admitted. Global Typeclasses Opaque add_signature_token. End Impl_move_bytecode_verifier_struct_defs_StructDefGraphBuilder. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/type_safety.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/type_safety.v index 619584efc..ca3d08221 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/type_safety.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/type_safety.v @@ -17,12 +17,13 @@ Module type_safety. ]; } *) - Definition value_TYPE_NODE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 30 |))). + Definition value_TYPE_NODE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U128 30 |))). - Axiom Constant_value_TYPE_NODE_COST : - (M.get_constant "move_bytecode_verifier::type_safety::TYPE_NODE_COST") = value_TYPE_NODE_COST. - Global Hint Rewrite Constant_value_TYPE_NODE_COST : constant_rewrites. + Global Instance Instance_IsConstant_value_TYPE_NODE_COST : + M.IsFunction.C "move_bytecode_verifier::type_safety::TYPE_NODE_COST" value_TYPE_NODE_COST. + Admitted. + Global Typeclasses Opaque value_TYPE_NODE_COST. Module Impl_move_bytecode_verifier_type_safety_Locals. Definition Self : Ty.t := Ty.path "move_bytecode_verifier::type_safety::Locals". @@ -62,7 +63,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -230,8 +231,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_local_at : - M.IsAssociatedFunction.Trait Self "local_at" local_at. + Global Instance AssociatedFunction_local_at : M.IsAssociatedFunction.C Self "local_at" local_at. Admitted. Global Typeclasses Opaque local_at. End Impl_move_bytecode_verifier_type_safety_Locals. @@ -373,7 +373,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -419,8 +419,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_local_at : - M.IsAssociatedFunction.Trait Self "local_at" local_at. + Global Instance AssociatedFunction_local_at : M.IsAssociatedFunction.C Self "local_at" local_at. Admitted. Global Typeclasses Opaque local_at. @@ -506,7 +505,7 @@ Module type_safety. end. Global Instance AssociatedFunction_abilities : - M.IsAssociatedFunction.Trait Self "abilities" abilities. + M.IsAssociatedFunction.C Self "abilities" abilities. Admitted. Global Typeclasses Opaque abilities. @@ -595,7 +594,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_error : M.IsAssociatedFunction.Trait Self "error" error. + Global Instance AssociatedFunction_error : M.IsAssociatedFunction.C Self "error" error. Admitted. Global Typeclasses Opaque error. @@ -1056,7 +1055,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push : M.IsAssociatedFunction.Trait Self "push" push. + Global Instance AssociatedFunction_push : M.IsAssociatedFunction.C Self "push" push. Admitted. Global Typeclasses Opaque push. @@ -1520,7 +1519,7 @@ Module type_safety. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push_n : M.IsAssociatedFunction.Trait Self "push_n" push_n. + Global Instance AssociatedFunction_push_n : M.IsAssociatedFunction.C Self "push_n" push_n. Admitted. Global Typeclasses Opaque push_n. @@ -1562,7 +1561,7 @@ Module type_safety. end. Global Instance AssociatedFunction_charge_ty : - M.IsAssociatedFunction.Trait Self "charge_ty" charge_ty. + M.IsAssociatedFunction.C Self "charge_ty" charge_ty. Admitted. Global Typeclasses Opaque charge_ty. @@ -1605,7 +1604,12 @@ Module type_safety. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| meter |) |) |); Value.StructTuple "move_bytecode_verifier_meter::Scope::Function" []; - M.read (| M.get_constant "move_bytecode_verifier::type_safety::TYPE_NODE_COST" |); + M.read (| + get_constant (| + "move_bytecode_verifier::type_safety::TYPE_NODE_COST", + Ty.path "u128" + |) + |); BinOp.Wrap.mul (| M.call_closure (| Ty.path "usize", @@ -1640,7 +1644,7 @@ Module type_safety. end. Global Instance AssociatedFunction_charge_ty_ : - M.IsAssociatedFunction.Trait Self "charge_ty_" charge_ty_. + M.IsAssociatedFunction.C Self "charge_ty_" charge_ty_. Admitted. Global Typeclasses Opaque charge_ty_. @@ -1912,7 +1916,7 @@ Module type_safety. end. Global Instance AssociatedFunction_charge_tys : - M.IsAssociatedFunction.Trait Self "charge_tys" charge_tys. + M.IsAssociatedFunction.C Self "charge_tys" charge_tys. Admitted. Global Typeclasses Opaque charge_tys. End Impl_move_bytecode_verifier_type_safety_TypeSafetyChecker. @@ -2527,7 +2531,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_verify : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::verify" verify. + M.IsFunction.C "move_bytecode_verifier::type_safety::verify" verify. Admitted. Global Typeclasses Opaque verify. @@ -3505,7 +3509,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_borrow_field : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::borrow_field" borrow_field. + M.IsFunction.C "move_bytecode_verifier::type_safety::borrow_field" borrow_field. Admitted. Global Typeclasses Opaque borrow_field. @@ -3840,7 +3844,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_borrow_loc : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::borrow_loc" borrow_loc. + M.IsFunction.C "move_bytecode_verifier::type_safety::borrow_loc" borrow_loc. Admitted. Global Typeclasses Opaque borrow_loc. @@ -4752,7 +4756,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_borrow_global : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::borrow_global" borrow_global. + M.IsFunction.C "move_bytecode_verifier::type_safety::borrow_global" borrow_global. Admitted. Global Typeclasses Opaque borrow_global. @@ -5894,7 +5898,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_call : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::call" call. + M.IsFunction.C "move_bytecode_verifier::type_safety::call" call. Admitted. Global Typeclasses Opaque call. @@ -6253,7 +6257,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_type_fields_signature : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::type_safety::type_fields_signature" type_fields_signature. Admitted. @@ -7215,7 +7219,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_pack : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::pack" pack. + M.IsFunction.C "move_bytecode_verifier::type_safety::pack" pack. Admitted. Global Typeclasses Opaque pack. @@ -8029,7 +8033,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_unpack : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::unpack" unpack. + M.IsFunction.C "move_bytecode_verifier::type_safety::unpack" unpack. Admitted. Global Typeclasses Opaque unpack. @@ -8806,7 +8810,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_exists_ : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::exists" exists_. + M.IsFunction.C "move_bytecode_verifier::type_safety::exists" exists_. Admitted. Global Typeclasses Opaque exists_. @@ -9596,7 +9600,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_move_from : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::move_from" move_from. + M.IsFunction.C "move_bytecode_verifier::type_safety::move_from" move_from. Admitted. Global Typeclasses Opaque move_from. @@ -10679,7 +10683,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_move_to : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::move_to" move_to. + M.IsFunction.C "move_bytecode_verifier::type_safety::move_to" move_to. Admitted. Global Typeclasses Opaque move_to. @@ -11724,7 +11728,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_borrow_vector_element : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::type_safety::borrow_vector_element" borrow_vector_element. Admitted. @@ -39748,7 +39752,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_verify_instr : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::verify_instr" verify_instr. + M.IsFunction.C "move_bytecode_verifier::type_safety::verify_instr" verify_instr. Admitted. Global Typeclasses Opaque verify_instr. @@ -39890,7 +39894,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_materialize_type : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::materialize_type" materialize_type. + M.IsFunction.C "move_bytecode_verifier::type_safety::materialize_type" materialize_type. Admitted. Global Typeclasses Opaque materialize_type. @@ -40780,7 +40784,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_instantiate : - M.IsFunction.Trait "move_bytecode_verifier::type_safety::instantiate" instantiate. + M.IsFunction.C "move_bytecode_verifier::type_safety::instantiate" instantiate. Admitted. Global Typeclasses Opaque instantiate. @@ -40927,7 +40931,7 @@ Module type_safety. end. Global Instance Instance_IsFunction_get_vector_element_type : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::type_safety::get_vector_element_type" get_vector_element_type. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier/verifier.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier/verifier.v index 8791b2f07..7932dc9fb 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier/verifier.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier/verifier.v @@ -53,7 +53,7 @@ Module verifier. end. Global Instance Instance_IsFunction_verify_module_unmetered : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::verifier::verify_module_unmetered" verify_module_unmetered. Admitted. @@ -662,8 +662,10 @@ Module verifier. [ M.borrow (| Pointer.Kind.Ref, bytes |) ] |), M.read (| - M.get_constant - "move_bytecode_verifier::verifier::verify_module_with_config_for_test::MAX_MODULE_SIZE" + get_constant (| + "move_bytecode_verifier::verifier::verify_module_with_config_for_test::MAX_MODULE_SIZE", + Ty.path "usize" + |) |) |) |) @@ -725,8 +727,10 @@ Module verifier. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "move_bytecode_verifier::verifier::verify_module_with_config_for_test::MAX_MODULE_SIZE" + get_constant (| + "move_bytecode_verifier::verifier::verify_module_with_config_for_test::MAX_MODULE_SIZE", + Ty.path "usize" + |) |) |) |) @@ -789,21 +793,22 @@ Module verifier. end. Global Instance Instance_IsFunction_verify_module_with_config_for_test : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::verifier::verify_module_with_config_for_test" verify_module_with_config_for_test. Admitted. Global Typeclasses Opaque verify_module_with_config_for_test. Module verify_module_with_config_for_test. - Definition value_MAX_MODULE_SIZE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 65355 |))). + Definition value_MAX_MODULE_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 65355 |))). - Axiom Constant_value_MAX_MODULE_SIZE : - (M.get_constant - "move_bytecode_verifier::verifier::verify_module_with_config_for_test::MAX_MODULE_SIZE") = + Global Instance Instance_IsConstant_value_MAX_MODULE_SIZE : + M.IsFunction.C + "move_bytecode_verifier::verifier::verify_module_with_config_for_test::MAX_MODULE_SIZE" value_MAX_MODULE_SIZE. - Global Hint Rewrite Constant_value_MAX_MODULE_SIZE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_MODULE_SIZE. End verify_module_with_config_for_test. (* @@ -2102,7 +2107,7 @@ Module verifier. end. Global Instance Instance_IsFunction_verify_module_with_config_metered : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::verifier::verify_module_with_config_metered" verify_module_with_config_metered. Admitted. @@ -2156,7 +2161,7 @@ Module verifier. end. Global Instance Instance_IsFunction_verify_module_with_config_unmetered : - M.IsFunction.Trait + M.IsFunction.C "move_bytecode_verifier::verifier::verify_module_with_config_unmetered" verify_module_with_config_unmetered. Admitted. diff --git a/CoqOfRust/move_sui/translations/move_bytecode_verifier_meter/bound.v b/CoqOfRust/move_sui/translations/move_bytecode_verifier_meter/bound.v index b4f4f6b01..1e521bba5 100644 --- a/CoqOfRust/move_sui/translations/move_bytecode_verifier_meter/bound.v +++ b/CoqOfRust/move_sui/translations/move_bytecode_verifier_meter/bound.v @@ -605,7 +605,7 @@ Module bound. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_add : M.IsAssociatedFunction.Trait Self "add" add. + Global Instance AssociatedFunction_add : M.IsAssociatedFunction.C Self "add" add. Admitted. Global Typeclasses Opaque add. End Impl_move_bytecode_verifier_meter_bound_Bounds. @@ -730,7 +730,7 @@ Module bound. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -882,7 +882,7 @@ Module bound. end. Global Instance AssociatedFunction_get_bounds_mut : - M.IsAssociatedFunction.Trait Self "get_bounds_mut" get_bounds_mut. + M.IsAssociatedFunction.C Self "get_bounds_mut" get_bounds_mut. Admitted. Global Typeclasses Opaque get_bounds_mut. @@ -1029,7 +1029,7 @@ Module bound. end. Global Instance AssociatedFunction_get_bounds : - M.IsAssociatedFunction.Trait Self "get_bounds" get_bounds. + M.IsAssociatedFunction.C Self "get_bounds" get_bounds. Admitted. Global Typeclasses Opaque get_bounds. @@ -1072,7 +1072,7 @@ Module bound. end. Global Instance AssociatedFunction_get_usage : - M.IsAssociatedFunction.Trait Self "get_usage" get_usage. + M.IsAssociatedFunction.C Self "get_usage" get_usage. Admitted. Global Typeclasses Opaque get_usage. @@ -1115,7 +1115,7 @@ Module bound. end. Global Instance AssociatedFunction_get_limit : - M.IsAssociatedFunction.Trait Self "get_limit" get_limit. + M.IsAssociatedFunction.C Self "get_limit" get_limit. Admitted. Global Typeclasses Opaque get_limit. End Impl_move_bytecode_verifier_meter_bound_BoundMeter. diff --git a/CoqOfRust/move_sui/translations/move_core_types/abi.v b/CoqOfRust/move_sui/translations/move_core_types/abi.v index 3743493b9..45059e3cf 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/abi.v +++ b/CoqOfRust/move_sui/translations/move_core_types/abi.v @@ -693,7 +693,20 @@ Module abi. [ M.read (| __deserializer |); mk_str (| "ScriptABI" |); - M.read (| M.get_constant "move_core_types::abi::_'1::deserialize::VARIANTS" |); + M.read (| + get_constant (| + "move_core_types::abi::_'1::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::abi::_'1::deserialize::__Visitor" [ @@ -1300,7 +1313,20 @@ Module abi. [ M.read (| __deserializer |); mk_str (| "ScriptFunctionABI" |); - M.read (| M.get_constant "move_core_types::abi::_'3::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::abi::_'3::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::abi::_'3::deserialize::__Visitor" [ @@ -1927,7 +1953,20 @@ Module abi. [ M.read (| __deserializer |); mk_str (| "TransactionScriptABI" |); - M.read (| M.get_constant "move_core_types::abi::_'5::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::abi::_'5::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::abi::_'5::deserialize::__Visitor" [ @@ -2266,7 +2305,20 @@ Module abi. [ M.read (| __deserializer |); mk_str (| "ArgumentABI" |); - M.read (| M.get_constant "move_core_types::abi::_'7::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::abi::_'7::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::abi::_'7::deserialize::__Visitor" [ @@ -2521,7 +2573,20 @@ Module abi. [ M.read (| __deserializer |); mk_str (| "TypeArgumentABI" |); - M.read (| M.get_constant "move_core_types::abi::_'9::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::abi::_'9::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::abi::_'9::deserialize::__Visitor" [ @@ -4832,7 +4897,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -4881,7 +4946,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -4930,7 +4995,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_doc : M.IsAssociatedFunction.Trait Self "doc" doc. + Global Instance AssociatedFunction_doc : M.IsAssociatedFunction.C Self "doc" doc. Admitted. Global Typeclasses Opaque doc. @@ -4982,7 +5047,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_code : M.IsAssociatedFunction.Trait Self "code" code. + Global Instance AssociatedFunction_code : M.IsAssociatedFunction.C Self "code" code. Admitted. Global Typeclasses Opaque code. @@ -5045,8 +5110,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ty_args : - M.IsAssociatedFunction.Trait Self "ty_args" ty_args. + Global Instance AssociatedFunction_ty_args : M.IsAssociatedFunction.C Self "ty_args" ty_args. Admitted. Global Typeclasses Opaque ty_args. @@ -5101,7 +5165,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_args : M.IsAssociatedFunction.Trait Self "args" args. + Global Instance AssociatedFunction_args : M.IsAssociatedFunction.C Self "args" args. Admitted. Global Typeclasses Opaque args. End Impl_move_core_types_abi_TransactionScriptABI. @@ -5147,7 +5211,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5196,7 +5260,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -5227,7 +5291,7 @@ Module abi. end. Global Instance AssociatedFunction_module_name : - M.IsAssociatedFunction.Trait Self "module_name" module_name. + M.IsAssociatedFunction.C Self "module_name" module_name. Admitted. Global Typeclasses Opaque module_name. @@ -5276,7 +5340,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_doc : M.IsAssociatedFunction.Trait Self "doc" doc. + Global Instance AssociatedFunction_doc : M.IsAssociatedFunction.C Self "doc" doc. Admitted. Global Typeclasses Opaque doc. @@ -5339,8 +5403,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ty_args : - M.IsAssociatedFunction.Trait Self "ty_args" ty_args. + Global Instance AssociatedFunction_ty_args : M.IsAssociatedFunction.C Self "ty_args" ty_args. Admitted. Global Typeclasses Opaque ty_args. @@ -5395,7 +5458,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_args : M.IsAssociatedFunction.Trait Self "args" args. + Global Instance AssociatedFunction_args : M.IsAssociatedFunction.C Self "args" args. Admitted. Global Typeclasses Opaque args. End Impl_move_core_types_abi_ScriptFunctionABI. @@ -5436,7 +5499,7 @@ Module abi. end. Global Instance AssociatedFunction_is_script_fun_abi : - M.IsAssociatedFunction.Trait Self "is_script_fun_abi" is_script_fun_abi. + M.IsAssociatedFunction.C Self "is_script_fun_abi" is_script_fun_abi. Admitted. Global Typeclasses Opaque is_script_fun_abi. @@ -5477,7 +5540,7 @@ Module abi. end. Global Instance AssociatedFunction_is_transaction_script_abi : - M.IsAssociatedFunction.Trait Self "is_transaction_script_abi" is_transaction_script_abi. + M.IsAssociatedFunction.C Self "is_transaction_script_abi" is_transaction_script_abi. Admitted. Global Typeclasses Opaque is_transaction_script_abi. @@ -5564,7 +5627,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -5651,7 +5714,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_doc : M.IsAssociatedFunction.Trait Self "doc" doc. + Global Instance AssociatedFunction_doc : M.IsAssociatedFunction.C Self "doc" doc. Admitted. Global Typeclasses Opaque doc. @@ -5763,8 +5826,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_ty_args : - M.IsAssociatedFunction.Trait Self "ty_args" ty_args. + Global Instance AssociatedFunction_ty_args : M.IsAssociatedFunction.C Self "ty_args" ty_args. Admitted. Global Typeclasses Opaque ty_args. @@ -5876,7 +5938,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_args : M.IsAssociatedFunction.Trait Self "args" args. + Global Instance AssociatedFunction_args : M.IsAssociatedFunction.C Self "args" args. Admitted. Global Typeclasses Opaque args. End Impl_move_core_types_abi_ScriptABI. @@ -5901,7 +5963,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5950,7 +6012,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -5980,8 +6042,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_type_tag : - M.IsAssociatedFunction.Trait Self "type_tag" type_tag. + Global Instance AssociatedFunction_type_tag : M.IsAssociatedFunction.C Self "type_tag" type_tag. Admitted. Global Typeclasses Opaque type_tag. End Impl_move_core_types_abi_ArgumentABI. @@ -6005,7 +6066,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -6054,7 +6115,7 @@ Module abi. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. End Impl_move_core_types_abi_TypeArgumentABI. diff --git a/CoqOfRust/move_sui/translations/move_core_types/account_address.v b/CoqOfRust/move_sui/translations/move_core_types/account_address.v index 91dc352d6..741d85fce 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/account_address.v +++ b/CoqOfRust/move_sui/translations/move_core_types/account_address.v @@ -13,7 +13,7 @@ Module account_address. (Ty.path "array") [ M.unevaluated_const - (M.get_constant "move_core_types::account_address::AccountAddress::0_discriminant") + (mk_str (| "move_core_types_account_address_AccountAddress_0_discriminant" |)) ] [ Ty.path "u8" ] ]; @@ -351,79 +351,73 @@ Module account_address. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. (* pub const LENGTH: usize = 32; *) (* Ty.path "usize" *) - Definition value_LENGTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). + Definition value_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). Global Instance AssociatedConstant_value_LENGTH : - M.IsAssociatedConstant.Trait Self "value_LENGTH" value_LENGTH. + M.IsAssociatedFunction.C Self "LENGTH" value_LENGTH. Admitted. Global Typeclasses Opaque value_LENGTH. (* pub const ZERO: Self = Self([0u8; Self::LENGTH]); *) (* Ty.path "move_core_types::account_address::AccountAddress" *) - Definition value_ZERO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "move_core_types::account_address::AccountAddress" - [ repeat (| Value.Integer IntegerKind.U8 0, Value.Integer IntegerKind.Usize 32 |) ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "move_core_types::account_address::AccountAddress" + [ repeat (| Value.Integer IntegerKind.U8 0, Value.Integer IntegerKind.Usize 32 |) ] + |))). - Global Instance AssociatedConstant_value_ZERO : - M.IsAssociatedConstant.Trait Self "value_ZERO" value_ZERO. + Global Instance AssociatedConstant_value_ZERO : M.IsAssociatedFunction.C Self "ZERO" value_ZERO. Admitted. Global Typeclasses Opaque value_ZERO. (* pub const ONE: Self = Self::get_hex_address_one(); *) (* Ty.path "move_core_types::account_address::AccountAddress" *) - Definition value_ONE : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_ONE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "move_core_types::account_address::AccountAddress", + M.get_associated_function (| Ty.path "move_core_types::account_address::AccountAddress", - M.get_associated_function (| - Ty.path "move_core_types::account_address::AccountAddress", - "get_hex_address_one", - [], - [] - |), + "get_hex_address_one", + [], [] - |) - |))). + |), + [] + |) + |))). - Global Instance AssociatedConstant_value_ONE : - M.IsAssociatedConstant.Trait Self "value_ONE" value_ONE. + Global Instance AssociatedConstant_value_ONE : M.IsAssociatedFunction.C Self "ONE" value_ONE. Admitted. Global Typeclasses Opaque value_ONE. (* pub const TWO: Self = Self::get_hex_address_two(); *) (* Ty.path "move_core_types::account_address::AccountAddress" *) - Definition value_TWO : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_TWO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "move_core_types::account_address::AccountAddress", + M.get_associated_function (| Ty.path "move_core_types::account_address::AccountAddress", - M.get_associated_function (| - Ty.path "move_core_types::account_address::AccountAddress", - "get_hex_address_two", - [], - [] - |), + "get_hex_address_two", + [], [] - |) - |))). + |), + [] + |) + |))). - Global Instance AssociatedConstant_value_TWO : - M.IsAssociatedConstant.Trait Self "value_TWO" value_TWO. + Global Instance AssociatedConstant_value_TWO : M.IsAssociatedFunction.C Self "TWO" value_TWO. Admitted. Global Typeclasses Opaque value_TWO. @@ -453,7 +447,13 @@ Module account_address. M.SubPointer.get_array_field (| addr, BinOp.Wrap.sub (| - M.read (| M.get_constant "move_core_types::account_address::LENGTH" |), + M.read (| + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |), @@ -470,7 +470,7 @@ Module account_address. end. Global Instance AssociatedFunction_get_hex_address_one : - M.IsAssociatedFunction.Trait Self "get_hex_address_one" get_hex_address_one. + M.IsAssociatedFunction.C Self "get_hex_address_one" get_hex_address_one. Admitted. Global Typeclasses Opaque get_hex_address_one. @@ -500,7 +500,13 @@ Module account_address. M.SubPointer.get_array_field (| addr, BinOp.Wrap.sub (| - M.read (| M.get_constant "move_core_types::account_address::LENGTH" |), + M.read (| + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |), @@ -517,7 +523,7 @@ Module account_address. end. Global Instance AssociatedFunction_get_hex_address_two : - M.IsAssociatedFunction.Trait Self "get_hex_address_two" get_hex_address_two. + M.IsAssociatedFunction.C Self "get_hex_address_two" get_hex_address_two. Admitted. Global Typeclasses Opaque get_hex_address_two. @@ -572,7 +578,7 @@ Module account_address. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_random : M.IsAssociatedFunction.Trait Self "random" random. + Global Instance AssociatedFunction_random : M.IsAssociatedFunction.C Self "random" random. Admitted. Global Typeclasses Opaque random. @@ -623,7 +629,7 @@ Module account_address. end. Global Instance AssociatedFunction_to_canonical_string : - M.IsAssociatedFunction.Trait Self "to_canonical_string" to_canonical_string. + M.IsAssociatedFunction.C Self "to_canonical_string" to_canonical_string. Admitted. Global Typeclasses Opaque to_canonical_string. @@ -678,7 +684,7 @@ Module account_address. end. Global Instance AssociatedFunction_to_canonical_display : - M.IsAssociatedFunction.Trait Self "to_canonical_display" to_canonical_display. + M.IsAssociatedFunction.C Self "to_canonical_display" to_canonical_display. Admitted. Global Typeclasses Opaque to_canonical_display. @@ -822,7 +828,7 @@ Module account_address. end. Global Instance AssociatedFunction_short_str_lossless : - M.IsAssociatedFunction.Trait Self "short_str_lossless" short_str_lossless. + M.IsAssociatedFunction.C Self "short_str_lossless" short_str_lossless. Admitted. Global Typeclasses Opaque short_str_lossless. @@ -861,7 +867,7 @@ Module account_address. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_vec : M.IsAssociatedFunction.Trait Self "to_vec" to_vec. + Global Instance AssociatedFunction_to_vec : M.IsAssociatedFunction.C Self "to_vec" to_vec. Admitted. Global Typeclasses Opaque to_vec. @@ -886,7 +892,7 @@ Module account_address. end. Global Instance AssociatedFunction_into_bytes : - M.IsAssociatedFunction.Trait Self "into_bytes" into_bytes. + M.IsAssociatedFunction.C Self "into_bytes" into_bytes. Admitted. Global Typeclasses Opaque into_bytes. @@ -999,7 +1005,11 @@ Module account_address. M.read (| hex_len |), BinOp.Wrap.mul (| M.read (| - M.get_constant "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 2 |) @@ -1020,7 +1030,11 @@ Module account_address. [ BinOp.Wrap.mul (| M.read (| - M.get_constant "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 2 |) @@ -1058,8 +1072,12 @@ Module account_address. BinOp.Wrap.sub (| BinOp.Wrap.mul (| M.read (| - M.get_constant - "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path + "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 2 |), @@ -1281,7 +1299,7 @@ Module account_address. end. Global Instance AssociatedFunction_from_hex_literal : - M.IsAssociatedFunction.Trait Self "from_hex_literal" from_hex_literal. + M.IsAssociatedFunction.C Self "from_hex_literal" from_hex_literal. Admitted. Global Typeclasses Opaque from_hex_literal. @@ -1388,7 +1406,7 @@ Module account_address. end. Global Instance AssociatedFunction_to_hex_literal : - M.IsAssociatedFunction.Trait Self "to_hex_literal" to_hex_literal. + M.IsAssociatedFunction.C Self "to_hex_literal" to_hex_literal. Admitted. Global Typeclasses Opaque to_hex_literal. @@ -1433,8 +1451,9 @@ Module account_address. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "move_core_types::account_address::AccountAddress::0_discriminant") + (mk_str (| + "move_core_types_account_address_AccountAddress_0_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -1530,8 +1549,7 @@ Module account_address. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from_hex : - M.IsAssociatedFunction.Trait Self "from_hex" from_hex. + Global Instance AssociatedFunction_from_hex : M.IsAssociatedFunction.C Self "from_hex" from_hex. Admitted. Global Typeclasses Opaque from_hex. @@ -1623,7 +1641,7 @@ Module account_address. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_hex : M.IsAssociatedFunction.Trait Self "to_hex" to_hex. + Global Instance AssociatedFunction_to_hex : M.IsAssociatedFunction.C Self "to_hex" to_hex. Admitted. Global Typeclasses Opaque to_hex. @@ -1668,8 +1686,9 @@ Module account_address. (Ty.path "array") [ M.unevaluated_const - (M.get_constant - "move_core_types::account_address::AccountAddress::0_discriminant") + (mk_str (| + "move_core_types_account_address_AccountAddress_0_discriminant" + |)) ] [ Ty.path "u8" ] ] @@ -1784,7 +1803,7 @@ Module account_address. end. Global Instance AssociatedFunction_from_bytes : - M.IsAssociatedFunction.Trait Self "from_bytes" from_bytes. + M.IsAssociatedFunction.C Self "from_bytes" from_bytes. Admitted. Global Typeclasses Opaque from_bytes. @@ -1819,17 +1838,20 @@ Module account_address. [ M.cast (Ty.path "u64") - (M.read (| M.get_constant "move_core_types::account_address::LENGTH" |)) + (M.read (| + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) + |)) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_abstract_size_for_gas_metering : - M.IsAssociatedFunction.Trait - Self - "abstract_size_for_gas_metering" - abstract_size_for_gas_metering. + M.IsAssociatedFunction.C Self "abstract_size_for_gas_metering" abstract_size_for_gas_metering. Admitted. Global Typeclasses Opaque abstract_size_for_gas_metering. End Impl_move_core_types_account_address_AccountAddress. @@ -1879,10 +1901,7 @@ Module account_address. Definition _Target : Ty.t := Ty.apply (Ty.path "array") - [ - M.unevaluated_const - (M.get_constant "move_core_types::account_address::Target_discriminant") - ] + [ M.unevaluated_const (mk_str (| "move_core_types_account_address_Target_discriminant" |)) ] [ Ty.path "u8" ]. (* @@ -3185,7 +3204,7 @@ Module account_address. [ Ty.apply (Ty.path "array") - [ M.unevaluated_const (M.get_constant "move_core_types::account_address_discriminant") ] + [ M.unevaluated_const (mk_str (| "move_core_types_account_address_discriminant" |)) ] [ Ty.path "u8" ] ] Self @@ -3392,7 +3411,7 @@ Module account_address. Definition Self : Ty.t := Ty.apply (Ty.path "array") - [ M.unevaluated_const (M.get_constant "move_core_types::account_address_discriminant") ] + [ M.unevaluated_const (mk_str (| "move_core_types_account_address_discriminant" |)) ] [ Ty.path "u8" ]. (* @@ -3428,7 +3447,7 @@ Module account_address. Definition Self : Ty.t := Ty.apply (Ty.path "array") - [ M.unevaluated_const (M.get_constant "move_core_types::account_address_discriminant") ] + [ M.unevaluated_const (mk_str (| "move_core_types_account_address_discriminant" |)) ] [ Ty.path "u8" ]. (* @@ -4458,7 +4477,12 @@ Module account_address. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "move_core_types::account_address::LENGTH" + get_associated_constant (| + Ty.path + "move_core_types::account_address::AccountAddress", + "LENGTH", + Ty.path "usize" + |) |) |) |) diff --git a/CoqOfRust/move_sui/translations/move_core_types/annotated_value.v b/CoqOfRust/move_sui/translations/move_core_types/annotated_value.v index 8191bd766..995104294 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/annotated_value.v +++ b/CoqOfRust/move_sui/translations/move_core_types/annotated_value.v @@ -2,27 +2,29 @@ Require Import CoqOfRust.CoqOfRust. Module annotated_value. - Definition value_MOVE_STRUCT_NAME : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "struct" |) |))). + Definition value_MOVE_STRUCT_NAME (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "struct" |) |))). - Axiom Constant_value_MOVE_STRUCT_NAME : - (M.get_constant "move_core_types::annotated_value::MOVE_STRUCT_NAME") = value_MOVE_STRUCT_NAME. - Global Hint Rewrite Constant_value_MOVE_STRUCT_NAME : constant_rewrites. + Global Instance Instance_IsConstant_value_MOVE_STRUCT_NAME : + M.IsFunction.C "move_core_types::annotated_value::MOVE_STRUCT_NAME" value_MOVE_STRUCT_NAME. + Admitted. + Global Typeclasses Opaque value_MOVE_STRUCT_NAME. - Definition value_MOVE_STRUCT_TYPE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "type" |) |))). + Definition value_MOVE_STRUCT_TYPE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "type" |) |))). - Axiom Constant_value_MOVE_STRUCT_TYPE : - (M.get_constant "move_core_types::annotated_value::MOVE_STRUCT_TYPE") = value_MOVE_STRUCT_TYPE. - Global Hint Rewrite Constant_value_MOVE_STRUCT_TYPE : constant_rewrites. + Global Instance Instance_IsConstant_value_MOVE_STRUCT_TYPE : + M.IsFunction.C "move_core_types::annotated_value::MOVE_STRUCT_TYPE" value_MOVE_STRUCT_TYPE. + Admitted. + Global Typeclasses Opaque value_MOVE_STRUCT_TYPE. - Definition value_MOVE_STRUCT_FIELDS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "fields" |) |))). + Definition value_MOVE_STRUCT_FIELDS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "fields" |) |))). - Axiom Constant_value_MOVE_STRUCT_FIELDS : - (M.get_constant "move_core_types::annotated_value::MOVE_STRUCT_FIELDS") = - value_MOVE_STRUCT_FIELDS. - Global Hint Rewrite Constant_value_MOVE_STRUCT_FIELDS : constant_rewrites. + Global Instance Instance_IsConstant_value_MOVE_STRUCT_FIELDS : + M.IsFunction.C "move_core_types::annotated_value::MOVE_STRUCT_FIELDS" value_MOVE_STRUCT_FIELDS. + Admitted. + Global Typeclasses Opaque value_MOVE_STRUCT_FIELDS. (* StructRecord { @@ -2369,7 +2371,18 @@ Module annotated_value. M.read (| __deserializer |); mk_str (| "MoveFieldLayout" |); M.read (| - M.get_constant "move_core_types::annotated_value::_'1::deserialize::FIELDS" + get_constant (| + "move_core_types::annotated_value::_'1::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::annotated_value::_'1::deserialize::__Visitor" @@ -2718,7 +2731,18 @@ Module annotated_value. M.read (| __deserializer |); mk_str (| "MoveStructLayout" |); M.read (| - M.get_constant "move_core_types::annotated_value::_'3::deserialize::FIELDS" + get_constant (| + "move_core_types::annotated_value::_'3::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::annotated_value::_'3::deserialize::__Visitor" @@ -3182,7 +3206,18 @@ Module annotated_value. M.read (| __deserializer |); mk_str (| "MoveTypeLayout" |); M.read (| - M.get_constant "move_core_types::annotated_value::_'5::deserialize::VARIANTS" + get_constant (| + "move_core_types::annotated_value::_'5::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::annotated_value::_'5::deserialize::__Visitor" @@ -3226,7 +3261,7 @@ Module annotated_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_core_types_annotated_value_MoveFieldLayout. @@ -4187,7 +4222,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_simple_deserialize : - M.IsAssociatedFunction.Trait Self "simple_deserialize" simple_deserialize. + M.IsAssociatedFunction.C Self "simple_deserialize" simple_deserialize. Admitted. Global Typeclasses Opaque simple_deserialize. @@ -4488,7 +4523,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_visit_deserialize : - M.IsAssociatedFunction.Trait Self "visit_deserialize" visit_deserialize. + M.IsAssociatedFunction.C Self "visit_deserialize" visit_deserialize. Admitted. Global Typeclasses Opaque visit_deserialize. @@ -4552,7 +4587,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_simple_serialize : - M.IsAssociatedFunction.Trait Self "simple_serialize" simple_serialize. + M.IsAssociatedFunction.C Self "simple_serialize" simple_serialize. Admitted. Global Typeclasses Opaque simple_serialize. @@ -4870,7 +4905,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_undecorate : - M.IsAssociatedFunction.Trait Self "undecorate" undecorate. + M.IsAssociatedFunction.C Self "undecorate" undecorate. Admitted. Global Typeclasses Opaque undecorate. End Impl_move_core_types_annotated_value_MoveValue. @@ -5115,7 +5150,7 @@ Module annotated_value. end. Global Instance Instance_IsFunction_serialize_values : - M.IsFunction.Trait "move_core_types::annotated_value::serialize_values" serialize_values. + M.IsFunction.C "move_core_types::annotated_value::serialize_values" serialize_values. Admitted. Global Typeclasses Opaque serialize_values. @@ -5139,7 +5174,7 @@ Module annotated_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5287,7 +5322,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_simple_deserialize : - M.IsAssociatedFunction.Trait Self "simple_deserialize" simple_deserialize. + M.IsAssociatedFunction.C Self "simple_deserialize" simple_deserialize. Admitted. Global Typeclasses Opaque simple_deserialize. @@ -5588,7 +5623,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_visit_deserialize : - M.IsAssociatedFunction.Trait Self "visit_deserialize" visit_deserialize. + M.IsAssociatedFunction.C Self "visit_deserialize" visit_deserialize. Admitted. Global Typeclasses Opaque visit_deserialize. @@ -5799,7 +5834,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_into_fields : - M.IsAssociatedFunction.Trait Self "into_fields" into_fields. + M.IsAssociatedFunction.C Self "into_fields" into_fields. Admitted. Global Typeclasses Opaque into_fields. @@ -5955,7 +5990,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_undecorate : - M.IsAssociatedFunction.Trait Self "undecorate" undecorate. + M.IsAssociatedFunction.C Self "undecorate" undecorate. Admitted. Global Typeclasses Opaque undecorate. End Impl_move_core_types_annotated_value_MoveStruct. @@ -5980,7 +6015,7 @@ Module annotated_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -6143,7 +6178,7 @@ Module annotated_value. end. Global Instance AssociatedFunction_into_fields : - M.IsAssociatedFunction.Trait Self "into_fields" into_fields. + M.IsAssociatedFunction.C Self "into_fields" into_fields. Admitted. Global Typeclasses Opaque into_fields. End Impl_move_core_types_annotated_value_MoveStructLayout. @@ -10409,8 +10444,10 @@ Module annotated_value. [ M.read (| serializer |); M.read (| - M.get_constant - "move_core_types::annotated_value::MOVE_STRUCT_NAME" + get_constant (| + "move_core_types::annotated_value::MOVE_STRUCT_NAME", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |); Value.Integer IntegerKind.Usize 2 ] @@ -10566,7 +10603,10 @@ Module annotated_value. [ M.borrow (| Pointer.Kind.MutRef, t |); M.read (| - M.get_constant "move_core_types::annotated_value::MOVE_STRUCT_TYPE" + get_constant (| + "move_core_types::annotated_value::MOVE_STRUCT_TYPE", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |); M.borrow (| Pointer.Kind.Ref, @@ -10752,8 +10792,10 @@ Module annotated_value. [ M.borrow (| Pointer.Kind.MutRef, t |); M.read (| - M.get_constant - "move_core_types::annotated_value::MOVE_STRUCT_FIELDS" + get_constant (| + "move_core_types::annotated_value::MOVE_STRUCT_FIELDS", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |); M.borrow (| Pointer.Kind.Ref, diff --git a/CoqOfRust/move_sui/translations/move_core_types/annotated_visitor.v b/CoqOfRust/move_sui/translations/move_core_types/annotated_visitor.v index e3728552d..f267f8438 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/annotated_visitor.v +++ b/CoqOfRust/move_sui/translations/move_core_types/annotated_visitor.v @@ -1810,7 +1810,7 @@ Module annotated_visitor. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1835,7 +1835,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_element_layout : - M.IsAssociatedFunction.Trait Self "element_layout" element_layout. + M.IsAssociatedFunction.C Self "element_layout" element_layout. Admitted. Global Typeclasses Opaque element_layout. @@ -1859,7 +1859,7 @@ Module annotated_visitor. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -1893,7 +1893,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_has_element : - M.IsAssociatedFunction.Trait Self "has_element" has_element. + M.IsAssociatedFunction.C Self "has_element" has_element. Admitted. Global Typeclasses Opaque has_element. @@ -2216,7 +2216,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_next_element : - M.IsAssociatedFunction.Trait Self "next_element" next_element. + M.IsAssociatedFunction.C Self "next_element" next_element. Admitted. Global Typeclasses Opaque next_element. @@ -2321,7 +2321,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_skip_element : - M.IsAssociatedFunction.Trait Self "skip_element" skip_element. + M.IsAssociatedFunction.C Self "skip_element" skip_element. Admitted. Global Typeclasses Opaque skip_element. End Impl_move_core_types_annotated_visitor_VecDriver. @@ -2354,7 +2354,7 @@ Module annotated_visitor. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2379,7 +2379,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_struct_layout : - M.IsAssociatedFunction.Trait Self "struct_layout" struct_layout. + M.IsAssociatedFunction.C Self "struct_layout" struct_layout. Admitted. Global Typeclasses Opaque struct_layout. @@ -2475,7 +2475,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_peek_field : - M.IsAssociatedFunction.Trait Self "peek_field" peek_field. + M.IsAssociatedFunction.C Self "peek_field" peek_field. Admitted. Global Typeclasses Opaque peek_field. @@ -2817,7 +2817,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_next_field : - M.IsAssociatedFunction.Trait Self "next_field" next_field. + M.IsAssociatedFunction.C Self "next_field" next_field. Admitted. Global Typeclasses Opaque next_field. @@ -3122,7 +3122,7 @@ Module annotated_visitor. end. Global Instance AssociatedFunction_skip_field : - M.IsAssociatedFunction.Trait Self "skip_field" skip_field. + M.IsAssociatedFunction.C Self "skip_field" skip_field. Admitted. Global Typeclasses Opaque skip_field. End Impl_move_core_types_annotated_visitor_StructDriver. @@ -5840,7 +5840,7 @@ Module annotated_visitor. end. Global Instance Instance_IsFunction_visit_value : - M.IsFunction.Trait "move_core_types::annotated_visitor::visit_value" visit_value. + M.IsFunction.C "move_core_types::annotated_visitor::visit_value" visit_value. Admitted. Global Typeclasses Opaque visit_value. @@ -6328,7 +6328,7 @@ Module annotated_visitor. end. Global Instance Instance_IsFunction_visit_struct : - M.IsFunction.Trait "move_core_types::annotated_visitor::visit_struct" visit_struct. + M.IsFunction.C "move_core_types::annotated_visitor::visit_struct" visit_struct. Admitted. Global Typeclasses Opaque visit_struct. @@ -6527,7 +6527,7 @@ Module annotated_visitor. end. Global Instance Instance_IsFunction_read_exact : - M.IsFunction.Trait "move_core_types::annotated_visitor::read_exact" read_exact. + M.IsFunction.C "move_core_types::annotated_visitor::read_exact" read_exact. Admitted. Global Typeclasses Opaque read_exact. End annotated_visitor. diff --git a/CoqOfRust/move_sui/translations/move_core_types/effects.v b/CoqOfRust/move_sui/translations/move_core_types/effects.v index 358cfa208..751f18386 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/effects.v +++ b/CoqOfRust/move_sui/translations/move_core_types/effects.v @@ -833,7 +833,7 @@ Module effects. Global Instance AssociatedFunction_as_ref : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "as_ref" (as_ref T). + M.IsAssociatedFunction.C (Self T) "as_ref" (as_ref T). Admitted. Global Typeclasses Opaque as_ref. @@ -931,7 +931,7 @@ Module effects. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. @@ -1005,7 +1005,7 @@ Module effects. Global Instance AssociatedFunction_ok : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "ok" (ok T). + M.IsAssociatedFunction.C (Self T) "ok" (ok T). Admitted. Global Typeclasses Opaque ok. End Impl_move_core_types_effects_Op_T. @@ -2518,7 +2518,7 @@ Module effects. end. Global Instance Instance_IsFunction_squash : - M.IsFunction.Trait "move_core_types::effects::squash" squash. + M.IsFunction.C "move_core_types::effects::squash" squash. Admitted. Global Typeclasses Opaque squash. @@ -2546,7 +2546,7 @@ Module effects. end. Global Instance AssociatedFunction_from_modules_resources : - M.IsAssociatedFunction.Trait Self "from_modules_resources" from_modules_resources. + M.IsAssociatedFunction.C Self "from_modules_resources" from_modules_resources. Admitted. Global Typeclasses Opaque from_modules_resources. @@ -2651,7 +2651,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2989,7 +2989,7 @@ Module effects. end. Global Instance AssociatedFunction_add_module_op : - M.IsAssociatedFunction.Trait Self "add_module_op" add_module_op. + M.IsAssociatedFunction.C Self "add_module_op" add_module_op. Admitted. Global Typeclasses Opaque add_module_op. @@ -3327,7 +3327,7 @@ Module effects. end. Global Instance AssociatedFunction_add_resource_op : - M.IsAssociatedFunction.Trait Self "add_resource_op" add_resource_op. + M.IsAssociatedFunction.C Self "add_resource_op" add_resource_op. Admitted. Global Typeclasses Opaque add_resource_op. @@ -3367,7 +3367,7 @@ Module effects. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -3392,7 +3392,7 @@ Module effects. end. Global Instance AssociatedFunction_into_resources : - M.IsAssociatedFunction.Trait Self "into_resources" into_resources. + M.IsAssociatedFunction.C Self "into_resources" into_resources. Admitted. Global Typeclasses Opaque into_resources. @@ -3417,7 +3417,7 @@ Module effects. end. Global Instance AssociatedFunction_into_modules : - M.IsAssociatedFunction.Trait Self "into_modules" into_modules. + M.IsAssociatedFunction.C Self "into_modules" into_modules. Admitted. Global Typeclasses Opaque into_modules. @@ -3447,8 +3447,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_modules : - M.IsAssociatedFunction.Trait Self "modules" modules. + Global Instance AssociatedFunction_modules : M.IsAssociatedFunction.C Self "modules" modules. Admitted. Global Typeclasses Opaque modules. @@ -3479,7 +3478,7 @@ Module effects. end. Global Instance AssociatedFunction_resources : - M.IsAssociatedFunction.Trait Self "resources" resources. + M.IsAssociatedFunction.C Self "resources" resources. Admitted. Global Typeclasses Opaque resources. @@ -3567,8 +3566,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -3760,7 +3758,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_squash : M.IsAssociatedFunction.Trait Self "squash" squash. + Global Instance AssociatedFunction_squash : M.IsAssociatedFunction.C Self "squash" squash. Admitted. Global Typeclasses Opaque squash. End Impl_move_core_types_effects_AccountChangeSet. @@ -4248,7 +4246,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -4495,7 +4493,7 @@ Module effects. end. Global Instance AssociatedFunction_add_account_changeset : - M.IsAssociatedFunction.Trait Self "add_account_changeset" add_account_changeset. + M.IsAssociatedFunction.C Self "add_account_changeset" add_account_changeset. Admitted. Global Typeclasses Opaque add_account_changeset. @@ -4525,8 +4523,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_accounts : - M.IsAssociatedFunction.Trait Self "accounts" accounts. + Global Instance AssociatedFunction_accounts : M.IsAssociatedFunction.C Self "accounts" accounts. Admitted. Global Typeclasses Opaque accounts. @@ -4551,7 +4548,7 @@ Module effects. end. Global Instance AssociatedFunction_into_inner : - M.IsAssociatedFunction.Trait Self "into_inner" into_inner. + M.IsAssociatedFunction.C Self "into_inner" into_inner. Admitted. Global Typeclasses Opaque into_inner. @@ -4722,7 +4719,7 @@ Module effects. end. Global Instance AssociatedFunction_get_or_insert_account_changeset : - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C Self "get_or_insert_account_changeset" get_or_insert_account_changeset. @@ -4837,7 +4834,7 @@ Module effects. end. Global Instance AssociatedFunction_add_module_op : - M.IsAssociatedFunction.Trait Self "add_module_op" add_module_op. + M.IsAssociatedFunction.C Self "add_module_op" add_module_op. Admitted. Global Typeclasses Opaque add_module_op. @@ -4908,7 +4905,7 @@ Module effects. end. Global Instance AssociatedFunction_add_resource_op : - M.IsAssociatedFunction.Trait Self "add_resource_op" add_resource_op. + M.IsAssociatedFunction.C Self "add_resource_op" add_resource_op. Admitted. Global Typeclasses Opaque add_resource_op. @@ -5327,7 +5324,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_squash : M.IsAssociatedFunction.Trait Self "squash" squash. + Global Instance AssociatedFunction_squash : M.IsAssociatedFunction.C Self "squash" squash. Admitted. Global Typeclasses Opaque squash. @@ -6003,7 +6000,7 @@ Module effects. end. Global Instance AssociatedFunction_into_modules : - M.IsAssociatedFunction.Trait Self "into_modules" into_modules. + M.IsAssociatedFunction.C Self "into_modules" into_modules. Admitted. Global Typeclasses Opaque into_modules. @@ -7069,8 +7066,7 @@ Module effects. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_modules : - M.IsAssociatedFunction.Trait Self "modules" modules. + Global Instance AssociatedFunction_modules : M.IsAssociatedFunction.C Self "modules" modules. Admitted. Global Typeclasses Opaque modules. @@ -8145,7 +8141,7 @@ Module effects. end. Global Instance AssociatedFunction_resources : - M.IsAssociatedFunction.Trait Self "resources" resources. + M.IsAssociatedFunction.C Self "resources" resources. Admitted. Global Typeclasses Opaque resources. End Impl_move_core_types_effects_ChangeSet. diff --git a/CoqOfRust/move_sui/translations/move_core_types/errmap.v b/CoqOfRust/move_sui/translations/move_core_types/errmap.v index 7d0d93736..a6bb3c318 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/errmap.v +++ b/CoqOfRust/move_sui/translations/move_core_types/errmap.v @@ -486,7 +486,20 @@ Module errmap. [ M.read (| __deserializer |); mk_str (| "ErrorDescription" |); - M.read (| M.get_constant "move_core_types::errmap::_'1::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::errmap::_'1::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::errmap::_'1::deserialize::__Visitor" [ @@ -850,7 +863,20 @@ Module errmap. [ M.read (| __deserializer |); mk_str (| "ErrorMapping" |); - M.read (| M.get_constant "move_core_types::errmap::_'3::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::errmap::_'3::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::errmap::_'3::deserialize::__Visitor" [ @@ -1553,7 +1579,7 @@ Module errmap. end. Global Instance AssociatedFunction_add_error_category : - M.IsAssociatedFunction.Trait Self "add_error_category" add_error_category. + M.IsAssociatedFunction.C Self "add_error_category" add_error_category. Admitted. Global Typeclasses Opaque add_error_category. @@ -2079,7 +2105,7 @@ Module errmap. end. Global Instance AssociatedFunction_add_module_error : - M.IsAssociatedFunction.Trait Self "add_module_error" add_module_error. + M.IsAssociatedFunction.C Self "add_module_error" add_module_error. Admitted. Global Typeclasses Opaque add_module_error. @@ -2254,7 +2280,7 @@ Module errmap. end. Global Instance AssociatedFunction_from_file : - M.IsAssociatedFunction.Trait Self "from_file" from_file. + M.IsAssociatedFunction.C Self "from_file" from_file. Admitted. Global Typeclasses Opaque from_file. @@ -2414,8 +2440,7 @@ Module errmap. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_to_file : - M.IsAssociatedFunction.Trait Self "to_file" to_file. + Global Instance AssociatedFunction_to_file : M.IsAssociatedFunction.C Self "to_file" to_file. Admitted. Global Typeclasses Opaque to_file. @@ -2640,7 +2665,7 @@ Module errmap. end. Global Instance AssociatedFunction_get_explanation : - M.IsAssociatedFunction.Trait Self "get_explanation" get_explanation. + M.IsAssociatedFunction.C Self "get_explanation" get_explanation. Admitted. Global Typeclasses Opaque get_explanation. End Impl_move_core_types_errmap_ErrorMapping. diff --git a/CoqOfRust/move_sui/translations/move_core_types/gas_algebra.v b/CoqOfRust/move_sui/translations/move_core_types/gas_algebra.v index fecc18d31..687032d2c 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/gas_algebra.v +++ b/CoqOfRust/move_sui/translations/move_core_types/gas_algebra.v @@ -424,7 +424,18 @@ Module gas_algebra. M.read (| __deserializer |); mk_str (| "GasQuantity" |); M.read (| - M.get_constant "move_core_types::gas_algebra::_'1::deserialize::FIELDS" + get_constant (| + "move_core_types::gas_algebra::_'1::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::gas_algebra::_'1::deserialize::__Visitor" @@ -522,58 +533,63 @@ Module gas_algebra. ] ]). - Definition value_BOX_ABSTRACT_SIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_BOX_ABSTRACT_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], + M.get_associated_function (| Ty.apply (Ty.path "move_core_types::gas_algebra::GasQuantity") [] [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], - M.get_associated_function (| - Ty.apply - (Ty.path "move_core_types::gas_algebra::GasQuantity") - [] - [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U64 16 ] - |) - |))). - - Axiom Constant_value_BOX_ABSTRACT_SIZE : - (M.get_constant "move_core_types::gas_algebra::BOX_ABSTRACT_SIZE") = value_BOX_ABSTRACT_SIZE. - Global Hint Rewrite Constant_value_BOX_ABSTRACT_SIZE : constant_rewrites. + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U64 16 ] + |) + |))). - Definition value_ENUM_BASE_ABSTRACT_SIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Global Instance Instance_IsConstant_value_BOX_ABSTRACT_SIZE : + M.IsFunction.C "move_core_types::gas_algebra::BOX_ABSTRACT_SIZE" value_BOX_ABSTRACT_SIZE. + Admitted. + Global Typeclasses Opaque value_BOX_ABSTRACT_SIZE. + + Definition value_ENUM_BASE_ABSTRACT_SIZE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], + M.get_associated_function (| Ty.apply (Ty.path "move_core_types::gas_algebra::GasQuantity") [] [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], - M.get_associated_function (| - Ty.apply - (Ty.path "move_core_types::gas_algebra::GasQuantity") - [] - [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], - "new", - [], - [] - |), - [ Value.Integer IntegerKind.U64 8 ] - |) - |))). + "new", + [], + [] + |), + [ Value.Integer IntegerKind.U64 8 ] + |) + |))). - Axiom Constant_value_ENUM_BASE_ABSTRACT_SIZE : - (M.get_constant "move_core_types::gas_algebra::ENUM_BASE_ABSTRACT_SIZE") = + Global Instance Instance_IsConstant_value_ENUM_BASE_ABSTRACT_SIZE : + M.IsFunction.C + "move_core_types::gas_algebra::ENUM_BASE_ABSTRACT_SIZE" value_ENUM_BASE_ABSTRACT_SIZE. - Global Hint Rewrite Constant_value_ENUM_BASE_ABSTRACT_SIZE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ENUM_BASE_ABSTRACT_SIZE. Module Impl_move_core_types_gas_algebra_GasQuantity_U. Definition Self (U : Ty.t) : Ty.t := @@ -604,7 +620,7 @@ Module gas_algebra. Global Instance AssociatedFunction_new : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "new" (new U). + M.IsAssociatedFunction.C (Self U) "new" (new U). Admitted. Global Typeclasses Opaque new. @@ -633,7 +649,7 @@ Module gas_algebra. Global Instance AssociatedFunction_zero : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "zero" (zero U). + M.IsAssociatedFunction.C (Self U) "zero" (zero U). Admitted. Global Typeclasses Opaque zero. @@ -662,7 +678,7 @@ Module gas_algebra. Global Instance AssociatedFunction_one : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "one" (one U). + M.IsAssociatedFunction.C (Self U) "one" (one U). Admitted. Global Typeclasses Opaque one. @@ -692,7 +708,7 @@ Module gas_algebra. Global Instance AssociatedFunction_is_zero : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "is_zero" (is_zero U). + M.IsAssociatedFunction.C (Self U) "is_zero" (is_zero U). Admitted. Global Typeclasses Opaque is_zero. (* @@ -739,7 +755,7 @@ Module gas_algebra. Global Instance AssociatedFunction_cmp_impl : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "cmp_impl" (cmp_impl U). + M.IsAssociatedFunction.C (Self U) "cmp_impl" (cmp_impl U). Admitted. Global Typeclasses Opaque cmp_impl. (* @@ -804,7 +820,7 @@ Module gas_algebra. Global Instance AssociatedFunction_checked_sub : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "checked_sub" (checked_sub U). + M.IsAssociatedFunction.C (Self U) "checked_sub" (checked_sub U). Admitted. Global Typeclasses Opaque checked_sub. @@ -864,7 +880,7 @@ Module gas_algebra. Global Instance AssociatedFunction_saturating_sub : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "saturating_sub" (saturating_sub U). + M.IsAssociatedFunction.C (Self U) "saturating_sub" (saturating_sub U). Admitted. Global Typeclasses Opaque saturating_sub. (* @@ -892,7 +908,10 @@ Module gas_algebra. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "move_core_types::gas_algebra::ToUnit::MULTIPLIER" + get_constant (| + "move_core_types::gas_algebra::ToUnit::MULTIPLIER", + Ty.path "u64" + |) |); M.borrow (| Pointer.Kind.Ref, M.alloc (| Value.Integer IntegerKind.U64 0 |) |) ] @@ -991,7 +1010,12 @@ Module gas_algebra. "val" |) |); - M.read (| M.get_constant "move_core_types::gas_algebra::ToUnit::MULTIPLIER" |) + M.read (| + get_constant (| + "move_core_types::gas_algebra::ToUnit::MULTIPLIER", + Ty.path "u64" + |) + |) ] |) ] @@ -1003,7 +1027,7 @@ Module gas_algebra. Global Instance AssociatedFunction_to_unit : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "to_unit" (to_unit U). + M.IsAssociatedFunction.C (Self U) "to_unit" (to_unit U). Admitted. Global Typeclasses Opaque to_unit. @@ -1051,10 +1075,16 @@ Module gas_algebra. |) |); M.read (| - M.get_constant "move_core_types::gas_algebra::ToUnitFractional::NOMINATOR" + get_constant (| + "move_core_types::gas_algebra::ToUnitFractional::NOMINATOR", + Ty.path "u64" + |) |); M.read (| - M.get_constant "move_core_types::gas_algebra::ToUnitFractional::DENOMINATOR" + get_constant (| + "move_core_types::gas_algebra::ToUnitFractional::DENOMINATOR", + Ty.path "u64" + |) |) ] |) @@ -1065,7 +1095,7 @@ Module gas_algebra. Global Instance AssociatedFunction_to_unit_round_down : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "to_unit_round_down" (to_unit_round_down U). + M.IsAssociatedFunction.C (Self U) "to_unit_round_down" (to_unit_round_down U). Admitted. Global Typeclasses Opaque to_unit_round_down. @@ -1109,10 +1139,16 @@ Module gas_algebra. |) |); M.read (| - M.get_constant "move_core_types::gas_algebra::ToUnitFractional::NOMINATOR" + get_constant (| + "move_core_types::gas_algebra::ToUnitFractional::NOMINATOR", + Ty.path "u64" + |) |); M.read (| - M.get_constant "move_core_types::gas_algebra::ToUnitFractional::DENOMINATOR" + get_constant (| + "move_core_types::gas_algebra::ToUnitFractional::DENOMINATOR", + Ty.path "u64" + |) |) ] |) @@ -1123,7 +1159,7 @@ Module gas_algebra. Global Instance AssociatedFunction_to_unit_round_up : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "to_unit_round_up" (to_unit_round_up U). + M.IsAssociatedFunction.C (Self U) "to_unit_round_up" (to_unit_round_up U). Admitted. Global Typeclasses Opaque to_unit_round_up. (* @@ -1284,7 +1320,7 @@ Module gas_algebra. Global Instance AssociatedFunction_to_unit_with_params : forall (U : Ty.t), - M.IsAssociatedFunction.Trait (Self U) "to_unit_with_params" (to_unit_with_params U). + M.IsAssociatedFunction.C (Self U) "to_unit_with_params" (to_unit_with_params U). Admitted. Global Typeclasses Opaque to_unit_with_params. @@ -1377,7 +1413,7 @@ Module gas_algebra. Global Instance AssociatedFunction_to_unit_round_down_with_params : forall (U : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self U) "to_unit_round_down_with_params" (to_unit_round_down_with_params U). @@ -1473,7 +1509,7 @@ Module gas_algebra. Global Instance AssociatedFunction_to_unit_round_up_with_params : forall (U : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self U) "to_unit_round_up_with_params" (to_unit_round_up_with_params U). @@ -2154,7 +2190,7 @@ Module gas_algebra. end. Global Instance Instance_IsFunction_mul_impl : - M.IsFunction.Trait "move_core_types::gas_algebra::mul_impl" mul_impl. + M.IsFunction.C "move_core_types::gas_algebra::mul_impl" mul_impl. Admitted. Global Typeclasses Opaque mul_impl. @@ -2448,11 +2484,15 @@ Module gas_algebra. (M.alloc (| BinOp.gt (| M.read (| res |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |))); fun γ => ltac:(M.monadic (M.alloc (| M.cast (Ty.path "u64") (M.read (| res |)) |))) ] |) @@ -2461,9 +2501,7 @@ Module gas_algebra. end. Global Instance Instance_IsFunction_apply_ratio_round_down : - M.IsFunction.Trait - "move_core_types::gas_algebra::apply_ratio_round_down" - apply_ratio_round_down. + M.IsFunction.C "move_core_types::gas_algebra::apply_ratio_round_down" apply_ratio_round_down. Admitted. Global Typeclasses Opaque apply_ratio_round_down. @@ -2699,11 +2737,15 @@ Module gas_algebra. (M.alloc (| BinOp.gt (| M.read (| res |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |))); fun γ => ltac:(M.monadic (M.alloc (| M.cast (Ty.path "u64") (M.read (| res |)) |))) ] |) @@ -2712,7 +2754,7 @@ Module gas_algebra. end. Global Instance Instance_IsFunction_apply_ratio_round_up : - M.IsFunction.Trait "move_core_types::gas_algebra::apply_ratio_round_up" apply_ratio_round_up. + M.IsFunction.C "move_core_types::gas_algebra::apply_ratio_round_up" apply_ratio_round_up. Admitted. Global Typeclasses Opaque apply_ratio_round_up. @@ -2728,8 +2770,8 @@ Module gas_algebra. (* const MULTIPLIER: u64 = 1024; *) (* Ty.path "u64" *) - Definition value_MULTIPLIER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). Axiom Implements : M.IsTraitInstance @@ -2737,7 +2779,7 @@ Module gas_algebra. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [ Ty.path "move_core_types::gas_algebra::Byte" ] Self - (* Instance *) [ ("value_MULTIPLIER", InstanceField.Constant value_MULTIPLIER) ]. + (* Instance *) [ ("value_MULTIPLIER", InstanceField.Method value_MULTIPLIER) ]. End Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_Byte_for_move_core_types_gas_algebra_KibiByte. Module Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_Byte_for_move_core_types_gas_algebra_MebiByte. @@ -2745,15 +2787,14 @@ Module gas_algebra. (* const MULTIPLIER: u64 = 1024 * 1024; *) (* Ty.path "u64" *) - Definition value_MULTIPLIER : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 1024, - Value.Integer IntegerKind.U64 1024 - |) - |))). + Definition value_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 1024, + Value.Integer IntegerKind.U64 1024 + |) + |))). Axiom Implements : M.IsTraitInstance @@ -2761,7 +2802,7 @@ Module gas_algebra. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [ Ty.path "move_core_types::gas_algebra::Byte" ] Self - (* Instance *) [ ("value_MULTIPLIER", InstanceField.Constant value_MULTIPLIER) ]. + (* Instance *) [ ("value_MULTIPLIER", InstanceField.Method value_MULTIPLIER) ]. End Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_Byte_for_move_core_types_gas_algebra_MebiByte. Module Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_Byte_for_move_core_types_gas_algebra_GibiByte. @@ -2769,18 +2810,17 @@ Module gas_algebra. (* const MULTIPLIER: u64 = 1024 * 1024 * 1024; *) (* Ty.path "u64" *) - Definition value_MULTIPLIER : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| + Definition value_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| BinOp.Wrap.mul (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 1024, - Value.Integer IntegerKind.U64 1024 - |), + Value.Integer IntegerKind.U64 1024, Value.Integer IntegerKind.U64 1024 - |) - |))). + |), + Value.Integer IntegerKind.U64 1024 + |) + |))). Axiom Implements : M.IsTraitInstance @@ -2788,7 +2828,7 @@ Module gas_algebra. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [ Ty.path "move_core_types::gas_algebra::Byte" ] Self - (* Instance *) [ ("value_MULTIPLIER", InstanceField.Constant value_MULTIPLIER) ]. + (* Instance *) [ ("value_MULTIPLIER", InstanceField.Method value_MULTIPLIER) ]. End Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_Byte_for_move_core_types_gas_algebra_GibiByte. Module Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_KibiByte_for_move_core_types_gas_algebra_MebiByte. @@ -2796,8 +2836,8 @@ Module gas_algebra. (* const MULTIPLIER: u64 = 1024; *) (* Ty.path "u64" *) - Definition value_MULTIPLIER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). Axiom Implements : M.IsTraitInstance @@ -2805,7 +2845,7 @@ Module gas_algebra. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [ Ty.path "move_core_types::gas_algebra::KibiByte" ] Self - (* Instance *) [ ("value_MULTIPLIER", InstanceField.Constant value_MULTIPLIER) ]. + (* Instance *) [ ("value_MULTIPLIER", InstanceField.Method value_MULTIPLIER) ]. End Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_KibiByte_for_move_core_types_gas_algebra_MebiByte. Module Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_KibiByte_for_move_core_types_gas_algebra_GibiByte. @@ -2813,15 +2853,14 @@ Module gas_algebra. (* const MULTIPLIER: u64 = 1024 * 1024; *) (* Ty.path "u64" *) - Definition value_MULTIPLIER : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 1024, - Value.Integer IntegerKind.U64 1024 - |) - |))). + Definition value_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 1024, + Value.Integer IntegerKind.U64 1024 + |) + |))). Axiom Implements : M.IsTraitInstance @@ -2829,7 +2868,7 @@ Module gas_algebra. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [ Ty.path "move_core_types::gas_algebra::KibiByte" ] Self - (* Instance *) [ ("value_MULTIPLIER", InstanceField.Constant value_MULTIPLIER) ]. + (* Instance *) [ ("value_MULTIPLIER", InstanceField.Method value_MULTIPLIER) ]. End Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_KibiByte_for_move_core_types_gas_algebra_GibiByte. Module Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_MebiByte_for_move_core_types_gas_algebra_GibiByte. @@ -2837,8 +2876,8 @@ Module gas_algebra. (* const MULTIPLIER: u64 = 1024; *) (* Ty.path "u64" *) - Definition value_MULTIPLIER : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). Axiom Implements : M.IsTraitInstance @@ -2846,7 +2885,7 @@ Module gas_algebra. (* Trait polymorphic consts *) [] (* Trait polymorphic types *) [ Ty.path "move_core_types::gas_algebra::MebiByte" ] Self - (* Instance *) [ ("value_MULTIPLIER", InstanceField.Constant value_MULTIPLIER) ]. + (* Instance *) [ ("value_MULTIPLIER", InstanceField.Method value_MULTIPLIER) ]. End Impl_move_core_types_gas_algebra_ToUnit_move_core_types_gas_algebra_MebiByte_for_move_core_types_gas_algebra_GibiByte. Module Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_KibiByte_for_move_core_types_gas_algebra_Byte. @@ -2854,13 +2893,13 @@ Module gas_algebra. (* const NOMINATOR: u64 = 1; *) (* Ty.path "u64" *) - Definition value_NOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). (* const DENOMINATOR: u64 = 1024; *) (* Ty.path "u64" *) - Definition value_DENOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_DENOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). Axiom Implements : M.IsTraitInstance @@ -2870,8 +2909,8 @@ Module gas_algebra. Self (* Instance *) [ - ("value_NOMINATOR", InstanceField.Constant value_NOMINATOR); - ("value_DENOMINATOR", InstanceField.Constant value_DENOMINATOR) + ("value_NOMINATOR", InstanceField.Method value_NOMINATOR); + ("value_DENOMINATOR", InstanceField.Method value_DENOMINATOR) ]. End Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_KibiByte_for_move_core_types_gas_algebra_Byte. @@ -2880,13 +2919,13 @@ Module gas_algebra. (* const NOMINATOR: u64 = 1; *) (* Ty.path "u64" *) - Definition value_NOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). (* const DENOMINATOR: u64 = 1024; *) (* Ty.path "u64" *) - Definition value_DENOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_DENOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). Axiom Implements : M.IsTraitInstance @@ -2896,8 +2935,8 @@ Module gas_algebra. Self (* Instance *) [ - ("value_NOMINATOR", InstanceField.Constant value_NOMINATOR); - ("value_DENOMINATOR", InstanceField.Constant value_DENOMINATOR) + ("value_NOMINATOR", InstanceField.Method value_NOMINATOR); + ("value_DENOMINATOR", InstanceField.Method value_DENOMINATOR) ]. End Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_MebiByte_for_move_core_types_gas_algebra_KibiByte. @@ -2906,20 +2945,19 @@ Module gas_algebra. (* const NOMINATOR: u64 = 1; *) (* Ty.path "u64" *) - Definition value_NOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). (* const DENOMINATOR: u64 = 1024 * 1024; *) (* Ty.path "u64" *) - Definition value_DENOMINATOR : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 1024, - Value.Integer IntegerKind.U64 1024 - |) - |))). + Definition value_DENOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 1024, + Value.Integer IntegerKind.U64 1024 + |) + |))). Axiom Implements : M.IsTraitInstance @@ -2929,8 +2967,8 @@ Module gas_algebra. Self (* Instance *) [ - ("value_NOMINATOR", InstanceField.Constant value_NOMINATOR); - ("value_DENOMINATOR", InstanceField.Constant value_DENOMINATOR) + ("value_NOMINATOR", InstanceField.Method value_NOMINATOR); + ("value_DENOMINATOR", InstanceField.Method value_DENOMINATOR) ]. End Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_MebiByte_for_move_core_types_gas_algebra_Byte. @@ -2939,13 +2977,13 @@ Module gas_algebra. (* const NOMINATOR: u64 = 1; *) (* Ty.path "u64" *) - Definition value_NOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). (* const DENOMINATOR: u64 = 1024; *) (* Ty.path "u64" *) - Definition value_DENOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_DENOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). Axiom Implements : M.IsTraitInstance @@ -2955,8 +2993,8 @@ Module gas_algebra. Self (* Instance *) [ - ("value_NOMINATOR", InstanceField.Constant value_NOMINATOR); - ("value_DENOMINATOR", InstanceField.Constant value_DENOMINATOR) + ("value_NOMINATOR", InstanceField.Method value_NOMINATOR); + ("value_DENOMINATOR", InstanceField.Method value_DENOMINATOR) ]. End Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_GibiByte_for_move_core_types_gas_algebra_MebiByte. @@ -2965,20 +3003,19 @@ Module gas_algebra. (* const NOMINATOR: u64 = 1; *) (* Ty.path "u64" *) - Definition value_NOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). (* const DENOMINATOR: u64 = 1024 * 1024; *) (* Ty.path "u64" *) - Definition value_DENOMINATOR : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 1024, - Value.Integer IntegerKind.U64 1024 - |) - |))). + Definition value_DENOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 1024, + Value.Integer IntegerKind.U64 1024 + |) + |))). Axiom Implements : M.IsTraitInstance @@ -2988,8 +3025,8 @@ Module gas_algebra. Self (* Instance *) [ - ("value_NOMINATOR", InstanceField.Constant value_NOMINATOR); - ("value_DENOMINATOR", InstanceField.Constant value_DENOMINATOR) + ("value_NOMINATOR", InstanceField.Method value_NOMINATOR); + ("value_DENOMINATOR", InstanceField.Method value_DENOMINATOR) ]. End Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_GibiByte_for_move_core_types_gas_algebra_KibiByte. @@ -2998,23 +3035,22 @@ Module gas_algebra. (* const NOMINATOR: u64 = 1; *) (* Ty.path "u64" *) - Definition value_NOMINATOR : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). (* const DENOMINATOR: u64 = 1024 * 1024 * 1024; *) (* Ty.path "u64" *) - Definition value_DENOMINATOR : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| + Definition value_DENOMINATOR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| BinOp.Wrap.mul (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 1024, - Value.Integer IntegerKind.U64 1024 - |), + Value.Integer IntegerKind.U64 1024, Value.Integer IntegerKind.U64 1024 - |) - |))). + |), + Value.Integer IntegerKind.U64 1024 + |) + |))). Axiom Implements : M.IsTraitInstance @@ -3024,8 +3060,8 @@ Module gas_algebra. Self (* Instance *) [ - ("value_NOMINATOR", InstanceField.Constant value_NOMINATOR); - ("value_DENOMINATOR", InstanceField.Constant value_DENOMINATOR) + ("value_NOMINATOR", InstanceField.Method value_NOMINATOR); + ("value_DENOMINATOR", InstanceField.Method value_DENOMINATOR) ]. End Impl_move_core_types_gas_algebra_ToUnitFractional_move_core_types_gas_algebra_GibiByte_for_move_core_types_gas_algebra_Byte. diff --git a/CoqOfRust/move_sui/translations/move_core_types/identifier.v b/CoqOfRust/move_sui/translations/move_core_types/identifier.v index 948d6028c..14d0dceac 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/identifier.v +++ b/CoqOfRust/move_sui/translations/move_core_types/identifier.v @@ -49,9 +49,7 @@ Module identifier. end. Global Instance Instance_IsFunction_is_valid_identifier_char : - M.IsFunction.Trait - "move_core_types::identifier::is_valid_identifier_char" - is_valid_identifier_char. + M.IsFunction.C "move_core_types::identifier::is_valid_identifier_char" is_valid_identifier_char. Admitted. Global Typeclasses Opaque is_valid_identifier_char. @@ -189,7 +187,7 @@ Module identifier. end. Global Instance Instance_IsFunction_all_bytes_valid : - M.IsFunction.Trait "move_core_types::identifier::all_bytes_valid" all_bytes_valid. + M.IsFunction.C "move_core_types::identifier::all_bytes_valid" all_bytes_valid. Admitted. Global Typeclasses Opaque all_bytes_valid. @@ -350,7 +348,7 @@ Module identifier. end. Global Instance Instance_IsFunction_is_valid : - M.IsFunction.Trait "move_core_types::identifier::is_valid" is_valid. + M.IsFunction.C "move_core_types::identifier::is_valid" is_valid. Admitted. Global Typeclasses Opaque is_valid. @@ -1117,7 +1115,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1158,8 +1156,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_valid : - M.IsAssociatedFunction.Trait Self "is_valid" is_valid. + Global Instance AssociatedFunction_is_valid : M.IsAssociatedFunction.C Self "is_valid" is_valid. Admitted. Global Typeclasses Opaque is_valid. @@ -1208,8 +1205,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_self : - M.IsAssociatedFunction.Trait Self "is_self" is_self. + Global Instance AssociatedFunction_is_self : M.IsAssociatedFunction.C Self "is_self" is_self. Admitted. Global Typeclasses Opaque is_self. @@ -1367,7 +1363,7 @@ Module identifier. end. Global Instance AssociatedFunction_from_utf8 : - M.IsAssociatedFunction.Trait Self "from_utf8" from_utf8. + M.IsAssociatedFunction.C Self "from_utf8" from_utf8. Admitted. Global Typeclasses Opaque from_utf8. @@ -1403,7 +1399,7 @@ Module identifier. end. Global Instance AssociatedFunction_as_ident_str : - M.IsAssociatedFunction.Trait Self "as_ident_str" as_ident_str. + M.IsAssociatedFunction.C Self "as_ident_str" as_ident_str. Admitted. Global Typeclasses Opaque as_ident_str. @@ -1445,7 +1441,7 @@ Module identifier. end. Global Instance AssociatedFunction_into_string : - M.IsAssociatedFunction.Trait Self "into_string" into_string. + M.IsAssociatedFunction.C Self "into_string" into_string. Admitted. Global Typeclasses Opaque into_string. @@ -1482,7 +1478,7 @@ Module identifier. end. Global Instance AssociatedFunction_into_bytes : - M.IsAssociatedFunction.Trait Self "into_bytes" into_bytes. + M.IsAssociatedFunction.C Self "into_bytes" into_bytes. Admitted. Global Typeclasses Opaque into_bytes. End Impl_move_core_types_identifier_Identifier. @@ -2127,10 +2123,18 @@ Module identifier. |), [ mk_str (| "IdentStr" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::SIZE" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::SIZE" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::ALIGN" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::ALIGN" |) + M.read (| + get_constant (| "ref_cast::layout::LayoutUnsized::SIZE", Ty.path "usize" |) + |); + M.read (| + get_constant (| "ref_cast::layout::LayoutUnsized::SIZE", Ty.path "usize" |) + |); + M.read (| + get_constant (| "ref_cast::layout::LayoutUnsized::ALIGN", Ty.path "usize" |) + |); + M.read (| + get_constant (| "ref_cast::layout::LayoutUnsized::ALIGN", Ty.path "usize" |) + |) ] |) |) in @@ -2187,10 +2191,30 @@ Module identifier. |), [ mk_str (| "IdentStr" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::SIZE" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::SIZE" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::ALIGN" |); - M.read (| M.get_constant "ref_cast::layout::LayoutUnsized::ALIGN" |) + M.read (| + get_constant (| + "ref_cast::layout::LayoutUnsized::SIZE", + Ty.path "usize" + |) + |); + M.read (| + get_constant (| + "ref_cast::layout::LayoutUnsized::SIZE", + Ty.path "usize" + |) + |); + M.read (| + get_constant (| + "ref_cast::layout::LayoutUnsized::ALIGN", + Ty.path "usize" + |) + |); + M.read (| + get_constant (| + "ref_cast::layout::LayoutUnsized::ALIGN", + Ty.path "usize" + |) + |) ] |) |) in @@ -2455,7 +2479,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2496,8 +2520,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_valid : - M.IsAssociatedFunction.Trait Self "is_valid" is_valid. + Global Instance AssociatedFunction_is_valid : M.IsAssociatedFunction.C Self "is_valid" is_valid. Admitted. Global Typeclasses Opaque is_valid. @@ -2528,7 +2551,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -2559,8 +2582,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -2590,7 +2612,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -2626,8 +2648,7 @@ Module identifier. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_bytes : - M.IsAssociatedFunction.Trait Self "as_bytes" as_bytes. + Global Instance AssociatedFunction_as_bytes : M.IsAssociatedFunction.C Self "as_bytes" as_bytes. Admitted. Global Typeclasses Opaque as_bytes. @@ -2678,10 +2699,7 @@ Module identifier. end. Global Instance AssociatedFunction_abstract_size_for_gas_metering : - M.IsAssociatedFunction.Trait - Self - "abstract_size_for_gas_metering" - abstract_size_for_gas_metering. + M.IsAssociatedFunction.C Self "abstract_size_for_gas_metering" abstract_size_for_gas_metering. Admitted. Global Typeclasses Opaque abstract_size_for_gas_metering. End Impl_move_core_types_identifier_IdentStr. diff --git a/CoqOfRust/move_sui/translations/move_core_types/language_storage.v b/CoqOfRust/move_sui/translations/move_core_types/language_storage.v index e17ac5a86..b5debc7f8 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/language_storage.v +++ b/CoqOfRust/move_sui/translations/move_core_types/language_storage.v @@ -2,34 +2,60 @@ Require Import CoqOfRust.CoqOfRust. Module language_storage. - Definition value_CODE_TAG : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). + Definition value_CODE_TAG (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). - Axiom Constant_value_CODE_TAG : - (M.get_constant "move_core_types::language_storage::CODE_TAG") = value_CODE_TAG. - Global Hint Rewrite Constant_value_CODE_TAG : constant_rewrites. + Global Instance Instance_IsConstant_value_CODE_TAG : + M.IsFunction.C "move_core_types::language_storage::CODE_TAG" value_CODE_TAG. + Admitted. + Global Typeclasses Opaque value_CODE_TAG. - Definition value_RESOURCE_TAG : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). + Definition value_RESOURCE_TAG (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). - Axiom Constant_value_RESOURCE_TAG : - (M.get_constant "move_core_types::language_storage::RESOURCE_TAG") = value_RESOURCE_TAG. - Global Hint Rewrite Constant_value_RESOURCE_TAG : constant_rewrites. + Global Instance Instance_IsConstant_value_RESOURCE_TAG : + M.IsFunction.C "move_core_types::language_storage::RESOURCE_TAG" value_RESOURCE_TAG. + Admitted. + Global Typeclasses Opaque value_RESOURCE_TAG. - Definition value_CORE_CODE_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.get_constant "move_core_types::account_address::ONE")). + Definition value_CORE_CODE_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "ONE", + Ty.path "move_core_types::account_address::AccountAddress" + |))). - Axiom Constant_value_CORE_CODE_ADDRESS : - (M.get_constant "move_core_types::language_storage::CORE_CODE_ADDRESS") = - value_CORE_CODE_ADDRESS. - Global Hint Rewrite Constant_value_CORE_CODE_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_CORE_CODE_ADDRESS : + M.IsFunction.C "move_core_types::language_storage::CORE_CODE_ADDRESS" value_CORE_CODE_ADDRESS. + Admitted. + Global Typeclasses Opaque value_CORE_CODE_ADDRESS. - Definition value_TYPETAG_ENUM_ABSTRACT_SIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.call_closure (| + Definition value_TYPETAG_ENUM_ABSTRACT_SIZE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "once_cell::sync::Lazy") + [] + [ + Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ]; + Ty.function + [] + (Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ]) + ], + M.get_associated_function (| Ty.apply (Ty.path "once_cell::sync::Lazy") [] @@ -45,65 +71,62 @@ Module language_storage. [] [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ]) ], - M.get_associated_function (| - Ty.apply - (Ty.path "once_cell::sync::Lazy") - [] - [ - Ty.apply - (Ty.path "move_core_types::gas_algebra::GasQuantity") - [] - [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ]; - Ty.function - [] - (Ty.apply - (Ty.path "move_core_types::gas_algebra::GasQuantity") - [] - [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ]) - ], - "new", - [], - [] - |), - [ - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ Ty.tuple [] ] - (Ty.apply - (Ty.path "move_core_types::gas_algebra::GasQuantity") - [] - [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (M.call_closure (| + "new", + [], + [] + |), + [ + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ Ty.tuple [] ] + (Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (M.call_closure (| + Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" + ], + M.get_trait_method (| + "core::ops::arith::Add", Ty.apply (Ty.path "move_core_types::gas_algebra::GasQuantity") [] [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ], - M.get_trait_method (| - "core::ops::arith::Add", + [], + [ Ty.apply (Ty.path "move_core_types::gas_algebra::GasQuantity") [] [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" - ], - [], - [ + ] + ], + "add", + [], + [] + |), + [ + M.read (| + get_constant (| + "move_core_types::gas_algebra::ENUM_BASE_ABSTRACT_SIZE", Ty.apply (Ty.path "move_core_types::gas_algebra::GasQuantity") [] @@ -111,35 +134,37 @@ Module language_storage. Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" ] - ], - "add", - [], - [] - |), - [ - M.read (| - M.get_constant - "move_core_types::gas_algebra::ENUM_BASE_ABSTRACT_SIZE" - |); - M.read (| - M.get_constant - "move_core_types::gas_algebra::BOX_ABSTRACT_SIZE" |) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |) + |); + M.read (| + get_constant (| + "move_core_types::gas_algebra::BOX_ABSTRACT_SIZE", + Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ + Ty.path + "move_core_types::gas_algebra::AbstractMemoryUnit" + ] + |) + |) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] |) - |))). + |) + |))). - Axiom Constant_value_TYPETAG_ENUM_ABSTRACT_SIZE : - (M.get_constant "move_core_types::language_storage::TYPETAG_ENUM_ABSTRACT_SIZE") = + Global Instance Instance_IsConstant_value_TYPETAG_ENUM_ABSTRACT_SIZE : + M.IsFunction.C + "move_core_types::language_storage::TYPETAG_ENUM_ABSTRACT_SIZE" value_TYPETAG_ENUM_ABSTRACT_SIZE. - Global Hint Rewrite Constant_value_TYPETAG_ENUM_ABSTRACT_SIZE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TYPETAG_ENUM_ABSTRACT_SIZE. (* Enum TypeTag @@ -691,7 +716,18 @@ Module language_storage. M.read (| __deserializer |); mk_str (| "TypeTag" |); M.read (| - M.get_constant "move_core_types::language_storage::_'1::deserialize::VARIANTS" + get_constant (| + "move_core_types::language_storage::_'1::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::language_storage::_'1::deserialize::__Visitor" @@ -1208,7 +1244,18 @@ Module language_storage. M.read (| __deserializer |); mk_str (| "StructTag" |); M.read (| - M.get_constant "move_core_types::language_storage::_'3::deserialize::FIELDS" + get_constant (| + "move_core_types::language_storage::_'3::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::language_storage::_'3::deserialize::__Visitor" @@ -1549,7 +1596,18 @@ Module language_storage. M.read (| __deserializer |); mk_str (| "ResourceKey" |); M.read (| - M.get_constant "move_core_types::language_storage::_'5::deserialize::FIELDS" + get_constant (| + "move_core_types::language_storage::_'5::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::language_storage::_'5::deserialize::__Visitor" @@ -1890,7 +1948,18 @@ Module language_storage. M.read (| __deserializer |); mk_str (| "ModuleId" |); M.read (| - M.get_constant "move_core_types::language_storage::_'7::deserialize::FIELDS" + get_constant (| + "move_core_types::language_storage::_'7::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::language_storage::_'7::deserialize::__Visitor" @@ -3251,7 +3320,7 @@ Module language_storage. end. Global Instance AssociatedFunction_to_canonical_string : - M.IsAssociatedFunction.Trait Self "to_canonical_string" to_canonical_string. + M.IsAssociatedFunction.C Self "to_canonical_string" to_canonical_string. Admitted. Global Typeclasses Opaque to_canonical_string. @@ -3304,7 +3373,7 @@ Module language_storage. end. Global Instance AssociatedFunction_to_canonical_display : - M.IsAssociatedFunction.Trait Self "to_canonical_display" to_canonical_display. + M.IsAssociatedFunction.C Self "to_canonical_display" to_canonical_display. Admitted. Global Typeclasses Opaque to_canonical_display. @@ -3398,8 +3467,33 @@ Module language_storage. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "move_core_types::language_storage::TYPETAG_ENUM_ABSTRACT_SIZE" + get_constant (| + "move_core_types::language_storage::TYPETAG_ENUM_ABSTRACT_SIZE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::sync::Lazy") + [] + [ + Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ Ty.path "move_core_types::gas_algebra::AbstractMemoryUnit" + ]; + Ty.function + [] + (Ty.apply + (Ty.path "move_core_types::gas_algebra::GasQuantity") + [] + [ + Ty.path + "move_core_types::gas_algebra::AbstractMemoryUnit" + ]) + ] + ] + |) |) |) |) @@ -3602,10 +3696,7 @@ Module language_storage. end. Global Instance AssociatedFunction_abstract_size_for_gas_metering : - M.IsAssociatedFunction.Trait - Self - "abstract_size_for_gas_metering" - abstract_size_for_gas_metering. + M.IsAssociatedFunction.C Self "abstract_size_for_gas_metering" abstract_size_for_gas_metering. Admitted. Global Typeclasses Opaque abstract_size_for_gas_metering. End Impl_move_core_types_language_storage_TypeTag. @@ -4875,7 +4966,10 @@ Module language_storage. Value.Array [ M.read (| - M.get_constant "move_core_types::language_storage::RESOURCE_TAG" + get_constant (| + "move_core_types::language_storage::RESOURCE_TAG", + Ty.path "u8" + |) |) ] |) @@ -4961,7 +5055,7 @@ Module language_storage. end. Global Instance AssociatedFunction_access_vector : - M.IsAssociatedFunction.Trait Self "access_vector" access_vector. + M.IsAssociatedFunction.C Self "access_vector" access_vector. Admitted. Global Typeclasses Opaque access_vector. @@ -5133,7 +5227,7 @@ Module language_storage. end. Global Instance AssociatedFunction_is_ascii_string : - M.IsAssociatedFunction.Trait Self "is_ascii_string" is_ascii_string. + M.IsAssociatedFunction.C Self "is_ascii_string" is_ascii_string. Admitted. Global Typeclasses Opaque is_ascii_string. @@ -5305,7 +5399,7 @@ Module language_storage. end. Global Instance AssociatedFunction_is_std_string : - M.IsAssociatedFunction.Trait Self "is_std_string" is_std_string. + M.IsAssociatedFunction.C Self "is_std_string" is_std_string. Admitted. Global Typeclasses Opaque is_std_string. @@ -5363,7 +5457,7 @@ Module language_storage. end. Global Instance AssociatedFunction_module_id : - M.IsAssociatedFunction.Trait Self "module_id" module_id. + M.IsAssociatedFunction.C Self "module_id" module_id. Admitted. Global Typeclasses Opaque module_id. @@ -5414,7 +5508,7 @@ Module language_storage. end. Global Instance AssociatedFunction_to_canonical_string : - M.IsAssociatedFunction.Trait Self "to_canonical_string" to_canonical_string. + M.IsAssociatedFunction.C Self "to_canonical_string" to_canonical_string. Admitted. Global Typeclasses Opaque to_canonical_string. @@ -5471,7 +5565,7 @@ Module language_storage. end. Global Instance AssociatedFunction_to_canonical_display : - M.IsAssociatedFunction.Trait Self "to_canonical_display" to_canonical_display. + M.IsAssociatedFunction.C Self "to_canonical_display" to_canonical_display. Admitted. Global Typeclasses Opaque to_canonical_display. @@ -5941,10 +6035,7 @@ Module language_storage. end. Global Instance AssociatedFunction_abstract_size_for_gas_metering : - M.IsAssociatedFunction.Trait - Self - "abstract_size_for_gas_metering" - abstract_size_for_gas_metering. + M.IsAssociatedFunction.C Self "abstract_size_for_gas_metering" abstract_size_for_gas_metering. Admitted. Global Typeclasses Opaque abstract_size_for_gas_metering. End Impl_move_core_types_language_storage_StructTag. @@ -6647,8 +6738,7 @@ Module language_storage. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_address : - M.IsAssociatedFunction.Trait Self "address" address. + Global Instance AssociatedFunction_address : M.IsAssociatedFunction.C Self "address" address. Admitted. Global Typeclasses Opaque address. @@ -6678,7 +6768,7 @@ Module language_storage. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_type_ : M.IsAssociatedFunction.Trait Self "type_" type_. + Global Instance AssociatedFunction_type_ : M.IsAssociatedFunction.C Self "type_" type_. Admitted. Global Typeclasses Opaque type_. (* @@ -6698,7 +6788,7 @@ Module language_storage. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_core_types_language_storage_ResourceKey. @@ -7409,7 +7499,7 @@ Module language_storage. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -7458,7 +7548,7 @@ Module language_storage. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -7488,8 +7578,7 @@ Module language_storage. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_address : - M.IsAssociatedFunction.Trait Self "address" address. + Global Instance AssociatedFunction_address : M.IsAssociatedFunction.C Self "address" address. Admitted. Global Typeclasses Opaque address. @@ -7556,7 +7645,10 @@ Module language_storage. Value.Array [ M.read (| - M.get_constant "move_core_types::language_storage::CODE_TAG" + get_constant (| + "move_core_types::language_storage::CODE_TAG", + Ty.path "u8" + |) |) ] |) @@ -7642,7 +7734,7 @@ Module language_storage. end. Global Instance AssociatedFunction_access_vector : - M.IsAssociatedFunction.Trait Self "access_vector" access_vector. + M.IsAssociatedFunction.C Self "access_vector" access_vector. Admitted. Global Typeclasses Opaque access_vector. @@ -7693,7 +7785,7 @@ Module language_storage. end. Global Instance AssociatedFunction_to_canonical_string : - M.IsAssociatedFunction.Trait Self "to_canonical_string" to_canonical_string. + M.IsAssociatedFunction.C Self "to_canonical_string" to_canonical_string. Admitted. Global Typeclasses Opaque to_canonical_string. @@ -7737,7 +7829,7 @@ Module language_storage. end. Global Instance AssociatedFunction_to_canonical_display : - M.IsAssociatedFunction.Trait Self "to_canonical_display" to_canonical_display. + M.IsAssociatedFunction.C Self "to_canonical_display" to_canonical_display. Admitted. Global Typeclasses Opaque to_canonical_display. (* @@ -7871,7 +7963,7 @@ Module language_storage. end. Global Instance AssociatedFunction_short_str_lossless : - M.IsAssociatedFunction.Trait Self "short_str_lossless" short_str_lossless. + M.IsAssociatedFunction.C Self "short_str_lossless" short_str_lossless. Admitted. Global Typeclasses Opaque short_str_lossless. End Impl_move_core_types_language_storage_ModuleId. diff --git a/CoqOfRust/move_sui/translations/move_core_types/lib.v b/CoqOfRust/move_sui/translations/move_core_types/lib.v index af6034716..7cb15d8db 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/lib.v +++ b/CoqOfRust/move_sui/translations/move_core_types/lib.v @@ -844,7 +844,6 @@ Definition fmt_list (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_fmt_list : - M.IsFunction.Trait "move_core_types::fmt_list" fmt_list. +Global Instance Instance_IsFunction_fmt_list : M.IsFunction.C "move_core_types::fmt_list" fmt_list. Admitted. Global Typeclasses Opaque fmt_list. diff --git a/CoqOfRust/move_sui/translations/move_core_types/metadata.v b/CoqOfRust/move_sui/translations/move_core_types/metadata.v index 3bd2a8a2a..76b3ef3b8 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/metadata.v +++ b/CoqOfRust/move_sui/translations/move_core_types/metadata.v @@ -670,7 +670,20 @@ Module metadata. [ M.read (| __deserializer |); mk_str (| "Metadata" |); - M.read (| M.get_constant "move_core_types::metadata::_'1::deserialize::FIELDS" |); + M.read (| + get_constant (| + "move_core_types::metadata::_'1::deserialize::FIELDS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) + |); Value.StructRecord "move_core_types::metadata::_'1::deserialize::__Visitor" [ diff --git a/CoqOfRust/move_sui/translations/move_core_types/move_resource.v b/CoqOfRust/move_sui/translations/move_core_types/move_resource.v index 3492f257e..fb9a2c14f 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/move_resource.v +++ b/CoqOfRust/move_sui/translations/move_core_types/move_resource.v @@ -29,7 +29,10 @@ Module move_resource. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "move_core_types::move_resource::MoveStructType::MODULE_NAME" + get_constant (| + "move_core_types::move_resource::MoveStructType::MODULE_NAME", + Ty.apply (Ty.path "&") [] [ Ty.path "move_core_types::identifier::IdentStr" ] + |) |) |) |) @@ -68,7 +71,10 @@ Module move_resource. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "move_core_types::move_resource::MoveStructType::STRUCT_NAME" + get_constant (| + "move_core_types::move_resource::MoveStructType::STRUCT_NAME", + Ty.apply (Ty.path "&") [] [ Ty.path "move_core_types::identifier::IdentStr" ] + |) |) |) |) @@ -125,7 +131,10 @@ Module move_resource. [ ("address", M.read (| - M.get_constant "move_core_types::move_resource::MoveStructType::ADDRESS" + get_constant (| + "move_core_types::move_resource::MoveStructType::ADDRESS", + Ty.path "move_core_types::account_address::AccountAddress" + |) |)); ("name", M.call_closure (| diff --git a/CoqOfRust/move_sui/translations/move_core_types/parser.v b/CoqOfRust/move_sui/translations/move_core_types/parser.v index 4eed513e4..a65fa745d 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/parser.v +++ b/CoqOfRust/move_sui/translations/move_core_types/parser.v @@ -1417,7 +1417,7 @@ Module parser. end. Global Instance AssociatedFunction_is_whitespace : - M.IsAssociatedFunction.Trait Self "is_whitespace" is_whitespace. + M.IsAssociatedFunction.C Self "is_whitespace" is_whitespace. Admitted. Global Typeclasses Opaque is_whitespace. End Impl_move_core_types_parser_Token. @@ -1983,7 +1983,7 @@ Module parser. end. Global Instance Instance_IsFunction_token_as_name : - M.IsFunction.Trait "move_core_types::parser::token_as_name" token_as_name. + M.IsFunction.C "move_core_types::parser::token_as_name" token_as_name. Admitted. Global Typeclasses Opaque token_as_name. @@ -2092,7 +2092,7 @@ Module parser. end. Global Instance Instance_IsFunction_name_token : - M.IsFunction.Trait "move_core_types::parser::name_token" name_token. + M.IsFunction.C "move_core_types::parser::name_token" name_token. Admitted. Global Typeclasses Opaque name_token. @@ -2621,7 +2621,7 @@ Module parser. end. Global Instance Instance_IsFunction_next_number : - M.IsFunction.Trait "move_core_types::parser::next_number" next_number. + M.IsFunction.C "move_core_types::parser::next_number" next_number. Admitted. Global Typeclasses Opaque next_number. @@ -4957,7 +4957,7 @@ Module parser. end. Global Instance Instance_IsFunction_next_token : - M.IsFunction.Trait "move_core_types::parser::next_token" next_token. + M.IsFunction.C "move_core_types::parser::next_token" next_token. Admitted. Global Typeclasses Opaque next_token. @@ -5273,7 +5273,7 @@ Module parser. end. Global Instance Instance_IsFunction_tokenize : - M.IsFunction.Trait "move_core_types::parser::tokenize" tokenize. + M.IsFunction.C "move_core_types::parser::tokenize" tokenize. Admitted. Global Typeclasses Opaque tokenize. @@ -5339,7 +5339,7 @@ Module parser. Global Instance AssociatedFunction_new : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "new" (new I). + M.IsAssociatedFunction.C (Self I) "new" (new I). Admitted. Global Typeclasses Opaque new. @@ -5473,7 +5473,7 @@ Module parser. Global Instance AssociatedFunction_next : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "next" (next I). + M.IsAssociatedFunction.C (Self I) "next" (next I). Admitted. Global Typeclasses Opaque next. @@ -5515,7 +5515,7 @@ Module parser. Global Instance AssociatedFunction_peek : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "peek" (peek I). + M.IsAssociatedFunction.C (Self I) "peek" (peek I). Admitted. Global Typeclasses Opaque peek. @@ -5826,7 +5826,7 @@ Module parser. Global Instance AssociatedFunction_consume : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "consume" (consume I). + M.IsAssociatedFunction.C (Self I) "consume" (consume I). Admitted. Global Typeclasses Opaque consume. @@ -6513,7 +6513,7 @@ Module parser. Global Instance AssociatedFunction_parse_comma_list : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "parse_comma_list" (parse_comma_list I). + M.IsAssociatedFunction.C (Self I) "parse_comma_list" (parse_comma_list I). Admitted. Global Typeclasses Opaque parse_comma_list. @@ -6796,7 +6796,7 @@ Module parser. Global Instance AssociatedFunction_parse_string : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "parse_string" (parse_string I). + M.IsAssociatedFunction.C (Self I) "parse_string" (parse_string I). Admitted. Global Typeclasses Opaque parse_string. @@ -9334,7 +9334,7 @@ Module parser. Global Instance AssociatedFunction_parse_type_tag : forall (I : Ty.t), - M.IsAssociatedFunction.Trait (Self I) "parse_type_tag" (parse_type_tag I). + M.IsAssociatedFunction.C (Self I) "parse_type_tag" (parse_type_tag I). Admitted. Global Typeclasses Opaque parse_type_tag. @@ -11180,10 +11180,7 @@ Module parser. Global Instance AssociatedFunction_parse_transaction_argument : forall (I : Ty.t), - M.IsAssociatedFunction.Trait - (Self I) - "parse_transaction_argument" - (parse_transaction_argument I). + M.IsAssociatedFunction.C (Self I) "parse_transaction_argument" (parse_transaction_argument I). Admitted. Global Typeclasses Opaque parse_transaction_argument. End Impl_move_core_types_parser_Parser_I. @@ -11855,8 +11852,7 @@ Module parser. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_parse : - M.IsFunction.Trait "move_core_types::parser::parse" parse. + Global Instance Instance_IsFunction_parse : M.IsFunction.C "move_core_types::parser::parse" parse. Admitted. Global Typeclasses Opaque parse. @@ -12140,7 +12136,7 @@ Module parser. end. Global Instance Instance_IsFunction_parse_string_list : - M.IsFunction.Trait "move_core_types::parser::parse_string_list" parse_string_list. + M.IsFunction.C "move_core_types::parser::parse_string_list" parse_string_list. Admitted. Global Typeclasses Opaque parse_string_list. @@ -12439,7 +12435,7 @@ Module parser. end. Global Instance Instance_IsFunction_parse_type_tags : - M.IsFunction.Trait "move_core_types::parser::parse_type_tags" parse_type_tags. + M.IsFunction.C "move_core_types::parser::parse_type_tags" parse_type_tags. Admitted. Global Typeclasses Opaque parse_type_tags. @@ -12580,7 +12576,7 @@ Module parser. end. Global Instance Instance_IsFunction_parse_type_tag : - M.IsFunction.Trait "move_core_types::parser::parse_type_tag" parse_type_tag. + M.IsFunction.C "move_core_types::parser::parse_type_tag" parse_type_tag. Admitted. Global Typeclasses Opaque parse_type_tag. @@ -12891,7 +12887,7 @@ Module parser. end. Global Instance Instance_IsFunction_parse_transaction_arguments : - M.IsFunction.Trait + M.IsFunction.C "move_core_types::parser::parse_transaction_arguments" parse_transaction_arguments. Admitted. @@ -13041,9 +13037,7 @@ Module parser. end. Global Instance Instance_IsFunction_parse_transaction_argument : - M.IsFunction.Trait - "move_core_types::parser::parse_transaction_argument" - parse_transaction_argument. + M.IsFunction.C "move_core_types::parser::parse_transaction_argument" parse_transaction_argument. Admitted. Global Typeclasses Opaque parse_transaction_argument. @@ -13643,7 +13637,7 @@ Module parser. end. Global Instance Instance_IsFunction_parse_struct_tag : - M.IsFunction.Trait "move_core_types::parser::parse_struct_tag" parse_struct_tag. + M.IsFunction.C "move_core_types::parser::parse_struct_tag" parse_struct_tag. Admitted. Global Typeclasses Opaque parse_struct_tag. End parser. diff --git a/CoqOfRust/move_sui/translations/move_core_types/resolver.v b/CoqOfRust/move_sui/translations/move_core_types/resolver.v index 7d738c769..fe41d302e 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/resolver.v +++ b/CoqOfRust/move_sui/translations/move_core_types/resolver.v @@ -14,7 +14,13 @@ Module resolver. | [], [], [ self ] => ltac:(M.monadic (let self := M.alloc (| self |) in - M.read (| M.get_constant "move_core_types::account_address::ZERO" |))) + M.read (| + get_associated_constant (| + Ty.path "move_core_types::account_address::AccountAddress", + "ZERO", + Ty.path "move_core_types::account_address::AccountAddress" + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. diff --git a/CoqOfRust/move_sui/translations/move_core_types/runtime_value.v b/CoqOfRust/move_sui/translations/move_core_types/runtime_value.v index 6685caeee..aeef84bcb 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/runtime_value.v +++ b/CoqOfRust/move_sui/translations/move_core_types/runtime_value.v @@ -2,27 +2,29 @@ Require Import CoqOfRust.CoqOfRust. Module runtime_value. - Definition value_MOVE_STRUCT_NAME : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "struct" |) |))). + Definition value_MOVE_STRUCT_NAME (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "struct" |) |))). - Axiom Constant_value_MOVE_STRUCT_NAME : - (M.get_constant "move_core_types::runtime_value::MOVE_STRUCT_NAME") = value_MOVE_STRUCT_NAME. - Global Hint Rewrite Constant_value_MOVE_STRUCT_NAME : constant_rewrites. + Global Instance Instance_IsConstant_value_MOVE_STRUCT_NAME : + M.IsFunction.C "move_core_types::runtime_value::MOVE_STRUCT_NAME" value_MOVE_STRUCT_NAME. + Admitted. + Global Typeclasses Opaque value_MOVE_STRUCT_NAME. - Definition value_MOVE_STRUCT_TYPE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "type" |) |))). + Definition value_MOVE_STRUCT_TYPE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "type" |) |))). - Axiom Constant_value_MOVE_STRUCT_TYPE : - (M.get_constant "move_core_types::runtime_value::MOVE_STRUCT_TYPE") = value_MOVE_STRUCT_TYPE. - Global Hint Rewrite Constant_value_MOVE_STRUCT_TYPE : constant_rewrites. + Global Instance Instance_IsConstant_value_MOVE_STRUCT_TYPE : + M.IsFunction.C "move_core_types::runtime_value::MOVE_STRUCT_TYPE" value_MOVE_STRUCT_TYPE. + Admitted. + Global Typeclasses Opaque value_MOVE_STRUCT_TYPE. - Definition value_MOVE_STRUCT_FIELDS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "fields" |) |))). + Definition value_MOVE_STRUCT_FIELDS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "fields" |) |))). - Axiom Constant_value_MOVE_STRUCT_FIELDS : - (M.get_constant "move_core_types::runtime_value::MOVE_STRUCT_FIELDS") = - value_MOVE_STRUCT_FIELDS. - Global Hint Rewrite Constant_value_MOVE_STRUCT_FIELDS : constant_rewrites. + Global Instance Instance_IsConstant_value_MOVE_STRUCT_FIELDS : + M.IsFunction.C "move_core_types::runtime_value::MOVE_STRUCT_FIELDS" value_MOVE_STRUCT_FIELDS. + Admitted. + Global Typeclasses Opaque value_MOVE_STRUCT_FIELDS. (* StructTuple { @@ -2467,7 +2469,18 @@ Module runtime_value. M.read (| __deserializer |); mk_str (| "MoveTypeLayout" |); M.read (| - M.get_constant "move_core_types::runtime_value::_'3::deserialize::VARIANTS" + get_constant (| + "move_core_types::runtime_value::_'3::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::runtime_value::_'3::deserialize::__Visitor" @@ -3258,7 +3271,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_simple_deserialize : - M.IsAssociatedFunction.Trait Self "simple_deserialize" simple_deserialize. + M.IsAssociatedFunction.C Self "simple_deserialize" simple_deserialize. Admitted. Global Typeclasses Opaque simple_deserialize. @@ -3322,7 +3335,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_simple_serialize : - M.IsAssociatedFunction.Trait Self "simple_serialize" simple_serialize. + M.IsAssociatedFunction.C Self "simple_serialize" simple_serialize. Admitted. Global Typeclasses Opaque simple_serialize. @@ -3436,7 +3449,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_vector_u8 : - M.IsAssociatedFunction.Trait Self "vector_u8" vector_u8. + M.IsAssociatedFunction.C Self "vector_u8" vector_u8. Admitted. Global Typeclasses Opaque vector_u8. @@ -3771,7 +3784,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_vec_to_vec_u8 : - M.IsAssociatedFunction.Trait Self "vec_to_vec_u8" vec_to_vec_u8. + M.IsAssociatedFunction.C Self "vec_to_vec_u8" vec_to_vec_u8. Admitted. Global Typeclasses Opaque vec_to_vec_u8. @@ -3900,7 +3913,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_vector_address : - M.IsAssociatedFunction.Trait Self "vector_address" vector_address. + M.IsAssociatedFunction.C Self "vector_address" vector_address. Admitted. Global Typeclasses Opaque vector_address. @@ -4348,8 +4361,7 @@ Module runtime_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_decorate : - M.IsAssociatedFunction.Trait Self "decorate" decorate. + Global Instance AssociatedFunction_decorate : M.IsAssociatedFunction.C Self "decorate" decorate. Admitted. Global Typeclasses Opaque decorate. End Impl_move_core_types_runtime_value_MoveValue. @@ -4594,7 +4606,7 @@ Module runtime_value. end. Global Instance Instance_IsFunction_serialize_values : - M.IsFunction.Trait "move_core_types::runtime_value::serialize_values" serialize_values. + M.IsFunction.C "move_core_types::runtime_value::serialize_values" serialize_values. Admitted. Global Typeclasses Opaque serialize_values. @@ -4615,7 +4627,7 @@ Module runtime_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -4763,7 +4775,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_simple_deserialize : - M.IsAssociatedFunction.Trait Self "simple_deserialize" simple_deserialize. + M.IsAssociatedFunction.C Self "simple_deserialize" simple_deserialize. Admitted. Global Typeclasses Opaque simple_deserialize. @@ -5248,8 +5260,7 @@ Module runtime_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_decorate : - M.IsAssociatedFunction.Trait Self "decorate" decorate. + Global Instance AssociatedFunction_decorate : M.IsAssociatedFunction.C Self "decorate" decorate. Admitted. Global Typeclasses Opaque decorate. @@ -5312,7 +5323,7 @@ Module runtime_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_fields : M.IsAssociatedFunction.Trait Self "fields" fields. + Global Instance AssociatedFunction_fields : M.IsAssociatedFunction.C Self "fields" fields. Admitted. Global Typeclasses Opaque fields. @@ -5337,7 +5348,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_into_fields : - M.IsAssociatedFunction.Trait Self "into_fields" into_fields. + M.IsAssociatedFunction.C Self "into_fields" into_fields. Admitted. Global Typeclasses Opaque into_fields. End Impl_move_core_types_runtime_value_MoveStruct. @@ -5361,7 +5372,7 @@ Module runtime_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -5424,7 +5435,7 @@ Module runtime_value. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_fields : M.IsAssociatedFunction.Trait Self "fields" fields. + Global Instance AssociatedFunction_fields : M.IsAssociatedFunction.C Self "fields" fields. Admitted. Global Typeclasses Opaque fields. @@ -5449,7 +5460,7 @@ Module runtime_value. end. Global Instance AssociatedFunction_into_fields : - M.IsAssociatedFunction.Trait Self "into_fields" into_fields. + M.IsAssociatedFunction.C Self "into_fields" into_fields. Admitted. Global Typeclasses Opaque into_fields. End Impl_move_core_types_runtime_value_MoveStructLayout. diff --git a/CoqOfRust/move_sui/translations/move_core_types/state.v b/CoqOfRust/move_sui/translations/move_core_types/state.v index 1625891c6..2b87b8307 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/state.v +++ b/CoqOfRust/move_sui/translations/move_core_types/state.v @@ -279,7 +279,21 @@ Module state. ] |), [ - M.borrow (| Pointer.Kind.Ref, M.get_constant "move_core_types::state::STATE" |); + M.borrow (| + Pointer.Kind.Ref, + get_constant (| + "move_core_types::state::STATE", + Ty.apply + (Ty.path "std::thread::local::LocalKey") + [] + [ + Ty.apply + (Ty.path "core::cell::RefCell") + [] + [ Ty.path "move_core_types::state::VMState" ] + ] + |) + |); M.closure (fun γ => ltac:(M.monadic @@ -335,7 +349,7 @@ Module state. end. Global Instance Instance_IsFunction_set_state : - M.IsFunction.Trait "move_core_types::state::set_state" set_state. + M.IsFunction.C "move_core_types::state::set_state" set_state. Admitted. Global Typeclasses Opaque set_state. @@ -383,7 +397,21 @@ Module state. ] |), [ - M.borrow (| Pointer.Kind.Ref, M.get_constant "move_core_types::state::STATE" |); + M.borrow (| + Pointer.Kind.Ref, + get_constant (| + "move_core_types::state::STATE", + Ty.apply + (Ty.path "std::thread::local::LocalKey") + [] + [ + Ty.apply + (Ty.path "core::cell::RefCell") + [] + [ Ty.path "move_core_types::state::VMState" ] + ] + |) + |); M.closure (fun γ => ltac:(M.monadic @@ -473,7 +501,7 @@ Module state. end. Global Instance Instance_IsFunction_get_state : - M.IsFunction.Trait "move_core_types::state::get_state" get_state. + M.IsFunction.C "move_core_types::state::get_state" get_state. Admitted. Global Typeclasses Opaque get_state. End state. diff --git a/CoqOfRust/move_sui/translations/move_core_types/transaction_argument.v b/CoqOfRust/move_sui/translations/move_core_types/transaction_argument.v index 3b1c76ad8..6705df63e 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/transaction_argument.v +++ b/CoqOfRust/move_sui/translations/move_core_types/transaction_argument.v @@ -1674,7 +1674,18 @@ Module transaction_argument. M.read (| __deserializer |); mk_str (| "TransactionArgument" |); M.read (| - M.get_constant "move_core_types::transaction_argument::_'1::deserialize::VARIANTS" + get_constant (| + "move_core_types::transaction_argument::_'1::deserialize::VARIANTS", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "slice") + [] + [ Ty.apply (Ty.path "&") [] [ Ty.path "str" ] ] + ] + |) |); Value.StructRecord "move_core_types::transaction_argument::_'1::deserialize::__Visitor" @@ -3815,7 +3826,7 @@ Module transaction_argument. end. Global Instance Instance_IsFunction_convert_txn_args : - M.IsFunction.Trait "move_core_types::transaction_argument::convert_txn_args" convert_txn_args. + M.IsFunction.C "move_core_types::transaction_argument::convert_txn_args" convert_txn_args. Admitted. Global Typeclasses Opaque convert_txn_args. @@ -4216,7 +4227,7 @@ Module transaction_argument. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from : M.IsAssociatedFunction.Trait Self "from" from. + Global Instance AssociatedFunction_from : M.IsAssociatedFunction.C Self "from" from. Admitted. Global Typeclasses Opaque from. @@ -4389,8 +4400,7 @@ Module transaction_argument. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_into_vec : - M.IsAssociatedFunction.Trait Self "into_vec" into_vec. + Global Instance AssociatedFunction_into_vec : M.IsAssociatedFunction.C Self "into_vec" into_vec. Admitted. Global Typeclasses Opaque into_vec. End Impl_move_core_types_transaction_argument_VecBytes. diff --git a/CoqOfRust/move_sui/translations/move_core_types/u256.v b/CoqOfRust/move_sui/translations/move_core_types/u256.v index 348a2366f..f3faebd8b 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/u256.v +++ b/CoqOfRust/move_sui/translations/move_core_types/u256.v @@ -2,33 +2,37 @@ Require Import CoqOfRust.CoqOfRust. Module u256. - Definition value_NUM_BITS_PER_BYTE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8 |))). + Definition value_NUM_BITS_PER_BYTE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8 |))). - Axiom Constant_value_NUM_BITS_PER_BYTE : - (M.get_constant "move_core_types::u256::NUM_BITS_PER_BYTE") = value_NUM_BITS_PER_BYTE. - Global Hint Rewrite Constant_value_NUM_BITS_PER_BYTE : constant_rewrites. + Global Instance Instance_IsConstant_value_NUM_BITS_PER_BYTE : + M.IsFunction.C "move_core_types::u256::NUM_BITS_PER_BYTE" value_NUM_BITS_PER_BYTE. + Admitted. + Global Typeclasses Opaque value_NUM_BITS_PER_BYTE. - Definition value_U256_NUM_BITS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_U256_NUM_BITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_U256_NUM_BITS : - (M.get_constant "move_core_types::u256::U256_NUM_BITS") = value_U256_NUM_BITS. - Global Hint Rewrite Constant_value_U256_NUM_BITS : constant_rewrites. + Global Instance Instance_IsConstant_value_U256_NUM_BITS : + M.IsFunction.C "move_core_types::u256::U256_NUM_BITS" value_U256_NUM_BITS. + Admitted. + Global Typeclasses Opaque value_U256_NUM_BITS. - Definition value_U256_NUM_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| - M.read (| M.get_constant "move_core_types::u256::U256_NUM_BITS" |), - M.read (| M.get_constant "move_core_types::u256::NUM_BITS_PER_BYTE" |) + Definition value_U256_NUM_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| + M.read (| get_constant (| "move_core_types::u256::U256_NUM_BITS", Ty.path "usize" |) |), + M.read (| + get_constant (| "move_core_types::u256::NUM_BITS_PER_BYTE", Ty.path "usize" |) |) - |))). + |) + |))). - Axiom Constant_value_U256_NUM_BYTES : - (M.get_constant "move_core_types::u256::U256_NUM_BYTES") = value_U256_NUM_BYTES. - Global Hint Rewrite Constant_value_U256_NUM_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_U256_NUM_BYTES : + M.IsFunction.C "move_core_types::u256::U256_NUM_BYTES" value_U256_NUM_BYTES. + Admitted. + Global Typeclasses Opaque value_U256_NUM_BYTES. (* StructTuple { @@ -547,7 +551,7 @@ Module u256. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_move_core_types_u256_U256CastError. @@ -2885,7 +2889,7 @@ Module u256. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_zero : M.IsAssociatedFunction.Trait Self "zero" zero. + Global Instance AssociatedFunction_zero : M.IsAssociatedFunction.C Self "zero" zero. Admitted. Global Typeclasses Opaque zero. @@ -2910,7 +2914,7 @@ Module u256. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_one : M.IsAssociatedFunction.Trait Self "one" one. + Global Instance AssociatedFunction_one : M.IsAssociatedFunction.C Self "one" one. Admitted. Global Typeclasses Opaque one. @@ -2941,7 +2945,7 @@ Module u256. end. Global Instance AssociatedFunction_max_value : - M.IsAssociatedFunction.Trait Self "max_value" max_value. + M.IsAssociatedFunction.C Self "max_value" max_value. Admitted. Global Typeclasses Opaque max_value. @@ -3044,7 +3048,7 @@ Module u256. end. Global Instance AssociatedFunction_from_str_radix : - M.IsAssociatedFunction.Trait Self "from_str_radix" from_str_radix. + M.IsAssociatedFunction.C Self "from_str_radix" from_str_radix. Admitted. Global Typeclasses Opaque from_str_radix. @@ -3076,7 +3080,7 @@ Module u256. end. Global Instance AssociatedFunction_from_le_bytes : - M.IsAssociatedFunction.Trait Self "from_le_bytes" from_le_bytes. + M.IsAssociatedFunction.C Self "from_le_bytes" from_le_bytes. Admitted. Global Typeclasses Opaque from_le_bytes. @@ -3133,7 +3137,7 @@ Module u256. end. Global Instance AssociatedFunction_to_le_bytes : - M.IsAssociatedFunction.Trait Self "to_le_bytes" to_le_bytes. + M.IsAssociatedFunction.C Self "to_le_bytes" to_le_bytes. Admitted. Global Typeclasses Opaque to_le_bytes. @@ -3170,7 +3174,7 @@ Module u256. end. Global Instance AssociatedFunction_leading_zeros : - M.IsAssociatedFunction.Trait Self "leading_zeros" leading_zeros. + M.IsAssociatedFunction.C Self "leading_zeros" leading_zeros. Admitted. Global Typeclasses Opaque leading_zeros. @@ -3204,7 +3208,7 @@ Module u256. end. Global Instance AssociatedFunction_unchecked_as_u8 : - M.IsAssociatedFunction.Trait Self "unchecked_as_u8" unchecked_as_u8. + M.IsAssociatedFunction.C Self "unchecked_as_u8" unchecked_as_u8. Admitted. Global Typeclasses Opaque unchecked_as_u8. @@ -3238,7 +3242,7 @@ Module u256. end. Global Instance AssociatedFunction_unchecked_as_u16 : - M.IsAssociatedFunction.Trait Self "unchecked_as_u16" unchecked_as_u16. + M.IsAssociatedFunction.C Self "unchecked_as_u16" unchecked_as_u16. Admitted. Global Typeclasses Opaque unchecked_as_u16. @@ -3272,7 +3276,7 @@ Module u256. end. Global Instance AssociatedFunction_unchecked_as_u32 : - M.IsAssociatedFunction.Trait Self "unchecked_as_u32" unchecked_as_u32. + M.IsAssociatedFunction.C Self "unchecked_as_u32" unchecked_as_u32. Admitted. Global Typeclasses Opaque unchecked_as_u32. @@ -3306,7 +3310,7 @@ Module u256. end. Global Instance AssociatedFunction_unchecked_as_u64 : - M.IsAssociatedFunction.Trait Self "unchecked_as_u64" unchecked_as_u64. + M.IsAssociatedFunction.C Self "unchecked_as_u64" unchecked_as_u64. Admitted. Global Typeclasses Opaque unchecked_as_u64. @@ -3338,7 +3342,7 @@ Module u256. end. Global Instance AssociatedFunction_unchecked_as_u128 : - M.IsAssociatedFunction.Trait Self "unchecked_as_u128" unchecked_as_u128. + M.IsAssociatedFunction.C Self "unchecked_as_u128" unchecked_as_u128. Admitted. Global Typeclasses Opaque unchecked_as_u128. @@ -3391,7 +3395,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_add : - M.IsAssociatedFunction.Trait Self "checked_add" checked_add. + M.IsAssociatedFunction.C Self "checked_add" checked_add. Admitted. Global Typeclasses Opaque checked_add. @@ -3444,7 +3448,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_sub : - M.IsAssociatedFunction.Trait Self "checked_sub" checked_sub. + M.IsAssociatedFunction.C Self "checked_sub" checked_sub. Admitted. Global Typeclasses Opaque checked_sub. @@ -3497,7 +3501,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_mul : - M.IsAssociatedFunction.Trait Self "checked_mul" checked_mul. + M.IsAssociatedFunction.C Self "checked_mul" checked_mul. Admitted. Global Typeclasses Opaque checked_mul. @@ -3550,7 +3554,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_div : - M.IsAssociatedFunction.Trait Self "checked_div" checked_div. + M.IsAssociatedFunction.C Self "checked_div" checked_div. Admitted. Global Typeclasses Opaque checked_div. @@ -3603,7 +3607,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_rem : - M.IsAssociatedFunction.Trait Self "checked_rem" checked_rem. + M.IsAssociatedFunction.C Self "checked_rem" checked_rem. Admitted. Global Typeclasses Opaque checked_rem. @@ -3639,7 +3643,10 @@ Module u256. M.cast (Ty.path "u32") (M.read (| - M.get_constant "move_core_types::u256::U256_NUM_BITS" + get_constant (| + "move_core_types::u256::U256_NUM_BITS", + Ty.path "usize" + |) |)) |) |)) in @@ -3693,7 +3700,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_shl : - M.IsAssociatedFunction.Trait Self "checked_shl" checked_shl. + M.IsAssociatedFunction.C Self "checked_shl" checked_shl. Admitted. Global Typeclasses Opaque checked_shl. @@ -3729,7 +3736,10 @@ Module u256. M.cast (Ty.path "u32") (M.read (| - M.get_constant "move_core_types::u256::U256_NUM_BITS" + get_constant (| + "move_core_types::u256::U256_NUM_BITS", + Ty.path "usize" + |) |)) |) |)) in @@ -3783,7 +3793,7 @@ Module u256. end. Global Instance AssociatedFunction_checked_shr : - M.IsAssociatedFunction.Trait Self "checked_shr" checked_shr. + M.IsAssociatedFunction.C Self "checked_shr" checked_shr. Admitted. Global Typeclasses Opaque checked_shr. @@ -3842,7 +3852,10 @@ Module u256. Value.Integer IntegerKind.U128 1, BinOp.Wrap.mul (| M.read (| - M.get_constant "move_core_types::u256::NUM_BITS_PER_BYTE" + get_constant (| + "move_core_types::u256::NUM_BITS_PER_BYTE", + Ty.path "usize" + |) |), M.read (| type_size |) |) @@ -3850,7 +3863,9 @@ Module u256. Value.Integer IntegerKind.U128 1 |) |))); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |))) ] |) |) in @@ -3954,7 +3969,7 @@ Module u256. end. Global Instance AssociatedFunction_down_cast_lossy : - M.IsAssociatedFunction.Trait Self "down_cast_lossy" down_cast_lossy. + M.IsAssociatedFunction.C Self "down_cast_lossy" down_cast_lossy. Admitted. Global Typeclasses Opaque down_cast_lossy. @@ -4009,7 +4024,7 @@ Module u256. end. Global Instance AssociatedFunction_wrapping_add : - M.IsAssociatedFunction.Trait Self "wrapping_add" wrapping_add. + M.IsAssociatedFunction.C Self "wrapping_add" wrapping_add. Admitted. Global Typeclasses Opaque wrapping_add. @@ -4064,7 +4079,7 @@ Module u256. end. Global Instance AssociatedFunction_wrapping_sub : - M.IsAssociatedFunction.Trait Self "wrapping_sub" wrapping_sub. + M.IsAssociatedFunction.C Self "wrapping_sub" wrapping_sub. Admitted. Global Typeclasses Opaque wrapping_sub. @@ -4119,7 +4134,7 @@ Module u256. end. Global Instance AssociatedFunction_wrapping_mul : - M.IsAssociatedFunction.Trait Self "wrapping_mul" wrapping_mul. + M.IsAssociatedFunction.C Self "wrapping_mul" wrapping_mul. Admitted. Global Typeclasses Opaque wrapping_mul. @@ -4597,7 +4612,7 @@ Module u256. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_wmul : M.IsAssociatedFunction.Trait Self "wmul" wmul. + Global Instance AssociatedFunction_wmul : M.IsAssociatedFunction.C Self "wmul" wmul. Admitted. Global Typeclasses Opaque wmul. End Impl_move_core_types_u256_U256. @@ -5103,7 +5118,11 @@ Module u256. (M.alloc (| BinOp.gt (| M.read (| n |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u8", "MAX", Ty.path "u8" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5206,7 +5225,11 @@ Module u256. (M.alloc (| BinOp.gt (| M.read (| n |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u16", "MAX", Ty.path "u16" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5309,7 +5332,11 @@ Module u256. (M.alloc (| BinOp.gt (| M.read (| n |), - M.cast (Ty.path "u64") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u64") + (M.read (| + get_associated_constant (| Ty.path "u32", "MAX", Ty.path "u32" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5412,7 +5439,11 @@ Module u256. (M.alloc (| BinOp.gt (| M.read (| n |), - M.cast (Ty.path "u128") (M.read (| M.get_constant "core::num::MAX" |)) + M.cast + (Ty.path "u128") + (M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |)) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -5521,7 +5552,15 @@ Module u256. [], [] |), - [ M.read (| M.get_constant "core::num::MAX" |) ] + [ + M.read (| + get_associated_constant (| + Ty.path "u128", + "MAX", + Ty.path "u128" + |) + |) + ] |) |) |) diff --git a/CoqOfRust/move_sui/translations/move_core_types/vm_status.v b/CoqOfRust/move_sui/translations/move_core_types/vm_status.v index 010edaab9..c33f9ff1b 100644 --- a/CoqOfRust/move_sui/translations/move_core_types/vm_status.v +++ b/CoqOfRust/move_sui/translations/move_core_types/vm_status.v @@ -2,93 +2,145 @@ Require Import CoqOfRust.CoqOfRust. Module vm_status. - Definition value_VALIDATION_STATUS_MIN_CODE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 0 |) |))). + Definition value_VALIDATION_STATUS_MIN_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 0 |) |))). - Axiom Constant_value_VALIDATION_STATUS_MIN_CODE : - (M.get_constant "move_core_types::vm_status::VALIDATION_STATUS_MIN_CODE") = + Global Instance Instance_IsConstant_value_VALIDATION_STATUS_MIN_CODE : + M.IsFunction.C + "move_core_types::vm_status::VALIDATION_STATUS_MIN_CODE" value_VALIDATION_STATUS_MIN_CODE. - Global Hint Rewrite Constant_value_VALIDATION_STATUS_MIN_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_VALIDATION_STATUS_MIN_CODE. - Definition value_VALIDATION_STATUS_MAX_CODE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 999 |) |))). + Definition value_VALIDATION_STATUS_MAX_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 999 |) |))). - Axiom Constant_value_VALIDATION_STATUS_MAX_CODE : - (M.get_constant "move_core_types::vm_status::VALIDATION_STATUS_MAX_CODE") = + Global Instance Instance_IsConstant_value_VALIDATION_STATUS_MAX_CODE : + M.IsFunction.C + "move_core_types::vm_status::VALIDATION_STATUS_MAX_CODE" value_VALIDATION_STATUS_MAX_CODE. - Global Hint Rewrite Constant_value_VALIDATION_STATUS_MAX_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_VALIDATION_STATUS_MAX_CODE. - Definition value_VERIFICATION_STATUS_MIN_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 1000 |) |))). + Definition value_VERIFICATION_STATUS_MIN_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 1000 |) |))). - Axiom Constant_value_VERIFICATION_STATUS_MIN_CODE : - (M.get_constant "move_core_types::vm_status::VERIFICATION_STATUS_MIN_CODE") = + Global Instance Instance_IsConstant_value_VERIFICATION_STATUS_MIN_CODE : + M.IsFunction.C + "move_core_types::vm_status::VERIFICATION_STATUS_MIN_CODE" value_VERIFICATION_STATUS_MIN_CODE. - Global Hint Rewrite Constant_value_VERIFICATION_STATUS_MIN_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_VERIFICATION_STATUS_MIN_CODE. - Definition value_VERIFICATION_STATUS_MAX_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 1999 |) |))). + Definition value_VERIFICATION_STATUS_MAX_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 1999 |) |))). - Axiom Constant_value_VERIFICATION_STATUS_MAX_CODE : - (M.get_constant "move_core_types::vm_status::VERIFICATION_STATUS_MAX_CODE") = + Global Instance Instance_IsConstant_value_VERIFICATION_STATUS_MAX_CODE : + M.IsFunction.C + "move_core_types::vm_status::VERIFICATION_STATUS_MAX_CODE" value_VERIFICATION_STATUS_MAX_CODE. - Global Hint Rewrite Constant_value_VERIFICATION_STATUS_MAX_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_VERIFICATION_STATUS_MAX_CODE. - Definition value_INVARIANT_VIOLATION_STATUS_MIN_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 2000 |) |))). + Definition value_INVARIANT_VIOLATION_STATUS_MIN_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 2000 |) |))). - Axiom Constant_value_INVARIANT_VIOLATION_STATUS_MIN_CODE : - (M.get_constant "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MIN_CODE") = + Global Instance Instance_IsConstant_value_INVARIANT_VIOLATION_STATUS_MIN_CODE : + M.IsFunction.C + "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MIN_CODE" value_INVARIANT_VIOLATION_STATUS_MIN_CODE. - Global Hint Rewrite Constant_value_INVARIANT_VIOLATION_STATUS_MIN_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_INVARIANT_VIOLATION_STATUS_MIN_CODE. - Definition value_INVARIANT_VIOLATION_STATUS_MAX_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 2999 |) |))). + Definition value_INVARIANT_VIOLATION_STATUS_MAX_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 2999 |) |))). - Axiom Constant_value_INVARIANT_VIOLATION_STATUS_MAX_CODE : - (M.get_constant "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MAX_CODE") = + Global Instance Instance_IsConstant_value_INVARIANT_VIOLATION_STATUS_MAX_CODE : + M.IsFunction.C + "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MAX_CODE" value_INVARIANT_VIOLATION_STATUS_MAX_CODE. - Global Hint Rewrite Constant_value_INVARIANT_VIOLATION_STATUS_MAX_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_INVARIANT_VIOLATION_STATUS_MAX_CODE. - Definition value_DESERIALIZATION_STATUS_MIN_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 3000 |) |))). + Definition value_DESERIALIZATION_STATUS_MIN_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 3000 |) |))). - Axiom Constant_value_DESERIALIZATION_STATUS_MIN_CODE : - (M.get_constant "move_core_types::vm_status::DESERIALIZATION_STATUS_MIN_CODE") = + Global Instance Instance_IsConstant_value_DESERIALIZATION_STATUS_MIN_CODE : + M.IsFunction.C + "move_core_types::vm_status::DESERIALIZATION_STATUS_MIN_CODE" value_DESERIALIZATION_STATUS_MIN_CODE. - Global Hint Rewrite Constant_value_DESERIALIZATION_STATUS_MIN_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_DESERIALIZATION_STATUS_MIN_CODE. - Definition value_DESERIALIZATION_STATUS_MAX_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 3999 |) |))). + Definition value_DESERIALIZATION_STATUS_MAX_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 3999 |) |))). - Axiom Constant_value_DESERIALIZATION_STATUS_MAX_CODE : - (M.get_constant "move_core_types::vm_status::DESERIALIZATION_STATUS_MAX_CODE") = + Global Instance Instance_IsConstant_value_DESERIALIZATION_STATUS_MAX_CODE : + M.IsFunction.C + "move_core_types::vm_status::DESERIALIZATION_STATUS_MAX_CODE" value_DESERIALIZATION_STATUS_MAX_CODE. - Global Hint Rewrite Constant_value_DESERIALIZATION_STATUS_MAX_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_DESERIALIZATION_STATUS_MAX_CODE. - Definition value_EXECUTION_STATUS_MIN_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 4000 |) |))). + Definition value_EXECUTION_STATUS_MIN_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 4000 |) |))). - Axiom Constant_value_EXECUTION_STATUS_MIN_CODE : - (M.get_constant "move_core_types::vm_status::EXECUTION_STATUS_MIN_CODE") = + Global Instance Instance_IsConstant_value_EXECUTION_STATUS_MIN_CODE : + M.IsFunction.C + "move_core_types::vm_status::EXECUTION_STATUS_MIN_CODE" value_EXECUTION_STATUS_MIN_CODE. - Global Hint Rewrite Constant_value_EXECUTION_STATUS_MIN_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EXECUTION_STATUS_MIN_CODE. - Definition value_EXECUTION_STATUS_MAX_CODE : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 4999 |) |))). + Definition value_EXECUTION_STATUS_MAX_CODE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| M.alloc (| Value.Integer IntegerKind.U64 4999 |) |))). - Axiom Constant_value_EXECUTION_STATUS_MAX_CODE : - (M.get_constant "move_core_types::vm_status::EXECUTION_STATUS_MAX_CODE") = + Global Instance Instance_IsConstant_value_EXECUTION_STATUS_MAX_CODE : + M.IsFunction.C + "move_core_types::vm_status::EXECUTION_STATUS_MAX_CODE" value_EXECUTION_STATUS_MAX_CODE. - Global Hint Rewrite Constant_value_EXECUTION_STATUS_MAX_CODE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EXECUTION_STATUS_MAX_CODE. (* Enum StatusType @@ -8443,8 +8495,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::VALIDATION_STATUS_MIN_CODE" + get_constant (| + "move_core_types::vm_status::VALIDATION_STATUS_MIN_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8455,8 +8509,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::VALIDATION_STATUS_MAX_CODE" + get_constant (| + "move_core_types::vm_status::VALIDATION_STATUS_MAX_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8495,8 +8551,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::VERIFICATION_STATUS_MIN_CODE" + get_constant (| + "move_core_types::vm_status::VERIFICATION_STATUS_MIN_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8507,8 +8565,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::VERIFICATION_STATUS_MAX_CODE" + get_constant (| + "move_core_types::vm_status::VERIFICATION_STATUS_MAX_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8547,8 +8607,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MIN_CODE" + get_constant (| + "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MIN_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8559,8 +8621,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MAX_CODE" + get_constant (| + "move_core_types::vm_status::INVARIANT_VIOLATION_STATUS_MAX_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8599,8 +8663,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::DESERIALIZATION_STATUS_MIN_CODE" + get_constant (| + "move_core_types::vm_status::DESERIALIZATION_STATUS_MIN_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8611,8 +8677,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::DESERIALIZATION_STATUS_MAX_CODE" + get_constant (| + "move_core_types::vm_status::DESERIALIZATION_STATUS_MAX_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8651,8 +8719,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::EXECUTION_STATUS_MIN_CODE" + get_constant (| + "move_core_types::vm_status::EXECUTION_STATUS_MIN_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8663,8 +8733,10 @@ Module vm_status. M.read (| M.deref (| M.read (| - M.get_constant - "move_core_types::vm_status::EXECUTION_STATUS_MAX_CODE" + get_constant (| + "move_core_types::vm_status::EXECUTION_STATUS_MAX_CODE", + Ty.apply (Ty.path "&") [] [ Ty.path "u64" ] + |) |) |) |) @@ -8694,7 +8766,7 @@ Module vm_status. end. Global Instance AssociatedFunction_status_type : - M.IsAssociatedFunction.Trait Self "status_type" status_type. + M.IsAssociatedFunction.C Self "status_type" status_type. Admitted. Global Typeclasses Opaque status_type. End Impl_move_core_types_vm_status_StatusCode. @@ -8847,28 +8919,40 @@ Module vm_status. End Impl_core_convert_From_move_core_types_vm_status_StatusCode_for_u64. Module sub_status. - Definition value_NFE_VECTOR_ERROR_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). + Definition value_NFE_VECTOR_ERROR_BASE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). - Axiom Constant_value_NFE_VECTOR_ERROR_BASE : - (M.get_constant "move_core_types::vm_status::sub_status::NFE_VECTOR_ERROR_BASE") = + Global Instance Instance_IsConstant_value_NFE_VECTOR_ERROR_BASE : + M.IsFunction.C + "move_core_types::vm_status::sub_status::NFE_VECTOR_ERROR_BASE" value_NFE_VECTOR_ERROR_BASE. - Global Hint Rewrite Constant_value_NFE_VECTOR_ERROR_BASE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_NFE_VECTOR_ERROR_BASE. - Definition value_NFE_OUT_OF_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_NFE_OUT_OF_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). - Axiom Constant_value_NFE_OUT_OF_GAS : - (M.get_constant "move_core_types::vm_status::sub_status::NFE_OUT_OF_GAS") = - value_NFE_OUT_OF_GAS. - Global Hint Rewrite Constant_value_NFE_OUT_OF_GAS : constant_rewrites. + Global Instance Instance_IsConstant_value_NFE_OUT_OF_GAS : + M.IsFunction.C "move_core_types::vm_status::sub_status::NFE_OUT_OF_GAS" value_NFE_OUT_OF_GAS. + Admitted. + Global Typeclasses Opaque value_NFE_OUT_OF_GAS. - Definition value_NFE_BCS_SERIALIZATION_FAILURE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 453 |))). + Definition value_NFE_BCS_SERIALIZATION_FAILURE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 453 |))). - Axiom Constant_value_NFE_BCS_SERIALIZATION_FAILURE : - (M.get_constant "move_core_types::vm_status::sub_status::NFE_BCS_SERIALIZATION_FAILURE") = + Global Instance Instance_IsConstant_value_NFE_BCS_SERIALIZATION_FAILURE : + M.IsFunction.C + "move_core_types::vm_status::sub_status::NFE_BCS_SERIALIZATION_FAILURE" value_NFE_BCS_SERIALIZATION_FAILURE. - Global Hint Rewrite Constant_value_NFE_BCS_SERIALIZATION_FAILURE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_NFE_BCS_SERIALIZATION_FAILURE. End sub_status. End vm_status. diff --git a/CoqOfRust/revm/revm_bytecode/bytecode.v b/CoqOfRust/revm/revm_bytecode/bytecode.v index a4200b98d..eaf4d0461 100644 --- a/CoqOfRust/revm/revm_bytecode/bytecode.v +++ b/CoqOfRust/revm/revm_bytecode/bytecode.v @@ -1250,7 +1250,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1330,7 +1330,7 @@ Module bytecode. end. Global Instance AssociatedFunction_legacy_jump_table : - M.IsAssociatedFunction.Trait Self "legacy_jump_table" legacy_jump_table. + M.IsAssociatedFunction.C Self "legacy_jump_table" legacy_jump_table. Admitted. Global Typeclasses Opaque legacy_jump_table. @@ -1374,7 +1374,13 @@ Module bytecode. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_primitives::KECCAK_EMPTY")); + get_constant (| + "revm_primitives::KECCAK_EMPTY", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -1417,7 +1423,7 @@ Module bytecode. end. Global Instance AssociatedFunction_hash_slow : - M.IsAssociatedFunction.Trait Self "hash_slow" hash_slow. + M.IsAssociatedFunction.C Self "hash_slow" hash_slow. Admitted. Global Typeclasses Opaque hash_slow. @@ -1476,7 +1482,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_eof : M.IsAssociatedFunction.Trait Self "eof" eof. + Global Instance AssociatedFunction_eof : M.IsAssociatedFunction.C Self "eof" eof. Admitted. Global Typeclasses Opaque eof. @@ -1512,7 +1518,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_eof : M.IsAssociatedFunction.Trait Self "is_eof" is_eof. + Global Instance AssociatedFunction_is_eof : M.IsAssociatedFunction.C Self "is_eof" is_eof. Admitted. Global Typeclasses Opaque is_eof. @@ -1549,7 +1555,7 @@ Module bytecode. end. Global Instance AssociatedFunction_is_eip7702 : - M.IsAssociatedFunction.Trait Self "is_eip7702" is_eip7702. + M.IsAssociatedFunction.C Self "is_eip7702" is_eip7702. Admitted. Global Typeclasses Opaque is_eip7702. @@ -1585,7 +1591,7 @@ Module bytecode. end. Global Instance AssociatedFunction_new_legacy : - M.IsAssociatedFunction.Trait Self "new_legacy" new_legacy. + M.IsAssociatedFunction.C Self "new_legacy" new_legacy. Admitted. Global Typeclasses Opaque new_legacy. @@ -1639,8 +1645,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new_raw : - M.IsAssociatedFunction.Trait Self "new_raw" new_raw. + Global Instance AssociatedFunction_new_raw : M.IsAssociatedFunction.C Self "new_raw" new_raw. Admitted. Global Typeclasses Opaque new_raw. @@ -1672,7 +1677,7 @@ Module bytecode. end. Global Instance AssociatedFunction_new_eip7702 : - M.IsAssociatedFunction.Trait Self "new_eip7702" new_eip7702. + M.IsAssociatedFunction.C Self "new_eip7702" new_eip7702. Admitted. Global Typeclasses Opaque new_eip7702. @@ -1820,7 +1825,13 @@ Module bytecode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "revm_bytecode::eof::EOF_MAGIC_BYTES" + get_constant (| + "revm_bytecode::eof::EOF_MAGIC_BYTES", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ] + |) |) |) |) @@ -2022,8 +2033,13 @@ Module bytecode. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES" + get_constant (| + "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ] + |) |) |) |) @@ -2190,7 +2206,7 @@ Module bytecode. end. Global Instance AssociatedFunction_new_raw_checked : - M.IsAssociatedFunction.Trait Self "new_raw_checked" new_raw_checked. + M.IsAssociatedFunction.C Self "new_raw_checked" new_raw_checked. Admitted. Global Typeclasses Opaque new_raw_checked. @@ -2232,7 +2248,7 @@ Module bytecode. end. Global Instance AssociatedFunction_new_analyzed : - M.IsAssociatedFunction.Trait Self "new_analyzed" new_analyzed. + M.IsAssociatedFunction.C Self "new_analyzed" new_analyzed. Admitted. Global Typeclasses Opaque new_analyzed. @@ -2388,8 +2404,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bytecode : - M.IsAssociatedFunction.Trait Self "bytecode" bytecode. + Global Instance AssociatedFunction_bytecode : M.IsAssociatedFunction.C Self "bytecode" bytecode. Admitted. Global Typeclasses Opaque bytecode. @@ -2480,7 +2495,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_bytes : M.IsAssociatedFunction.Trait Self "bytes" bytes. + Global Instance AssociatedFunction_bytes : M.IsAssociatedFunction.C Self "bytes" bytes. Admitted. Global Typeclasses Opaque bytes. @@ -2614,7 +2629,7 @@ Module bytecode. end. Global Instance AssociatedFunction_bytes_slice : - M.IsAssociatedFunction.Trait Self "bytes_slice" bytes_slice. + M.IsAssociatedFunction.C Self "bytes_slice" bytes_slice. Admitted. Global Typeclasses Opaque bytes_slice. @@ -2792,7 +2807,7 @@ Module bytecode. end. Global Instance AssociatedFunction_original_bytes : - M.IsAssociatedFunction.Trait Self "original_bytes" original_bytes. + M.IsAssociatedFunction.C Self "original_bytes" original_bytes. Admitted. Global Typeclasses Opaque original_bytes. @@ -3043,7 +3058,7 @@ Module bytecode. end. Global Instance AssociatedFunction_original_byte_slice : - M.IsAssociatedFunction.Trait Self "original_byte_slice" original_byte_slice. + M.IsAssociatedFunction.C Self "original_byte_slice" original_byte_slice. Admitted. Global Typeclasses Opaque original_byte_slice. @@ -3086,7 +3101,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -3116,8 +3131,7 @@ Module bytecode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. End Impl_revm_bytecode_bytecode_Bytecode. diff --git a/CoqOfRust/revm/revm_bytecode/eip7702.v b/CoqOfRust/revm/revm_bytecode/eip7702.v index 16f31eceb..58a992112 100644 --- a/CoqOfRust/revm/revm_bytecode/eip7702.v +++ b/CoqOfRust/revm/revm_bytecode/eip7702.v @@ -2,45 +2,50 @@ Require Import CoqOfRust.CoqOfRust. Module eip7702. - Definition value_EIP7702_MAGIC : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 61185 |))). + Definition value_EIP7702_MAGIC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 61185 |))). - Axiom Constant_value_EIP7702_MAGIC : - (M.get_constant "revm_bytecode::eip7702::EIP7702_MAGIC") = value_EIP7702_MAGIC. - Global Hint Rewrite Constant_value_EIP7702_MAGIC : constant_rewrites. + Global Instance Instance_IsConstant_value_EIP7702_MAGIC : + M.IsFunction.C "revm_bytecode::eip7702::EIP7702_MAGIC" value_EIP7702_MAGIC. + Admitted. + Global Typeclasses Opaque value_EIP7702_MAGIC. - Definition value_EIP7702_MAGIC_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.call_closure (| + Definition value_EIP7702_MAGIC_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bytes_::Bytes", + M.get_associated_function (| Ty.path "alloy_primitives::bytes_::Bytes", - M.get_associated_function (| - Ty.path "alloy_primitives::bytes_::Bytes", - "from_static", - [], - [] - |), - [ - M.read (| - M.get_constant "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES::STATIC_BYTES" + "from_static", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES::STATIC_BYTES", + Ty.apply (Ty.path "&") [] [ Ty.apply (Ty.path "slice") [] [ Ty.path "u8" ] ] |) - ] - |) + |) + ] |) - |))). + |) + |))). - Axiom Constant_value_EIP7702_MAGIC_BYTES : - (M.get_constant "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES") = value_EIP7702_MAGIC_BYTES. - Global Hint Rewrite Constant_value_EIP7702_MAGIC_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_EIP7702_MAGIC_BYTES : + M.IsFunction.C "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES" value_EIP7702_MAGIC_BYTES. + Admitted. + Global Typeclasses Opaque value_EIP7702_MAGIC_BYTES. - Definition value_EIP7702_VERSION : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). + Definition value_EIP7702_VERSION (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). - Axiom Constant_value_EIP7702_VERSION : - (M.get_constant "revm_bytecode::eip7702::EIP7702_VERSION") = value_EIP7702_VERSION. - Global Hint Rewrite Constant_value_EIP7702_VERSION : constant_rewrites. + Global Instance Instance_IsConstant_value_EIP7702_VERSION : + M.IsFunction.C "revm_bytecode::eip7702::EIP7702_VERSION" value_EIP7702_VERSION. + Admitted. + Global Typeclasses Opaque value_EIP7702_VERSION. (* StructRecord { @@ -1104,8 +1109,16 @@ Module eip7702. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES" + get_constant (| + "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES", + Ty.apply + (Ty.path "&") + [] + [ + Ty.path + "alloy_primitives::bytes_::Bytes" + ] + |) |) |) |) @@ -1200,7 +1213,10 @@ Module eip7702. |) |), M.read (| - M.get_constant "revm_bytecode::eip7702::EIP7702_VERSION" + get_constant (| + "revm_bytecode::eip7702::EIP7702_VERSION", + Ty.path "u8" + |) |) |) |)) in @@ -1378,7 +1394,12 @@ Module eip7702. ] |)); ("version", - M.read (| M.get_constant "revm_bytecode::eip7702::EIP7702_VERSION" |)); + M.read (| + get_constant (| + "revm_bytecode::eip7702::EIP7702_VERSION", + Ty.path "u8" + |) + |)); ("raw", M.read (| raw |)) ] ] @@ -1388,8 +1409,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new_raw : - M.IsAssociatedFunction.Trait Self "new_raw" new_raw. + Global Instance AssociatedFunction_new_raw : M.IsAssociatedFunction.C Self "new_raw" new_raw. Admitted. Global Typeclasses Opaque new_raw. @@ -1466,8 +1486,13 @@ Module eip7702. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES" + get_constant (| + "revm_bytecode::eip7702::EIP7702_MAGIC_BYTES", + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ] + |) |) |) |) @@ -1497,7 +1522,9 @@ Module eip7702. |), [ M.borrow (| Pointer.Kind.MutRef, raw |); - M.read (| M.get_constant "revm_bytecode::eip7702::EIP7702_VERSION" |) + M.read (| + get_constant (| "revm_bytecode::eip7702::EIP7702_VERSION", Ty.path "u8" |) + |) ] |) |) in @@ -1534,7 +1561,9 @@ Module eip7702. [ ("delegated_address", M.read (| address |)); ("version", - M.read (| M.get_constant "revm_bytecode::eip7702::EIP7702_VERSION" |)); + M.read (| + get_constant (| "revm_bytecode::eip7702::EIP7702_VERSION", Ty.path "u8" |) + |)); ("raw", M.call_closure (| Ty.path "alloy_primitives::bytes_::Bytes", @@ -1558,7 +1587,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1588,7 +1617,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_raw : M.IsAssociatedFunction.Trait Self "raw" raw. + Global Instance AssociatedFunction_raw : M.IsAssociatedFunction.C Self "raw" raw. Admitted. Global Typeclasses Opaque raw. @@ -1612,8 +1641,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_address : - M.IsAssociatedFunction.Trait Self "address" address. + Global Instance AssociatedFunction_address : M.IsAssociatedFunction.C Self "address" address. Admitted. Global Typeclasses Opaque address. End Impl_revm_bytecode_eip7702_Eip7702Bytecode. diff --git a/CoqOfRust/revm/revm_bytecode/eof.v b/CoqOfRust/revm/revm_bytecode/eof.v index a8d9c35ce..1f6d9795d 100644 --- a/CoqOfRust/revm/revm_bytecode/eof.v +++ b/CoqOfRust/revm/revm_bytecode/eof.v @@ -2,60 +2,75 @@ Require Import CoqOfRust.CoqOfRust. Module eof. - Definition value_EOF_MAGIC_HASH : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_EOF_MAGIC_HASH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ Value.Integer IntegerKind.Usize 32 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "alloy_primitives::bits::fixed::FixedBytes") - [ Value.Integer IntegerKind.Usize 32 ] - [], - "new", - [], - [] - |), - [ M.read (| M.get_constant "revm_bytecode::eof::EOF_MAGIC_HASH::RES" |) ] - |) - |))). + "new", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_bytecode::eof::EOF_MAGIC_HASH::RES", + Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 32 ] [ Ty.path "u8" ] + |) + |) + ] + |) + |))). - Axiom Constant_value_EOF_MAGIC_HASH : - (M.get_constant "revm_bytecode::eof::EOF_MAGIC_HASH") = value_EOF_MAGIC_HASH. - Global Hint Rewrite Constant_value_EOF_MAGIC_HASH : constant_rewrites. + Global Instance Instance_IsConstant_value_EOF_MAGIC_HASH : + M.IsFunction.C "revm_bytecode::eof::EOF_MAGIC_HASH" value_EOF_MAGIC_HASH. + Admitted. + Global Typeclasses Opaque value_EOF_MAGIC_HASH. - Definition value_EOF_MAGIC : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 61184 |))). + Definition value_EOF_MAGIC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U16 61184 |))). - Axiom Constant_value_EOF_MAGIC : - (M.get_constant "revm_bytecode::eof::EOF_MAGIC") = value_EOF_MAGIC. - Global Hint Rewrite Constant_value_EOF_MAGIC : constant_rewrites. + Global Instance Instance_IsConstant_value_EOF_MAGIC : + M.IsFunction.C "revm_bytecode::eof::EOF_MAGIC" value_EOF_MAGIC. + Admitted. + Global Typeclasses Opaque value_EOF_MAGIC. - Definition value_EOF_MAGIC_BYTES : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - M.call_closure (| + Definition value_EOF_MAGIC_BYTES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bytes_::Bytes", + M.get_associated_function (| Ty.path "alloy_primitives::bytes_::Bytes", - M.get_associated_function (| - Ty.path "alloy_primitives::bytes_::Bytes", - "from_static", - [], - [] - |), - [ M.read (| M.get_constant "revm_bytecode::eof::EOF_MAGIC_BYTES::STATIC_BYTES" |) ] - |) + "from_static", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_bytecode::eof::EOF_MAGIC_BYTES::STATIC_BYTES", + Ty.apply (Ty.path "&") [] [ Ty.apply (Ty.path "slice") [] [ Ty.path "u8" ] ] + |) + |) + ] |) - |))). + |) + |))). - Axiom Constant_value_EOF_MAGIC_BYTES : - (M.get_constant "revm_bytecode::eof::EOF_MAGIC_BYTES") = value_EOF_MAGIC_BYTES. - Global Hint Rewrite Constant_value_EOF_MAGIC_BYTES : constant_rewrites. + Global Instance Instance_IsConstant_value_EOF_MAGIC_BYTES : + M.IsFunction.C "revm_bytecode::eof::EOF_MAGIC_BYTES" value_EOF_MAGIC_BYTES. + Admitted. + Global Typeclasses Opaque value_EOF_MAGIC_BYTES. (* StructRecord { @@ -1179,8 +1194,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_validate : - M.IsAssociatedFunction.Trait Self "validate" validate. + Global Instance AssociatedFunction_validate : M.IsAssociatedFunction.C Self "validate" validate. Admitted. Global Typeclasses Opaque validate. @@ -1209,7 +1223,7 @@ Module eof. end. Global Instance AssociatedFunction_valitate_raw : - M.IsAssociatedFunction.Trait Self "valitate_raw" valitate_raw. + M.IsAssociatedFunction.C Self "valitate_raw" valitate_raw. Admitted. Global Typeclasses Opaque valitate_raw. @@ -1239,7 +1253,7 @@ Module eof. end. Global Instance AssociatedFunction_validate_mode : - M.IsAssociatedFunction.Trait Self "validate_mode" validate_mode. + M.IsAssociatedFunction.C Self "validate_mode" validate_mode. Admitted. Global Typeclasses Opaque validate_mode. @@ -1266,7 +1280,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1323,7 +1337,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_size : M.IsAssociatedFunction.Trait Self "size" size. + Global Instance AssociatedFunction_size : M.IsAssociatedFunction.C Self "size" size. Admitted. Global Typeclasses Opaque size. @@ -1353,7 +1367,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_raw : M.IsAssociatedFunction.Trait Self "raw" raw. + Global Instance AssociatedFunction_raw : M.IsAssociatedFunction.C Self "raw" raw. Admitted. Global Typeclasses Opaque raw. @@ -1622,7 +1636,7 @@ Module eof. end. Global Instance AssociatedFunction_data_slice : - M.IsAssociatedFunction.Trait Self "data_slice" data_slice. + M.IsAssociatedFunction.C Self "data_slice" data_slice. Admitted. Global Typeclasses Opaque data_slice. @@ -1694,7 +1708,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_data : M.IsAssociatedFunction.Trait Self "data" data. + Global Instance AssociatedFunction_data : M.IsAssociatedFunction.C Self "data" data. Admitted. Global Typeclasses Opaque data. @@ -1821,7 +1835,7 @@ Module eof. end. Global Instance AssociatedFunction_encode_slow : - M.IsAssociatedFunction.Trait Self "encode_slow" encode_slow. + M.IsAssociatedFunction.C Self "encode_slow" encode_slow. Admitted. Global Typeclasses Opaque encode_slow. @@ -2321,7 +2335,7 @@ Module eof. end. Global Instance AssociatedFunction_decode_dangling : - M.IsAssociatedFunction.Trait Self "decode_dangling" decode_dangling. + M.IsAssociatedFunction.C Self "decode_dangling" decode_dangling. Admitted. Global Typeclasses Opaque decode_dangling. @@ -2688,7 +2702,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.Trait Self "decode" decode. + Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.C Self "decode" decode. Admitted. Global Typeclasses Opaque decode. End Impl_revm_bytecode_eof_Eof. diff --git a/CoqOfRust/revm/revm_bytecode/eof/body.v b/CoqOfRust/revm/revm_bytecode/eof/body.v index c8c2caa93..7094ceb6b 100644 --- a/CoqOfRust/revm/revm_bytecode/eof/body.v +++ b/CoqOfRust/revm/revm_bytecode/eof/body.v @@ -2219,7 +2219,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_code : M.IsAssociatedFunction.Trait Self "code" code. + Global Instance AssociatedFunction_code : M.IsAssociatedFunction.C Self "code" code. Admitted. Global Typeclasses Opaque code. @@ -3066,7 +3066,7 @@ Module eof. end. Global Instance AssociatedFunction_into_eof : - M.IsAssociatedFunction.Trait Self "into_eof" into_eof. + M.IsAssociatedFunction.C Self "into_eof" into_eof. Admitted. Global Typeclasses Opaque into_eof. @@ -3186,7 +3186,7 @@ Module eof. end. Global Instance AssociatedFunction_eof_code_section_start : - M.IsAssociatedFunction.Trait Self "eof_code_section_start" eof_code_section_start. + M.IsAssociatedFunction.C Self "eof_code_section_start" eof_code_section_start. Admitted. Global Typeclasses Opaque eof_code_section_start. @@ -3681,7 +3681,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_encode : M.IsAssociatedFunction.Trait Self "encode" encode. + Global Instance AssociatedFunction_encode : M.IsAssociatedFunction.C Self "encode" encode. Admitted. Global Typeclasses Opaque encode. @@ -5091,7 +5091,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.Trait Self "decode" decode. + Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.C Self "decode" decode. Admitted. Global Typeclasses Opaque decode. End Impl_revm_bytecode_eof_body_EofBody. diff --git a/CoqOfRust/revm/revm_bytecode/eof/decode_helpers.v b/CoqOfRust/revm/revm_bytecode/eof/decode_helpers.v index 9180d5022..f4283f529 100644 --- a/CoqOfRust/revm/revm_bytecode/eof/decode_helpers.v +++ b/CoqOfRust/revm/revm_bytecode/eof/decode_helpers.v @@ -125,7 +125,7 @@ Module eof. end. Global Instance Instance_IsFunction_consume_u8 : - M.IsFunction.Trait "revm_bytecode::eof::decode_helpers::consume_u8" consume_u8. + M.IsFunction.C "revm_bytecode::eof::decode_helpers::consume_u8" consume_u8. Admitted. Global Typeclasses Opaque consume_u8. @@ -273,7 +273,7 @@ Module eof. end. Global Instance Instance_IsFunction_consume_u16 : - M.IsFunction.Trait "revm_bytecode::eof::decode_helpers::consume_u16" consume_u16. + M.IsFunction.C "revm_bytecode::eof::decode_helpers::consume_u16" consume_u16. Admitted. Global Typeclasses Opaque consume_u16. End decode_helpers. diff --git a/CoqOfRust/revm/revm_bytecode/eof/header.v b/CoqOfRust/revm/revm_bytecode/eof/header.v index c5bbf5307..dd790c233 100644 --- a/CoqOfRust/revm/revm_bytecode/eof/header.v +++ b/CoqOfRust/revm/revm_bytecode/eof/header.v @@ -1784,40 +1784,45 @@ Module eof. (* Instance *) [ ("partial_cmp", InstanceField.Method partial_cmp) ]. End Impl_core_cmp_PartialOrd_revm_bytecode_eof_header_EofHeader_for_revm_bytecode_eof_header_EofHeader. - Definition value_KIND_TERMINAL : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). + Definition value_KIND_TERMINAL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). - Axiom Constant_value_KIND_TERMINAL : - (M.get_constant "revm_bytecode::eof::header::KIND_TERMINAL") = value_KIND_TERMINAL. - Global Hint Rewrite Constant_value_KIND_TERMINAL : constant_rewrites. + Global Instance Instance_IsConstant_value_KIND_TERMINAL : + M.IsFunction.C "revm_bytecode::eof::header::KIND_TERMINAL" value_KIND_TERMINAL. + Admitted. + Global Typeclasses Opaque value_KIND_TERMINAL. - Definition value_KIND_TYPES : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). + Definition value_KIND_TYPES (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). - Axiom Constant_value_KIND_TYPES : - (M.get_constant "revm_bytecode::eof::header::KIND_TYPES") = value_KIND_TYPES. - Global Hint Rewrite Constant_value_KIND_TYPES : constant_rewrites. + Global Instance Instance_IsConstant_value_KIND_TYPES : + M.IsFunction.C "revm_bytecode::eof::header::KIND_TYPES" value_KIND_TYPES. + Admitted. + Global Typeclasses Opaque value_KIND_TYPES. - Definition value_KIND_CODE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). + Definition value_KIND_CODE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 2 |))). - Axiom Constant_value_KIND_CODE : - (M.get_constant "revm_bytecode::eof::header::KIND_CODE") = value_KIND_CODE. - Global Hint Rewrite Constant_value_KIND_CODE : constant_rewrites. + Global Instance Instance_IsConstant_value_KIND_CODE : + M.IsFunction.C "revm_bytecode::eof::header::KIND_CODE" value_KIND_CODE. + Admitted. + Global Typeclasses Opaque value_KIND_CODE. - Definition value_KIND_CONTAINER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 3 |))). + Definition value_KIND_CONTAINER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 3 |))). - Axiom Constant_value_KIND_CONTAINER : - (M.get_constant "revm_bytecode::eof::header::KIND_CONTAINER") = value_KIND_CONTAINER. - Global Hint Rewrite Constant_value_KIND_CONTAINER : constant_rewrites. + Global Instance Instance_IsConstant_value_KIND_CONTAINER : + M.IsFunction.C "revm_bytecode::eof::header::KIND_CONTAINER" value_KIND_CONTAINER. + Admitted. + Global Typeclasses Opaque value_KIND_CONTAINER. - Definition value_KIND_DATA : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 4 |))). + Definition value_KIND_DATA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 4 |))). - Axiom Constant_value_KIND_DATA : - (M.get_constant "revm_bytecode::eof::header::KIND_DATA") = value_KIND_DATA. - Global Hint Rewrite Constant_value_KIND_DATA : constant_rewrites. + Global Instance Instance_IsConstant_value_KIND_DATA : + M.IsFunction.C "revm_bytecode::eof::header::KIND_DATA" value_KIND_DATA. + Admitted. + Global Typeclasses Opaque value_KIND_DATA. (* fn consume_header_section_size(input: &[u8]) -> Result<(&[u8], Vec, usize), EofDecodeError> { @@ -2432,7 +2437,7 @@ Module eof. end. Global Instance Instance_IsFunction_consume_header_section_size : - M.IsFunction.Trait + M.IsFunction.C "revm_bytecode::eof::header::consume_header_section_size" consume_header_section_size. Admitted. @@ -2577,7 +2582,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_size : M.IsAssociatedFunction.Trait Self "size" size. + Global Instance AssociatedFunction_size : M.IsAssociatedFunction.C Self "size" size. Admitted. Global Typeclasses Opaque size. @@ -2609,7 +2614,7 @@ Module eof. end. Global Instance AssociatedFunction_data_size_raw_i : - M.IsAssociatedFunction.Trait Self "data_size_raw_i" data_size_raw_i. + M.IsAssociatedFunction.C Self "data_size_raw_i" data_size_raw_i. Admitted. Global Typeclasses Opaque data_size_raw_i. @@ -2639,7 +2644,7 @@ Module eof. end. Global Instance AssociatedFunction_types_count : - M.IsAssociatedFunction.Trait Self "types_count" types_count. + M.IsAssociatedFunction.C Self "types_count" types_count. Admitted. Global Typeclasses Opaque types_count. @@ -2698,7 +2703,7 @@ Module eof. end. Global Instance AssociatedFunction_body_size : - M.IsAssociatedFunction.Trait Self "body_size" body_size. + M.IsAssociatedFunction.C Self "body_size" body_size. Admitted. Global Typeclasses Opaque body_size. @@ -2738,7 +2743,7 @@ Module eof. end. Global Instance AssociatedFunction_eof_size : - M.IsAssociatedFunction.Trait Self "eof_size" eof_size. + M.IsAssociatedFunction.C Self "eof_size" eof_size. Admitted. Global Typeclasses Opaque eof_size. @@ -2860,7 +2865,9 @@ Module eof. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| buffer |) |) |); - M.read (| M.get_constant "revm_bytecode::eof::header::KIND_TYPES" |) + M.read (| + get_constant (| "revm_bytecode::eof::header::KIND_TYPES", Ty.path "u8" |) + |) ] |) |) in @@ -2928,7 +2935,9 @@ Module eof. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| buffer |) |) |); - M.read (| M.get_constant "revm_bytecode::eof::header::KIND_CODE" |) + M.read (| + get_constant (| "revm_bytecode::eof::header::KIND_CODE", Ty.path "u8" |) + |) ] |) |) in @@ -3195,7 +3204,12 @@ Module eof. Pointer.Kind.MutRef, M.deref (| M.read (| buffer |) |) |); - M.read (| M.get_constant "revm_bytecode::eof::header::KIND_DATA" |) + M.read (| + get_constant (| + "revm_bytecode::eof::header::KIND_DATA", + Ty.path "u8" + |) + |) ] |) |) in @@ -3221,7 +3235,10 @@ Module eof. M.deref (| M.read (| buffer |) |) |); M.read (| - M.get_constant "revm_bytecode::eof::header::KIND_CONTAINER" + get_constant (| + "revm_bytecode::eof::header::KIND_CONTAINER", + Ty.path "u8" + |) |) ] |) @@ -3472,7 +3489,12 @@ Module eof. Pointer.Kind.MutRef, M.deref (| M.read (| buffer |) |) |); - M.read (| M.get_constant "revm_bytecode::eof::header::KIND_DATA" |) + M.read (| + get_constant (| + "revm_bytecode::eof::header::KIND_DATA", + Ty.path "u8" + |) + |) ] |) |) in @@ -3543,7 +3565,9 @@ Module eof. |), [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| buffer |) |) |); - M.read (| M.get_constant "revm_bytecode::eof::header::KIND_TERMINAL" |) + M.read (| + get_constant (| "revm_bytecode::eof::header::KIND_TERMINAL", Ty.path "u8" |) + |) ] |) |) in @@ -3552,7 +3576,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_encode : M.IsAssociatedFunction.Trait Self "encode" encode. + Global Instance AssociatedFunction_encode : M.IsAssociatedFunction.C Self "encode" encode. Admitted. Global Typeclasses Opaque encode. @@ -4309,8 +4333,10 @@ Module eof. BinOp.ne (| M.read (| kind_types |), M.read (| - M.get_constant - "revm_bytecode::eof::header::KIND_TYPES" + get_constant (| + "revm_bytecode::eof::header::KIND_TYPES", + Ty.path "u8" + |) |) |) |)) in @@ -4850,8 +4876,10 @@ Module eof. BinOp.ne (| M.read (| kind_types |), M.read (| - M.get_constant - "revm_bytecode::eof::header::KIND_CODE" + get_constant (| + "revm_bytecode::eof::header::KIND_CODE", + Ty.path "u8" + |) |) |) |)) in @@ -6466,8 +6494,11 @@ Module eof. kind_data |), M.read (| - M.get_constant - "revm_bytecode::eof::header::KIND_DATA" + get_constant (| + "revm_bytecode::eof::header::KIND_DATA", + Ty.path + "u8" + |) |) |) |)) in @@ -7154,8 +7185,11 @@ Module eof. terminator |), M.read (| - M.get_constant - "revm_bytecode::eof::header::KIND_TERMINAL" + get_constant (| + "revm_bytecode::eof::header::KIND_TERMINAL", + Ty.path + "u8" + |) |) |) |)) in @@ -7235,7 +7269,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.Trait Self "decode" decode. + Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.C Self "decode" decode. Admitted. Global Typeclasses Opaque decode. End Impl_revm_bytecode_eof_header_EofHeader. diff --git a/CoqOfRust/revm/revm_bytecode/eof/printer.v b/CoqOfRust/revm/revm_bytecode/eof/printer.v index e63fe046e..bca9279a0 100644 --- a/CoqOfRust/revm/revm_bytecode/eof/printer.v +++ b/CoqOfRust/revm/revm_bytecode/eof/printer.v @@ -101,7 +101,18 @@ Module eof. M.borrow (| Pointer.Kind.Ref, M.SubPointer.get_array_field (| - M.get_constant "revm_bytecode::opcode::OPCODE_INFO", + get_constant (| + "revm_bytecode::opcode::OPCODE_INFO", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] + ] + |), M.cast (Ty.path "usize") (M.read (| op |)) |) |) @@ -925,7 +936,7 @@ Module eof. end. Global Instance Instance_IsFunction_print : - M.IsFunction.Trait "revm_bytecode::eof::printer::print" print. + M.IsFunction.C "revm_bytecode::eof::printer::print" print. Admitted. Global Typeclasses Opaque print. End printer. diff --git a/CoqOfRust/revm/revm_bytecode/eof/types_section.v b/CoqOfRust/revm/revm_bytecode/eof/types_section.v index 714d16b87..e7040ee89 100644 --- a/CoqOfRust/revm/revm_bytecode/eof/types_section.v +++ b/CoqOfRust/revm/revm_bytecode/eof/types_section.v @@ -3,13 +3,19 @@ Require Import CoqOfRust.CoqOfRust. Module eof. Module types_section. - Definition value_EOF_NON_RETURNING_FUNCTION : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). + Definition value_EOF_NON_RETURNING_FUNCTION + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 128 |))). - Axiom Constant_value_EOF_NON_RETURNING_FUNCTION : - (M.get_constant "revm_bytecode::eof::types_section::EOF_NON_RETURNING_FUNCTION") = + Global Instance Instance_IsConstant_value_EOF_NON_RETURNING_FUNCTION : + M.IsFunction.C + "revm_bytecode::eof::types_section::EOF_NON_RETURNING_FUNCTION" value_EOF_NON_RETURNING_FUNCTION. - Global Hint Rewrite Constant_value_EOF_NON_RETURNING_FUNCTION : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EOF_NON_RETURNING_FUNCTION. (* StructRecord { @@ -859,7 +865,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -882,14 +888,17 @@ Module eof. |) |), M.read (| - M.get_constant "revm_bytecode::eof::types_section::EOF_NON_RETURNING_FUNCTION" + get_constant (| + "revm_bytecode::eof::types_section::EOF_NON_RETURNING_FUNCTION", + Ty.path "u8" + |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_is_non_returning : - M.IsAssociatedFunction.Trait Self "is_non_returning" is_non_returning. + M.IsAssociatedFunction.C Self "is_non_returning" is_non_returning. Admitted. Global Typeclasses Opaque is_non_returning. @@ -926,8 +935,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_io_diff : - M.IsAssociatedFunction.Trait Self "io_diff" io_diff. + Global Instance AssociatedFunction_io_diff : M.IsAssociatedFunction.C Self "io_diff" io_diff. Admitted. Global Typeclasses Opaque io_diff. @@ -1049,7 +1057,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_encode : M.IsAssociatedFunction.Trait Self "encode" encode. + Global Instance AssociatedFunction_encode : M.IsAssociatedFunction.C Self "encode" encode. Admitted. Global Typeclasses Opaque encode. @@ -1809,7 +1817,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.Trait Self "decode" decode. + Global Instance AssociatedFunction_decode : M.IsAssociatedFunction.C Self "decode" decode. Admitted. Global Typeclasses Opaque decode. @@ -1955,7 +1963,7 @@ Module eof. end. Global Instance AssociatedFunction_validate : - M.IsAssociatedFunction.Trait Self "validate" validate. + M.IsAssociatedFunction.C Self "validate" validate. Admitted. Global Typeclasses Opaque validate. End Impl_revm_bytecode_eof_types_section_TypesSection. diff --git a/CoqOfRust/revm/revm_bytecode/eof/verification.v b/CoqOfRust/revm/revm_bytecode/eof/verification.v index ba02f4eb0..20f2fa359 100644 --- a/CoqOfRust/revm/revm_bytecode/eof/verification.v +++ b/CoqOfRust/revm/revm_bytecode/eof/verification.v @@ -34,7 +34,7 @@ Module eof. end. Global Instance Instance_IsFunction_validate_raw_eof : - M.IsFunction.Trait "revm_bytecode::eof::verification::validate_raw_eof" validate_raw_eof. + M.IsFunction.C "revm_bytecode::eof::verification::validate_raw_eof" validate_raw_eof. Admitted. Global Typeclasses Opaque validate_raw_eof. @@ -104,8 +104,10 @@ Module eof. ] |), M.read (| - M.get_constant - "revm_specification::constants::MAX_INITCODE_SIZE" + get_constant (| + "revm_specification::constants::MAX_INITCODE_SIZE", + Ty.path "usize" + |) |) |) |)) in @@ -373,7 +375,7 @@ Module eof. end. Global Instance Instance_IsFunction_validate_raw_eof_inner : - M.IsFunction.Trait + M.IsFunction.C "revm_bytecode::eof::verification::validate_raw_eof_inner" validate_raw_eof_inner. Admitted. @@ -407,7 +409,7 @@ Module eof. end. Global Instance Instance_IsFunction_validate_eof : - M.IsFunction.Trait "revm_bytecode::eof::verification::validate_eof" validate_eof. + M.IsFunction.C "revm_bytecode::eof::verification::validate_eof" validate_eof. Admitted. Global Typeclasses Opaque validate_eof. @@ -1648,7 +1650,7 @@ Module eof. end. Global Instance Instance_IsFunction_validate_eof_inner : - M.IsFunction.Trait "revm_bytecode::eof::verification::validate_eof_inner" validate_eof_inner. + M.IsFunction.C "revm_bytecode::eof::verification::validate_eof_inner" validate_eof_inner. Admitted. Global Typeclasses Opaque validate_eof_inner. @@ -3059,7 +3061,7 @@ Module eof. end. Global Instance Instance_IsFunction_validate_eof_codes : - M.IsFunction.Trait "revm_bytecode::eof::verification::validate_eof_codes" validate_eof_codes. + M.IsFunction.C "revm_bytecode::eof::verification::validate_eof_codes" validate_eof_codes. Admitted. Global Typeclasses Opaque validate_eof_codes. @@ -6101,7 +6103,7 @@ Module eof. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -6209,7 +6211,7 @@ Module eof. end. Global Instance AssociatedFunction_access_code : - M.IsAssociatedFunction.Trait Self "access_code" access_code. + M.IsAssociatedFunction.C Self "access_code" access_code. Admitted. Global Typeclasses Opaque access_code. @@ -6424,7 +6426,7 @@ Module eof. end. Global Instance AssociatedFunction_set_subcontainer_type : - M.IsAssociatedFunction.Trait Self "set_subcontainer_type" set_subcontainer_type. + M.IsAssociatedFunction.C Self "set_subcontainer_type" set_subcontainer_type. Admitted. Global Typeclasses Opaque set_subcontainer_type. End Impl_revm_bytecode_eof_verification_AccessTracker. @@ -6678,7 +6680,7 @@ Module eof. end. Global Instance AssociatedFunction_is_initcode : - M.IsAssociatedFunction.Trait Self "is_initcode" is_initcode. + M.IsAssociatedFunction.C Self "is_initcode" is_initcode. Admitted. Global Typeclasses Opaque is_initcode. End Impl_revm_bytecode_eof_verification_CodeType. @@ -7636,7 +7638,18 @@ Module eof. M.borrow (| Pointer.Kind.Ref, M.SubPointer.get_array_field (| - M.get_constant "revm_bytecode::opcode::OPCODE_INFO", + get_constant (| + "revm_bytecode::opcode::OPCODE_INFO", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] + ] + |), M.cast (Ty.path "usize") (M.read (| op |)) |) |) @@ -9360,7 +9373,7 @@ Module eof. end. Global Instance Instance_IsFunction_validate_eof_code : - M.IsFunction.Trait "revm_bytecode::eof::verification::validate_eof_code" validate_eof_code. + M.IsFunction.C "revm_bytecode::eof::verification::validate_eof_code" validate_eof_code. Admitted. Global Typeclasses Opaque validate_eof_code. @@ -9606,7 +9619,7 @@ Module eof. end. Global Instance AssociatedFunction_mark_as_immediate : - M.IsAssociatedFunction.Trait Self "mark_as_immediate" mark_as_immediate. + M.IsAssociatedFunction.C Self "mark_as_immediate" mark_as_immediate. Admitted. Global Typeclasses Opaque mark_as_immediate. End Impl_revm_bytecode_eof_verification_validate_eof_code_InstructionInfo. @@ -9634,8 +9647,10 @@ Module eof. [ ("is_immediate", Value.Bool false); ("is_jumpdest", Value.Bool false); - ("smallest", M.read (| M.get_constant "core::num::MAX" |)); - ("biggest", M.read (| M.get_constant "core::num::MIN" |)) + ("smallest", + M.read (| get_associated_constant (| Ty.path "i32", "MAX", Ty.path "i32" |) |)); + ("biggest", + M.read (| get_associated_constant (| Ty.path "i32", "MIN", Ty.path "i32" |) |)) ])) | _, _, _ => M.impossible "wrong number of arguments" end. diff --git a/CoqOfRust/revm/revm_bytecode/legacy/analyzed.v b/CoqOfRust/revm/revm_bytecode/legacy/analyzed.v index c3da1365f..1dc6ffd71 100644 --- a/CoqOfRust/revm/revm_bytecode/legacy/analyzed.v +++ b/CoqOfRust/revm/revm_bytecode/legacy/analyzed.v @@ -1046,8 +1046,10 @@ Module legacy. |), [ M.read (| - M.get_constant - "revm_bytecode::legacy::analyzed::default::ELEM" + get_constant (| + "revm_bytecode::legacy::analyzed::default::ELEM", + Ty.path "u8" + |) |) ] |) @@ -1066,8 +1068,10 @@ Module legacy. [ ("end_", M.read (| - M.get_constant - "revm_bytecode::legacy::analyzed::default::BITS" + get_constant (| + "revm_bytecode::legacy::analyzed::default::BITS", + Ty.path "usize" + |) |)) ] ] @@ -1123,7 +1127,7 @@ Module legacy. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1154,7 +1158,7 @@ Module legacy. end. Global Instance AssociatedFunction_bytecode : - M.IsAssociatedFunction.Trait Self "bytecode" bytecode. + M.IsAssociatedFunction.C Self "bytecode" bytecode. Admitted. Global Typeclasses Opaque bytecode. @@ -1179,7 +1183,7 @@ Module legacy. end. Global Instance AssociatedFunction_original_len : - M.IsAssociatedFunction.Trait Self "original_len" original_len. + M.IsAssociatedFunction.C Self "original_len" original_len. Admitted. Global Typeclasses Opaque original_len. @@ -1228,7 +1232,7 @@ Module legacy. end. Global Instance AssociatedFunction_original_bytes : - M.IsAssociatedFunction.Trait Self "original_bytes" original_bytes. + M.IsAssociatedFunction.C Self "original_bytes" original_bytes. Admitted. Global Typeclasses Opaque original_bytes. @@ -1331,7 +1335,7 @@ Module legacy. end. Global Instance AssociatedFunction_original_byte_slice : - M.IsAssociatedFunction.Trait Self "original_byte_slice" original_byte_slice. + M.IsAssociatedFunction.C Self "original_byte_slice" original_byte_slice. Admitted. Global Typeclasses Opaque original_byte_slice. @@ -1362,7 +1366,7 @@ Module legacy. end. Global Instance AssociatedFunction_jump_table : - M.IsAssociatedFunction.Trait Self "jump_table" jump_table. + M.IsAssociatedFunction.C Self "jump_table" jump_table. Admitted. Global Typeclasses Opaque jump_table. End Impl_revm_bytecode_legacy_analyzed_LegacyAnalyzedBytecode. diff --git a/CoqOfRust/revm/revm_bytecode/legacy/jump_map.v b/CoqOfRust/revm/revm_bytecode/legacy/jump_map.v index 1c0f6b165..3dbd7a6c5 100644 --- a/CoqOfRust/revm/revm_bytecode/legacy/jump_map.v +++ b/CoqOfRust/revm/revm_bytecode/legacy/jump_map.v @@ -724,7 +724,7 @@ Module legacy. end. Global Instance AssociatedFunction_as_slice : - M.IsAssociatedFunction.Trait Self "as_slice" as_slice. + M.IsAssociatedFunction.C Self "as_slice" as_slice. Admitted. Global Typeclasses Opaque as_slice. @@ -791,7 +791,7 @@ Module legacy. end. Global Instance AssociatedFunction_from_slice : - M.IsAssociatedFunction.Trait Self "from_slice" from_slice. + M.IsAssociatedFunction.C Self "from_slice" from_slice. Admitted. Global Typeclasses Opaque from_slice. @@ -998,7 +998,7 @@ Module legacy. end. Global Instance AssociatedFunction_is_valid : - M.IsAssociatedFunction.Trait Self "is_valid" is_valid. + M.IsAssociatedFunction.C Self "is_valid" is_valid. Admitted. Global Typeclasses Opaque is_valid. End Impl_revm_bytecode_legacy_jump_map_JumpTable. diff --git a/CoqOfRust/revm/revm_bytecode/legacy/raw.v b/CoqOfRust/revm/revm_bytecode/legacy/raw.v index ddecc2a9b..3f3337c62 100644 --- a/CoqOfRust/revm/revm_bytecode/legacy/raw.v +++ b/CoqOfRust/revm/revm_bytecode/legacy/raw.v @@ -464,7 +464,7 @@ Module legacy. end. Global Instance AssociatedFunction_analysis : - M.IsAssociatedFunction.Trait Self "analysis" analysis. + M.IsAssociatedFunction.C Self "analysis" analysis. Admitted. Global Typeclasses Opaque analysis. @@ -684,7 +684,7 @@ Module legacy. end. Global Instance AssociatedFunction_into_analyzed : - M.IsAssociatedFunction.Trait Self "into_analyzed" into_analyzed. + M.IsAssociatedFunction.C Self "into_analyzed" into_analyzed. Admitted. Global Typeclasses Opaque into_analyzed. End Impl_revm_bytecode_legacy_raw_LegacyRawBytecode. @@ -891,7 +891,7 @@ Module legacy. end. Global Instance Instance_IsFunction_analyze_legacy : - M.IsFunction.Trait "revm_bytecode::legacy::raw::analyze_legacy" analyze_legacy. + M.IsFunction.C "revm_bytecode::legacy::raw::analyze_legacy" analyze_legacy. Admitted. Global Typeclasses Opaque analyze_legacy. End raw. diff --git a/CoqOfRust/revm/revm_bytecode/links/opcode.v b/CoqOfRust/revm/revm_bytecode/links/opcode.v index 60041db99..64fd91439 100644 --- a/CoqOfRust/revm/revm_bytecode/links/opcode.v +++ b/CoqOfRust/revm/revm_bytecode/links/opcode.v @@ -2,29 +2,102 @@ Require Import CoqOfRust.CoqOfRust. Require Import links.M. Require Import revm.revm_bytecode.opcode. -Lemma STOP_eq : - M.get_constant "revm_bytecode::opcode::STOP" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U8 0)). +(* pub struct OpCode(u8); *) +Module OpCode. + Record t : Set := { + value : U8.t; + }. + + Global Instance IsLink : Link t := { + Φ := Ty.path "revm_bytecode::opcode::OpCode"; + φ x := Value.StructTuple "revm_bytecode::opcode::OpCode" [φ x.(value)]; + }. + + Definition of_ty : OfTy.t (Ty.path "revm_bytecode::opcode::OpCode"). + Proof. eapply OfTy.Make with (A := t); reflexivity. Defined. + Smpl Add apply of_ty : of_ty. + + Lemma of_value_with value value' : + value' = φ value -> + Value.StructTuple "revm_bytecode::opcode::OpCode" [value'] = φ (Build_t value). + Proof. now intros; subst. Qed. + Smpl Add apply of_value_with : of_value. + + Definition of_value (value : U8.t) value' : + value' = φ value -> + OfValue.t (Value.StructTuple "revm_bytecode::opcode::OpCode" [value']). + Proof. econstructor; apply of_value_with; eassumption. Defined. + Smpl Add eapply of_value : of_value. + + Module SubPointer. + Definition get_value : SubPointer.Runner.t t + (Pointer.Index.StructTuple "revm_bytecode::opcode::OpCode" 0) := + {| + SubPointer.Runner.projection x := Some x.(value); + SubPointer.Runner.injection x y := Some (x <| value := y |>); + |}. + + Lemma get_value_is_valid : + SubPointer.Runner.Valid.t get_value. + Proof. + now constructor. + Qed. + Smpl Add apply get_value_is_valid : run_sub_pointer. + End SubPointer. +End OpCode. + +Module Impl_OpCode. + Instance run_STOP : + Run.Trait + opcode.Impl_revm_bytecode_opcode_OpCode.value_STOP [] [] [] + (Ref.t Pointer.Kind.Raw OpCode.t). + Proof. + constructor. + run_symbolic. + Defined. + + Instance run_ADD : + Run.Trait + opcode.Impl_revm_bytecode_opcode_OpCode.value_ADD [] [] [] + (Ref.t Pointer.Kind.Raw OpCode.t). + Proof. + constructor. + run_symbolic. + Defined. + + Instance run_BALANCE : + Run.Trait + opcode.Impl_revm_bytecode_opcode_OpCode.value_BALANCE [] [] [] + (Ref.t Pointer.Kind.Raw OpCode.t). + Proof. + constructor. + run_symbolic. + Defined. +End Impl_OpCode. + +Instance run_STOP : + Run.Trait + opcode.value_STOP [] [] [] + (Ref.t Pointer.Kind.Raw U8.t). Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite STOP_eq : run_constant. - -Lemma ADD_eq : - M.get_constant "revm_bytecode::opcode::ADD" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U8 1)). + constructor. + run_symbolic. +Defined. + +Instance run_ADD : + Run.Trait + opcode.value_ADD [] [] [] + (Ref.t Pointer.Kind.Raw U8.t). Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite ADD_eq : run_constant. - -Lemma BALANCE_eq : - M.get_constant "revm_bytecode::opcode::BALANCE" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U8 49)). + constructor. + run_symbolic. +Defined. + +Instance run_BALANCE : + Run.Trait + opcode.value_BALANCE [] [] [] + (Ref.t Pointer.Kind.Raw U8.t). Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite BALANCE_eq : run_constant. + constructor. + run_symbolic. +Defined. diff --git a/CoqOfRust/revm/revm_bytecode/opcode.v b/CoqOfRust/revm/revm_bytecode/opcode.v index 3857fb90a..144f9e3a7 100644 --- a/CoqOfRust/revm/revm_bytecode/opcode.v +++ b/CoqOfRust/revm/revm_bytecode/opcode.v @@ -429,7 +429,18 @@ Module opcode. ltac:(M.monadic (let γ := M.SubPointer.get_array_field (| - M.get_constant "revm_bytecode::opcode::OPCODE_INFO", + get_constant (| + "revm_bytecode::opcode::OPCODE_INFO", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] + ] + |), M.cast (Ty.path "usize") (M.read (| n |)) |) in let γ0_0 := @@ -623,7 +634,18 @@ Module opcode. [] [ Ty.path "revm_bytecode::opcode::OpCode" ]), M.SubPointer.get_array_field (| - M.get_constant "revm_bytecode::opcode::OPCODE_INFO", + get_constant (| + "revm_bytecode::opcode::OPCODE_INFO", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] + ] + |), M.cast (Ty.path "usize") (M.read (| opcode |)) |), [ @@ -651,7 +673,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -670,7 +692,7 @@ Module opcode. end. Global Instance AssociatedFunction_is_jumpdest : - M.IsAssociatedFunction.Trait Self "is_jumpdest" is_jumpdest. + M.IsAssociatedFunction.C Self "is_jumpdest" is_jumpdest. Admitted. Global Typeclasses Opaque is_jumpdest. @@ -738,7 +760,7 @@ Module opcode. end. Global Instance AssociatedFunction_is_jumpdest_by_op : - M.IsAssociatedFunction.Trait Self "is_jumpdest_by_op" is_jumpdest_by_op. + M.IsAssociatedFunction.C Self "is_jumpdest_by_op" is_jumpdest_by_op. Admitted. Global Typeclasses Opaque is_jumpdest_by_op. @@ -756,8 +778,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_jump : - M.IsAssociatedFunction.Trait Self "is_jump" is_jump. + Global Instance AssociatedFunction_is_jump : M.IsAssociatedFunction.C Self "is_jump" is_jump. Admitted. Global Typeclasses Opaque is_jump. @@ -825,7 +846,7 @@ Module opcode. end. Global Instance AssociatedFunction_is_jump_by_op : - M.IsAssociatedFunction.Trait Self "is_jump_by_op" is_jump_by_op. + M.IsAssociatedFunction.C Self "is_jump_by_op" is_jump_by_op. Admitted. Global Typeclasses Opaque is_jump_by_op. @@ -843,8 +864,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_push : - M.IsAssociatedFunction.Trait Self "is_push" is_push. + Global Instance AssociatedFunction_is_push : M.IsAssociatedFunction.C Self "is_push" is_push. Admitted. Global Typeclasses Opaque is_push. @@ -912,7 +932,7 @@ Module opcode. end. Global Instance AssociatedFunction_is_push_by_op : - M.IsAssociatedFunction.Trait Self "is_push_by_op" is_push_by_op. + M.IsAssociatedFunction.C Self "is_push_by_op" is_push_by_op. Admitted. Global Typeclasses Opaque is_push_by_op. @@ -931,7 +951,7 @@ Module opcode. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -974,7 +994,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.Trait Self "as_str" as_str. + Global Instance AssociatedFunction_as_str : M.IsAssociatedFunction.C Self "as_str" as_str. Admitted. Global Typeclasses Opaque as_str. @@ -1042,7 +1062,7 @@ Module opcode. end. Global Instance AssociatedFunction_name_by_op : - M.IsAssociatedFunction.Trait Self "name_by_op" name_by_op. + M.IsAssociatedFunction.C Self "name_by_op" name_by_op. Admitted. Global Typeclasses Opaque name_by_op. @@ -1085,7 +1105,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inputs : M.IsAssociatedFunction.Trait Self "inputs" inputs. + Global Instance AssociatedFunction_inputs : M.IsAssociatedFunction.C Self "inputs" inputs. Admitted. Global Typeclasses Opaque inputs. @@ -1128,8 +1148,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_outputs : - M.IsAssociatedFunction.Trait Self "outputs" outputs. + Global Instance AssociatedFunction_outputs : M.IsAssociatedFunction.C Self "outputs" outputs. Admitted. Global Typeclasses Opaque outputs. @@ -1172,8 +1191,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_io_diff : - M.IsAssociatedFunction.Trait Self "io_diff" io_diff. + Global Instance AssociatedFunction_io_diff : M.IsAssociatedFunction.C Self "io_diff" io_diff. Admitted. Global Typeclasses Opaque io_diff. @@ -1250,7 +1268,7 @@ Module opcode. end. Global Instance AssociatedFunction_info_by_op : - M.IsAssociatedFunction.Trait Self "info_by_op" info_by_op. + M.IsAssociatedFunction.C Self "info_by_op" info_by_op. Admitted. Global Typeclasses Opaque info_by_op. @@ -1276,8 +1294,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_as_usize : - M.IsAssociatedFunction.Trait Self "as_usize" as_usize. + Global Instance AssociatedFunction_as_usize : M.IsAssociatedFunction.C Self "as_usize" as_usize. Admitted. Global Typeclasses Opaque as_usize. @@ -1304,7 +1321,18 @@ Module opcode. ltac:(M.monadic (let γ := M.SubPointer.get_array_field (| - M.get_constant "revm_bytecode::opcode::OPCODE_INFO", + get_constant (| + "revm_bytecode::opcode::OPCODE_INFO", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] + ] + |), M.cast (Ty.path "usize") (M.read (| @@ -1361,7 +1389,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_info : M.IsAssociatedFunction.Trait Self "info" info. + Global Instance AssociatedFunction_info : M.IsAssociatedFunction.C Self "info" info. Admitted. Global Typeclasses Opaque info. @@ -1414,7 +1442,7 @@ Module opcode. end. Global Instance AssociatedFunction_input_output : - M.IsAssociatedFunction.Trait Self "input_output" input_output. + M.IsAssociatedFunction.C Self "input_output" input_output. Admitted. Global Typeclasses Opaque input_output. @@ -1434,7 +1462,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -1453,48 +1481,43 @@ Module opcode. end. Global Instance AssociatedFunction_modifies_memory : - M.IsAssociatedFunction.Trait Self "modifies_memory" modifies_memory. + M.IsAssociatedFunction.C Self "modifies_memory" modifies_memory. Admitted. Global Typeclasses Opaque modifies_memory. (* pub const $name: Self = Self($val); *) (* Ty.path "revm_bytecode::opcode::OpCode" *) - Definition value_STOP : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "revm_bytecode::opcode::OpCode" [ Value.Integer IntegerKind.U8 0 ] - |))). + Definition value_STOP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_bytecode::opcode::OpCode" [ Value.Integer IntegerKind.U8 0 ] + |))). - Global Instance AssociatedConstant_value_STOP : - M.IsAssociatedConstant.Trait Self "value_STOP" value_STOP. + Global Instance AssociatedConstant_value_STOP : M.IsAssociatedFunction.C Self "STOP" value_STOP. Admitted. Global Typeclasses Opaque value_STOP. (* pub const $name: Self = Self($val); *) (* Ty.path "revm_bytecode::opcode::OpCode" *) - Definition value_ADD : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "revm_bytecode::opcode::OpCode" [ Value.Integer IntegerKind.U8 1 ] - |))). + Definition value_ADD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_bytecode::opcode::OpCode" [ Value.Integer IntegerKind.U8 1 ] + |))). - Global Instance AssociatedConstant_value_ADD : - M.IsAssociatedConstant.Trait Self "value_ADD" value_ADD. + Global Instance AssociatedConstant_value_ADD : M.IsAssociatedFunction.C Self "ADD" value_ADD. Admitted. Global Typeclasses Opaque value_ADD. (* pub const $name: Self = Self($val); *) (* Ty.path "revm_bytecode::opcode::OpCode" *) - Definition value_BALANCE : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "revm_bytecode::opcode::OpCode" [ Value.Integer IntegerKind.U8 49 ] - |))). + Definition value_BALANCE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "revm_bytecode::opcode::OpCode" [ Value.Integer IntegerKind.U8 49 ] + |))). Global Instance AssociatedConstant_value_BALANCE : - M.IsAssociatedConstant.Trait Self "value_BALANCE" value_BALANCE. + M.IsAssociatedFunction.C Self "BALANCE" value_BALANCE. Admitted. Global Typeclasses Opaque value_BALANCE. End Impl_revm_bytecode_opcode_OpCode. @@ -3428,7 +3451,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -3503,7 +3526,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_name : M.IsAssociatedFunction.Trait Self "name" name. + Global Instance AssociatedFunction_name : M.IsAssociatedFunction.C Self "name" name. Admitted. Global Typeclasses Opaque name. @@ -3540,8 +3563,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_io_diff : - M.IsAssociatedFunction.Trait Self "io_diff" io_diff. + Global Instance AssociatedFunction_io_diff : M.IsAssociatedFunction.C Self "io_diff" io_diff. Admitted. Global Typeclasses Opaque io_diff. @@ -3565,7 +3587,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inputs : M.IsAssociatedFunction.Trait Self "inputs" inputs. + Global Instance AssociatedFunction_inputs : M.IsAssociatedFunction.C Self "inputs" inputs. Admitted. Global Typeclasses Opaque inputs. @@ -3589,8 +3611,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_outputs : - M.IsAssociatedFunction.Trait Self "outputs" outputs. + Global Instance AssociatedFunction_outputs : M.IsAssociatedFunction.C Self "outputs" outputs. Admitted. Global Typeclasses Opaque outputs. @@ -3615,7 +3636,7 @@ Module opcode. end. Global Instance AssociatedFunction_is_disabled_in_eof : - M.IsAssociatedFunction.Trait Self "is_disabled_in_eof" is_disabled_in_eof. + M.IsAssociatedFunction.C Self "is_disabled_in_eof" is_disabled_in_eof. Admitted. Global Typeclasses Opaque is_disabled_in_eof. @@ -3640,7 +3661,7 @@ Module opcode. end. Global Instance AssociatedFunction_is_terminating : - M.IsAssociatedFunction.Trait Self "is_terminating" is_terminating. + M.IsAssociatedFunction.C Self "is_terminating" is_terminating. Admitted. Global Typeclasses Opaque is_terminating. @@ -3665,7 +3686,7 @@ Module opcode. end. Global Instance AssociatedFunction_immediate_size : - M.IsAssociatedFunction.Trait Self "immediate_size" immediate_size. + M.IsAssociatedFunction.C Self "immediate_size" immediate_size. Admitted. Global Typeclasses Opaque immediate_size. End Impl_revm_bytecode_opcode_OpCodeInfo. @@ -3699,7 +3720,7 @@ Module opcode. end. Global Instance Instance_IsFunction_not_eof : - M.IsFunction.Trait "revm_bytecode::opcode::not_eof" not_eof. + M.IsFunction.C "revm_bytecode::opcode::not_eof" not_eof. Admitted. Global Typeclasses Opaque not_eof. @@ -3733,7 +3754,7 @@ Module opcode. end. Global Instance Instance_IsFunction_immediate_size : - M.IsFunction.Trait "revm_bytecode::opcode::immediate_size" immediate_size. + M.IsFunction.C "revm_bytecode::opcode::immediate_size" immediate_size. Admitted. Global Typeclasses Opaque immediate_size. @@ -3766,7 +3787,7 @@ Module opcode. end. Global Instance Instance_IsFunction_terminating : - M.IsFunction.Trait "revm_bytecode::opcode::terminating" terminating. + M.IsFunction.C "revm_bytecode::opcode::terminating" terminating. Admitted. Global Typeclasses Opaque terminating. @@ -3813,380 +3834,401 @@ Module opcode. end. Global Instance Instance_IsFunction_stack_io : - M.IsFunction.Trait "revm_bytecode::opcode::stack_io" stack_io. + M.IsFunction.C "revm_bytecode::opcode::stack_io" stack_io. Admitted. Global Typeclasses Opaque stack_io. - Definition value_STOP : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). + Definition value_STOP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 0 |))). - Axiom Constant_value_STOP : (M.get_constant "revm_bytecode::opcode::STOP") = value_STOP. - Global Hint Rewrite Constant_value_STOP : constant_rewrites. + Global Instance Instance_IsConstant_value_STOP : + M.IsFunction.C "revm_bytecode::opcode::STOP" value_STOP. + Admitted. + Global Typeclasses Opaque value_STOP. - Definition value_ADD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). + Definition value_ADD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). - Axiom Constant_value_ADD : (M.get_constant "revm_bytecode::opcode::ADD") = value_ADD. - Global Hint Rewrite Constant_value_ADD : constant_rewrites. + Global Instance Instance_IsConstant_value_ADD : + M.IsFunction.C "revm_bytecode::opcode::ADD" value_ADD. + Admitted. + Global Typeclasses Opaque value_ADD. - Definition value_BALANCE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 49 |))). + Definition value_BALANCE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 49 |))). - Axiom Constant_value_BALANCE : (M.get_constant "revm_bytecode::opcode::BALANCE") = value_BALANCE. - Global Hint Rewrite Constant_value_BALANCE : constant_rewrites. + Global Instance Instance_IsConstant_value_BALANCE : + M.IsFunction.C "revm_bytecode::opcode::BALANCE" value_BALANCE. + Admitted. + Global Typeclasses Opaque value_BALANCE. - Definition value_OPCODE_INFO : Value.t := - M.run_constant - ltac:(M.monadic - (let~ map : - Ty.apply - (Ty.path "array") - [ Value.Integer IntegerKind.Usize 256 ] - [ - Ty.apply - (Ty.path "core::option::Option") - [] - [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] - ] := - M.alloc (| - repeat (| - Value.StructTuple "core::option::Option::None" [], - Value.Integer IntegerKind.Usize 256 - |) - |) in - let~ prev : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 0 |) in - let~ val : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 0 |) in - let~ _ : Ty.tuple [] := - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), + Definition value_OPCODE_INFO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (let~ map : + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - 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 |) |))) - |) + Ty.apply + (Ty.path "core::option::Option") + [] + [ Ty.path "revm_bytecode::opcode::OpCodeInfo" ] + ] := + M.alloc (| + repeat (| + Value.StructTuple "core::option::Option::None" [], + Value.Integer IntegerKind.Usize 256 + |) + |) in + let~ prev : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 0 |) in + let~ val : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 0 |) in + let~ _ : Ty.tuple [] := + M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + 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 (| - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic_fmt", [], [] |), - [ - M.call_closure (| + |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + Ty.path "never", + M.get_function (| "core::panicking::panic_fmt", [], [] |), + [ + M.call_closure (| + Ty.path "core::fmt::Arguments", + M.get_associated_function (| Ty.path "core::fmt::Arguments", - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [ Value.Integer IntegerKind.Usize 1 ], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ mk_str (| "opcodes must be sorted in ascending order" |) ] - |) + "new_const", + [ Value.Integer IntegerKind.Usize 1 ], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ mk_str (| "opcodes must be sorted in ascending order" |) ] |) |) |) - ] - |) - ] - |) + |) + ] + |) + ] |) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ : Ty.tuple [] := M.alloc (| M.write (| prev, M.read (| val |) |) |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_associated_function (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - "new", - [], - [] - |), - [ mk_str (| "STOP" |) ] - |) - |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_function (| "revm_bytecode::opcode::stack_io", [], [] |), - [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] - |) - |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| + |) + |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ : Ty.tuple [] := M.alloc (| M.write (| prev, M.read (| val |) |) |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_associated_function (| Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_function (| "revm_bytecode::opcode::terminating", [], [] |), - [ M.read (| info |) ] - |) - |) in - let~ _ : Ty.tuple [] := - M.alloc (| - M.write (| - M.SubPointer.get_array_field (| map, Value.Integer IntegerKind.Usize 0 |), - Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] - |) - |) in - let~ val : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 1 |) in - let~ _ : Ty.tuple [] := - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - 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 |) |))) - |) + "new", + [], + [] + |), + [ mk_str (| "STOP" |) ] + |) + |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_function (| "revm_bytecode::opcode::stack_io", [], [] |), + [ M.read (| info |); Value.Integer IntegerKind.U8 0; Value.Integer IntegerKind.U8 0 ] + |) + |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_function (| "revm_bytecode::opcode::terminating", [], [] |), + [ M.read (| info |) ] + |) + |) in + let~ _ : Ty.tuple [] := + M.alloc (| + M.write (| + M.SubPointer.get_array_field (| map, Value.Integer IntegerKind.Usize 0 |), + Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] + |) + |) in + let~ val : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 1 |) in + let~ _ : Ty.tuple [] := + M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + 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 (| - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic_fmt", [], [] |), - [ - M.call_closure (| + |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + Ty.path "never", + M.get_function (| "core::panicking::panic_fmt", [], [] |), + [ + M.call_closure (| + Ty.path "core::fmt::Arguments", + M.get_associated_function (| Ty.path "core::fmt::Arguments", - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [ Value.Integer IntegerKind.Usize 1 ], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ mk_str (| "opcodes must be sorted in ascending order" |) ] - |) + "new_const", + [ Value.Integer IntegerKind.Usize 1 ], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ mk_str (| "opcodes must be sorted in ascending order" |) ] |) |) |) - ] - |) - ] - |) + |) + ] + |) + ] |) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ : Ty.tuple [] := M.alloc (| M.write (| prev, M.read (| val |) |) |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_associated_function (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - "new", - [], - [] - |), - [ mk_str (| "ADD" |) ] - |) - |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| + |) + |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ : Ty.tuple [] := M.alloc (| M.write (| prev, M.read (| val |) |) |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_associated_function (| Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_function (| "revm_bytecode::opcode::stack_io", [], [] |), - [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] - |) - |) in - let~ _ : Ty.tuple [] := - M.alloc (| - M.write (| - M.SubPointer.get_array_field (| map, Value.Integer IntegerKind.Usize 1 |), - Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] - |) - |) in - let~ val : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 49 |) in - let~ _ : Ty.tuple [] := - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - 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 |) |))) - |) + "new", + [], + [] + |), + [ mk_str (| "ADD" |) ] + |) + |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_function (| "revm_bytecode::opcode::stack_io", [], [] |), + [ M.read (| info |); Value.Integer IntegerKind.U8 2; Value.Integer IntegerKind.U8 1 ] + |) + |) in + let~ _ : Ty.tuple [] := + M.alloc (| + M.write (| + M.SubPointer.get_array_field (| map, Value.Integer IntegerKind.Usize 1 |), + Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] + |) + |) in + let~ val : Ty.path "u8" := M.alloc (| Value.Integer IntegerKind.U8 49 |) in + let~ _ : Ty.tuple [] := + M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + 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 (| - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic_fmt", [], [] |), - [ - M.call_closure (| + |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + Ty.path "never", + M.get_function (| "core::panicking::panic_fmt", [], [] |), + [ + M.call_closure (| + Ty.path "core::fmt::Arguments", + M.get_associated_function (| Ty.path "core::fmt::Arguments", - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [ Value.Integer IntegerKind.Usize 1 ], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ mk_str (| "opcodes must be sorted in ascending order" |) ] - |) + "new_const", + [ Value.Integer IntegerKind.Usize 1 ], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ mk_str (| "opcodes must be sorted in ascending order" |) ] |) |) |) - ] - |) - ] - |) + |) + ] + |) + ] |) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - let~ _ : Ty.tuple [] := M.alloc (| M.write (| prev, M.read (| val |) |) |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_associated_function (| - Ty.path "revm_bytecode::opcode::OpCodeInfo", - "new", - [], - [] - |), - [ mk_str (| "BALANCE" |) ] - |) - |) in - let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := - M.alloc (| - M.call_closure (| + |) + |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + let~ _ : Ty.tuple [] := M.alloc (| M.write (| prev, M.read (| val |) |) |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_associated_function (| Ty.path "revm_bytecode::opcode::OpCodeInfo", - M.get_function (| "revm_bytecode::opcode::stack_io", [], [] |), - [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] - |) - |) in - let~ _ : Ty.tuple [] := - M.alloc (| - M.write (| - M.SubPointer.get_array_field (| map, Value.Integer IntegerKind.Usize 49 |), - Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] - |) - |) in - M.match_operator (| None, prev, [ fun γ => ltac:(M.monadic map) ] |))). + "new", + [], + [] + |), + [ mk_str (| "BALANCE" |) ] + |) + |) in + let~ info : Ty.path "revm_bytecode::opcode::OpCodeInfo" := + M.alloc (| + M.call_closure (| + Ty.path "revm_bytecode::opcode::OpCodeInfo", + M.get_function (| "revm_bytecode::opcode::stack_io", [], [] |), + [ M.read (| info |); Value.Integer IntegerKind.U8 1; Value.Integer IntegerKind.U8 1 ] + |) + |) in + let~ _ : Ty.tuple [] := + M.alloc (| + M.write (| + M.SubPointer.get_array_field (| map, Value.Integer IntegerKind.Usize 49 |), + Value.StructTuple "core::option::Option::Some" [ M.read (| info |) ] + |) + |) in + M.match_operator (| None, prev, [ fun γ => ltac:(M.monadic map) ] |))). - Axiom Constant_value_OPCODE_INFO : - (M.get_constant "revm_bytecode::opcode::OPCODE_INFO") = value_OPCODE_INFO. - Global Hint Rewrite Constant_value_OPCODE_INFO : constant_rewrites. + Global Instance Instance_IsConstant_value_OPCODE_INFO : + M.IsFunction.C "revm_bytecode::opcode::OPCODE_INFO" value_OPCODE_INFO. + Admitted. + Global Typeclasses Opaque value_OPCODE_INFO. - Definition value_NAME_TO_OPCODE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.StructRecord - "phf::map::Map" - [ - ("key", Value.Integer IntegerKind.U64 15467950696543387533); - ("disps", - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - Value.Tuple - [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 0 ] - ] - |) + Definition value_NAME_TO_OPCODE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.StructRecord + "phf::map::Map" + [ + ("key", Value.Integer IntegerKind.U64 15467950696543387533); + ("disps", + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + Value.Tuple + [ Value.Integer IntegerKind.U32 0; Value.Integer IntegerKind.U32 0 ] + ] |) |) - |)); - ("entries", - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - Value.Tuple - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| mk_str (| "STOP" |) |) - |); - M.read (| M.get_constant "revm_bytecode::opcode::STOP" |) - ]; - Value.Tuple - [ - M.borrow (| Pointer.Kind.Ref, M.deref (| mk_str (| "ADD" |) |) |); - M.read (| M.get_constant "revm_bytecode::opcode::ADD" |) - ]; - Value.Tuple - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| mk_str (| "BALANCE" |) |) - |); - M.read (| M.get_constant "revm_bytecode::opcode::BALANCE" |) - ] - ] - |) + |) + |)); + ("entries", + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + Value.Tuple + [ + M.borrow (| Pointer.Kind.Ref, M.deref (| mk_str (| "STOP" |) |) |); + M.read (| + get_associated_constant (| + Ty.path "revm_bytecode::opcode::OpCode", + "STOP", + Ty.path "revm_bytecode::opcode::OpCode" + |) + |) + ]; + Value.Tuple + [ + M.borrow (| Pointer.Kind.Ref, M.deref (| mk_str (| "ADD" |) |) |); + M.read (| + get_associated_constant (| + Ty.path "revm_bytecode::opcode::OpCode", + "ADD", + Ty.path "revm_bytecode::opcode::OpCode" + |) + |) + ]; + Value.Tuple + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| mk_str (| "BALANCE" |) |) + |); + M.read (| + get_associated_constant (| + Ty.path "revm_bytecode::opcode::OpCode", + "BALANCE", + Ty.path "revm_bytecode::opcode::OpCode" + |) + |) + ] + ] |) |) - |)) - ] - |) - |))). + |) + |)) + ] + |) + |))). - Axiom Constant_value_NAME_TO_OPCODE : - (M.get_constant "revm_bytecode::opcode::NAME_TO_OPCODE") = value_NAME_TO_OPCODE. - Global Hint Rewrite Constant_value_NAME_TO_OPCODE : constant_rewrites. + Global Instance Instance_IsConstant_value_NAME_TO_OPCODE : + M.IsFunction.C "revm_bytecode::opcode::NAME_TO_OPCODE" value_NAME_TO_OPCODE. + Admitted. + Global Typeclasses Opaque value_NAME_TO_OPCODE. End opcode. diff --git a/CoqOfRust/revm/revm_bytecode/opcode/parse.v b/CoqOfRust/revm/revm_bytecode/opcode/parse.v index a82b1a8a2..0d326bd43 100644 --- a/CoqOfRust/revm/revm_bytecode/opcode/parse.v +++ b/CoqOfRust/revm/revm_bytecode/opcode/parse.v @@ -325,7 +325,23 @@ Module opcode. M.borrow (| Pointer.Kind.Ref, M.deref (| - M.read (| M.get_constant "revm_bytecode::opcode::NAME_TO_OPCODE" |) + M.read (| + get_constant (| + "revm_bytecode::opcode::NAME_TO_OPCODE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "phf::map::Map") + [] + [ + Ty.apply (Ty.path "&") [] [ Ty.path "str" ]; + Ty.path "revm_bytecode::opcode::OpCode" + ] + ] + |) + |) |) |); M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| s |) |) |) @@ -336,7 +352,7 @@ Module opcode. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_parse : M.IsAssociatedFunction.Trait Self "parse" parse. + Global Instance AssociatedFunction_parse : M.IsAssociatedFunction.C Self "parse" parse. Admitted. Global Typeclasses Opaque parse. End Impl_revm_bytecode_opcode_OpCode. diff --git a/CoqOfRust/revm/revm_bytecode/utils.v b/CoqOfRust/revm/revm_bytecode/utils.v index c55fa2b3e..0aaa9ee63 100644 --- a/CoqOfRust/revm/revm_bytecode/utils.v +++ b/CoqOfRust/revm/revm_bytecode/utils.v @@ -87,7 +87,7 @@ Module utils. end. Global Instance Instance_IsFunction_read_i16 : - M.IsFunction.Trait "revm_bytecode::utils::read_i16" read_i16. + M.IsFunction.C "revm_bytecode::utils::read_i16" read_i16. Admitted. Global Typeclasses Opaque read_i16. @@ -176,7 +176,7 @@ Module utils. end. Global Instance Instance_IsFunction_read_u16 : - M.IsFunction.Trait "revm_bytecode::utils::read_u16" read_u16. + M.IsFunction.C "revm_bytecode::utils::read_u16" read_u16. Admitted. Global Typeclasses Opaque read_u16. End utils. diff --git a/CoqOfRust/revm/revm_context_interface/block/blob.v b/CoqOfRust/revm/revm_context_interface/block/blob.v index 949a8f449..474111c5e 100644 --- a/CoqOfRust/revm/revm_context_interface/block/blob.v +++ b/CoqOfRust/revm/revm_context_interface/block/blob.v @@ -376,7 +376,7 @@ Module block. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_revm_context_interface_block_blob_BlobExcessGasAndPrice. @@ -400,14 +400,19 @@ Module block. M.read (| parent_excess_blob_gas |), M.read (| parent_blob_gas_used |) |); - M.read (| M.get_constant "revm_specification::eip4844::TARGET_BLOB_GAS_PER_BLOCK" |) + M.read (| + get_constant (| + "revm_specification::eip4844::TARGET_BLOB_GAS_PER_BLOCK", + Ty.path "u64" + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_calc_excess_blob_gas : - M.IsFunction.Trait + M.IsFunction.C "revm_context_interface::block::blob::calc_excess_blob_gas" calc_excess_blob_gas. Admitted. @@ -431,10 +436,15 @@ Module block. Ty.path "u128", M.get_function (| "revm_context_interface::block::blob::fake_exponential", [], [] |), [ - M.read (| M.get_constant "revm_specification::eip4844::MIN_BLOB_GASPRICE" |); + M.read (| + get_constant (| "revm_specification::eip4844::MIN_BLOB_GASPRICE", Ty.path "u64" |) + |); M.read (| excess_blob_gas |); M.read (| - M.get_constant "revm_specification::eip4844::BLOB_GASPRICE_UPDATE_FRACTION" + get_constant (| + "revm_specification::eip4844::BLOB_GASPRICE_UPDATE_FRACTION", + Ty.path "u64" + |) |) ] |))) @@ -442,9 +452,7 @@ Module block. end. Global Instance Instance_IsFunction_calc_blob_gasprice : - M.IsFunction.Trait - "revm_context_interface::block::blob::calc_blob_gasprice" - calc_blob_gasprice. + M.IsFunction.C "revm_context_interface::block::blob::calc_blob_gasprice" calc_blob_gasprice. Admitted. Global Typeclasses Opaque calc_blob_gasprice. @@ -672,7 +680,7 @@ Module block. end. Global Instance Instance_IsFunction_fake_exponential : - M.IsFunction.Trait "revm_context_interface::block::blob::fake_exponential" fake_exponential. + M.IsFunction.C "revm_context_interface::block::blob::fake_exponential" fake_exponential. Admitted. Global Typeclasses Opaque fake_exponential. End blob. diff --git a/CoqOfRust/revm/revm_context_interface/host.v b/CoqOfRust/revm/revm_context_interface/host.v index 399ae2253..46ec60d43 100644 --- a/CoqOfRust/revm/revm_context_interface/host.v +++ b/CoqOfRust/revm/revm_context_interface/host.v @@ -1485,7 +1485,7 @@ Module host. end. Global Instance AssociatedFunction_is_new_eq_present : - M.IsAssociatedFunction.Trait Self "is_new_eq_present" is_new_eq_present. + M.IsAssociatedFunction.C Self "is_new_eq_present" is_new_eq_present. Admitted. Global Typeclasses Opaque is_new_eq_present. @@ -1541,7 +1541,7 @@ Module host. end. Global Instance AssociatedFunction_is_original_eq_present : - M.IsAssociatedFunction.Trait Self "is_original_eq_present" is_original_eq_present. + M.IsAssociatedFunction.C Self "is_original_eq_present" is_original_eq_present. Admitted. Global Typeclasses Opaque is_original_eq_present. @@ -1597,7 +1597,7 @@ Module host. end. Global Instance AssociatedFunction_is_original_eq_new : - M.IsAssociatedFunction.Trait Self "is_original_eq_new" is_original_eq_new. + M.IsAssociatedFunction.C Self "is_original_eq_new" is_original_eq_new. Admitted. Global Typeclasses Opaque is_original_eq_new. @@ -1637,7 +1637,7 @@ Module host. end. Global Instance AssociatedFunction_is_original_zero : - M.IsAssociatedFunction.Trait Self "is_original_zero" is_original_zero. + M.IsAssociatedFunction.C Self "is_original_zero" is_original_zero. Admitted. Global Typeclasses Opaque is_original_zero. @@ -1677,7 +1677,7 @@ Module host. end. Global Instance AssociatedFunction_is_present_zero : - M.IsAssociatedFunction.Trait Self "is_present_zero" is_present_zero. + M.IsAssociatedFunction.C Self "is_present_zero" is_present_zero. Admitted. Global Typeclasses Opaque is_present_zero. @@ -1717,7 +1717,7 @@ Module host. end. Global Instance AssociatedFunction_is_new_zero : - M.IsAssociatedFunction.Trait Self "is_new_zero" is_new_zero. + M.IsAssociatedFunction.C Self "is_new_zero" is_new_zero. Admitted. Global Typeclasses Opaque is_new_zero. End Impl_revm_context_interface_host_SStoreResult. diff --git a/CoqOfRust/revm/revm_context_interface/host/dummy.v b/CoqOfRust/revm/revm_context_interface/host/dummy.v index 2675272b5..1ccc51b2c 100644 --- a/CoqOfRust/revm/revm_context_interface/host/dummy.v +++ b/CoqOfRust/revm/revm_context_interface/host/dummy.v @@ -872,7 +872,7 @@ Module host. Global Instance AssociatedFunction_new : forall (BLOCK TX CFG : Ty.t), - M.IsAssociatedFunction.Trait (Self BLOCK TX CFG) "new" (new BLOCK TX CFG). + M.IsAssociatedFunction.C (Self BLOCK TX CFG) "new" (new BLOCK TX CFG). Admitted. Global Typeclasses Opaque new. @@ -970,7 +970,7 @@ Module host. Global Instance AssociatedFunction_clear : forall (BLOCK TX CFG : Ty.t), - M.IsAssociatedFunction.Trait (Self BLOCK TX CFG) "clear" (clear BLOCK TX CFG). + M.IsAssociatedFunction.C (Self BLOCK TX CFG) "clear" (clear BLOCK TX CFG). Admitted. Global Typeclasses Opaque clear. End Impl_revm_context_interface_host_dummy_DummyHost_BLOCK_TX_CFG. @@ -1194,7 +1194,21 @@ Module host. let _number := M.alloc (| _number |) in Value.StructTuple "core::option::Option::Some" - [ M.read (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) ])) + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + |) + |) + ])) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -1338,7 +1352,18 @@ Module host. [], [] |), - [ M.read (| M.get_constant "revm_primitives::KECCAK_EMPTY" |); Value.Bool false ] + [ + M.read (| + get_constant (| + "revm_primitives::KECCAK_EMPTY", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + |) + |); + Value.Bool false + ] |) ])) | _, _, _ => M.impossible "wrong number of arguments" @@ -1595,7 +1620,28 @@ Module host. [], [] |), - [ M.read (| entry |); M.read (| M.get_constant "ruint::ZERO" |) ] + [ + M.read (| entry |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) + ] |) |) in M.alloc (| @@ -1632,7 +1678,28 @@ Module host. [], [] |), - [ M.read (| M.get_constant "ruint::ZERO" |); Value.Bool true ] + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |); + Value.Bool true + ] |) ] |))) @@ -1743,7 +1810,26 @@ Module host. Value.StructRecord "revm_context_interface::host::SStoreResult" [ - ("original_value", M.read (| M.get_constant "ruint::ZERO" |)); + ("original_value", + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |)); ("present_value", M.call_closure (| Ty.apply @@ -1770,7 +1856,27 @@ Module host. [], [] |), - [ M.read (| present |); M.read (| M.get_constant "ruint::ZERO" |) + [ + M.read (| present |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) ] |)); ("new_value", M.read (| value |)) diff --git a/CoqOfRust/revm/revm_context_interface/journaled_state.v b/CoqOfRust/revm/revm_context_interface/journaled_state.v index bd32f4524..7c2ddc3ca 100644 --- a/CoqOfRust/revm/revm_context_interface/journaled_state.v +++ b/CoqOfRust/revm/revm_context_interface/journaled_state.v @@ -962,7 +962,7 @@ Module journaled_state. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. @@ -1029,7 +1029,7 @@ Module journaled_state. Global Instance AssociatedFunction_map : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "map" (map T). + M.IsAssociatedFunction.C (Self T) "map" (map T). Admitted. Global Typeclasses Opaque map. End Impl_revm_context_interface_journaled_state_StateLoad_T. @@ -1999,7 +1999,7 @@ Module journaled_state. Global Instance AssociatedFunction_new_state_load : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_state_load" (new_state_load T). + M.IsAssociatedFunction.C (Self T) "new_state_load" (new_state_load T). Admitted. Global Typeclasses Opaque new_state_load. @@ -2047,7 +2047,7 @@ Module journaled_state. Global Instance AssociatedFunction_new_not_delegated : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new_not_delegated" (new_not_delegated T). + M.IsAssociatedFunction.C (Self T) "new_not_delegated" (new_not_delegated T). Admitted. Global Typeclasses Opaque new_not_delegated. @@ -2159,7 +2159,7 @@ Module journaled_state. Global Instance AssociatedFunction_into_components : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "into_components" (into_components T). + M.IsAssociatedFunction.C (Self T) "into_components" (into_components T). Admitted. Global Typeclasses Opaque into_components. @@ -2201,7 +2201,7 @@ Module journaled_state. Global Instance AssociatedFunction_set_delegate_load : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "set_delegate_load" (set_delegate_load T). + M.IsAssociatedFunction.C (Self T) "set_delegate_load" (set_delegate_load T). Admitted. Global Typeclasses Opaque set_delegate_load. @@ -2234,7 +2234,7 @@ Module journaled_state. Global Instance AssociatedFunction_new : forall (T : Ty.t), - M.IsAssociatedFunction.Trait (Self T) "new" (new T). + M.IsAssociatedFunction.C (Self T) "new" (new T). Admitted. Global Typeclasses Opaque new. End Impl_revm_context_interface_journaled_state_Eip7702CodeLoad_T. diff --git a/CoqOfRust/revm/revm_context_interface/result.v b/CoqOfRust/revm/revm_context_interface/result.v index 303dbcf6b..19a2b7adb 100644 --- a/CoqOfRust/revm/revm_context_interface/result.v +++ b/CoqOfRust/revm/revm_context_interface/result.v @@ -1859,7 +1859,7 @@ Module result. Global Instance AssociatedFunction_is_success : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "is_success" (is_success HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "is_success" (is_success HaltReasonT). Admitted. Global Typeclasses Opaque is_success. @@ -1953,10 +1953,7 @@ Module result. Global Instance AssociatedFunction_created_address : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait - (Self HaltReasonT) - "created_address" - (created_address HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "created_address" (created_address HaltReasonT). Admitted. Global Typeclasses Opaque created_address. @@ -1999,7 +1996,7 @@ Module result. Global Instance AssociatedFunction_is_halt : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "is_halt" (is_halt HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "is_halt" (is_halt HaltReasonT). Admitted. Global Typeclasses Opaque is_halt. @@ -2092,7 +2089,7 @@ Module result. Global Instance AssociatedFunction_output : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "output" (output HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "output" (output HaltReasonT). Admitted. Global Typeclasses Opaque output. @@ -2172,7 +2169,7 @@ Module result. Global Instance AssociatedFunction_into_output : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "into_output" (into_output HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "into_output" (into_output HaltReasonT). Admitted. Global Typeclasses Opaque into_output. @@ -2286,7 +2283,7 @@ Module result. Global Instance AssociatedFunction_logs : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "logs" (logs HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "logs" (logs HaltReasonT). Admitted. Global Typeclasses Opaque logs. @@ -2374,7 +2371,7 @@ Module result. Global Instance AssociatedFunction_into_logs : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "into_logs" (into_logs HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "into_logs" (into_logs HaltReasonT). Admitted. Global Typeclasses Opaque into_logs. @@ -2454,7 +2451,7 @@ Module result. Global Instance AssociatedFunction_gas_used : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "gas_used" (gas_used HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "gas_used" (gas_used HaltReasonT). Admitted. Global Typeclasses Opaque gas_used. End Impl_revm_context_interface_result_ExecutionResult_HaltReasonT. @@ -3182,7 +3179,7 @@ Module result. end. Global Instance AssociatedFunction_into_data : - M.IsAssociatedFunction.Trait Self "into_data" into_data. + M.IsAssociatedFunction.C Self "into_data" into_data. Admitted. Global Typeclasses Opaque into_data. @@ -3247,7 +3244,7 @@ Module result. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_data : M.IsAssociatedFunction.Trait Self "data" data. + Global Instance AssociatedFunction_data : M.IsAssociatedFunction.C Self "data" data. Admitted. Global Typeclasses Opaque data. @@ -3329,8 +3326,7 @@ Module result. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_address : - M.IsAssociatedFunction.Trait Self "address" address. + Global Instance AssociatedFunction_address : M.IsAssociatedFunction.C Self "address" address. Admitted. Global Typeclasses Opaque address. End Impl_revm_context_interface_result_Output. @@ -4392,7 +4388,7 @@ Module result. Global Instance AssociatedFunction_map_db_err : forall (DBError TransactionValidationErrorT : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self DBError TransactionValidationErrorT) "map_db_err" (map_db_err DBError TransactionValidationErrorT). diff --git a/CoqOfRust/revm/revm_context_interface/transaction/eip4844.v b/CoqOfRust/revm/revm_context_interface/transaction/eip4844.v index 2b4434a14..45fdcf592 100644 --- a/CoqOfRust/revm/revm_context_interface/transaction/eip4844.v +++ b/CoqOfRust/revm/revm_context_interface/transaction/eip4844.v @@ -16,7 +16,9 @@ Module transaction. ltac:(M.monadic (let self := M.alloc (| self |) in BinOp.Wrap.mul (| - M.read (| M.get_constant "revm_specification::eip4844::GAS_PER_BLOB" |), + M.read (| + get_constant (| "revm_specification::eip4844::GAS_PER_BLOB", Ty.path "u64" |) + |), M.cast (Ty.path "u64") (M.call_closure (| diff --git a/CoqOfRust/revm/revm_context_interface/transaction/eip7702.v b/CoqOfRust/revm/revm_context_interface/transaction/eip7702.v index 7777b220f..95cd70748 100644 --- a/CoqOfRust/revm/revm_context_interface/transaction/eip7702.v +++ b/CoqOfRust/revm/revm_context_interface/transaction/eip7702.v @@ -1542,7 +1542,16 @@ Module transaction. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "revm_specification::eip2::SECP256K1N_HALF" + get_constant (| + "revm_specification::eip2::SECP256K1N_HALF", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |) ] |) diff --git a/CoqOfRust/revm/revm_interpreter/gas.v b/CoqOfRust/revm/revm_interpreter/gas.v index 3e051a8e4..5bf012b5f 100644 --- a/CoqOfRust/revm/revm_interpreter/gas.v +++ b/CoqOfRust/revm/revm_interpreter/gas.v @@ -607,7 +607,7 @@ Module gas. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -648,7 +648,7 @@ Module gas. end. Global Instance AssociatedFunction_new_spent : - M.IsAssociatedFunction.Trait Self "new_spent" new_spent. + M.IsAssociatedFunction.C Self "new_spent" new_spent. Admitted. Global Typeclasses Opaque new_spent. @@ -672,7 +672,7 @@ Module gas. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_limit : M.IsAssociatedFunction.Trait Self "limit" limit. + Global Instance AssociatedFunction_limit : M.IsAssociatedFunction.C Self "limit" limit. Admitted. Global Typeclasses Opaque limit. @@ -690,7 +690,7 @@ Module gas. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_memory : M.IsAssociatedFunction.Trait Self "memory" memory. + Global Instance AssociatedFunction_memory : M.IsAssociatedFunction.C Self "memory" memory. Admitted. Global Typeclasses Opaque memory. @@ -714,8 +714,7 @@ Module gas. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_refunded : - M.IsAssociatedFunction.Trait Self "refunded" refunded. + Global Instance AssociatedFunction_refunded : M.IsAssociatedFunction.C Self "refunded" refunded. Admitted. Global Typeclasses Opaque refunded. @@ -748,7 +747,7 @@ Module gas. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_spent : M.IsAssociatedFunction.Trait Self "spent" spent. + Global Instance AssociatedFunction_spent : M.IsAssociatedFunction.C Self "spent" spent. Admitted. Global Typeclasses Opaque spent. @@ -773,7 +772,7 @@ Module gas. end. Global Instance AssociatedFunction_remaining : - M.IsAssociatedFunction.Trait Self "remaining" remaining. + M.IsAssociatedFunction.C Self "remaining" remaining. Admitted. Global Typeclasses Opaque remaining. @@ -810,7 +809,7 @@ Module gas. end. Global Instance AssociatedFunction_remaining_63_of_64_parts : - M.IsAssociatedFunction.Trait Self "remaining_63_of_64_parts" remaining_63_of_64_parts. + M.IsAssociatedFunction.C Self "remaining_63_of_64_parts" remaining_63_of_64_parts. Admitted. Global Typeclasses Opaque remaining_63_of_64_parts. @@ -842,7 +841,7 @@ Module gas. end. Global Instance AssociatedFunction_erase_cost : - M.IsAssociatedFunction.Trait Self "erase_cost" erase_cost. + M.IsAssociatedFunction.C Self "erase_cost" erase_cost. Admitted. Global Typeclasses Opaque erase_cost. @@ -874,7 +873,7 @@ Module gas. end. Global Instance AssociatedFunction_spend_all : - M.IsAssociatedFunction.Trait Self "spend_all" spend_all. + M.IsAssociatedFunction.C Self "spend_all" spend_all. Admitted. Global Typeclasses Opaque spend_all. @@ -906,7 +905,7 @@ Module gas. end. Global Instance AssociatedFunction_record_refund : - M.IsAssociatedFunction.Trait Self "record_refund" record_refund. + M.IsAssociatedFunction.C Self "record_refund" record_refund. Admitted. Global Typeclasses Opaque record_refund. @@ -996,7 +995,7 @@ Module gas. end. Global Instance AssociatedFunction_set_final_refund : - M.IsAssociatedFunction.Trait Self "set_final_refund" set_final_refund. + M.IsAssociatedFunction.C Self "set_final_refund" set_final_refund. Admitted. Global Typeclasses Opaque set_final_refund. @@ -1029,7 +1028,7 @@ Module gas. end. Global Instance AssociatedFunction_set_refund : - M.IsAssociatedFunction.Trait Self "set_refund" set_refund. + M.IsAssociatedFunction.C Self "set_refund" set_refund. Admitted. Global Typeclasses Opaque set_refund. @@ -1113,7 +1112,7 @@ Module gas. end. Global Instance AssociatedFunction_record_cost : - M.IsAssociatedFunction.Trait Self "record_cost" record_cost. + M.IsAssociatedFunction.C Self "record_cost" record_cost. Admitted. Global Typeclasses Opaque record_cost. @@ -1234,7 +1233,7 @@ Module gas. end. Global Instance AssociatedFunction_record_memory_expansion : - M.IsAssociatedFunction.Trait Self "record_memory_expansion" record_memory_expansion. + M.IsAssociatedFunction.C Self "record_memory_expansion" record_memory_expansion. Admitted. Global Typeclasses Opaque record_memory_expansion. End Impl_revm_interpreter_gas_Gas. @@ -1667,7 +1666,7 @@ Module gas. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1793,7 +1792,7 @@ Module gas. end. Global Instance AssociatedFunction_record_new_len : - M.IsAssociatedFunction.Trait Self "record_new_len" record_new_len. + M.IsAssociatedFunction.C Self "record_new_len" record_new_len. Admitted. Global Typeclasses Opaque record_new_len. End Impl_revm_interpreter_gas_MemoryGas. diff --git a/CoqOfRust/revm/revm_interpreter/gas/calc.v b/CoqOfRust/revm/revm_interpreter/gas/calc.v index 3d1c6ae5d..a2853f0fb 100644 --- a/CoqOfRust/revm/revm_interpreter/gas/calc.v +++ b/CoqOfRust/revm/revm_interpreter/gas/calc.v @@ -122,24 +122,32 @@ Module gas. (BinOp.Wrap.add (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "revm_interpreter::gas::constants::SSTORE_RESET" + get_constant (| + "revm_interpreter::gas::constants::SSTORE_RESET", + Ty.path "u64" + |) |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::COLD_SLOAD_COST" + get_constant (| + "revm_interpreter::gas::constants::COLD_SLOAD_COST", + Ty.path "u64" + |) |) |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY" + get_constant (| + "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY", + Ty.path "u64" + |) |) |)) |))); fun γ => ltac:(M.monadic - (M.get_constant - "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS")) + (get_constant (| + "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS", + Ty.path "i64" + |))) ] |) |) in @@ -434,17 +442,23 @@ Module gas. [ BinOp.Wrap.sub (| M.read (| - M.get_constant - "revm_interpreter::gas::constants::SSTORE_RESET" + get_constant (| + "revm_interpreter::gas::constants::SSTORE_RESET", + Ty.path "u64" + |) |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::COLD_SLOAD_COST" + get_constant (| + "revm_interpreter::gas::constants::COLD_SLOAD_COST", + Ty.path "u64" + |) |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST" + get_constant (| + "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST", + Ty.path "u64" + |) |) ] |))); @@ -454,8 +468,10 @@ Module gas. Value.Tuple [ M.read (| - M.get_constant - "revm_interpreter::gas::constants::SSTORE_RESET" + get_constant (| + "revm_interpreter::gas::constants::SSTORE_RESET", + Ty.path "u64" + |) |); M.call_closure (| Ty.path "u64", @@ -526,8 +542,10 @@ Module gas. (Ty.path "i64") (BinOp.Wrap.sub (| M.read (| - M.get_constant - "revm_interpreter::gas::constants::SSTORE_SET" + get_constant (| + "revm_interpreter::gas::constants::SSTORE_SET", + Ty.path "u64" + |) |), M.read (| gas_sload |) |)) @@ -617,8 +635,10 @@ Module gas. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant - "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS")); + get_constant (| + "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS", + Ty.path "i64" + |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 0 |))) ] |))) @@ -629,7 +649,7 @@ Module gas. end. Global Instance Instance_IsFunction_sstore_refund : - M.IsFunction.Trait "revm_interpreter::gas::calc::sstore_refund" sstore_refund. + M.IsFunction.C "revm_interpreter::gas::calc::sstore_refund" sstore_refund. Admitted. Global Typeclasses Opaque sstore_refund. @@ -649,7 +669,9 @@ Module gas. Ty.apply (Ty.path "core::option::Option") [] [ Ty.path "u64" ], M.get_associated_function (| Ty.path "u64", "checked_add", [], [] |), [ - M.read (| M.get_constant "revm_interpreter::gas::constants::CREATE" |); + M.read (| + get_constant (| "revm_interpreter::gas::constants::CREATE", Ty.path "u64" |) + |); M.read (| M.match_operator (| Some (Ty.path "u64"), @@ -660,7 +682,10 @@ Module gas. [ M.read (| len |); M.read (| - M.get_constant "revm_interpreter::gas::constants::KECCAK256WORD" + get_constant (| + "revm_interpreter::gas::constants::KECCAK256WORD", + Ty.path "u64" + |) |) ] |) @@ -696,7 +721,7 @@ Module gas. end. Global Instance Instance_IsFunction_create2_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::create2_cost" create2_cost. + M.IsFunction.C "revm_interpreter::gas::calc::create2_cost" create2_cost. Admitted. Global Typeclasses Opaque create2_cost. @@ -938,7 +963,7 @@ Module gas. end. Global Instance Instance_IsFunction_log2floor : - M.IsFunction.Trait "revm_interpreter::gas::calc::log2floor" log2floor. + M.IsFunction.C "revm_interpreter::gas::calc::log2floor" log2floor. Admitted. Global Typeclasses Opaque log2floor. @@ -1000,7 +1025,14 @@ Module gas. M.alloc (| Value.StructTuple "core::option::Option::Some" - [ M.read (| M.get_constant "revm_interpreter::gas::constants::EXP" |) ] + [ + M.read (| + get_constant (| + "revm_interpreter::gas::constants::EXP", + Ty.path "u64" + |) + |) + ] |))); fun γ => ltac:(M.monadic @@ -1180,7 +1212,10 @@ Module gas. |), [ M.read (| - M.get_constant "revm_interpreter::gas::constants::EXP" + get_constant (| + "revm_interpreter::gas::constants::EXP", + Ty.path "u64" + |) |) ] |); @@ -1481,7 +1516,7 @@ Module gas. end. Global Instance Instance_IsFunction_exp_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::exp_cost" exp_cost. + M.IsFunction.C "revm_interpreter::gas::calc::exp_cost" exp_cost. Admitted. Global Typeclasses Opaque exp_cost. @@ -1499,7 +1534,9 @@ Module gas. Ty.apply (Ty.path "core::option::Option") [] [ Ty.path "u64" ], M.get_function (| "revm_interpreter::gas::calc::copy_cost", [], [] |), [ - M.read (| M.get_constant "revm_interpreter::gas::constants::VERYLOW" |); + M.read (| + get_constant (| "revm_interpreter::gas::constants::VERYLOW", Ty.path "u64" |) + |); M.read (| len |) ] |))) @@ -1507,7 +1544,7 @@ Module gas. end. Global Instance Instance_IsFunction_copy_cost_verylow : - M.IsFunction.Trait "revm_interpreter::gas::calc::copy_cost_verylow" copy_cost_verylow. + M.IsFunction.C "revm_interpreter::gas::calc::copy_cost_verylow" copy_cost_verylow. Admitted. Global Typeclasses Opaque copy_cost_verylow. @@ -1627,7 +1664,7 @@ Module gas. end. Global Instance Instance_IsFunction_extcodecopy_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::extcodecopy_cost" extcodecopy_cost. + M.IsFunction.C "revm_interpreter::gas::calc::extcodecopy_cost" extcodecopy_cost. Admitted. Global Typeclasses Opaque extcodecopy_cost. @@ -1658,7 +1695,12 @@ Module gas. M.get_function (| "revm_interpreter::gas::calc::cost_per_word", [], [] |), [ M.read (| len |); - M.read (| M.get_constant "revm_interpreter::gas::constants::COPY" |) + M.read (| + get_constant (| + "revm_interpreter::gas::constants::COPY", + Ty.path "u64" + |) + |) ] |) |), @@ -1693,7 +1735,7 @@ Module gas. end. Global Instance Instance_IsFunction_copy_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::copy_cost" copy_cost. + M.IsFunction.C "revm_interpreter::gas::calc::copy_cost" copy_cost. Admitted. Global Typeclasses Opaque copy_cost. @@ -1722,7 +1764,12 @@ Module gas. Ty.apply (Ty.path "core::option::Option") [] [ Ty.path "u64" ], M.get_associated_function (| Ty.path "u64", "checked_add", [], [] |), [ - M.read (| M.get_constant "revm_interpreter::gas::constants::LOG" |); + M.read (| + get_constant (| + "revm_interpreter::gas::constants::LOG", + Ty.path "u64" + |) + |); M.read (| M.match_operator (| Some (Ty.path "u64"), @@ -1737,7 +1784,10 @@ Module gas. |), [ M.read (| - M.get_constant "revm_interpreter::gas::constants::LOGDATA" + get_constant (| + "revm_interpreter::gas::constants::LOGDATA", + Ty.path "u64" + |) |); M.read (| len |) ] @@ -1798,7 +1848,9 @@ Module gas. |) |); BinOp.Wrap.mul (| - M.read (| M.get_constant "revm_interpreter::gas::constants::LOGTOPIC" |), + M.read (| + get_constant (| "revm_interpreter::gas::constants::LOGTOPIC", Ty.path "u64" |) + |), M.cast (Ty.path "u64") (M.read (| n |)) |) ] @@ -1808,7 +1860,7 @@ Module gas. end. Global Instance Instance_IsFunction_log_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::log_cost" log_cost. + M.IsFunction.C "revm_interpreter::gas::calc::log_cost" log_cost. Admitted. Global Typeclasses Opaque log_cost. @@ -1828,7 +1880,9 @@ Module gas. Ty.apply (Ty.path "core::option::Option") [] [ Ty.path "u64" ], M.get_associated_function (| Ty.path "u64", "checked_add", [], [] |), [ - M.read (| M.get_constant "revm_interpreter::gas::constants::KECCAK256" |); + M.read (| + get_constant (| "revm_interpreter::gas::constants::KECCAK256", Ty.path "u64" |) + |); M.read (| M.match_operator (| Some (Ty.path "u64"), @@ -1839,7 +1893,10 @@ Module gas. [ M.read (| len |); M.read (| - M.get_constant "revm_interpreter::gas::constants::KECCAK256WORD" + get_constant (| + "revm_interpreter::gas::constants::KECCAK256WORD", + Ty.path "u64" + |) |) ] |) @@ -1875,7 +1932,7 @@ Module gas. end. Global Instance Instance_IsFunction_keccak256_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::keccak256_cost" keccak256_cost. + M.IsFunction.C "revm_interpreter::gas::calc::keccak256_cost" keccak256_cost. Admitted. Global Typeclasses Opaque keccak256_cost. @@ -1912,7 +1969,7 @@ Module gas. end. Global Instance Instance_IsFunction_cost_per_word : - M.IsFunction.Trait "revm_interpreter::gas::calc::cost_per_word" cost_per_word. + M.IsFunction.C "revm_interpreter::gas::calc::cost_per_word" cost_per_word. Admitted. Global Typeclasses Opaque cost_per_word. @@ -1939,7 +1996,10 @@ Module gas. [ M.read (| len |); M.read (| - M.get_constant "revm_interpreter::gas::constants::INITCODE_WORD_COST" + get_constant (| + "revm_interpreter::gas::constants::INITCODE_WORD_COST", + Ty.path "u64" + |) |) ] |) @@ -1962,7 +2022,7 @@ Module gas. end. Global Instance Instance_IsFunction_initcode_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::initcode_cost" initcode_cost. + M.IsFunction.C "revm_interpreter::gas::calc::initcode_cost" initcode_cost. Admitted. Global Typeclasses Opaque initcode_cost. @@ -2025,11 +2085,16 @@ Module gas. (let γ := M.use is_cold in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_interpreter::gas::constants::COLD_SLOAD_COST")); + get_constant (| + "revm_interpreter::gas::constants::COLD_SLOAD_COST", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic - (M.get_constant - "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST")) + (get_constant (| + "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST", + Ty.path "u64" + |))) ] |))); fun γ => @@ -2061,7 +2126,10 @@ Module gas. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_interpreter::gas::constants::ISTANBUL_SLOAD_GAS")); + get_constant (| + "revm_interpreter::gas::constants::ISTANBUL_SLOAD_GAS", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2108,7 +2176,7 @@ Module gas. end. Global Instance Instance_IsFunction_sload_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::sload_cost" sload_cost. + M.IsFunction.C "revm_interpreter::gas::calc::sload_cost" sload_cost. Admitted. Global Typeclasses Opaque sload_cost. @@ -2197,8 +2265,10 @@ Module gas. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::COLD_SLOAD_COST" + get_constant (| + "revm_interpreter::gas::constants::COLD_SLOAD_COST", + Ty.path "u64" + |) |) |) |) @@ -2273,7 +2343,7 @@ Module gas. end. Global Instance Instance_IsFunction_sstore_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::sstore_cost" sstore_cost. + M.IsFunction.C "revm_interpreter::gas::calc::sstore_cost" sstore_cost. Admitted. Global Typeclasses Opaque sstore_cost. @@ -2319,7 +2389,10 @@ Module gas. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_interpreter::gas::calc::istanbul_sstore_cost::SLOAD_GAS")); + get_constant (| + "revm_interpreter::gas::calc::istanbul_sstore_cost::SLOAD_GAS", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2367,7 +2440,10 @@ Module gas. |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_interpreter::gas::constants::SSTORE_SET")); + get_constant (| + "revm_interpreter::gas::constants::SSTORE_SET", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic (M.match_operator (| @@ -2400,12 +2476,16 @@ Module gas. M.read (| γ |), Value.Bool true |) in - M.get_constant - "revm_interpreter::gas::calc::istanbul_sstore_cost::SSTORE_RESET_GAS")); + get_constant (| + "revm_interpreter::gas::calc::istanbul_sstore_cost::SSTORE_RESET_GAS", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic - (M.get_constant - "revm_interpreter::gas::calc::istanbul_sstore_cost::SLOAD_GAS")) + (get_constant (| + "revm_interpreter::gas::calc::istanbul_sstore_cost::SLOAD_GAS", + Ty.path "u64" + |))) ] |))) ] @@ -2417,7 +2497,7 @@ Module gas. end. Global Instance Instance_IsFunction_istanbul_sstore_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::istanbul_sstore_cost" istanbul_sstore_cost. + M.IsFunction.C "revm_interpreter::gas::calc::istanbul_sstore_cost" istanbul_sstore_cost. Admitted. Global Typeclasses Opaque istanbul_sstore_cost. @@ -2473,9 +2553,16 @@ Module gas. |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_interpreter::gas::constants::SSTORE_SET")); + get_constant (| + "revm_interpreter::gas::constants::SSTORE_SET", + Ty.path "u64" + |))); fun γ => - ltac:(M.monadic (M.get_constant "revm_interpreter::gas::constants::SSTORE_RESET")) + ltac:(M.monadic + (get_constant (| + "revm_interpreter::gas::constants::SSTORE_RESET", + Ty.path "u64" + |))) ] |) |))) @@ -2483,7 +2570,7 @@ Module gas. end. Global Instance Instance_IsFunction_frontier_sstore_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::frontier_sstore_cost" frontier_sstore_cost. + M.IsFunction.C "revm_interpreter::gas::calc::frontier_sstore_cost" frontier_sstore_cost. Admitted. Global Typeclasses Opaque frontier_sstore_cost. @@ -2725,8 +2812,10 @@ Module gas. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST" + get_constant (| + "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST", + Ty.path "u64" + |) |) |) |) @@ -2740,7 +2829,7 @@ Module gas. end. Global Instance Instance_IsFunction_selfdestruct_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::selfdestruct_cost" selfdestruct_cost. + M.IsFunction.C "revm_interpreter::gas::calc::selfdestruct_cost" selfdestruct_cost. Admitted. Global Typeclasses Opaque selfdestruct_cost. @@ -2890,7 +2979,10 @@ Module gas. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant "revm_interpreter::gas::constants::CALLVALUE" + get_constant (| + "revm_interpreter::gas::constants::CALLVALUE", + Ty.path "u64" + |) |) |) |) @@ -2964,8 +3056,10 @@ Module gas. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::NEWACCOUNT" + get_constant (| + "revm_interpreter::gas::constants::NEWACCOUNT", + Ty.path "u64" + |) |) |) |) @@ -2984,8 +3078,10 @@ Module gas. BinOp.Wrap.add (| M.read (| β |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::NEWACCOUNT" + get_constant (| + "revm_interpreter::gas::constants::NEWACCOUNT", + Ty.path "u64" + |) |) |) |) @@ -3002,7 +3098,7 @@ Module gas. end. Global Instance Instance_IsFunction_call_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::call_cost" call_cost. + M.IsFunction.C "revm_interpreter::gas::calc::call_cost" call_cost. Admitted. Global Typeclasses Opaque call_cost. @@ -3029,10 +3125,16 @@ Module gas. ltac:(M.monadic (let γ := M.use is_cold in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST")); + get_constant (| + "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST", + Ty.path "u64" + |))); fun γ => ltac:(M.monadic - (M.get_constant "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST")) + (get_constant (| + "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST", + Ty.path "u64" + |))) ] |) |))) @@ -3040,7 +3142,7 @@ Module gas. end. Global Instance Instance_IsFunction_warm_cold_cost : - M.IsFunction.Trait "revm_interpreter::gas::calc::warm_cold_cost" warm_cold_cost. + M.IsFunction.C "revm_interpreter::gas::calc::warm_cold_cost" warm_cold_cost. Admitted. Global Typeclasses Opaque warm_cold_cost. @@ -3132,7 +3234,7 @@ Module gas. end. Global Instance Instance_IsFunction_warm_cold_cost_with_delegation : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::gas::calc::warm_cold_cost_with_delegation" warm_cold_cost_with_delegation. Admitted. @@ -3163,7 +3265,9 @@ Module gas. Ty.path "u64", M.get_associated_function (| Ty.path "u64", "saturating_mul", [], [] |), [ - M.read (| M.get_constant "revm_interpreter::gas::constants::MEMORY" |); + M.read (| + get_constant (| "revm_interpreter::gas::constants::MEMORY", Ty.path "u64" |) + |); M.read (| num_words |) ] |); @@ -3183,7 +3287,7 @@ Module gas. end. Global Instance Instance_IsFunction_memory_gas : - M.IsFunction.Trait "revm_interpreter::gas::calc::memory_gas" memory_gas. + M.IsFunction.C "revm_interpreter::gas::calc::memory_gas" memory_gas. Admitted. Global Typeclasses Opaque memory_gas. @@ -3404,7 +3508,10 @@ Module gas. BinOp.Wrap.mul (| M.read (| zero_data_len |), M.read (| - M.get_constant "revm_interpreter::gas::constants::TRANSACTION_ZERO_DATA" + get_constant (| + "revm_interpreter::gas::constants::TRANSACTION_ZERO_DATA", + Ty.path "u64" + |) |) |) |) @@ -3514,8 +3621,10 @@ Module gas. BinOp.Wrap.mul (| M.cast (Ty.path "u64") (M.read (| account_num |)), M.read (| - M.get_constant - "revm_interpreter::gas::constants::ACCESS_LIST_ADDRESS" + get_constant (| + "revm_interpreter::gas::constants::ACCESS_LIST_ADDRESS", + Ty.path "u64" + |) |) |) |) @@ -3531,8 +3640,10 @@ Module gas. BinOp.Wrap.mul (| M.cast (Ty.path "u64") (M.read (| storage_num |)), M.read (| - M.get_constant - "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY" + get_constant (| + "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY", + Ty.path "u64" + |) |) |) |) @@ -3710,8 +3821,10 @@ Module gas. BinOp.Wrap.mul (| M.read (| authorization_list_num |), M.read (| - M.get_constant - "revm_specification::eip7702::constants::PER_EMPTY_ACCOUNT_COST" + get_constant (| + "revm_specification::eip7702::constants::PER_EMPTY_ACCOUNT_COST", + Ty.path "u64" + |) |) |) |) @@ -3727,9 +3840,7 @@ Module gas. end. Global Instance Instance_IsFunction_validate_initial_tx_gas : - M.IsFunction.Trait - "revm_interpreter::gas::calc::validate_initial_tx_gas" - validate_initial_tx_gas. + M.IsFunction.C "revm_interpreter::gas::calc::validate_initial_tx_gas" validate_initial_tx_gas. Admitted. Global Typeclasses Opaque validate_initial_tx_gas. End calc. diff --git a/CoqOfRust/revm/revm_interpreter/gas/constants.v b/CoqOfRust/revm/revm_interpreter/gas/constants.v index b69f718f4..3d7349b04 100644 --- a/CoqOfRust/revm/revm_interpreter/gas/constants.v +++ b/CoqOfRust/revm/revm_interpreter/gas/constants.v @@ -3,314 +3,405 @@ Require Import CoqOfRust.CoqOfRust. Module gas. Module constants. - Definition value_ZERO : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 0 |))). - Axiom Constant_value_ZERO : - (M.get_constant "revm_interpreter::gas::constants::ZERO") = value_ZERO. - Global Hint Rewrite Constant_value_ZERO : constant_rewrites. + Global Instance Instance_IsConstant_value_ZERO : + M.IsFunction.C "revm_interpreter::gas::constants::ZERO" value_ZERO. + Admitted. + Global Typeclasses Opaque value_ZERO. - Definition value_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))). + Definition value_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))). - Axiom Constant_value_BASE : - (M.get_constant "revm_interpreter::gas::constants::BASE") = value_BASE. - Global Hint Rewrite Constant_value_BASE : constant_rewrites. + Global Instance Instance_IsConstant_value_BASE : + M.IsFunction.C "revm_interpreter::gas::constants::BASE" value_BASE. + Admitted. + Global Typeclasses Opaque value_BASE. - Definition value_VERYLOW : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_VERYLOW (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_VERYLOW : - (M.get_constant "revm_interpreter::gas::constants::VERYLOW") = value_VERYLOW. - Global Hint Rewrite Constant_value_VERYLOW : constant_rewrites. + Global Instance Instance_IsConstant_value_VERYLOW : + M.IsFunction.C "revm_interpreter::gas::constants::VERYLOW" value_VERYLOW. + Admitted. + Global Typeclasses Opaque value_VERYLOW. - Definition value_DATA_LOADN_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_DATA_LOADN_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_DATA_LOADN_GAS : - (M.get_constant "revm_interpreter::gas::constants::DATA_LOADN_GAS") = value_DATA_LOADN_GAS. - Global Hint Rewrite Constant_value_DATA_LOADN_GAS : constant_rewrites. + Global Instance Instance_IsConstant_value_DATA_LOADN_GAS : + M.IsFunction.C "revm_interpreter::gas::constants::DATA_LOADN_GAS" value_DATA_LOADN_GAS. + Admitted. + Global Typeclasses Opaque value_DATA_LOADN_GAS. - Definition value_CONDITION_JUMP_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). + Definition value_CONDITION_JUMP_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). - Axiom Constant_value_CONDITION_JUMP_GAS : - (M.get_constant "revm_interpreter::gas::constants::CONDITION_JUMP_GAS") = + Global Instance Instance_IsConstant_value_CONDITION_JUMP_GAS : + M.IsFunction.C + "revm_interpreter::gas::constants::CONDITION_JUMP_GAS" value_CONDITION_JUMP_GAS. - Global Hint Rewrite Constant_value_CONDITION_JUMP_GAS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_CONDITION_JUMP_GAS. - Definition value_RETF_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_RETF_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_RETF_GAS : - (M.get_constant "revm_interpreter::gas::constants::RETF_GAS") = value_RETF_GAS. - Global Hint Rewrite Constant_value_RETF_GAS : constant_rewrites. + Global Instance Instance_IsConstant_value_RETF_GAS : + M.IsFunction.C "revm_interpreter::gas::constants::RETF_GAS" value_RETF_GAS. + Admitted. + Global Typeclasses Opaque value_RETF_GAS. - Definition value_DATA_LOAD_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). + Definition value_DATA_LOAD_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). - Axiom Constant_value_DATA_LOAD_GAS : - (M.get_constant "revm_interpreter::gas::constants::DATA_LOAD_GAS") = value_DATA_LOAD_GAS. - Global Hint Rewrite Constant_value_DATA_LOAD_GAS : constant_rewrites. + Global Instance Instance_IsConstant_value_DATA_LOAD_GAS : + M.IsFunction.C "revm_interpreter::gas::constants::DATA_LOAD_GAS" value_DATA_LOAD_GAS. + Admitted. + Global Typeclasses Opaque value_DATA_LOAD_GAS. - Definition value_LOW : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5 |))). + Definition value_LOW (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5 |))). - Axiom Constant_value_LOW : (M.get_constant "revm_interpreter::gas::constants::LOW") = value_LOW. - Global Hint Rewrite Constant_value_LOW : constant_rewrites. + Global Instance Instance_IsConstant_value_LOW : + M.IsFunction.C "revm_interpreter::gas::constants::LOW" value_LOW. + Admitted. + Global Typeclasses Opaque value_LOW. - Definition value_MID : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 8 |))). + Definition value_MID (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 8 |))). - Axiom Constant_value_MID : (M.get_constant "revm_interpreter::gas::constants::MID") = value_MID. - Global Hint Rewrite Constant_value_MID : constant_rewrites. + Global Instance Instance_IsConstant_value_MID : + M.IsFunction.C "revm_interpreter::gas::constants::MID" value_MID. + Admitted. + Global Typeclasses Opaque value_MID. - Definition value_HIGH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10 |))). + Definition value_HIGH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10 |))). - Axiom Constant_value_HIGH : - (M.get_constant "revm_interpreter::gas::constants::HIGH") = value_HIGH. - Global Hint Rewrite Constant_value_HIGH : constant_rewrites. + Global Instance Instance_IsConstant_value_HIGH : + M.IsFunction.C "revm_interpreter::gas::constants::HIGH" value_HIGH. + Admitted. + Global Typeclasses Opaque value_HIGH. - Definition value_JUMPDEST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_JUMPDEST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). - Axiom Constant_value_JUMPDEST : - (M.get_constant "revm_interpreter::gas::constants::JUMPDEST") = value_JUMPDEST. - Global Hint Rewrite Constant_value_JUMPDEST : constant_rewrites. + Global Instance Instance_IsConstant_value_JUMPDEST : + M.IsFunction.C "revm_interpreter::gas::constants::JUMPDEST" value_JUMPDEST. + Admitted. + Global Typeclasses Opaque value_JUMPDEST. - Definition value_SELFDESTRUCT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 24000 |))). + Definition value_SELFDESTRUCT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 24000 |))). - Axiom Constant_value_SELFDESTRUCT : - (M.get_constant "revm_interpreter::gas::constants::SELFDESTRUCT") = value_SELFDESTRUCT. - Global Hint Rewrite Constant_value_SELFDESTRUCT : constant_rewrites. + Global Instance Instance_IsConstant_value_SELFDESTRUCT : + M.IsFunction.C "revm_interpreter::gas::constants::SELFDESTRUCT" value_SELFDESTRUCT. + Admitted. + Global Typeclasses Opaque value_SELFDESTRUCT. - Definition value_CREATE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 32000 |))). + Definition value_CREATE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 32000 |))). - Axiom Constant_value_CREATE : - (M.get_constant "revm_interpreter::gas::constants::CREATE") = value_CREATE. - Global Hint Rewrite Constant_value_CREATE : constant_rewrites. + Global Instance Instance_IsConstant_value_CREATE : + M.IsFunction.C "revm_interpreter::gas::constants::CREATE" value_CREATE. + Admitted. + Global Typeclasses Opaque value_CREATE. - Definition value_CALLVALUE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9000 |))). + Definition value_CALLVALUE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9000 |))). - Axiom Constant_value_CALLVALUE : - (M.get_constant "revm_interpreter::gas::constants::CALLVALUE") = value_CALLVALUE. - Global Hint Rewrite Constant_value_CALLVALUE : constant_rewrites. + Global Instance Instance_IsConstant_value_CALLVALUE : + M.IsFunction.C "revm_interpreter::gas::constants::CALLVALUE" value_CALLVALUE. + Admitted. + Global Typeclasses Opaque value_CALLVALUE. - Definition value_NEWACCOUNT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 25000 |))). + Definition value_NEWACCOUNT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 25000 |))). - Axiom Constant_value_NEWACCOUNT : - (M.get_constant "revm_interpreter::gas::constants::NEWACCOUNT") = value_NEWACCOUNT. - Global Hint Rewrite Constant_value_NEWACCOUNT : constant_rewrites. + Global Instance Instance_IsConstant_value_NEWACCOUNT : + M.IsFunction.C "revm_interpreter::gas::constants::NEWACCOUNT" value_NEWACCOUNT. + Admitted. + Global Typeclasses Opaque value_NEWACCOUNT. - Definition value_EXP : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10 |))). + Definition value_EXP (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10 |))). - Axiom Constant_value_EXP : (M.get_constant "revm_interpreter::gas::constants::EXP") = value_EXP. - Global Hint Rewrite Constant_value_EXP : constant_rewrites. + Global Instance Instance_IsConstant_value_EXP : + M.IsFunction.C "revm_interpreter::gas::constants::EXP" value_EXP. + Admitted. + Global Typeclasses Opaque value_EXP. - Definition value_MEMORY : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_MEMORY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_MEMORY : - (M.get_constant "revm_interpreter::gas::constants::MEMORY") = value_MEMORY. - Global Hint Rewrite Constant_value_MEMORY : constant_rewrites. + Global Instance Instance_IsConstant_value_MEMORY : + M.IsFunction.C "revm_interpreter::gas::constants::MEMORY" value_MEMORY. + Admitted. + Global Typeclasses Opaque value_MEMORY. - Definition value_LOG : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 375 |))). + Definition value_LOG (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 375 |))). - Axiom Constant_value_LOG : (M.get_constant "revm_interpreter::gas::constants::LOG") = value_LOG. - Global Hint Rewrite Constant_value_LOG : constant_rewrites. + Global Instance Instance_IsConstant_value_LOG : + M.IsFunction.C "revm_interpreter::gas::constants::LOG" value_LOG. + Admitted. + Global Typeclasses Opaque value_LOG. - Definition value_LOGDATA : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 8 |))). + Definition value_LOGDATA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 8 |))). - Axiom Constant_value_LOGDATA : - (M.get_constant "revm_interpreter::gas::constants::LOGDATA") = value_LOGDATA. - Global Hint Rewrite Constant_value_LOGDATA : constant_rewrites. + Global Instance Instance_IsConstant_value_LOGDATA : + M.IsFunction.C "revm_interpreter::gas::constants::LOGDATA" value_LOGDATA. + Admitted. + Global Typeclasses Opaque value_LOGDATA. - Definition value_LOGTOPIC : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 375 |))). + Definition value_LOGTOPIC (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 375 |))). - Axiom Constant_value_LOGTOPIC : - (M.get_constant "revm_interpreter::gas::constants::LOGTOPIC") = value_LOGTOPIC. - Global Hint Rewrite Constant_value_LOGTOPIC : constant_rewrites. + Global Instance Instance_IsConstant_value_LOGTOPIC : + M.IsFunction.C "revm_interpreter::gas::constants::LOGTOPIC" value_LOGTOPIC. + Admitted. + Global Typeclasses Opaque value_LOGTOPIC. - Definition value_KECCAK256 : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 30 |))). + Definition value_KECCAK256 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 30 |))). - Axiom Constant_value_KECCAK256 : - (M.get_constant "revm_interpreter::gas::constants::KECCAK256") = value_KECCAK256. - Global Hint Rewrite Constant_value_KECCAK256 : constant_rewrites. + Global Instance Instance_IsConstant_value_KECCAK256 : + M.IsFunction.C "revm_interpreter::gas::constants::KECCAK256" value_KECCAK256. + Admitted. + Global Typeclasses Opaque value_KECCAK256. - Definition value_KECCAK256WORD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6 |))). + Definition value_KECCAK256WORD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6 |))). - Axiom Constant_value_KECCAK256WORD : - (M.get_constant "revm_interpreter::gas::constants::KECCAK256WORD") = value_KECCAK256WORD. - Global Hint Rewrite Constant_value_KECCAK256WORD : constant_rewrites. + Global Instance Instance_IsConstant_value_KECCAK256WORD : + M.IsFunction.C "revm_interpreter::gas::constants::KECCAK256WORD" value_KECCAK256WORD. + Admitted. + Global Typeclasses Opaque value_KECCAK256WORD. - Definition value_COPY : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_COPY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_COPY : - (M.get_constant "revm_interpreter::gas::constants::COPY") = value_COPY. - Global Hint Rewrite Constant_value_COPY : constant_rewrites. + Global Instance Instance_IsConstant_value_COPY : + M.IsFunction.C "revm_interpreter::gas::constants::COPY" value_COPY. + Admitted. + Global Typeclasses Opaque value_COPY. - Definition value_BLOCKHASH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20 |))). + Definition value_BLOCKHASH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20 |))). - Axiom Constant_value_BLOCKHASH : - (M.get_constant "revm_interpreter::gas::constants::BLOCKHASH") = value_BLOCKHASH. - Global Hint Rewrite Constant_value_BLOCKHASH : constant_rewrites. + Global Instance Instance_IsConstant_value_BLOCKHASH : + M.IsFunction.C "revm_interpreter::gas::constants::BLOCKHASH" value_BLOCKHASH. + Admitted. + Global Typeclasses Opaque value_BLOCKHASH. - Definition value_CODEDEPOSIT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 200 |))). + Definition value_CODEDEPOSIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 200 |))). - Axiom Constant_value_CODEDEPOSIT : - (M.get_constant "revm_interpreter::gas::constants::CODEDEPOSIT") = value_CODEDEPOSIT. - Global Hint Rewrite Constant_value_CODEDEPOSIT : constant_rewrites. + Global Instance Instance_IsConstant_value_CODEDEPOSIT : + M.IsFunction.C "revm_interpreter::gas::constants::CODEDEPOSIT" value_CODEDEPOSIT. + Admitted. + Global Typeclasses Opaque value_CODEDEPOSIT. - Definition value_ISTANBUL_SLOAD_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 800 |))). + Definition value_ISTANBUL_SLOAD_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 800 |))). - Axiom Constant_value_ISTANBUL_SLOAD_GAS : - (M.get_constant "revm_interpreter::gas::constants::ISTANBUL_SLOAD_GAS") = + Global Instance Instance_IsConstant_value_ISTANBUL_SLOAD_GAS : + M.IsFunction.C + "revm_interpreter::gas::constants::ISTANBUL_SLOAD_GAS" value_ISTANBUL_SLOAD_GAS. - Global Hint Rewrite Constant_value_ISTANBUL_SLOAD_GAS : constant_rewrites. - - Definition value_SSTORE_SET : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20000 |))). - - Axiom Constant_value_SSTORE_SET : - (M.get_constant "revm_interpreter::gas::constants::SSTORE_SET") = value_SSTORE_SET. - Global Hint Rewrite Constant_value_SSTORE_SET : constant_rewrites. - - Definition value_SSTORE_RESET : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5000 |))). - - Axiom Constant_value_SSTORE_RESET : - (M.get_constant "revm_interpreter::gas::constants::SSTORE_RESET") = value_SSTORE_RESET. - Global Hint Rewrite Constant_value_SSTORE_RESET : constant_rewrites. - - Definition value_REFUND_SSTORE_CLEARS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 15000 |))). - - Axiom Constant_value_REFUND_SSTORE_CLEARS : - (M.get_constant "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS") = + Admitted. + Global Typeclasses Opaque value_ISTANBUL_SLOAD_GAS. + + Definition value_SSTORE_SET (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 20000 |))). + + Global Instance Instance_IsConstant_value_SSTORE_SET : + M.IsFunction.C "revm_interpreter::gas::constants::SSTORE_SET" value_SSTORE_SET. + Admitted. + Global Typeclasses Opaque value_SSTORE_SET. + + Definition value_SSTORE_RESET (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5000 |))). + + Global Instance Instance_IsConstant_value_SSTORE_RESET : + M.IsFunction.C "revm_interpreter::gas::constants::SSTORE_RESET" value_SSTORE_RESET. + Admitted. + Global Typeclasses Opaque value_SSTORE_RESET. + + Definition value_REFUND_SSTORE_CLEARS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.I64 15000 |))). + + Global Instance Instance_IsConstant_value_REFUND_SSTORE_CLEARS : + M.IsFunction.C + "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS" value_REFUND_SSTORE_CLEARS. - Global Hint Rewrite Constant_value_REFUND_SSTORE_CLEARS : constant_rewrites. - - Definition value_TRANSACTION_ZERO_DATA : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). - - Axiom Constant_value_TRANSACTION_ZERO_DATA : - (M.get_constant "revm_interpreter::gas::constants::TRANSACTION_ZERO_DATA") = + Admitted. + Global Typeclasses Opaque value_REFUND_SSTORE_CLEARS. + + Definition value_TRANSACTION_ZERO_DATA + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 4 |))). + + Global Instance Instance_IsConstant_value_TRANSACTION_ZERO_DATA : + M.IsFunction.C + "revm_interpreter::gas::constants::TRANSACTION_ZERO_DATA" value_TRANSACTION_ZERO_DATA. - Global Hint Rewrite Constant_value_TRANSACTION_ZERO_DATA : constant_rewrites. - - Definition value_TRANSACTION_NON_ZERO_DATA_INIT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 16 |))). - - Axiom Constant_value_TRANSACTION_NON_ZERO_DATA_INIT : - (M.get_constant "revm_interpreter::gas::constants::TRANSACTION_NON_ZERO_DATA_INIT") = + Admitted. + Global Typeclasses Opaque value_TRANSACTION_ZERO_DATA. + + Definition value_TRANSACTION_NON_ZERO_DATA_INIT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 16 |))). + + Global Instance Instance_IsConstant_value_TRANSACTION_NON_ZERO_DATA_INIT : + M.IsFunction.C + "revm_interpreter::gas::constants::TRANSACTION_NON_ZERO_DATA_INIT" value_TRANSACTION_NON_ZERO_DATA_INIT. - Global Hint Rewrite Constant_value_TRANSACTION_NON_ZERO_DATA_INIT : constant_rewrites. - - Definition value_TRANSACTION_NON_ZERO_DATA_FRONTIER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 68 |))). - - Axiom Constant_value_TRANSACTION_NON_ZERO_DATA_FRONTIER : - (M.get_constant "revm_interpreter::gas::constants::TRANSACTION_NON_ZERO_DATA_FRONTIER") = + Admitted. + Global Typeclasses Opaque value_TRANSACTION_NON_ZERO_DATA_INIT. + + Definition value_TRANSACTION_NON_ZERO_DATA_FRONTIER + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 68 |))). + + Global Instance Instance_IsConstant_value_TRANSACTION_NON_ZERO_DATA_FRONTIER : + M.IsFunction.C + "revm_interpreter::gas::constants::TRANSACTION_NON_ZERO_DATA_FRONTIER" value_TRANSACTION_NON_ZERO_DATA_FRONTIER. - Global Hint Rewrite Constant_value_TRANSACTION_NON_ZERO_DATA_FRONTIER : constant_rewrites. - - Definition value_EOF_CREATE_GAS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 32000 |))). - - Axiom Constant_value_EOF_CREATE_GAS : - (M.get_constant "revm_interpreter::gas::constants::EOF_CREATE_GAS") = value_EOF_CREATE_GAS. - Global Hint Rewrite Constant_value_EOF_CREATE_GAS : constant_rewrites. - - Definition value_ACCESS_LIST_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2400 |))). - - Axiom Constant_value_ACCESS_LIST_ADDRESS : - (M.get_constant "revm_interpreter::gas::constants::ACCESS_LIST_ADDRESS") = + Admitted. + Global Typeclasses Opaque value_TRANSACTION_NON_ZERO_DATA_FRONTIER. + + Definition value_EOF_CREATE_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 32000 |))). + + Global Instance Instance_IsConstant_value_EOF_CREATE_GAS : + M.IsFunction.C "revm_interpreter::gas::constants::EOF_CREATE_GAS" value_EOF_CREATE_GAS. + Admitted. + Global Typeclasses Opaque value_EOF_CREATE_GAS. + + Definition value_ACCESS_LIST_ADDRESS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2400 |))). + + Global Instance Instance_IsConstant_value_ACCESS_LIST_ADDRESS : + M.IsFunction.C + "revm_interpreter::gas::constants::ACCESS_LIST_ADDRESS" value_ACCESS_LIST_ADDRESS. - Global Hint Rewrite Constant_value_ACCESS_LIST_ADDRESS : constant_rewrites. - - Definition value_ACCESS_LIST_STORAGE_KEY : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1900 |))). - - Axiom Constant_value_ACCESS_LIST_STORAGE_KEY : - (M.get_constant "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY") = + Admitted. + Global Typeclasses Opaque value_ACCESS_LIST_ADDRESS. + + Definition value_ACCESS_LIST_STORAGE_KEY + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1900 |))). + + Global Instance Instance_IsConstant_value_ACCESS_LIST_STORAGE_KEY : + M.IsFunction.C + "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY" value_ACCESS_LIST_STORAGE_KEY. - Global Hint Rewrite Constant_value_ACCESS_LIST_STORAGE_KEY : constant_rewrites. - - Definition value_COLD_SLOAD_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2100 |))). - - Axiom Constant_value_COLD_SLOAD_COST : - (M.get_constant "revm_interpreter::gas::constants::COLD_SLOAD_COST") = value_COLD_SLOAD_COST. - Global Hint Rewrite Constant_value_COLD_SLOAD_COST : constant_rewrites. - - Definition value_COLD_ACCOUNT_ACCESS_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2600 |))). - - Axiom Constant_value_COLD_ACCOUNT_ACCESS_COST : - (M.get_constant "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST") = + Admitted. + Global Typeclasses Opaque value_ACCESS_LIST_STORAGE_KEY. + + Definition value_COLD_SLOAD_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2100 |))). + + Global Instance Instance_IsConstant_value_COLD_SLOAD_COST : + M.IsFunction.C "revm_interpreter::gas::constants::COLD_SLOAD_COST" value_COLD_SLOAD_COST. + Admitted. + Global Typeclasses Opaque value_COLD_SLOAD_COST. + + Definition value_COLD_ACCOUNT_ACCESS_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2600 |))). + + Global Instance Instance_IsConstant_value_COLD_ACCOUNT_ACCESS_COST : + M.IsFunction.C + "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST" value_COLD_ACCOUNT_ACCESS_COST. - Global Hint Rewrite Constant_value_COLD_ACCOUNT_ACCESS_COST : constant_rewrites. - - Definition value_WARM_STORAGE_READ_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 100 |))). - - Axiom Constant_value_WARM_STORAGE_READ_COST : - (M.get_constant "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST") = + Admitted. + Global Typeclasses Opaque value_COLD_ACCOUNT_ACCESS_COST. + + Definition value_WARM_STORAGE_READ_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 100 |))). + + Global Instance Instance_IsConstant_value_WARM_STORAGE_READ_COST : + M.IsFunction.C + "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST" value_WARM_STORAGE_READ_COST. - Global Hint Rewrite Constant_value_WARM_STORAGE_READ_COST : constant_rewrites. - - Definition value_WARM_SSTORE_RESET : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - 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" |) + Admitted. + Global Typeclasses Opaque value_WARM_STORAGE_READ_COST. + + Definition value_WARM_SSTORE_RESET (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.sub (| + M.read (| + get_constant (| "revm_interpreter::gas::constants::SSTORE_RESET", Ty.path "u64" |) + |), + M.read (| + get_constant (| "revm_interpreter::gas::constants::COLD_SLOAD_COST", Ty.path "u64" |) |) - |))). + |) + |))). - Axiom Constant_value_WARM_SSTORE_RESET : - (M.get_constant "revm_interpreter::gas::constants::WARM_SSTORE_RESET") = - value_WARM_SSTORE_RESET. - Global Hint Rewrite Constant_value_WARM_SSTORE_RESET : constant_rewrites. + Global Instance Instance_IsConstant_value_WARM_SSTORE_RESET : + M.IsFunction.C "revm_interpreter::gas::constants::WARM_SSTORE_RESET" value_WARM_SSTORE_RESET. + Admitted. + Global Typeclasses Opaque value_WARM_SSTORE_RESET. - Definition value_INITCODE_WORD_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))). + Definition value_INITCODE_WORD_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2 |))). - Axiom Constant_value_INITCODE_WORD_COST : - (M.get_constant "revm_interpreter::gas::constants::INITCODE_WORD_COST") = + Global Instance Instance_IsConstant_value_INITCODE_WORD_COST : + M.IsFunction.C + "revm_interpreter::gas::constants::INITCODE_WORD_COST" value_INITCODE_WORD_COST. - Global Hint Rewrite Constant_value_INITCODE_WORD_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_INITCODE_WORD_COST. - Definition value_CALL_STIPEND : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2300 |))). + Definition value_CALL_STIPEND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2300 |))). - Axiom Constant_value_CALL_STIPEND : - (M.get_constant "revm_interpreter::gas::constants::CALL_STIPEND") = value_CALL_STIPEND. - Global Hint Rewrite Constant_value_CALL_STIPEND : constant_rewrites. + Global Instance Instance_IsConstant_value_CALL_STIPEND : + M.IsFunction.C "revm_interpreter::gas::constants::CALL_STIPEND" value_CALL_STIPEND. + Admitted. + Global Typeclasses Opaque value_CALL_STIPEND. - Definition value_MIN_CALLEE_GAS : Value.t := - M.run_constant - ltac:(M.monadic (M.get_constant "revm_interpreter::gas::constants::CALL_STIPEND")). + Definition value_MIN_CALLEE_GAS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (get_constant (| "revm_interpreter::gas::constants::CALL_STIPEND", Ty.path "u64" |))). - Axiom Constant_value_MIN_CALLEE_GAS : - (M.get_constant "revm_interpreter::gas::constants::MIN_CALLEE_GAS") = value_MIN_CALLEE_GAS. - Global Hint Rewrite Constant_value_MIN_CALLEE_GAS : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_CALLEE_GAS : + M.IsFunction.C "revm_interpreter::gas::constants::MIN_CALLEE_GAS" value_MIN_CALLEE_GAS. + Admitted. + Global Typeclasses Opaque value_MIN_CALLEE_GAS. End constants. End gas. diff --git a/CoqOfRust/revm/revm_interpreter/gas/links/constants.v b/CoqOfRust/revm/revm_interpreter/gas/links/constants.v index fa413385f..b16a01f15 100644 --- a/CoqOfRust/revm/revm_interpreter/gas/links/constants.v +++ b/CoqOfRust/revm/revm_interpreter/gas/links/constants.v @@ -3,380 +3,380 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require Import revm_interpreter.gas.constants. -Lemma ZERO_eq : - M.get_constant "revm_interpreter::gas::constants::ZERO" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 0)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite ZERO_eq : run_constant. - -Lemma BASE_eq : - M.get_constant "revm_interpreter::gas::constants::BASE" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite BASE_eq : run_constant. - -Lemma VERYLOW_eq : - M.get_constant "revm_interpreter::gas::constants::VERYLOW" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 3)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite VERYLOW_eq : run_constant. - -Lemma DATA_LOADN_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::DATA_LOADN_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 3)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite DATA_LOADN_GAS_eq : run_constant. - -Lemma CONDITION_JUMP_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::CONDITION_JUMP_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 4)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite CONDITION_JUMP_GAS_eq : run_constant. - -Lemma RETF_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::RETF_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 3)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite RETF_GAS_eq : run_constant. - -Lemma DATA_LOAD_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::DATA_LOAD_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 4)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite DATA_LOAD_GAS_eq : run_constant. - -Lemma LOW_eq : - M.get_constant "revm_interpreter::gas::constants::LOW" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 5)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite LOW_eq : run_constant. - -Lemma MID_eq : - M.get_constant "revm_interpreter::gas::constants::MID" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 8)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite MID_eq : run_constant. - -Lemma HIGH_eq : - M.get_constant "revm_interpreter::gas::constants::HIGH" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 10)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite HIGH_eq : run_constant. - -Lemma JUMPDEST_eq : - M.get_constant "revm_interpreter::gas::constants::JUMPDEST" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 1)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite JUMPDEST_eq : run_constant. - -Lemma SELFDESTRUCT_eq : - M.get_constant "revm_interpreter::gas::constants::SELFDESTRUCT" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.I64 24000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite SELFDESTRUCT_eq : run_constant. - -Lemma CREATE_eq : - M.get_constant "revm_interpreter::gas::constants::CREATE" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 32000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite CREATE_eq : run_constant. - -Lemma CALLVALUE_eq : - M.get_constant "revm_interpreter::gas::constants::CALLVALUE" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 9000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite CALLVALUE_eq : run_constant. - -Lemma NEWACCOUNT_eq : - M.get_constant "revm_interpreter::gas::constants::NEWACCOUNT" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 25000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite NEWACCOUNT_eq : run_constant. - -Lemma EXP_eq : - M.get_constant "revm_interpreter::gas::constants::EXP" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 10)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite EXP_eq : run_constant. - -Lemma MEMORY_eq : - M.get_constant "revm_interpreter::gas::constants::MEMORY" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 3)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite MEMORY_eq : run_constant. - -Lemma LOG_eq : - M.get_constant "revm_interpreter::gas::constants::LOG" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 375)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite LOG_eq : run_constant. - -Lemma LOGDATA_eq : - M.get_constant "revm_interpreter::gas::constants::LOGDATA" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 8)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite LOGDATA_eq : run_constant. - -Lemma LOGTOPIC_eq : - M.get_constant "revm_interpreter::gas::constants::LOGTOPIC" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 375)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite LOGTOPIC_eq : run_constant. - -Lemma KECCAK256_eq : - M.get_constant "revm_interpreter::gas::constants::KECCAK256" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 30)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite KECCAK256_eq : run_constant. - -Lemma KECCAK256WORD_eq : - M.get_constant "revm_interpreter::gas::constants::KECCAK256WORD" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 6)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite KECCAK256WORD_eq : run_constant. - -Lemma COPY_eq : - M.get_constant "revm_interpreter::gas::constants::COPY" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 3)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite COPY_eq : run_constant. - -Lemma BLOCKHASH_eq : - M.get_constant "revm_interpreter::gas::constants::BLOCKHASH" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 20)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite BLOCKHASH_eq : run_constant. - -Lemma CODEDEPOSIT_eq : - M.get_constant "revm_interpreter::gas::constants::CODEDEPOSIT" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 200)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite CODEDEPOSIT_eq : run_constant. - -Lemma ISTANBUL_SLOAD_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::ISTANBUL_SLOAD_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 800)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite ISTANBUL_SLOAD_GAS_eq : run_constant. - -Lemma SSTORE_SET_eq : - M.get_constant "revm_interpreter::gas::constants::SSTORE_SET" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 20000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite SSTORE_SET_eq : run_constant. - -Lemma SSTORE_RESET_eq : - M.get_constant "revm_interpreter::gas::constants::SSTORE_RESET" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 5000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite SSTORE_RESET_eq : run_constant. - -Lemma REFUND_SSTORE_CLEARS_eq : - M.get_constant "revm_interpreter::gas::constants::REFUND_SSTORE_CLEARS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.I64 15000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite REFUND_SSTORE_CLEARS_eq : run_constant. - -Lemma TRANSACTION_ZERO_DATA_eq : - M.get_constant "revm_interpreter::gas::constants::TRANSACTION_ZERO_DATA" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 4)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite TRANSACTION_ZERO_DATA_eq : run_constant. - -Lemma TRANSACTION_NON_ZERO_DATA_INIT_eq : - M.get_constant "revm_interpreter::gas::constants::TRANSACTION_NON_ZERO_DATA_INIT" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 16)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite TRANSACTION_NON_ZERO_DATA_INIT_eq : run_constant. - -Lemma TRANSACTION_NON_ZERO_DATA_FRONTIER_eq : - M.get_constant "revm_interpreter::gas::constants::TRANSACTION_NON_ZERO_DATA_FRONTIER" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 68)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite TRANSACTION_NON_ZERO_DATA_FRONTIER_eq : run_constant. - -Lemma EOF_CREATE_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::EOF_CREATE_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 32000)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite EOF_CREATE_GAS_eq : run_constant. - -Lemma ACCESS_LIST_ADDRESS_eq : - M.get_constant "revm_interpreter::gas::constants::ACCESS_LIST_ADDRESS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2400)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite ACCESS_LIST_ADDRESS_eq : run_constant. - -Lemma ACCESS_LIST_STORAGE_KEY_eq : - M.get_constant "revm_interpreter::gas::constants::ACCESS_LIST_STORAGE_KEY" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 1900)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite ACCESS_LIST_STORAGE_KEY_eq : run_constant. - -Lemma COLD_SLOAD_COST_eq : - M.get_constant "revm_interpreter::gas::constants::COLD_SLOAD_COST" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2100)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite COLD_SLOAD_COST_eq : run_constant. - -Lemma COLD_ACCOUNT_ACCESS_COST_eq : - M.get_constant "revm_interpreter::gas::constants::COLD_ACCOUNT_ACCESS_COST" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2600)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite COLD_ACCOUNT_ACCESS_COST_eq : run_constant. - -Lemma WARM_STORAGE_READ_COST_eq : - M.get_constant "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 100)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite WARM_STORAGE_READ_COST_eq : run_constant. - -Lemma WARM_SSTORE_RESET_eq : - M.get_constant "revm_interpreter::gas::constants::WARM_SSTORE_RESET" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2900)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite WARM_SSTORE_RESET_eq : run_constant. - -Lemma INITCODE_WORD_COST_eq : - M.get_constant "revm_interpreter::gas::constants::INITCODE_WORD_COST" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite INITCODE_WORD_COST_eq : run_constant. - -Lemma CALL_STIPEND_eq : - M.get_constant "revm_interpreter::gas::constants::CALL_STIPEND" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2300)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite CALL_STIPEND_eq : run_constant. - -Lemma MIN_CALLEE_GAS_eq : - M.get_constant "revm_interpreter::gas::constants::MIN_CALLEE_GAS" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 2300)). -Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite MIN_CALLEE_GAS_eq : run_constant. +Instance run_ZERO : + Run.Trait + gas.constants.value_ZERO [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_BASE : + Run.Trait + gas.constants.value_BASE [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_VERYLOW : + Run.Trait + gas.constants.value_VERYLOW [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_DATA_LOADN_GAS : + Run.Trait + gas.constants.value_DATA_LOADN_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_CONDITION_JUMP_GAS : + Run.Trait + gas.constants.value_CONDITION_JUMP_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_RETF_GAS : + Run.Trait + gas.constants.value_RETF_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_DATA_LOAD_GAS : + Run.Trait + gas.constants.value_DATA_LOAD_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_LOW : + Run.Trait + gas.constants.value_LOW [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_MID : + Run.Trait + gas.constants.value_MID [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_HIGH : + Run.Trait + gas.constants.value_HIGH [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_JUMPDEST : + Run.Trait + gas.constants.value_JUMPDEST [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_SELFDESTRUCT : + Run.Trait + gas.constants.value_SELFDESTRUCT [] [] [] + (Ref.t Pointer.Kind.Raw I64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_CREATE : + Run.Trait + gas.constants.value_CREATE [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_CALLVALUE : + Run.Trait + gas.constants.value_CALLVALUE [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_NEWACCOUNT : + Run.Trait + gas.constants.value_NEWACCOUNT [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_EXP : + Run.Trait + gas.constants.value_EXP [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_MEMORY : + Run.Trait + gas.constants.value_MEMORY [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_LOG : + Run.Trait + gas.constants.value_LOG [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_LOGDATA : + Run.Trait + gas.constants.value_LOGDATA [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_LOGTOPIC : + Run.Trait + gas.constants.value_LOGTOPIC [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_KECCAK256 : + Run.Trait + gas.constants.value_KECCAK256 [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_KECCAK256WORD : + Run.Trait + gas.constants.value_KECCAK256WORD [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_COPY : + Run.Trait + gas.constants.value_COPY [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_BLOCKHASH : + Run.Trait + gas.constants.value_BLOCKHASH [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_CODEDEPOSIT : + Run.Trait + gas.constants.value_CODEDEPOSIT [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_ISTANBUL_SLOAD_GAS : + Run.Trait + gas.constants.value_ISTANBUL_SLOAD_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_SSTORE_SET : + Run.Trait + gas.constants.value_SSTORE_SET [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_SSTORE_RESET : + Run.Trait + gas.constants.value_SSTORE_RESET [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_REFUND_SSTORE_CLEARS : + Run.Trait + gas.constants.value_REFUND_SSTORE_CLEARS [] [] [] + (Ref.t Pointer.Kind.Raw I64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_TRANSACTION_ZERO_DATA : + Run.Trait + gas.constants.value_TRANSACTION_ZERO_DATA [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_TRANSACTION_NON_ZERO_DATA_INIT : + Run.Trait + gas.constants.value_TRANSACTION_NON_ZERO_DATA_INIT [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_TRANSACTION_NON_ZERO_DATA_FRONTIER : + Run.Trait + gas.constants.value_TRANSACTION_NON_ZERO_DATA_FRONTIER [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_EOF_CREATE_GAS : + Run.Trait + gas.constants.value_EOF_CREATE_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_ACCESS_LIST_ADDRESS : + Run.Trait + gas.constants.value_ACCESS_LIST_ADDRESS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_ACCESS_LIST_STORAGE_KEY : + Run.Trait + gas.constants.value_ACCESS_LIST_STORAGE_KEY [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_COLD_SLOAD_COST : + Run.Trait + gas.constants.value_COLD_SLOAD_COST [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_COLD_ACCOUNT_ACCESS_COST : + Run.Trait + gas.constants.value_COLD_ACCOUNT_ACCESS_COST [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_WARM_STORAGE_READ_COST : + Run.Trait + gas.constants.value_WARM_STORAGE_READ_COST [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_WARM_SSTORE_RESET : + Run.Trait + gas.constants.value_WARM_SSTORE_RESET [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_INITCODE_WORD_COST : + Run.Trait + gas.constants.value_INITCODE_WORD_COST [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_CALL_STIPEND : + Run.Trait + gas.constants.value_CALL_STIPEND [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. + +Instance run_MIN_CALLEE_GAS : + Run.Trait + gas.constants.value_MIN_CALLEE_GAS [] [] [] + (Ref.t Pointer.Kind.Raw U64.t). +Proof. + constructor. + run_symbolic. +Defined. diff --git a/CoqOfRust/revm/revm_interpreter/gas/links/generate.py b/CoqOfRust/revm/revm_interpreter/gas/links/generate.py deleted file mode 100644 index fd1a571e2..000000000 --- a/CoqOfRust/revm/revm_interpreter/gas/links/generate.py +++ /dev/null @@ -1,80 +0,0 @@ -import os -import sys - -sys.path.append(os.getcwd()) - -import of_json - - -def constants(): - constants = [ - ("ZERO", 0), - ("BASE", 2), - ("VERYLOW", 3), - ("DATA_LOADN_GAS", 3), - ("CONDITION_JUMP_GAS", 4), - ("RETF_GAS", 3), - ("DATA_LOAD_GAS", 4), - ("LOW", 5), - ("MID", 8), - ("HIGH", 10), - ("JUMPDEST", 1), - ("SELFDESTRUCT", 24000), - ("CREATE", 32000), - ("CALLVALUE", 9000), - ("NEWACCOUNT", 25000), - ("EXP", 10), - ("MEMORY", 3), - ("LOG", 375), - ("LOGDATA", 8), - ("LOGTOPIC", 375), - ("KECCAK256", 30), - ("KECCAK256WORD", 6), - ("COPY", 3), - ("BLOCKHASH", 20), - ("CODEDEPOSIT", 200), - ("ISTANBUL_SLOAD_GAS", 800), - ("SSTORE_SET", 20000), - ("SSTORE_RESET", 5000), - ("REFUND_SSTORE_CLEARS", 15000), - ("TRANSACTION_ZERO_DATA", 4), - ("TRANSACTION_NON_ZERO_DATA_INIT", 16), - ("TRANSACTION_NON_ZERO_DATA_FRONTIER", 68), - ("EOF_CREATE_GAS", 32000), - ("ACCESS_LIST_ADDRESS", 2400), - ("ACCESS_LIST_STORAGE_KEY", 1900), - ("COLD_SLOAD_COST", 2100), - ("COLD_ACCOUNT_ACCESS_COST", 2600), - ("WARM_STORAGE_READ_COST", 100), - ("WARM_SSTORE_RESET", 5000 - 2100), # SSTORE_RESET - COLD_SLOAD_COST - ("INITCODE_WORD_COST", 2), - ("CALL_STIPEND", 2300), - ("MIN_CALLEE_GAS", 2300), - ] - i64_constants = [ - "SELFDESTRUCT", - "REFUND_SSTORE_CLEARS", - ] - output = """(* Generated *) -Require Import CoqOfRust.CoqOfRust. -Require Import CoqOfRust.links.M. -Require Import revm_interpreter.gas.constants. -""" - for name, value in constants: - output += f"\nLemma {name}_eq :\n" - output += f" M.get_constant \"revm_interpreter::gas::constants::{name}\" =\n" - ty = "I64" if name in i64_constants else "U64" - output += f" φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.{ty} {value})).\n" - output += "Proof.\n" - output += " repeat (autorewrite with constant_rewrites || cbn).\n" - output += " reflexivity.\n" - output += "Qed.\n" - output += f"Global Hint Rewrite {name}_eq : run_constant.\n" - - current_dir = os.path.dirname(os.path.abspath(__file__)) - output_path = os.path.join(current_dir, "constants.v") - with open(output_path, "w") as f: - f.write(output) - - -constants() diff --git a/CoqOfRust/revm/revm_interpreter/instruction_result.v b/CoqOfRust/revm/revm_interpreter/instruction_result.v index ff4607005..6c206ae72 100644 --- a/CoqOfRust/revm/revm_interpreter/instruction_result.v +++ b/CoqOfRust/revm/revm_interpreter/instruction_result.v @@ -1223,7 +1223,7 @@ Module instruction_result. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ok : M.IsAssociatedFunction.Trait Self "is_ok" is_ok. + Global Instance AssociatedFunction_is_ok : M.IsAssociatedFunction.C Self "is_ok" is_ok. Admitted. Global Typeclasses Opaque is_ok. @@ -1377,7 +1377,7 @@ Module instruction_result. end. Global Instance AssociatedFunction_is_ok_or_revert : - M.IsAssociatedFunction.Trait Self "is_ok_or_revert" is_ok_or_revert. + M.IsAssociatedFunction.C Self "is_ok_or_revert" is_ok_or_revert. Admitted. Global Typeclasses Opaque is_ok_or_revert. @@ -1412,7 +1412,7 @@ Module instruction_result. end. Global Instance AssociatedFunction_is_continue : - M.IsAssociatedFunction.Trait Self "is_continue" is_continue. + M.IsAssociatedFunction.C Self "is_continue" is_continue. Admitted. Global Typeclasses Opaque is_continue. @@ -1500,7 +1500,7 @@ Module instruction_result. end. Global Instance AssociatedFunction_is_revert : - M.IsAssociatedFunction.Trait Self "is_revert" is_revert. + M.IsAssociatedFunction.C Self "is_revert" is_revert. Admitted. Global Typeclasses Opaque is_revert. @@ -1771,8 +1771,7 @@ Module instruction_result. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_error : - M.IsAssociatedFunction.Trait Self "is_error" is_error. + Global Instance AssociatedFunction_is_error : M.IsAssociatedFunction.C Self "is_error" is_error. Admitted. Global Typeclasses Opaque is_error. End Impl_revm_interpreter_instruction_result_InstructionResult. @@ -3484,7 +3483,7 @@ Module instruction_result. Global Instance AssociatedFunction_is_success : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "is_success" (is_success HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "is_success" (is_success HaltReasonT). Admitted. Global Typeclasses Opaque is_success. @@ -3538,7 +3537,7 @@ Module instruction_result. Global Instance AssociatedFunction_to_success : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "to_success" (to_success HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "to_success" (to_success HaltReasonT). Admitted. Global Typeclasses Opaque to_success. @@ -3580,7 +3579,7 @@ Module instruction_result. Global Instance AssociatedFunction_is_revert : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "is_revert" (is_revert HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "is_revert" (is_revert HaltReasonT). Admitted. Global Typeclasses Opaque is_revert. @@ -3623,7 +3622,7 @@ Module instruction_result. Global Instance AssociatedFunction_is_halt : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "is_halt" (is_halt HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "is_halt" (is_halt HaltReasonT). Admitted. Global Typeclasses Opaque is_halt. @@ -3673,7 +3672,7 @@ Module instruction_result. Global Instance AssociatedFunction_to_halt : forall (HaltReasonT : Ty.t), - M.IsAssociatedFunction.Trait (Self HaltReasonT) "to_halt" (to_halt HaltReasonT). + M.IsAssociatedFunction.C (Self HaltReasonT) "to_halt" (to_halt HaltReasonT). Admitted. Global Typeclasses Opaque to_halt. End Impl_revm_interpreter_instruction_result_SuccessOrHalt_HaltReasonT. diff --git a/CoqOfRust/revm/revm_interpreter/instructions.v b/CoqOfRust/revm/revm_interpreter/instructions.v index eb68ce889..e1e5cf748 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions.v +++ b/CoqOfRust/revm/revm_interpreter/instructions.v @@ -71,7 +71,7 @@ Module instructions. end. Global Instance Instance_IsFunction_instruction : - M.IsFunction.Trait "revm_interpreter::instructions::instruction" instruction. + M.IsFunction.C "revm_interpreter::instructions::instruction" instruction. Admitted. Global Typeclasses Opaque instruction. @@ -137,7 +137,7 @@ Module instructions. table, M.cast (Ty.path "usize") - (M.read (| M.get_constant "revm_bytecode::opcode::STOP" |)) + (M.read (| get_constant (| "revm_bytecode::opcode::STOP", Ty.path "u8" |) |)) |), (* ReifyFnPointer *) M.pointer_coercion @@ -155,7 +155,7 @@ Module instructions. table, M.cast (Ty.path "usize") - (M.read (| M.get_constant "revm_bytecode::opcode::ADD" |)) + (M.read (| get_constant (| "revm_bytecode::opcode::ADD", Ty.path "u8" |) |)) |), (* ReifyFnPointer *) M.pointer_coercion @@ -173,7 +173,7 @@ Module instructions. table, M.cast (Ty.path "usize") - (M.read (| M.get_constant "revm_bytecode::opcode::BALANCE" |)) + (M.read (| get_constant (| "revm_bytecode::opcode::BALANCE", Ty.path "u8" |) |)) |), (* ReifyFnPointer *) M.pointer_coercion @@ -190,7 +190,7 @@ Module instructions. end. Global Instance Instance_IsFunction_instruction_table : - M.IsFunction.Trait "revm_interpreter::instructions::instruction_table" instruction_table. + M.IsFunction.C "revm_interpreter::instructions::instruction_table" instruction_table. Admitted. Global Typeclasses Opaque instruction_table. End instructions. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/arithmetic.v b/CoqOfRust/revm/revm_interpreter/instructions/arithmetic.v index df318e8ca..4f6ac5aee 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/arithmetic.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/arithmetic.v @@ -78,7 +78,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -242,7 +245,7 @@ Module instructions. end. Global Instance Instance_IsFunction_add : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::add" add. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::add" add. Admitted. Global Typeclasses Opaque add. @@ -321,7 +324,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -485,7 +491,7 @@ Module instructions. end. Global Instance Instance_IsFunction_mul : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::mul" mul. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::mul" mul. Admitted. Global Typeclasses Opaque mul. @@ -564,7 +570,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -728,7 +737,7 @@ Module instructions. end. Global Instance Instance_IsFunction_sub : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::sub" sub. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::sub" sub. Admitted. Global Typeclasses Opaque sub. @@ -809,7 +818,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -1017,7 +1029,7 @@ Module instructions. end. Global Instance Instance_IsFunction_div : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::div" div. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::div" div. Admitted. Global Typeclasses Opaque div. @@ -1096,7 +1108,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -1253,7 +1268,7 @@ Module instructions. end. Global Instance Instance_IsFunction_sdiv : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::sdiv" sdiv. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::sdiv" sdiv. Admitted. Global Typeclasses Opaque sdiv. @@ -1334,7 +1349,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -1542,7 +1560,7 @@ Module instructions. end. Global Instance Instance_IsFunction_rem : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::rem" rem. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::rem" rem. Admitted. Global Typeclasses Opaque rem. @@ -1621,7 +1639,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -1776,7 +1797,7 @@ Module instructions. end. Global Instance Instance_IsFunction_smod : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::smod" smod. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::smod" smod. Admitted. Global Typeclasses Opaque smod. @@ -1855,7 +1876,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::MID" + get_constant (| + "revm_interpreter::gas::constants::MID", + Ty.path "u64" + |) |) ] |) @@ -2023,7 +2047,7 @@ Module instructions. end. Global Instance Instance_IsFunction_addmod : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::addmod" addmod. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::addmod" addmod. Admitted. Global Typeclasses Opaque addmod. @@ -2102,7 +2126,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::MID" + get_constant (| + "revm_interpreter::gas::constants::MID", + Ty.path "u64" + |) |) ] |) @@ -2270,7 +2297,7 @@ Module instructions. end. Global Instance Instance_IsFunction_mulmod : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::mulmod" mulmod. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::mulmod" mulmod. Admitted. Global Typeclasses Opaque mulmod. @@ -2618,7 +2645,7 @@ Module instructions. end. Global Instance Instance_IsFunction_exp : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::exp" exp. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::exp" exp. Admitted. Global Typeclasses Opaque exp. @@ -2704,7 +2731,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -3229,7 +3259,7 @@ Module instructions. end. Global Instance Instance_IsFunction_signextend : - M.IsFunction.Trait "revm_interpreter::instructions::arithmetic::signextend" signextend. + M.IsFunction.C "revm_interpreter::instructions::arithmetic::signextend" signextend. Admitted. Global Typeclasses Opaque signextend. End arithmetic. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/bitwise.v b/CoqOfRust/revm/revm_interpreter/instructions/bitwise.v index 695ad3981..34a117d19 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/bitwise.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/bitwise.v @@ -78,7 +78,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -276,7 +279,7 @@ Module instructions. end. Global Instance Instance_IsFunction_lt : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::lt" lt. + M.IsFunction.C "revm_interpreter::instructions::bitwise::lt" lt. Admitted. Global Typeclasses Opaque lt. @@ -356,7 +359,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -554,7 +560,7 @@ Module instructions. end. Global Instance Instance_IsFunction_gt : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::gt" gt. + M.IsFunction.C "revm_interpreter::instructions::bitwise::gt" gt. Admitted. Global Typeclasses Opaque gt. @@ -634,7 +640,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -842,7 +851,7 @@ Module instructions. end. Global Instance Instance_IsFunction_slt : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::slt" slt. + M.IsFunction.C "revm_interpreter::instructions::bitwise::slt" slt. Admitted. Global Typeclasses Opaque slt. @@ -922,7 +931,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1130,7 +1142,7 @@ Module instructions. end. Global Instance Instance_IsFunction_sgt : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::sgt" sgt. + M.IsFunction.C "revm_interpreter::instructions::bitwise::sgt" sgt. Admitted. Global Typeclasses Opaque sgt. @@ -1210,7 +1222,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1408,7 +1423,7 @@ Module instructions. end. Global Instance Instance_IsFunction_eq : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::eq" eq. + M.IsFunction.C "revm_interpreter::instructions::bitwise::eq" eq. Admitted. Global Typeclasses Opaque eq. @@ -1487,7 +1502,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1671,7 +1689,7 @@ Module instructions. end. Global Instance Instance_IsFunction_iszero : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::iszero" iszero. + M.IsFunction.C "revm_interpreter::instructions::bitwise::iszero" iszero. Admitted. Global Typeclasses Opaque iszero. @@ -1750,7 +1768,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1925,7 +1946,7 @@ Module instructions. end. Global Instance Instance_IsFunction_bitand : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::bitand" bitand. + M.IsFunction.C "revm_interpreter::instructions::bitwise::bitand" bitand. Admitted. Global Typeclasses Opaque bitand. @@ -2005,7 +2026,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2180,7 +2204,7 @@ Module instructions. end. Global Instance Instance_IsFunction_bitor : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::bitor" bitor. + M.IsFunction.C "revm_interpreter::instructions::bitwise::bitor" bitor. Admitted. Global Typeclasses Opaque bitor. @@ -2260,7 +2284,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2435,7 +2462,7 @@ Module instructions. end. Global Instance Instance_IsFunction_bitxor : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::bitxor" bitxor. + M.IsFunction.C "revm_interpreter::instructions::bitwise::bitxor" bitxor. Admitted. Global Typeclasses Opaque bitxor. @@ -2515,7 +2542,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2680,7 +2710,7 @@ Module instructions. end. Global Instance Instance_IsFunction_not : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::not" not. + M.IsFunction.C "revm_interpreter::instructions::bitwise::not" not. Admitted. Global Typeclasses Opaque not. @@ -2766,7 +2796,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -3012,7 +3045,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -3020,7 +3057,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -3105,7 +3148,25 @@ Module instructions. ] |) |))); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |))) ] |) |) @@ -3120,7 +3181,7 @@ Module instructions. end. Global Instance Instance_IsFunction_byte : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::byte" byte. + M.IsFunction.C "revm_interpreter::instructions::bitwise::byte" byte. Admitted. Global Typeclasses Opaque byte. @@ -3305,7 +3366,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -3551,7 +3615,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -3559,7 +3627,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -3623,7 +3697,25 @@ Module instructions. ] |) |))); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |))) ] |) |) @@ -3637,7 +3729,7 @@ Module instructions. end. Global Instance Instance_IsFunction_shl : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::shl" shl. + M.IsFunction.C "revm_interpreter::instructions::bitwise::shl" shl. Admitted. Global Typeclasses Opaque shl. @@ -3822,7 +3914,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -4068,7 +4163,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -4076,7 +4175,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -4140,7 +4245,25 @@ Module instructions. ] |) |))); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |))) ] |) |) @@ -4154,7 +4277,7 @@ Module instructions. end. Global Instance Instance_IsFunction_shr : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::shr" shr. + M.IsFunction.C "revm_interpreter::instructions::bitwise::shr" shr. Admitted. Global Typeclasses Opaque shr. @@ -4341,7 +4464,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -4587,7 +4713,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -4595,7 +4725,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -4703,8 +4839,42 @@ Module instructions. M.read (| γ |), Value.Bool true |) in - M.get_constant "ruint::MAX")); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "MAX", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |))); + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |))) ] |))) ] @@ -4721,7 +4891,7 @@ Module instructions. end. Global Instance Instance_IsFunction_sar : - M.IsFunction.Trait "revm_interpreter::instructions::bitwise::sar" sar. + M.IsFunction.C "revm_interpreter::instructions::bitwise::sar" sar. Admitted. Global Typeclasses Opaque sar. End bitwise. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/block_info.v b/CoqOfRust/revm/revm_interpreter/instructions/block_info.v index 88ab5e986..ef5e3a64e 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/block_info.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/block_info.v @@ -177,7 +177,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -395,7 +398,7 @@ Module instructions. end. Global Instance Instance_IsFunction_chainid : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::chainid" chainid. + M.IsFunction.C "revm_interpreter::instructions::block_info::chainid" chainid. Admitted. Global Typeclasses Opaque chainid. @@ -473,7 +476,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -719,7 +725,7 @@ Module instructions. end. Global Instance Instance_IsFunction_coinbase : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::coinbase" coinbase. + M.IsFunction.C "revm_interpreter::instructions::block_info::coinbase" coinbase. Admitted. Global Typeclasses Opaque coinbase. @@ -797,7 +803,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1015,7 +1024,7 @@ Module instructions. end. Global Instance Instance_IsFunction_timestamp : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::timestamp" timestamp. + M.IsFunction.C "revm_interpreter::instructions::block_info::timestamp" timestamp. Admitted. Global Typeclasses Opaque timestamp. @@ -1093,7 +1102,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1311,7 +1323,7 @@ Module instructions. end. Global Instance Instance_IsFunction_block_number : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::block_number" block_number. + M.IsFunction.C "revm_interpreter::instructions::block_info::block_number" block_number. Admitted. Global Typeclasses Opaque block_number. @@ -1397,7 +1409,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1854,7 +1869,7 @@ Module instructions. end. Global Instance Instance_IsFunction_difficulty : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::difficulty" difficulty. + M.IsFunction.C "revm_interpreter::instructions::block_info::difficulty" difficulty. Admitted. Global Typeclasses Opaque difficulty. @@ -1932,7 +1947,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -2150,7 +2168,7 @@ Module instructions. end. Global Instance Instance_IsFunction_gaslimit : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::gaslimit" gaslimit. + M.IsFunction.C "revm_interpreter::instructions::block_info::gaslimit" gaslimit. Admitted. Global Typeclasses Opaque gaslimit. @@ -2328,7 +2346,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -2546,7 +2567,7 @@ Module instructions. end. Global Instance Instance_IsFunction_basefee : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::basefee" basefee. + M.IsFunction.C "revm_interpreter::instructions::block_info::basefee" basefee. Admitted. Global Typeclasses Opaque basefee. @@ -2727,7 +2748,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -2962,7 +2986,7 @@ Module instructions. end. Global Instance Instance_IsFunction_blob_basefee : - M.IsFunction.Trait "revm_interpreter::instructions::block_info::blob_basefee" blob_basefee. + M.IsFunction.C "revm_interpreter::instructions::block_info::blob_basefee" blob_basefee. Admitted. Global Typeclasses Opaque blob_basefee. End block_info. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/contract.v b/CoqOfRust/revm/revm_interpreter/instructions/contract.v index 47d87beec..a13a46981 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/contract.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/contract.v @@ -300,8 +300,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::EOF_CREATE_GAS" + get_constant (| + "revm_interpreter::gas::constants::EOF_CREATE_GAS", + Ty.path "u64" + |) |) ] |) @@ -915,8 +917,10 @@ Module instructions. ] |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::KECCAK256WORD" + get_constant (| + "revm_interpreter::gas::constants::KECCAK256WORD", + Ty.path "u64" + |) |) ] |) @@ -1498,7 +1502,7 @@ Module instructions. end. Global Instance Instance_IsFunction_eofcreate : - M.IsFunction.Trait "revm_interpreter::instructions::contract::eofcreate" eofcreate. + M.IsFunction.C "revm_interpreter::instructions::contract::eofcreate" eofcreate. Admitted. Global Typeclasses Opaque eofcreate. @@ -1817,7 +1821,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -2258,8 +2266,13 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path + "usize", + "MAX", + Ty.path + "usize" + |) |)) |)) (BinOp.ne (| @@ -3259,9 +3272,7 @@ Module instructions. end. Global Instance Instance_IsFunction_return_contract : - M.IsFunction.Trait - "revm_interpreter::instructions::contract::return_contract" - return_contract. + M.IsFunction.C "revm_interpreter::instructions::contract::return_contract" return_contract. Admitted. Global Typeclasses Opaque return_contract. @@ -3676,7 +3687,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extcall_input : - M.IsFunction.Trait "revm_interpreter::instructions::contract::extcall_input" extcall_input. + M.IsFunction.C "revm_interpreter::instructions::contract::extcall_input" extcall_input. Admitted. Global Typeclasses Opaque extcall_input. @@ -4054,8 +4065,10 @@ Module instructions. BinOp.lt (| M.read (| gas_limit |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::MIN_CALLEE_GAS" + get_constant (| + "revm_interpreter::gas::constants::MIN_CALLEE_GAS", + Ty.path "u64" + |) |) |) |)) in @@ -4334,9 +4347,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extcall_gas_calc : - M.IsFunction.Trait - "revm_interpreter::instructions::contract::extcall_gas_calc" - extcall_gas_calc. + M.IsFunction.C "revm_interpreter::instructions::contract::extcall_gas_calc" extcall_gas_calc. Admitted. Global Typeclasses Opaque extcall_gas_calc. @@ -4672,7 +4683,7 @@ Module instructions. end. Global Instance Instance_IsFunction_pop_extcall_target_address : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::instructions::contract::pop_extcall_target_address" pop_extcall_target_address. Admitted. @@ -5273,7 +5284,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extcall : - M.IsFunction.Trait "revm_interpreter::instructions::contract::extcall" extcall. + M.IsFunction.C "revm_interpreter::instructions::contract::extcall" extcall. Admitted. Global Typeclasses Opaque extcall. @@ -5748,9 +5759,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extdelegatecall : - M.IsFunction.Trait - "revm_interpreter::instructions::contract::extdelegatecall" - extdelegatecall. + M.IsFunction.C "revm_interpreter::instructions::contract::extdelegatecall" extdelegatecall. Admitted. Global Typeclasses Opaque extdelegatecall. @@ -6083,7 +6092,31 @@ Module instructions. "revm_interpreter::interpreter_action::call_inputs::CallValue::Transfer" [ M.read (| - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer + IntegerKind.Usize + 256; + Value.Integer + IntegerKind.Usize + 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer + IntegerKind.Usize + 256; + Value.Integer + IntegerKind.Usize + 4 + ] + [] + |) |) ]); ("scheme", @@ -6129,7 +6162,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extstaticcall : - M.IsFunction.Trait "revm_interpreter::instructions::contract::extstaticcall" extstaticcall. + M.IsFunction.C "revm_interpreter::instructions::contract::extstaticcall" extstaticcall. Admitted. Global Typeclasses Opaque extstaticcall. @@ -6310,8 +6343,10 @@ Module instructions. ltac:(M.monadic (let γ := M.use - (M.get_constant - "revm_interpreter::instructions::contract::create::IS_CREATE2") in + (get_constant (| + "revm_interpreter::instructions::contract::create::IS_CREATE2", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in let~ _ : Ty.tuple [] := @@ -6539,7 +6574,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -7052,8 +7091,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -7476,8 +7518,10 @@ Module instructions. ltac:(M.monadic (let γ := M.use - (M.get_constant - "revm_interpreter::instructions::contract::create::IS_CREATE2") in + (get_constant (| + "revm_interpreter::instructions::contract::create::IS_CREATE2", + Ty.path "bool" + |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), @@ -7811,8 +7855,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::CREATE" + get_constant (| + "revm_interpreter::gas::constants::CREATE", + Ty.path "u64" + |) |) ] |) @@ -8218,7 +8264,7 @@ Module instructions. end. Global Instance Instance_IsFunction_create : - M.IsFunction.Trait "revm_interpreter::instructions::contract::create" create. + M.IsFunction.C "revm_interpreter::instructions::contract::create" create. Admitted. Global Typeclasses Opaque create. @@ -8424,7 +8470,9 @@ Module instructions. |), [ M.read (| local_gas_limit |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |) |) in @@ -8804,8 +8852,10 @@ Module instructions. [ M.read (| gas_limit |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::CALL_STIPEND" + get_constant (| + "revm_interpreter::gas::constants::CALL_STIPEND", + Ty.path "u64" + |) |) ] |) @@ -8990,7 +9040,7 @@ Module instructions. end. Global Instance Instance_IsFunction_call : - M.IsFunction.Trait "revm_interpreter::instructions::contract::call" call. + M.IsFunction.C "revm_interpreter::instructions::contract::call" call. Admitted. Global Typeclasses Opaque call. @@ -9209,7 +9259,9 @@ Module instructions. |), [ M.read (| local_gas_limit |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |) |) in @@ -9537,8 +9589,10 @@ Module instructions. [ M.read (| gas_limit |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::CALL_STIPEND" + get_constant (| + "revm_interpreter::gas::constants::CALL_STIPEND", + Ty.path "u64" + |) |) ] |) @@ -9754,7 +9808,7 @@ Module instructions. end. Global Instance Instance_IsFunction_call_code : - M.IsFunction.Trait "revm_interpreter::instructions::contract::call_code" call_code. + M.IsFunction.C "revm_interpreter::instructions::contract::call_code" call_code. Admitted. Global Typeclasses Opaque call_code. @@ -10064,7 +10118,9 @@ Module instructions. |), [ M.read (| local_gas_limit |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |) |) in @@ -10564,7 +10620,7 @@ Module instructions. end. Global Instance Instance_IsFunction_delegate_call : - M.IsFunction.Trait "revm_interpreter::instructions::contract::delegate_call" delegate_call. + M.IsFunction.C "revm_interpreter::instructions::contract::delegate_call" delegate_call. Admitted. Global Typeclasses Opaque delegate_call. @@ -10873,7 +10929,9 @@ Module instructions. |), [ M.read (| local_gas_limit |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |) |) in @@ -11232,8 +11290,33 @@ Module instructions. "revm_interpreter::interpreter_action::call_inputs::CallValue::Transfer" [ M.read (| - M.get_constant - "ruint::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path + "ruint::Uint") + [ + Value.Integer + IntegerKind.Usize + 256; + Value.Integer + IntegerKind.Usize + 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path + "ruint::Uint") + [ + Value.Integer + IntegerKind.Usize + 256; + Value.Integer + IntegerKind.Usize + 4 + ] + [] + |) |) ]); ("scheme", @@ -11274,7 +11357,7 @@ Module instructions. end. Global Instance Instance_IsFunction_static_call : - M.IsFunction.Trait "revm_interpreter::instructions::contract::static_call" static_call. + M.IsFunction.C "revm_interpreter::instructions::contract::static_call" static_call. Admitted. Global Typeclasses Opaque static_call. End contract. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/contract/call_helpers.v b/CoqOfRust/revm/revm_interpreter/instructions/contract/call_helpers.v index 3e7afd3f7..3313efcd6 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/contract/call_helpers.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/contract/call_helpers.v @@ -576,7 +576,7 @@ Module instructions. end. Global Instance Instance_IsFunction_get_memory_input_and_out_ranges : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::instructions::contract::call_helpers::get_memory_input_and_out_ranges" get_memory_input_and_out_ranges. Admitted. @@ -666,7 +666,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -840,8 +844,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -1122,7 +1129,13 @@ Module instructions. ] |) in offset)); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |))) ] |) |) in @@ -1144,7 +1157,7 @@ Module instructions. end. Global Instance Instance_IsFunction_resize_memory : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::instructions::contract::call_helpers::resize_memory" resize_memory. Admitted. @@ -1460,7 +1473,7 @@ Module instructions. end. Global Instance Instance_IsFunction_calc_call_gas : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::instructions::contract::call_helpers::calc_call_gas" calc_call_gas. Admitted. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/control.v b/CoqOfRust/revm/revm_interpreter/instructions/control.v index 435d8304f..3f113832e 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/control.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/control.v @@ -166,7 +166,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -287,7 +290,7 @@ Module instructions. end. Global Instance Instance_IsFunction_rjump : - M.IsFunction.Trait "revm_interpreter::instructions::control::rjump" rjump. + M.IsFunction.C "revm_interpreter::instructions::control::rjump" rjump. Admitted. Global Typeclasses Opaque rjump. @@ -459,8 +462,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::CONDITION_JUMP_GAS" + get_constant (| + "revm_interpreter::gas::constants::CONDITION_JUMP_GAS", + Ty.path "u64" + |) |) ] |) @@ -688,7 +693,7 @@ Module instructions. end. Global Instance Instance_IsFunction_rjumpi : - M.IsFunction.Trait "revm_interpreter::instructions::control::rjumpi" rjumpi. + M.IsFunction.C "revm_interpreter::instructions::control::rjumpi" rjumpi. Admitted. Global Typeclasses Opaque rjumpi. @@ -863,8 +868,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::CONDITION_JUMP_GAS" + get_constant (| + "revm_interpreter::gas::constants::CONDITION_JUMP_GAS", + Ty.path "u64" + |) |) ] |) @@ -1092,7 +1099,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -1100,7 +1111,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |) ] |) |) in @@ -1256,7 +1273,7 @@ Module instructions. end. Global Instance Instance_IsFunction_rjumpv : - M.IsFunction.Trait "revm_interpreter::instructions::control::rjumpv" rjumpv. + M.IsFunction.C "revm_interpreter::instructions::control::rjumpv" rjumpv. Admitted. Global Typeclasses Opaque rjumpv. @@ -1335,7 +1352,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::MID" + get_constant (| + "revm_interpreter::gas::constants::MID", + Ty.path "u64" + |) |) ] |) @@ -1471,7 +1491,7 @@ Module instructions. end. Global Instance Instance_IsFunction_jump : - M.IsFunction.Trait "revm_interpreter::instructions::control::jump" jump. + M.IsFunction.C "revm_interpreter::instructions::control::jump" jump. Admitted. Global Typeclasses Opaque jump. @@ -1553,7 +1573,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::HIGH" + get_constant (| + "revm_interpreter::gas::constants::HIGH", + Ty.path "u64" + |) |) ] |) @@ -1727,7 +1750,7 @@ Module instructions. end. Global Instance Instance_IsFunction_jumpi : - M.IsFunction.Trait "revm_interpreter::instructions::control::jumpi" jumpi. + M.IsFunction.C "revm_interpreter::instructions::control::jumpi" jumpi. Admitted. Global Typeclasses Opaque jumpi. @@ -1809,7 +1832,13 @@ Module instructions. |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |)) |)) (BinOp.ne (| M.read (| @@ -2024,7 +2053,7 @@ Module instructions. end. Global Instance Instance_IsFunction_jump_inner : - M.IsFunction.Trait "revm_interpreter::instructions::control::jump_inner" jump_inner. + M.IsFunction.C "revm_interpreter::instructions::control::jump_inner" jump_inner. Admitted. Global Typeclasses Opaque jump_inner. @@ -2101,7 +2130,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::JUMPDEST" + get_constant (| + "revm_interpreter::gas::constants::JUMPDEST", + Ty.path "u64" + |) |) ] |) @@ -2159,7 +2191,7 @@ Module instructions. end. Global Instance Instance_IsFunction_jumpdest_or_nop : - M.IsFunction.Trait "revm_interpreter::instructions::control::jumpdest_or_nop" jumpdest_or_nop. + M.IsFunction.C "revm_interpreter::instructions::control::jumpdest_or_nop" jumpdest_or_nop. Admitted. Global Typeclasses Opaque jumpdest_or_nop. @@ -2355,7 +2387,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -2804,7 +2839,7 @@ Module instructions. end. Global Instance Instance_IsFunction_callf : - M.IsFunction.Trait "revm_interpreter::instructions::control::callf" callf. + M.IsFunction.C "revm_interpreter::instructions::control::callf" callf. Admitted. Global Typeclasses Opaque callf. @@ -2973,7 +3008,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::RETF_GAS" + get_constant (| + "revm_interpreter::gas::constants::RETF_GAS", + Ty.path "u64" + |) |) ] |) @@ -3105,7 +3143,7 @@ Module instructions. end. Global Instance Instance_IsFunction_retf : - M.IsFunction.Trait "revm_interpreter::instructions::control::retf" retf. + M.IsFunction.C "revm_interpreter::instructions::control::retf" retf. Admitted. Global Typeclasses Opaque retf. @@ -3291,7 +3329,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -3666,7 +3707,7 @@ Module instructions. end. Global Instance Instance_IsFunction_jumpf : - M.IsFunction.Trait "revm_interpreter::instructions::control::jumpf" jumpf. + M.IsFunction.C "revm_interpreter::instructions::control::jumpf" jumpf. Admitted. Global Typeclasses Opaque jumpf. @@ -3745,7 +3786,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -3941,7 +3985,7 @@ Module instructions. end. Global Instance Instance_IsFunction_pc : - M.IsFunction.Trait "revm_interpreter::instructions::control::pc" pc. + M.IsFunction.C "revm_interpreter::instructions::control::pc" pc. Admitted. Global Typeclasses Opaque pc. @@ -4101,7 +4145,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -4292,8 +4340,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -4787,7 +4838,7 @@ Module instructions. end. Global Instance Instance_IsFunction_return_inner : - M.IsFunction.Trait "revm_interpreter::instructions::control::return_inner" return_inner. + M.IsFunction.C "revm_interpreter::instructions::control::return_inner" return_inner. Admitted. Global Typeclasses Opaque return_inner. @@ -4829,7 +4880,7 @@ Module instructions. end. Global Instance Instance_IsFunction_ret : - M.IsFunction.Trait "revm_interpreter::instructions::control::ret" ret. + M.IsFunction.C "revm_interpreter::instructions::control::ret" ret. Admitted. Global Typeclasses Opaque ret. @@ -4974,7 +5025,7 @@ Module instructions. end. Global Instance Instance_IsFunction_revert : - M.IsFunction.Trait "revm_interpreter::instructions::control::revert" revert. + M.IsFunction.C "revm_interpreter::instructions::control::revert" revert. Admitted. Global Typeclasses Opaque revert. @@ -5034,7 +5085,7 @@ Module instructions. end. Global Instance Instance_IsFunction_stop : - M.IsFunction.Trait "revm_interpreter::instructions::control::stop" stop. + M.IsFunction.C "revm_interpreter::instructions::control::stop" stop. Admitted. Global Typeclasses Opaque stop. @@ -5094,7 +5145,7 @@ Module instructions. end. Global Instance Instance_IsFunction_invalid : - M.IsFunction.Trait "revm_interpreter::instructions::control::invalid" invalid. + M.IsFunction.C "revm_interpreter::instructions::control::invalid" invalid. Admitted. Global Typeclasses Opaque invalid. @@ -5154,7 +5205,7 @@ Module instructions. end. Global Instance Instance_IsFunction_unknown : - M.IsFunction.Trait "revm_interpreter::instructions::control::unknown" unknown. + M.IsFunction.C "revm_interpreter::instructions::control::unknown" unknown. Admitted. Global Typeclasses Opaque unknown. End control. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/data.v b/CoqOfRust/revm/revm_interpreter/instructions/data.v index 8d6a22180..5ed125cea 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/data.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/data.v @@ -172,8 +172,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::DATA_LOAD_GAS" + get_constant (| + "revm_interpreter::gas::constants::DATA_LOAD_GAS", + Ty.path "u64" + |) |) ] |) @@ -422,7 +424,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -430,7 +436,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -587,7 +599,7 @@ Module instructions. end. Global Instance Instance_IsFunction_data_load : - M.IsFunction.Trait "revm_interpreter::instructions::data::data_load" data_load. + M.IsFunction.C "revm_interpreter::instructions::data::data_load" data_load. Admitted. Global Typeclasses Opaque data_load. @@ -761,7 +773,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1122,7 +1137,7 @@ Module instructions. end. Global Instance Instance_IsFunction_data_loadn : - M.IsFunction.Trait "revm_interpreter::instructions::data::data_loadn" data_loadn. + M.IsFunction.C "revm_interpreter::instructions::data::data_loadn" data_loadn. Admitted. Global Typeclasses Opaque data_loadn. @@ -1287,7 +1302,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1480,7 +1498,7 @@ Module instructions. end. Global Instance Instance_IsFunction_data_size : - M.IsFunction.Trait "revm_interpreter::instructions::data::data_size" data_size. + M.IsFunction.C "revm_interpreter::instructions::data::data_size" data_size. Admitted. Global Typeclasses Opaque data_size. @@ -1662,7 +1680,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1832,7 +1853,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -2009,7 +2034,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -2292,7 +2321,10 @@ Module instructions. [ M.read (| size |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2582,7 +2614,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -2590,7 +2626,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -2674,7 +2716,7 @@ Module instructions. end. Global Instance Instance_IsFunction_data_copy : - M.IsFunction.Trait "revm_interpreter::instructions::data::data_copy" data_copy. + M.IsFunction.C "revm_interpreter::instructions::data::data_copy" data_copy. Admitted. Global Typeclasses Opaque data_copy. End data. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/host.v b/CoqOfRust/revm/revm_interpreter/instructions/host.v index d98dcb832..79621ef7a 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/host.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/host.v @@ -496,7 +496,7 @@ Module instructions. end. Global Instance Instance_IsFunction_balance : - M.IsFunction.Trait "revm_interpreter::instructions::host::balance" balance. + M.IsFunction.C "revm_interpreter::instructions::host::balance" balance. Admitted. Global Typeclasses Opaque balance. @@ -680,7 +680,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::LOW" + get_constant (| + "revm_interpreter::gas::constants::LOW", + Ty.path "u64" + |) |) ] |) @@ -907,7 +910,7 @@ Module instructions. end. Global Instance Instance_IsFunction_selfbalance : - M.IsFunction.Trait "revm_interpreter::instructions::host::selfbalance" selfbalance. + M.IsFunction.C "revm_interpreter::instructions::host::selfbalance" selfbalance. Admitted. Global Typeclasses Opaque selfbalance. @@ -1679,7 +1682,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extcodesize : - M.IsFunction.Trait "revm_interpreter::instructions::host::extcodesize" extcodesize. + M.IsFunction.C "revm_interpreter::instructions::host::extcodesize" extcodesize. Admitted. Global Typeclasses Opaque extcodesize. @@ -2535,7 +2538,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extcodehash : - M.IsFunction.Trait "revm_interpreter::instructions::host::extcodehash" extcodehash. + M.IsFunction.C "revm_interpreter::instructions::host::extcodehash" extcodehash. Admitted. Global Typeclasses Opaque extcodehash. @@ -2767,8 +2770,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -3223,8 +3229,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -3508,8 +3517,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant - "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -3517,7 +3529,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |); M.call_closure (| @@ -3843,7 +3861,7 @@ Module instructions. end. Global Instance Instance_IsFunction_extcodecopy : - M.IsFunction.Trait "revm_interpreter::instructions::host::extcodecopy" extcodecopy. + M.IsFunction.C "revm_interpreter::instructions::host::extcodecopy" extcodecopy. Admitted. Global Typeclasses Opaque extcodecopy. @@ -3930,7 +3948,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BLOCKHASH" + get_constant (| + "revm_interpreter::gas::constants::BLOCKHASH", + Ty.path "u64" + |) |) ] |) @@ -4142,7 +4163,13 @@ Module instructions. M.deref (| M.read (| x |) |), Value.Integer IntegerKind.Usize 0 |))); - fun γ => ltac:(M.monadic (M.get_constant "core::num::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -4233,7 +4260,7 @@ Module instructions. end. Global Instance Instance_IsFunction_blockhash : - M.IsFunction.Trait "revm_interpreter::instructions::host::blockhash" blockhash. + M.IsFunction.C "revm_interpreter::instructions::host::blockhash" blockhash. Admitted. Global Typeclasses Opaque blockhash. @@ -4593,7 +4620,7 @@ Module instructions. end. Global Instance Instance_IsFunction_sload : - M.IsFunction.Trait "revm_interpreter::instructions::host::sload" sload. + M.IsFunction.C "revm_interpreter::instructions::host::sload" sload. Admitted. Global Typeclasses Opaque sload. @@ -4964,8 +4991,10 @@ Module instructions. ] |), M.read (| - M.get_constant - "revm_interpreter::gas::constants::CALL_STIPEND" + get_constant (| + "revm_interpreter::gas::constants::CALL_STIPEND", + Ty.path "u64" + |) |) |))) |) @@ -5298,7 +5327,7 @@ Module instructions. end. Global Instance Instance_IsFunction_sstore : - M.IsFunction.Trait "revm_interpreter::instructions::host::sstore" sstore. + M.IsFunction.C "revm_interpreter::instructions::host::sstore" sstore. Admitted. Global Typeclasses Opaque sstore. @@ -5563,8 +5592,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST" + get_constant (| + "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST", + Ty.path "u64" + |) |) ] |) @@ -5731,7 +5762,7 @@ Module instructions. end. Global Instance Instance_IsFunction_tstore : - M.IsFunction.Trait "revm_interpreter::instructions::host::tstore" tstore. + M.IsFunction.C "revm_interpreter::instructions::host::tstore" tstore. Admitted. Global Typeclasses Opaque tstore. @@ -5912,8 +5943,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST" + get_constant (| + "revm_interpreter::gas::constants::WARM_STORAGE_READ_COST", + Ty.path "u64" + |) |) ] |) @@ -6105,7 +6138,7 @@ Module instructions. end. Global Instance Instance_IsFunction_tload : - M.IsFunction.Trait "revm_interpreter::instructions::host::tload" tload. + M.IsFunction.C "revm_interpreter::instructions::host::tload" tload. Admitted. Global Typeclasses Opaque tload. @@ -6357,7 +6390,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -6466,7 +6503,10 @@ Module instructions. M.cast (Ty.path "u8") (M.read (| - M.get_constant "revm_interpreter::instructions::host::log::N" + get_constant (| + "revm_interpreter::instructions::host::log::N", + Ty.path "usize" + |) |)); M.cast (Ty.path "u64") (M.read (| len |)) ] @@ -6734,8 +6774,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -7188,8 +7231,10 @@ Module instructions. ] |), M.read (| - M.get_constant - "revm_interpreter::instructions::host::log::N" + get_constant (| + "revm_interpreter::instructions::host::log::N", + Ty.path "usize" + |) |) |) |)) in @@ -7638,7 +7683,7 @@ Module instructions. end. Global Instance Instance_IsFunction_log : - M.IsFunction.Trait "revm_interpreter::instructions::host::log" log. + M.IsFunction.C "revm_interpreter::instructions::host::log" log. Admitted. Global Typeclasses Opaque log. @@ -8057,8 +8102,10 @@ Module instructions. |) |); M.read (| - M.get_constant - "revm_interpreter::gas::constants::SELFDESTRUCT" + get_constant (| + "revm_interpreter::gas::constants::SELFDESTRUCT", + Ty.path "i64" + |) |) ] |) @@ -8261,7 +8308,7 @@ Module instructions. end. Global Instance Instance_IsFunction_selfdestruct : - M.IsFunction.Trait "revm_interpreter::instructions::host::selfdestruct" selfdestruct. + M.IsFunction.C "revm_interpreter::instructions::host::selfdestruct" selfdestruct. Admitted. Global Typeclasses Opaque selfdestruct. End host. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/i256.v b/CoqOfRust/revm/revm_interpreter/instructions/i256.v index 77571c7c7..6e0a17bc1 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/i256.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/i256.v @@ -421,84 +421,87 @@ Module instructions. (* Instance *) [ ("hash", InstanceField.Method hash) ]. End Impl_core_hash_Hash_for_revm_interpreter_instructions_i256_Sign. - Definition value_MAX_POSITIVE_VALUE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_MAX_POSITIVE_VALUE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "ruint::Uint") - [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] - [], - "from_limbs", - [], - [] - |), - [ - Value.Array - [ - Value.Integer IntegerKind.U64 18446744073709551615; - Value.Integer IntegerKind.U64 18446744073709551615; - Value.Integer IntegerKind.U64 18446744073709551615; - Value.Integer IntegerKind.U64 9223372036854775807 - ] - ] - |) - |))). + "from_limbs", + [], + [] + |), + [ + Value.Array + [ + Value.Integer IntegerKind.U64 18446744073709551615; + Value.Integer IntegerKind.U64 18446744073709551615; + Value.Integer IntegerKind.U64 18446744073709551615; + Value.Integer IntegerKind.U64 9223372036854775807 + ] + ] + |) + |))). - Axiom Constant_value_MAX_POSITIVE_VALUE : - (M.get_constant "revm_interpreter::instructions::i256::MAX_POSITIVE_VALUE") = + Global Instance Instance_IsConstant_value_MAX_POSITIVE_VALUE : + M.IsFunction.C + "revm_interpreter::instructions::i256::MAX_POSITIVE_VALUE" value_MAX_POSITIVE_VALUE. - Global Hint Rewrite Constant_value_MAX_POSITIVE_VALUE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_POSITIVE_VALUE. - Definition value_MIN_NEGATIVE_VALUE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_MIN_NEGATIVE_VALUE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "ruint::Uint") - [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] - [], - "from_limbs", - [], - [] - |), - [ - Value.Array - [ - Value.Integer IntegerKind.U64 0; - Value.Integer IntegerKind.U64 0; - Value.Integer IntegerKind.U64 0; - Value.Integer IntegerKind.U64 9223372036854775808 - ] - ] - |) - |))). + "from_limbs", + [], + [] + |), + [ + Value.Array + [ + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 9223372036854775808 + ] + ] + |) + |))). - Axiom Constant_value_MIN_NEGATIVE_VALUE : - (M.get_constant "revm_interpreter::instructions::i256::MIN_NEGATIVE_VALUE") = + Global Instance Instance_IsConstant_value_MIN_NEGATIVE_VALUE : + M.IsFunction.C + "revm_interpreter::instructions::i256::MIN_NEGATIVE_VALUE" value_MIN_NEGATIVE_VALUE. - Global Hint Rewrite Constant_value_MIN_NEGATIVE_VALUE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MIN_NEGATIVE_VALUE. - Definition value_FLIPH_BITMASK_U64 : Value.t := - M.run_constant - ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9223372036854775807 |))). + Definition value_FLIPH_BITMASK_U64 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 9223372036854775807 |))). - Axiom Constant_value_FLIPH_BITMASK_U64 : - (M.get_constant "revm_interpreter::instructions::i256::FLIPH_BITMASK_U64") = + Global Instance Instance_IsConstant_value_FLIPH_BITMASK_U64 : + M.IsFunction.C + "revm_interpreter::instructions::i256::FLIPH_BITMASK_U64" value_FLIPH_BITMASK_U64. - Global Hint Rewrite Constant_value_FLIPH_BITMASK_U64 : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_FLIPH_BITMASK_U64. (* pub fn i256_sign(val: &U256) -> Sign { @@ -542,7 +545,19 @@ Module instructions. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| val |) |) |); BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::BITS'1" |), + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "BITS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) ] @@ -591,7 +606,7 @@ Module instructions. end. Global Instance Instance_IsFunction_i256_sign : - M.IsFunction.Trait "revm_interpreter::instructions::i256::i256_sign" i256_sign. + M.IsFunction.C "revm_interpreter::instructions::i256::i256_sign" i256_sign. Admitted. Global Typeclasses Opaque i256_sign. @@ -675,7 +690,7 @@ Module instructions. end. Global Instance Instance_IsFunction_i256_sign_compl : - M.IsFunction.Trait "revm_interpreter::instructions::i256::i256_sign_compl" i256_sign_compl. + M.IsFunction.C "revm_interpreter::instructions::i256::i256_sign_compl" i256_sign_compl. Admitted. Global Typeclasses Opaque i256_sign_compl. @@ -728,7 +743,10 @@ Module instructions. BinOp.bit_and (M.read (| β |)) (M.read (| - M.get_constant "revm_interpreter::instructions::i256::FLIPH_BITMASK_U64" + get_constant (| + "revm_interpreter::instructions::i256::FLIPH_BITMASK_U64", + Ty.path "u64" + |) |)) |) |) in @@ -738,7 +756,7 @@ Module instructions. end. Global Instance Instance_IsFunction_u256_remove_sign : - M.IsFunction.Trait "revm_interpreter::instructions::i256::u256_remove_sign" u256_remove_sign. + M.IsFunction.C "revm_interpreter::instructions::i256::u256_remove_sign" u256_remove_sign. Admitted. Global Typeclasses Opaque u256_remove_sign. @@ -773,7 +791,7 @@ Module instructions. end. Global Instance Instance_IsFunction_two_compl_mut : - M.IsFunction.Trait "revm_interpreter::instructions::i256::two_compl_mut" two_compl_mut. + M.IsFunction.C "revm_interpreter::instructions::i256::two_compl_mut" two_compl_mut. Admitted. Global Typeclasses Opaque two_compl_mut. @@ -807,7 +825,7 @@ Module instructions. end. Global Instance Instance_IsFunction_two_compl : - M.IsFunction.Trait "revm_interpreter::instructions::i256::two_compl" two_compl. + M.IsFunction.C "revm_interpreter::instructions::i256::two_compl" two_compl. Admitted. Global Typeclasses Opaque two_compl. @@ -906,7 +924,7 @@ Module instructions. end. Global Instance Instance_IsFunction_i256_cmp : - M.IsFunction.Trait "revm_interpreter::instructions::i256::i256_cmp" i256_cmp. + M.IsFunction.C "revm_interpreter::instructions::i256::i256_cmp" i256_cmp. Admitted. Global Typeclasses Opaque i256_cmp. @@ -1003,7 +1021,29 @@ Module instructions. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1066,8 +1106,16 @@ Module instructions. M.borrow (| Pointer.Kind.Ref, first |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_interpreter::instructions::i256::MIN_NEGATIVE_VALUE" + get_constant (| + "revm_interpreter::instructions::i256::MIN_NEGATIVE_VALUE", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |) ] |), @@ -1151,8 +1199,16 @@ Module instructions. |), [ M.read (| - M.get_constant - "revm_interpreter::instructions::i256::MIN_NEGATIVE_VALUE" + get_constant (| + "revm_interpreter::instructions::i256::MIN_NEGATIVE_VALUE", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) |) ] |) @@ -1355,7 +1411,7 @@ Module instructions. end. Global Instance Instance_IsFunction_i256_div : - M.IsFunction.Trait "revm_interpreter::instructions::i256::i256_div" i256_div. + M.IsFunction.C "revm_interpreter::instructions::i256::i256_div" i256_div. Admitted. Global Typeclasses Opaque i256_div. @@ -1447,7 +1503,29 @@ Module instructions. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1508,7 +1586,29 @@ Module instructions. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1628,7 +1728,7 @@ Module instructions. end. Global Instance Instance_IsFunction_i256_mod : - M.IsFunction.Trait "revm_interpreter::instructions::i256::i256_mod" i256_mod. + M.IsFunction.C "revm_interpreter::instructions::i256::i256_mod" i256_mod. Admitted. Global Typeclasses Opaque i256_mod. End i256. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/links/arithmetic.v b/CoqOfRust/revm/revm_interpreter/instructions/links/arithmetic.v index edb5bf56d..5fd468dd1 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/links/arithmetic.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/links/arithmetic.v @@ -2,6 +2,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require Import revm.revm_interpreter.instructions.arithmetic. Require Import revm.revm_context_interface.links.host. +Require Import revm.revm_interpreter.gas.links.constants. Require Import revm.revm_interpreter.links.gas. Require Import revm.revm_interpreter.links.interpreter. Require Import revm.revm_interpreter.links.interpreter_types. @@ -48,7 +49,7 @@ Proof. destruct run_InterpreterTypes_for_WIRE. destruct run_LoopControl_for_Control. destruct run_StackTrait_for_Stack. - run_symbolic. + run_symbolic. Defined. (* @@ -80,7 +81,7 @@ Proof. destruct run_InterpreterTypes_for_WIRE. destruct run_LoopControl_for_Control. destruct run_StackTrait_for_Stack. - run_symbolic. + run_symbolic. Defined. (* @@ -108,7 +109,7 @@ Proof. destruct run_InterpreterTypes_for_WIRE. destruct run_LoopControl_for_Control. destruct run_StackTrait_for_Stack. - run_symbolic. + run_symbolic. Defined. (* diff --git a/CoqOfRust/revm/revm_interpreter/instructions/links/block_info.v b/CoqOfRust/revm/revm_interpreter/instructions/links/block_info.v index 8da631616..cca617ca3 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/links/block_info.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/links/block_info.v @@ -2,6 +2,7 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require Import revm.revm_context_interface.links.host. Require Import revm.revm_context_interface.links.block. +Require Import revm.revm_interpreter.gas.links.constants. Require Import revm.revm_interpreter.links.gas. Require Import revm.revm_interpreter.links.interpreter. Require Import revm.revm_interpreter.links.interpreter_types. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/links/progress_on_links.md b/CoqOfRust/revm/revm_interpreter/instructions/links/progress_on_links.md index 647557b47..c611bbf11 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/links/progress_on_links.md +++ b/CoqOfRust/revm/revm_interpreter/instructions/links/progress_on_links.md @@ -106,7 +106,7 @@ ## Stack - [x] `pop` -- [ ] `push0` +- [x] `push0` - [ ] `push` - [ ] `dup` - [ ] `swap` @@ -129,7 +129,7 @@ - [ ] `returndatasize` - [ ] `returndatacopy` - [ ] `returndataload` -- [ ] `gas` +- [x] `gas` ## Tx_info @@ -144,6 +144,6 @@ ## Summary - Total: 103 -- Admitted: 81 -- Defined: 22 -- Percentage: 21.36% +- Admitted: 79 +- Defined: 24 +- Percentage: 23.30% diff --git a/CoqOfRust/revm/revm_interpreter/instructions/links/stack.v b/CoqOfRust/revm/revm_interpreter/instructions/links/stack.v index cd770e5fe..07b80995b 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/links/stack.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/links/stack.v @@ -1,15 +1,18 @@ Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. Require Import core.links.cmp. +Require Import revm.revm_interpreter.gas.links.constants. Require Import revm.revm_interpreter.instructions.links.utility. Require Import revm.revm_interpreter.instructions.stack. Require Import revm.revm_interpreter.links.gas. Require Import revm.revm_interpreter.links.interpreter. Require Import revm.revm_interpreter.links.interpreter_types. Require Import revm.revm_specification.links.hardfork. +Require Import ruint.links.lib. Import Impl_Gas. Import Impl_SpecId. +Import Impl_Uint. (* pub fn pop( @@ -66,8 +69,7 @@ Proof. destruct run_StackTrait_for_Stack. destruct run_RuntimeFlag_for_RuntimeFlag. run_symbolic. - (* Constant ruint::ZERO *) -Admitted. +Defined. (* @@ -99,7 +101,7 @@ Proof. destruct run_Jumps_for_Bytecode. destruct run_Immediates_for_Bytecode. run_symbolic. - (* Constant ruint::ZERO *) + (* Constant N *) Admitted. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/links/system.v b/CoqOfRust/revm/revm_interpreter/instructions/links/system.v index ecb0bfbf1..65af9f431 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/links/system.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/links/system.v @@ -7,6 +7,7 @@ Require Import core.links.cmp. Require Import core.num.links.mod. Require Import core.slice.links.mod. Require Import revm.revm_interpreter.gas.links.calc. +Require Import revm.revm_interpreter.gas.links.constants. Require Import revm.revm_interpreter.instructions.system. Require Import revm.revm_interpreter.interpreter.links.shared_memory. Require Import revm.revm_interpreter.links.gas. @@ -21,23 +22,6 @@ Import from.Impl_Uint. Import lib.Impl_Uint. Import Impl_usize. -Ltac destruct_run_InterpreterTypes := - cbn; - eapply Run.Rewrite; [ - progress repeat erewrite IsTraitAssociatedType_eq - by match goal with - | H : InterpreterTypes.Run _ _ |- _ => apply H - end; - reflexivity - |]; - progress repeat match goal with - | H : InterpreterTypes.Run _ _ |- _ => destruct H - | H : StackTrait.Run _ |- _ => destruct H - | H : LoopControl.Run _ |- _ => destruct H - | H : InputsTrait.Run _ |- _ => destruct H - | H : MemoryTrait.Run _ |- _ => destruct H - end. - (* pub fn keccak256( interpreter: &mut Interpreter, @@ -55,7 +39,9 @@ Instance run_keccak256 unit. Proof. constructor. - destruct_run_InterpreterTypes. + InterpreterTypes.destruct_run. + destruct run_StackTrait_for_Stack. + destruct run_LoopControl_for_Control. run_symbolic. Admitted. @@ -76,7 +62,7 @@ Instance run_address unit. Proof. constructor. - destruct_run_InterpreterTypes. + InterpreterTypes.destruct_run. run_symbolic. Admitted. @@ -177,7 +163,10 @@ Instance run_calldatasize unit. Proof. constructor. - destruct_run_InterpreterTypes. + InterpreterTypes.destruct_run. + destruct run_StackTrait_for_Stack. + destruct run_LoopControl_for_Control. + destruct run_InputsTrait_for_Input. run_symbolic. Defined. @@ -198,7 +187,10 @@ Instance run_callvalue unit. Proof. constructor. - destruct_run_InterpreterTypes. + InterpreterTypes.destruct_run. + destruct run_StackTrait_for_Stack. + destruct run_LoopControl_for_Control. + destruct run_InputsTrait_for_Input. run_symbolic. Defined. @@ -222,6 +214,7 @@ Instance run_memory_resize Proof. constructor. destruct run_InterpreterTypes_for_WIRE. + destruct run_LoopControl_for_Control. run_symbolic. Admitted. @@ -242,7 +235,7 @@ Instance run_calldatacopy unit. Proof. constructor. - destruct_run_InterpreterTypes. + InterpreterTypes.destruct_run. run_symbolic. Admitted. @@ -303,6 +296,11 @@ Instance run_returndataload unit. Proof. constructor. + InterpreterTypes.destruct_run. + destruct run_StackTrait_for_Stack. + destruct run_LoopControl_for_Control. + destruct run_RuntimeFlag_for_RuntimeFlag. + destruct run_ReturnData_for_ReturnData. run_symbolic. Admitted. @@ -323,5 +321,8 @@ Instance run_gas unit. Proof. constructor. + InterpreterTypes.destruct_run. + destruct run_StackTrait_for_Stack. + destruct run_LoopControl_for_Control. run_symbolic. -Admitted. +Defined. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/memory.v b/CoqOfRust/revm/revm_interpreter/instructions/memory.v index a75373419..96d2384a3 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/memory.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/memory.v @@ -80,7 +80,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -263,7 +266,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -702,7 +709,7 @@ Module instructions. end. Global Instance Instance_IsFunction_mload : - M.IsFunction.Trait "revm_interpreter::instructions::memory::mload" mload. + M.IsFunction.C "revm_interpreter::instructions::memory::mload" mload. Admitted. Global Typeclasses Opaque mload. @@ -783,7 +790,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -951,7 +961,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -1289,7 +1303,7 @@ Module instructions. end. Global Instance Instance_IsFunction_mstore : - M.IsFunction.Trait "revm_interpreter::instructions::memory::mstore" mstore. + M.IsFunction.C "revm_interpreter::instructions::memory::mstore" mstore. Admitted. Global Typeclasses Opaque mstore. @@ -1370,7 +1384,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1538,7 +1555,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -1879,7 +1900,7 @@ Module instructions. end. Global Instance Instance_IsFunction_mstore8 : - M.IsFunction.Trait "revm_interpreter::instructions::memory::mstore8" mstore8. + M.IsFunction.C "revm_interpreter::instructions::memory::mstore8" mstore8. Admitted. Global Typeclasses Opaque mstore8. @@ -1957,7 +1978,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -2150,7 +2174,7 @@ Module instructions. end. Global Instance Instance_IsFunction_msize : - M.IsFunction.Trait "revm_interpreter::instructions::memory::msize" msize. + M.IsFunction.C "revm_interpreter::instructions::memory::msize" msize. Admitted. Global Typeclasses Opaque msize. @@ -2405,7 +2429,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -2762,7 +2790,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -2913,7 +2945,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -3235,7 +3271,7 @@ Module instructions. end. Global Instance Instance_IsFunction_mcopy : - M.IsFunction.Trait "revm_interpreter::instructions::memory::mcopy" mcopy. + M.IsFunction.C "revm_interpreter::instructions::memory::mcopy" mcopy. Admitted. Global Typeclasses Opaque mcopy. End memory. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/stack.v b/CoqOfRust/revm/revm_interpreter/instructions/stack.v index 6eff8a34c..20ae308a0 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/stack.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/stack.v @@ -78,7 +78,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -196,7 +199,7 @@ Module instructions. end. Global Instance Instance_IsFunction_pop : - M.IsFunction.Trait "revm_interpreter::instructions::stack::pop" pop. + M.IsFunction.C "revm_interpreter::instructions::stack::pop" pop. Admitted. Global Typeclasses Opaque pop. @@ -374,7 +377,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -461,7 +467,25 @@ Module instructions. "stack" |) |); - M.read (| M.get_constant "ruint::ZERO" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) ] |) |) @@ -518,7 +542,7 @@ Module instructions. end. Global Instance Instance_IsFunction_push0 : - M.IsFunction.Trait "revm_interpreter::instructions::stack::push0" push0. + M.IsFunction.C "revm_interpreter::instructions::stack::push0" push0. Admitted. Global Typeclasses Opaque push0. @@ -604,7 +628,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -691,7 +718,25 @@ Module instructions. "stack" |) |); - M.read (| M.get_constant "ruint::ZERO" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) ] |) |) @@ -850,7 +895,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::instructions::stack::push::N" + get_constant (| + "revm_interpreter::instructions::stack::push::N", + Ty.path "usize" + |) |) ] |) @@ -900,7 +948,10 @@ Module instructions. M.cast (Ty.path "isize") (M.read (| - M.get_constant "revm_interpreter::instructions::stack::push::N" + get_constant (| + "revm_interpreter::instructions::stack::push::N", + Ty.path "usize" + |) |)) ] |) @@ -914,7 +965,7 @@ Module instructions. end. Global Instance Instance_IsFunction_push : - M.IsFunction.Trait "revm_interpreter::instructions::stack::push" push. + M.IsFunction.C "revm_interpreter::instructions::stack::push" push. Admitted. Global Typeclasses Opaque push. @@ -996,7 +1047,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1083,7 +1137,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::instructions::stack::dup::N" + get_constant (| + "revm_interpreter::instructions::stack::dup::N", + Ty.path "usize" + |) |) ] |) @@ -1134,7 +1191,7 @@ Module instructions. end. Global Instance Instance_IsFunction_dup : - M.IsFunction.Trait "revm_interpreter::instructions::stack::dup" dup. + M.IsFunction.C "revm_interpreter::instructions::stack::dup" dup. Admitted. Global Typeclasses Opaque dup. @@ -1217,7 +1274,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1281,8 +1341,10 @@ Module instructions. UnOp.not (| BinOp.ne (| M.read (| - M.get_constant - "revm_interpreter::instructions::stack::swap::N" + get_constant (| + "revm_interpreter::instructions::stack::swap::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -1339,8 +1401,10 @@ Module instructions. |); Value.Integer IntegerKind.Usize 0; M.read (| - M.get_constant - "revm_interpreter::instructions::stack::swap::N" + get_constant (| + "revm_interpreter::instructions::stack::swap::N", + Ty.path "usize" + |) |) ] |) @@ -1391,7 +1455,7 @@ Module instructions. end. Global Instance Instance_IsFunction_swap : - M.IsFunction.Trait "revm_interpreter::instructions::stack::swap" swap. + M.IsFunction.C "revm_interpreter::instructions::stack::swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -1561,7 +1625,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1763,7 +1830,7 @@ Module instructions. end. Global Instance Instance_IsFunction_dupn : - M.IsFunction.Trait "revm_interpreter::instructions::stack::dupn" dupn. + M.IsFunction.C "revm_interpreter::instructions::stack::dupn" dupn. Admitted. Global Typeclasses Opaque dupn. @@ -1933,7 +2000,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2136,7 +2206,7 @@ Module instructions. end. Global Instance Instance_IsFunction_swapn : - M.IsFunction.Trait "revm_interpreter::instructions::stack::swapn" swapn. + M.IsFunction.C "revm_interpreter::instructions::stack::swapn" swapn. Admitted. Global Typeclasses Opaque swapn. @@ -2308,7 +2378,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2522,7 +2595,7 @@ Module instructions. end. Global Instance Instance_IsFunction_exchange : - M.IsFunction.Trait "revm_interpreter::instructions::stack::exchange" exchange. + M.IsFunction.C "revm_interpreter::instructions::stack::exchange" exchange. Admitted. Global Typeclasses Opaque exchange. End stack. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/system.v b/CoqOfRust/revm/revm_interpreter/instructions/system.v index 94918913b..3a7a7a0e5 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/system.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/system.v @@ -164,7 +164,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -467,7 +471,13 @@ Module instructions. M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_primitives::KECCAK_EMPTY")); + get_constant (| + "revm_primitives::KECCAK_EMPTY", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + |))); fun γ => ltac:(M.monadic (let~ from : Ty.path "usize" := @@ -531,8 +541,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -991,7 +1004,7 @@ Module instructions. end. Global Instance Instance_IsFunction_keccak256 : - M.IsFunction.Trait "revm_interpreter::instructions::system::keccak256" keccak256. + M.IsFunction.C "revm_interpreter::instructions::system::keccak256" keccak256. Admitted. Global Typeclasses Opaque keccak256. @@ -1072,7 +1085,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1293,7 +1309,7 @@ Module instructions. end. Global Instance Instance_IsFunction_address : - M.IsFunction.Trait "revm_interpreter::instructions::system::address" address. + M.IsFunction.C "revm_interpreter::instructions::system::address" address. Admitted. Global Typeclasses Opaque address. @@ -1374,7 +1390,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1595,7 +1614,7 @@ Module instructions. end. Global Instance Instance_IsFunction_caller : - M.IsFunction.Trait "revm_interpreter::instructions::system::caller" caller. + M.IsFunction.C "revm_interpreter::instructions::system::caller" caller. Admitted. Global Typeclasses Opaque caller. @@ -1673,7 +1692,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -1866,7 +1888,7 @@ Module instructions. end. Global Instance Instance_IsFunction_codesize : - M.IsFunction.Trait "revm_interpreter::instructions::system::codesize" codesize. + M.IsFunction.C "revm_interpreter::instructions::system::codesize" codesize. Admitted. Global Typeclasses Opaque codesize. @@ -2019,7 +2041,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -2279,7 +2305,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -2287,7 +2317,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -2370,7 +2406,7 @@ Module instructions. end. Global Instance Instance_IsFunction_codecopy : - M.IsFunction.Trait "revm_interpreter::instructions::system::codecopy" codecopy. + M.IsFunction.C "revm_interpreter::instructions::system::codecopy" codecopy. Admitted. Global Typeclasses Opaque codecopy. @@ -2463,7 +2499,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -2593,7 +2632,19 @@ Module instructions. (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ Value.Integer IntegerKind.Usize 32 ] [] := - M.copy (| M.get_constant "alloy_primitives::bits::fixed::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [], + "ZERO", + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + |) + |) in let~ offset : Ty.path "usize" := M.alloc (| M.call_closure (| @@ -2718,7 +2769,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -2726,7 +2781,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -3020,7 +3081,7 @@ Module instructions. end. Global Instance Instance_IsFunction_calldataload : - M.IsFunction.Trait "revm_interpreter::instructions::system::calldataload" calldataload. + M.IsFunction.C "revm_interpreter::instructions::system::calldataload" calldataload. Admitted. Global Typeclasses Opaque calldataload. @@ -3098,7 +3159,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -3315,7 +3379,7 @@ Module instructions. end. Global Instance Instance_IsFunction_calldatasize : - M.IsFunction.Trait "revm_interpreter::instructions::system::calldatasize" calldatasize. + M.IsFunction.C "revm_interpreter::instructions::system::calldatasize" calldatasize. Admitted. Global Typeclasses Opaque calldatasize. @@ -3393,7 +3457,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -3569,7 +3636,7 @@ Module instructions. end. Global Instance Instance_IsFunction_callvalue : - M.IsFunction.Trait "revm_interpreter::instructions::system::callvalue" callvalue. + M.IsFunction.C "revm_interpreter::instructions::system::callvalue" callvalue. Admitted. Global Typeclasses Opaque callvalue. @@ -3719,7 +3786,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -3979,7 +4050,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -3987,7 +4062,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -4070,7 +4151,7 @@ Module instructions. end. Global Instance Instance_IsFunction_calldatacopy : - M.IsFunction.Trait "revm_interpreter::instructions::system::calldatacopy" calldatacopy. + M.IsFunction.C "revm_interpreter::instructions::system::calldatacopy" calldatacopy. Admitted. Global Typeclasses Opaque calldatacopy. @@ -4251,7 +4332,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -4468,7 +4552,7 @@ Module instructions. end. Global Instance Instance_IsFunction_returndatasize : - M.IsFunction.Trait "revm_interpreter::instructions::system::returndatasize" returndatasize. + M.IsFunction.C "revm_interpreter::instructions::system::returndatasize" returndatasize. Admitted. Global Typeclasses Opaque returndatasize. @@ -4733,7 +4817,11 @@ Module instructions. M.cast (Ty.path "u64") (M.read (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) |)) |)) (BinOp.ne (| @@ -4946,7 +5034,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -4954,7 +5046,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -5225,7 +5323,7 @@ Module instructions. end. Global Instance Instance_IsFunction_returndatacopy : - M.IsFunction.Trait "revm_interpreter::instructions::system::returndatacopy" returndatacopy. + M.IsFunction.C "revm_interpreter::instructions::system::returndatacopy" returndatacopy. Admitted. Global Typeclasses Opaque returndatacopy. @@ -5405,7 +5503,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -5654,7 +5755,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -5662,7 +5767,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -5992,7 +6103,7 @@ Module instructions. end. Global Instance Instance_IsFunction_returndataload : - M.IsFunction.Trait "revm_interpreter::instructions::system::returndataload" returndataload. + M.IsFunction.C "revm_interpreter::instructions::system::returndataload" returndataload. Admitted. Global Typeclasses Opaque returndataload. @@ -6073,7 +6184,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -6285,7 +6399,7 @@ Module instructions. end. Global Instance Instance_IsFunction_gas : - M.IsFunction.Trait "revm_interpreter::instructions::system::gas" gas. + M.IsFunction.C "revm_interpreter::instructions::system::gas" gas. Admitted. Global Typeclasses Opaque gas. @@ -6574,7 +6688,13 @@ Module instructions. |), M.cast (Ty.path "u64") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |)) |)) (BinOp.ne (| M.read (| @@ -6846,7 +6966,7 @@ Module instructions. end. Global Instance Instance_IsFunction_memory_resize : - M.IsFunction.Trait "revm_interpreter::instructions::system::memory_resize" memory_resize. + M.IsFunction.C "revm_interpreter::instructions::system::memory_resize" memory_resize. Admitted. Global Typeclasses Opaque memory_resize. End system. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/tx_info.v b/CoqOfRust/revm/revm_interpreter/instructions/tx_info.v index 43bf1c1bf..032cf6faf 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/tx_info.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/tx_info.v @@ -81,7 +81,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -350,7 +353,7 @@ Module instructions. end. Global Instance Instance_IsFunction_gasprice : - M.IsFunction.Trait "revm_interpreter::instructions::tx_info::gasprice" gasprice. + M.IsFunction.C "revm_interpreter::instructions::tx_info::gasprice" gasprice. Admitted. Global Typeclasses Opaque gasprice. @@ -431,7 +434,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::BASE" + get_constant (| + "revm_interpreter::gas::constants::BASE", + Ty.path "u64" + |) |) ] |) @@ -711,7 +717,7 @@ Module instructions. end. Global Instance Instance_IsFunction_origin : - M.IsFunction.Trait "revm_interpreter::instructions::tx_info::origin" origin. + M.IsFunction.C "revm_interpreter::instructions::tx_info::origin" origin. Admitted. Global Typeclasses Opaque origin. @@ -901,7 +907,10 @@ Module instructions. |) |); M.read (| - M.get_constant "revm_interpreter::gas::constants::VERYLOW" + get_constant (| + "revm_interpreter::gas::constants::VERYLOW", + Ty.path "u64" + |) |) ] |) @@ -1150,7 +1159,11 @@ Module instructions. |))); fun γ => ltac:(M.monadic - (M.get_constant "core::num::MAX")) + (get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |))) ] |))) ] @@ -1158,7 +1171,13 @@ Module instructions. |) ] |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] |) |) in @@ -1712,11 +1731,47 @@ Module instructions. end)) ] |); - M.read (| M.get_constant "ruint::ZERO" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) ] |) |))); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |))) ] |) |) @@ -1731,7 +1786,7 @@ Module instructions. end. Global Instance Instance_IsFunction_blob_hash : - M.IsFunction.Trait "revm_interpreter::instructions::tx_info::blob_hash" blob_hash. + M.IsFunction.C "revm_interpreter::instructions::tx_info::blob_hash" blob_hash. Admitted. Global Typeclasses Opaque blob_hash. End tx_info. diff --git a/CoqOfRust/revm/revm_interpreter/instructions/utility.v b/CoqOfRust/revm/revm_interpreter/instructions/utility.v index a9df2e343..f69af0565 100644 --- a/CoqOfRust/revm/revm_interpreter/instructions/utility.v +++ b/CoqOfRust/revm/revm_interpreter/instructions/utility.v @@ -1296,7 +1296,7 @@ Module instructions. end. Global Instance Instance_IsFunction_cast_slice_to_u256 : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::instructions::utility::cast_slice_to_u256" cast_slice_to_u256. Admitted. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter.v b/CoqOfRust/revm/revm_interpreter/interpreter.v index 5d6682ffc..1687615c7 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter.v @@ -843,7 +843,7 @@ Module interpreter. Global Instance AssociatedFunction_new : forall (EXT MG : Ty.t), - M.IsAssociatedFunction.Trait (Self EXT MG) "new" (new EXT MG). + M.IsAssociatedFunction.C (Self EXT MG) "new" (new EXT MG). Admitted. Global Typeclasses Opaque new. End Impl_revm_interpreter_interpreter_Interpreter_revm_interpreter_interpreter_EthInterpreter_EXT_MG. @@ -1517,7 +1517,7 @@ Module interpreter. Global Instance AssociatedFunction_step : forall (IW : Ty.t), - M.IsAssociatedFunction.Trait (Self IW) "step" (step IW). + M.IsAssociatedFunction.C (Self IW) "step" (step IW). Admitted. Global Typeclasses Opaque step. @@ -1858,7 +1858,7 @@ Module interpreter. Global Instance AssociatedFunction_run : forall (IW : Ty.t), - M.IsAssociatedFunction.Trait (Self IW) "run" (run IW). + M.IsAssociatedFunction.C (Self IW) "run" (run IW). Admitted. Global Typeclasses Opaque run. End Impl_revm_interpreter_interpreter_Interpreter_IW. @@ -2278,7 +2278,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -2313,7 +2313,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ok : M.IsAssociatedFunction.Trait Self "is_ok" is_ok. + Global Instance AssociatedFunction_is_ok : M.IsAssociatedFunction.C Self "is_ok" is_ok. Admitted. Global Typeclasses Opaque is_ok. @@ -2349,7 +2349,7 @@ Module interpreter. end. Global Instance AssociatedFunction_is_revert : - M.IsAssociatedFunction.Trait Self "is_revert" is_revert. + M.IsAssociatedFunction.C Self "is_revert" is_revert. Admitted. Global Typeclasses Opaque is_revert. @@ -2384,8 +2384,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_error : - M.IsAssociatedFunction.Trait Self "is_error" is_error. + Global Instance AssociatedFunction_is_error : M.IsAssociatedFunction.C Self "is_error" is_error. Admitted. Global Typeclasses Opaque is_error. End Impl_revm_interpreter_interpreter_InterpreterResult. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter/ext_bytecode.v b/CoqOfRust/revm/revm_interpreter/interpreter/ext_bytecode.v index 7ef7ccaaf..49fd31c55 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter/ext_bytecode.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter/ext_bytecode.v @@ -227,7 +227,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_revm_interpreter_interpreter_ext_bytecode_ExtBytecode. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter/links/stack.v b/CoqOfRust/revm/revm_interpreter/interpreter/links/stack.v index 92d271392..f2aac0abd 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter/links/stack.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter/links/stack.v @@ -17,6 +17,7 @@ Require Import ruint.links.lib. Import Impl_Option. Import Impl_Slice. Import Impl_SliceIndex_for_Usize. +Import Impl_Uint. Import Impl_Vec_T. Import Impl_Vec_T_A. @@ -74,17 +75,14 @@ Module Stack. End SubPointer. End Stack. -Definition STACK_LIMIT : Usize.t := - {| Integer.value := 1024 |}. - -Lemma STACK_LIMIT_eq : - M.get_constant "revm_interpreter::interpreter::stack::STACK_LIMIT" = - φ (Ref.immediate Pointer.Kind.Raw STACK_LIMIT). +Instance run_STACK_LIMIT : + Run.Trait + interpreter.stack.value_STACK_LIMIT [] [] [] + (Ref.t Pointer.Kind.Raw Usize.t). Proof. - repeat (autorewrite with constant_rewrites || cbn). - reflexivity. -Qed. -Global Hint Rewrite STACK_LIMIT_eq : run_constant. + constructor. + run_symbolic. +Defined. Module Impl_Stack. Definition Self : Set := @@ -186,25 +184,7 @@ Module Impl_Stack. (array.t aliases.U256.t N). Proof. constructor. - assert (H_N_eq : - M.get_constant "revm_interpreter::interpreter::stack::popn::N" = - φ (Ref.immediate Pointer.Kind.Raw N) - ) by admit. - assert (H_ZERO_eq : - M.get_constant "ruint::ZERO" = - φ (Ref.immediate Pointer.Kind.Raw ( - Impl_Uint.ZERO {| Integer.value := 256 |} {| Integer.value := 4 |} - )) - ) by admit. - repeat ( - run_symbolic || - match goal with - | [ |- context[M.get_constant "revm_interpreter::interpreter::stack::popn::N"] ] => - eapply Run.Rewrite; [rewrite H_N_eq; reflexivity |] - | [ |- context[M.get_constant "ruint::ZERO"] ] => - eapply Run.Rewrite; [rewrite H_ZERO_eq; reflexivity |] - end - ). + run_symbolic. Admitted. (* pub unsafe fn popn_top(&mut self) -> ([U256; POPN], &mut U256) *) diff --git a/CoqOfRust/revm/revm_interpreter/interpreter/loop_control.v b/CoqOfRust/revm/revm_interpreter/interpreter/loop_control.v index b260a3b14..0791ebe7e 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter/loop_control.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter/loop_control.v @@ -60,7 +60,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_revm_interpreter_interpreter_loop_control_LoopControl. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter/shared_memory.v b/CoqOfRust/revm/revm_interpreter/interpreter/shared_memory.v index 733738bef..545f6e9a7 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter/shared_memory.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter/shared_memory.v @@ -454,55 +454,60 @@ Module interpreter. (* Instance *) [ ("hash", InstanceField.Method hash) ]. End Impl_core_hash_Hash_for_revm_interpreter_interpreter_shared_memory_SharedMemory. - Definition value_EMPTY_SHARED_MEMORY : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructRecord - "revm_interpreter::interpreter::shared_memory::SharedMemory" - [ - ("buffer", - M.call_closure (| + Definition value_EMPTY_SHARED_MEMORY + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + Value.StructRecord + "revm_interpreter::interpreter::shared_memory::SharedMemory" + [ + ("buffer", + M.call_closure (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [] + [ Ty.path "u8"; Ty.path "alloc::alloc::Global" ], + M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [] [ Ty.path "u8"; Ty.path "alloc::alloc::Global" ], - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [] - [ Ty.path "u8"; Ty.path "alloc::alloc::Global" ], - "new", - [], - [] - |), + "new", + [], [] - |)); - ("checkpoints", - M.call_closure (| + |), + [] + |)); + ("checkpoints", + M.call_closure (| + Ty.apply + (Ty.path "alloc::vec::Vec") + [] + [ Ty.path "usize"; Ty.path "alloc::alloc::Global" ], + M.get_associated_function (| Ty.apply (Ty.path "alloc::vec::Vec") [] [ Ty.path "usize"; Ty.path "alloc::alloc::Global" ], - M.get_associated_function (| - Ty.apply - (Ty.path "alloc::vec::Vec") - [] - [ Ty.path "usize"; Ty.path "alloc::alloc::Global" ], - "new", - [], - [] - |), + "new", + [], [] - |)); - ("last_checkpoint", Value.Integer IntegerKind.Usize 0) - ] - |))). + |), + [] + |)); + ("last_checkpoint", Value.Integer IntegerKind.Usize 0) + ] + |))). - Axiom Constant_value_EMPTY_SHARED_MEMORY : - (M.get_constant "revm_interpreter::interpreter::shared_memory::EMPTY_SHARED_MEMORY") = + Global Instance Instance_IsConstant_value_EMPTY_SHARED_MEMORY : + M.IsFunction.C + "revm_interpreter::interpreter::shared_memory::EMPTY_SHARED_MEMORY" value_EMPTY_SHARED_MEMORY. - Global Hint Rewrite Constant_value_EMPTY_SHARED_MEMORY : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_EMPTY_SHARED_MEMORY. Module Impl_core_fmt_Debug_for_revm_interpreter_interpreter_shared_memory_SharedMemory. Definition Self : Ty.t := @@ -1629,7 +1634,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1692,7 +1697,7 @@ Module interpreter. end. Global Instance AssociatedFunction_with_capacity : - M.IsAssociatedFunction.Trait Self "with_capacity" with_capacity. + M.IsAssociatedFunction.C Self "with_capacity" with_capacity. Admitted. Global Typeclasses Opaque with_capacity. @@ -1777,7 +1782,7 @@ Module interpreter. end. Global Instance AssociatedFunction_new_context : - M.IsAssociatedFunction.Trait Self "new_context" new_context. + M.IsAssociatedFunction.C Self "new_context" new_context. Admitted. Global Typeclasses Opaque new_context. @@ -1953,7 +1958,7 @@ Module interpreter. end. Global Instance AssociatedFunction_free_context : - M.IsAssociatedFunction.Trait Self "free_context" free_context. + M.IsAssociatedFunction.C Self "free_context" free_context. Admitted. Global Typeclasses Opaque free_context. @@ -2001,7 +2006,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -2032,7 +2037,7 @@ Module interpreter. end. Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -2089,7 +2094,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_resize : M.IsAssociatedFunction.Trait Self "resize" resize. + Global Instance AssociatedFunction_resize : M.IsAssociatedFunction.C Self "resize" resize. Admitted. Global Typeclasses Opaque resize. @@ -2132,7 +2137,7 @@ Module interpreter. end. Global Instance AssociatedFunction_slice_len : - M.IsAssociatedFunction.Trait Self "slice_len" slice_len. + M.IsAssociatedFunction.C Self "slice_len" slice_len. Admitted. Global Typeclasses Opaque slice_len. @@ -2471,7 +2476,7 @@ Module interpreter. end. Global Instance AssociatedFunction_slice_range : - M.IsAssociatedFunction.Trait Self "slice_range" slice_range. + M.IsAssociatedFunction.C Self "slice_range" slice_range. Admitted. Global Typeclasses Opaque slice_range. @@ -2737,7 +2742,7 @@ Module interpreter. end. Global Instance AssociatedFunction_slice_mut : - M.IsAssociatedFunction.Trait Self "slice_mut" slice_mut. + M.IsAssociatedFunction.C Self "slice_mut" slice_mut. Admitted. Global Typeclasses Opaque slice_mut. @@ -2777,7 +2782,7 @@ Module interpreter. end. Global Instance AssociatedFunction_get_byte : - M.IsAssociatedFunction.Trait Self "get_byte" get_byte. + M.IsAssociatedFunction.C Self "get_byte" get_byte. Admitted. Global Typeclasses Opaque get_byte. @@ -2869,7 +2874,7 @@ Module interpreter. end. Global Instance AssociatedFunction_get_word : - M.IsAssociatedFunction.Trait Self "get_word" get_word. + M.IsAssociatedFunction.C Self "get_word" get_word. Admitted. Global Typeclasses Opaque get_word. @@ -2929,7 +2934,7 @@ Module interpreter. end. Global Instance AssociatedFunction_get_u256 : - M.IsAssociatedFunction.Trait Self "get_u256" get_u256. + M.IsAssociatedFunction.C Self "get_u256" get_u256. Admitted. Global Typeclasses Opaque get_u256. @@ -2977,7 +2982,7 @@ Module interpreter. end. Global Instance AssociatedFunction_set_byte : - M.IsAssociatedFunction.Trait Self "set_byte" set_byte. + M.IsAssociatedFunction.C Self "set_byte" set_byte. Admitted. Global Typeclasses Opaque set_byte. @@ -3048,7 +3053,7 @@ Module interpreter. end. Global Instance AssociatedFunction_set_word : - M.IsAssociatedFunction.Trait Self "set_word" set_word. + M.IsAssociatedFunction.C Self "set_word" set_word. Admitted. Global Typeclasses Opaque set_word. @@ -3116,7 +3121,7 @@ Module interpreter. end. Global Instance AssociatedFunction_set_u256 : - M.IsAssociatedFunction.Trait Self "set_u256" set_u256. + M.IsAssociatedFunction.C Self "set_u256" set_u256. Admitted. Global Typeclasses Opaque set_u256. @@ -3222,7 +3227,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set : M.IsAssociatedFunction.Trait Self "set" set. + Global Instance AssociatedFunction_set : M.IsAssociatedFunction.C Self "set" set. Admitted. Global Typeclasses Opaque set. @@ -3575,7 +3580,7 @@ Module interpreter. end. Global Instance AssociatedFunction_set_data : - M.IsAssociatedFunction.Trait Self "set_data" set_data. + M.IsAssociatedFunction.C Self "set_data" set_data. Admitted. Global Typeclasses Opaque set_data. @@ -3637,7 +3642,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_copy : M.IsAssociatedFunction.Trait Self "copy" copy. + Global Instance AssociatedFunction_copy : M.IsAssociatedFunction.C Self "copy" copy. Admitted. Global Typeclasses Opaque copy. @@ -3743,7 +3748,7 @@ Module interpreter. end. Global Instance AssociatedFunction_context_memory : - M.IsAssociatedFunction.Trait Self "context_memory" context_memory. + M.IsAssociatedFunction.C Self "context_memory" context_memory. Admitted. Global Typeclasses Opaque context_memory. @@ -3872,7 +3877,7 @@ Module interpreter. end. Global Instance AssociatedFunction_context_memory_mut : - M.IsAssociatedFunction.Trait Self "context_memory_mut" context_memory_mut. + M.IsAssociatedFunction.C Self "context_memory_mut" context_memory_mut. Admitted. Global Typeclasses Opaque context_memory_mut. End Impl_revm_interpreter_interpreter_shared_memory_SharedMemory. @@ -3899,7 +3904,7 @@ Module interpreter. end. Global Instance Instance_IsFunction_num_words : - M.IsFunction.Trait "revm_interpreter::interpreter::shared_memory::num_words" num_words. + M.IsFunction.C "revm_interpreter::interpreter::shared_memory::num_words" num_words. Admitted. Global Typeclasses Opaque num_words. End shared_memory. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter/stack.v b/CoqOfRust/revm/revm_interpreter/interpreter/stack.v index 359ca6f79..3a59fb212 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter/stack.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter/stack.v @@ -3,12 +3,13 @@ Require Import CoqOfRust.CoqOfRust. Module interpreter. Module stack. - Definition value_STACK_LIMIT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 1024 |))). + Definition value_STACK_LIMIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 1024 |))). - Axiom Constant_value_STACK_LIMIT : - (M.get_constant "revm_interpreter::interpreter::stack::STACK_LIMIT") = value_STACK_LIMIT. - Global Hint Rewrite Constant_value_STACK_LIMIT : constant_rewrites. + Global Instance Instance_IsConstant_value_STACK_LIMIT : + M.IsFunction.C "revm_interpreter::interpreter::stack::STACK_LIMIT" value_STACK_LIMIT. + Admitted. + Global Typeclasses Opaque value_STACK_LIMIT. (* StructRecord { @@ -1304,7 +1305,10 @@ Module interpreter. ] |), M.read (| - M.get_constant "revm_interpreter::interpreter::stack::popn::N" + get_constant (| + "revm_interpreter::interpreter::stack::popn::N", + Ty.path "usize" + |) |) |) |)) in @@ -1397,8 +1401,10 @@ Module interpreter. |), BinOp.Wrap.add (| M.read (| - M.get_constant - "revm_interpreter::interpreter::stack::popn_top::POPN" + get_constant (| + "revm_interpreter::interpreter::stack::popn_top::POPN", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -1609,7 +1615,10 @@ Module interpreter. |), [ M.read (| - M.get_constant "revm_interpreter::interpreter::stack::STACK_LIMIT" + get_constant (| + "revm_interpreter::interpreter::stack::STACK_LIMIT", + Ty.path "usize" + |) |) ] |)) @@ -1617,7 +1626,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1662,7 +1671,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -1708,7 +1717,7 @@ Module interpreter. end. Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -1738,7 +1747,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_data : M.IsAssociatedFunction.Trait Self "data" data. + Global Instance AssociatedFunction_data : M.IsAssociatedFunction.C Self "data" data. Admitted. Global Typeclasses Opaque data. @@ -1774,7 +1783,7 @@ Module interpreter. end. Global Instance AssociatedFunction_data_mut : - M.IsAssociatedFunction.Trait Self "data_mut" data_mut. + M.IsAssociatedFunction.C Self "data_mut" data_mut. Admitted. Global Typeclasses Opaque data_mut. @@ -1799,7 +1808,7 @@ Module interpreter. end. Global Instance AssociatedFunction_into_data : - M.IsAssociatedFunction.Trait Self "into_data" into_data. + M.IsAssociatedFunction.C Self "into_data" into_data. Admitted. Global Typeclasses Opaque into_data. @@ -1883,7 +1892,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_pop : M.IsAssociatedFunction.Trait Self "pop" pop. + Global Instance AssociatedFunction_pop : M.IsAssociatedFunction.C Self "pop" pop. Admitted. Global Typeclasses Opaque pop. @@ -1959,7 +1968,7 @@ Module interpreter. end. Global Instance AssociatedFunction_pop_unsafe : - M.IsAssociatedFunction.Trait Self "pop_unsafe" pop_unsafe. + M.IsAssociatedFunction.C Self "pop_unsafe" pop_unsafe. Admitted. Global Typeclasses Opaque pop_unsafe. @@ -2115,7 +2124,7 @@ Module interpreter. end. Global Instance AssociatedFunction_top_unsafe : - M.IsAssociatedFunction.Trait Self "top_unsafe" top_unsafe. + M.IsAssociatedFunction.C Self "top_unsafe" top_unsafe. Admitted. Global Typeclasses Opaque top_unsafe. @@ -2151,7 +2160,10 @@ Module interpreter. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "revm_interpreter::interpreter::stack::popn::N" + get_constant (| + "revm_interpreter::interpreter::stack::popn::N", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -2162,7 +2174,28 @@ Module interpreter. M.never_to_any (| M.read (| M.return_ (| - repeat (| M.read (| M.get_constant "ruint::ZERO" |), N |) + repeat (| + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |), + N + |) |) |) |) @@ -2181,7 +2214,30 @@ Module interpreter. ] [] ] := - M.alloc (| repeat (| M.read (| M.get_constant "ruint::ZERO" |), N |) |) in + M.alloc (| + repeat (| + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |), + N + |) + |) in let~ _ : Ty.tuple [] := M.use (M.match_operator (| @@ -2424,7 +2480,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_popn : M.IsAssociatedFunction.Trait Self "popn" popn. + Global Instance AssociatedFunction_popn : M.IsAssociatedFunction.C Self "popn" popn. Admitted. Global Typeclasses Opaque popn. @@ -2513,7 +2569,7 @@ Module interpreter. end. Global Instance AssociatedFunction_popn_top : - M.IsAssociatedFunction.Trait Self "popn_top" popn_top. + M.IsAssociatedFunction.C Self "popn_top" popn_top. Admitted. Global Typeclasses Opaque popn_top. @@ -2581,8 +2637,10 @@ Module interpreter. ] |), M.read (| - M.get_constant - "revm_interpreter::interpreter::stack::STACK_LIMIT" + get_constant (| + "revm_interpreter::interpreter::stack::STACK_LIMIT", + Ty.path "usize" + |) |) |) |) @@ -2755,8 +2813,10 @@ Module interpreter. ] |), M.read (| - M.get_constant - "revm_interpreter::interpreter::stack::STACK_LIMIT" + get_constant (| + "revm_interpreter::interpreter::stack::STACK_LIMIT", + Ty.path "usize" + |) |) |) |)) in @@ -2809,7 +2869,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_push : M.IsAssociatedFunction.Trait Self "push" push. + Global Instance AssociatedFunction_push : M.IsAssociatedFunction.C Self "push" push. Admitted. Global Typeclasses Opaque push. @@ -2993,7 +3053,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_peek : M.IsAssociatedFunction.Trait Self "peek" peek. + Global Instance AssociatedFunction_peek : M.IsAssociatedFunction.C Self "peek" peek. Admitted. Global Typeclasses Opaque peek. @@ -3204,8 +3264,10 @@ Module interpreter. Value.Integer IntegerKind.Usize 1 |), M.read (| - M.get_constant - "revm_interpreter::interpreter::stack::STACK_LIMIT" + get_constant (| + "revm_interpreter::interpreter::stack::STACK_LIMIT", + Ty.path "usize" + |) |) |))) |) @@ -3409,7 +3471,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_dup : M.IsAssociatedFunction.Trait Self "dup" dup. + Global Instance AssociatedFunction_dup : M.IsAssociatedFunction.C Self "dup" dup. Admitted. Global Typeclasses Opaque dup. @@ -3441,7 +3503,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.Trait Self "swap" swap. + Global Instance AssociatedFunction_swap : M.IsAssociatedFunction.C Self "swap" swap. Admitted. Global Typeclasses Opaque swap. @@ -3856,7 +3918,7 @@ Module interpreter. end. Global Instance AssociatedFunction_exchange : - M.IsAssociatedFunction.Trait Self "exchange" exchange. + M.IsAssociatedFunction.C Self "exchange" exchange. Admitted. Global Typeclasses Opaque exchange. @@ -4041,8 +4103,10 @@ Module interpreter. BinOp.gt (| M.read (| new_len |), M.read (| - M.get_constant - "revm_interpreter::interpreter::stack::STACK_LIMIT" + get_constant (| + "revm_interpreter::interpreter::stack::STACK_LIMIT", + Ty.path "usize" + |) |) |) |)) in @@ -5363,7 +5427,7 @@ Module interpreter. end. Global Instance AssociatedFunction_push_slice : - M.IsAssociatedFunction.Trait Self "push_slice" push_slice. + M.IsAssociatedFunction.C Self "push_slice" push_slice. Admitted. Global Typeclasses Opaque push_slice. @@ -5547,7 +5611,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_set : M.IsAssociatedFunction.Trait Self "set" set. + Global Instance AssociatedFunction_set : M.IsAssociatedFunction.C Self "set" set. Admitted. Global Typeclasses Opaque set. End Impl_revm_interpreter_interpreter_stack_Stack. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter/subroutine_stack.v b/CoqOfRust/revm/revm_interpreter/interpreter/subroutine_stack.v index 877d41c5e..efadece21 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter/subroutine_stack.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter/subroutine_stack.v @@ -391,7 +391,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_revm_interpreter_interpreter_subroutine_stack_SubRoutineReturnFrame. @@ -843,7 +843,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -886,7 +886,7 @@ Module interpreter. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -930,7 +930,7 @@ Module interpreter. end. Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -974,7 +974,7 @@ Module interpreter. end. Global Instance AssociatedFunction_return_stack_len : - M.IsAssociatedFunction.Trait Self "return_stack_len" return_stack_len. + M.IsAssociatedFunction.C Self "return_stack_len" return_stack_len. Admitted. Global Typeclasses Opaque return_stack_len. @@ -1007,7 +1007,7 @@ Module interpreter. end. Global Instance AssociatedFunction_set_current_code_idx : - M.IsAssociatedFunction.Trait Self "set_current_code_idx" set_current_code_idx. + M.IsAssociatedFunction.C Self "set_current_code_idx" set_current_code_idx. Admitted. Global Typeclasses Opaque set_current_code_idx. End Impl_revm_interpreter_interpreter_subroutine_stack_SubRoutineImpl. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter_action.v b/CoqOfRust/revm/revm_interpreter/interpreter_action.v index 84abd324c..67b3772ce 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter_action.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter_action.v @@ -1234,8 +1234,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_call : - M.IsAssociatedFunction.Trait Self "is_call" is_call. + Global Instance AssociatedFunction_is_call : M.IsAssociatedFunction.C Self "is_call" is_call. Admitted. Global Typeclasses Opaque is_call. @@ -1277,7 +1276,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_is_create : - M.IsAssociatedFunction.Trait Self "is_create" is_create. + M.IsAssociatedFunction.C Self "is_create" is_create. Admitted. Global Typeclasses Opaque is_create. @@ -1313,7 +1312,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_is_return : - M.IsAssociatedFunction.Trait Self "is_return" is_return. + M.IsAssociatedFunction.C Self "is_return" is_return. Admitted. Global Typeclasses Opaque is_return. @@ -1348,8 +1347,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_none : - M.IsAssociatedFunction.Trait Self "is_none" is_none. + Global Instance AssociatedFunction_is_none : M.IsAssociatedFunction.C Self "is_none" is_none. Admitted. Global Typeclasses Opaque is_none. @@ -1378,8 +1376,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_some : - M.IsAssociatedFunction.Trait Self "is_some" is_some. + Global Instance AssociatedFunction_is_some : M.IsAssociatedFunction.C Self "is_some" is_some. Admitted. Global Typeclasses Opaque is_some. @@ -1426,7 +1423,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_into_result_return : - M.IsAssociatedFunction.Trait Self "into_result_return" into_result_return. + M.IsAssociatedFunction.C Self "into_result_return" into_result_return. Admitted. Global Typeclasses Opaque into_result_return. End Impl_revm_interpreter_interpreter_action_InterpreterAction. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter_action/call_inputs.v b/CoqOfRust/revm/revm_interpreter/interpreter_action/call_inputs.v index d56b0dc7b..2b128bb4e 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter_action/call_inputs.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter_action/call_inputs.v @@ -1463,7 +1463,26 @@ Module interpreter_action. |), [ M.borrow (| Pointer.Kind.Ref, x |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ + Value.Integer IntegerKind.Usize 256; + Value.Integer IntegerKind.Usize 4 + ] + [] + |) + |) ] |))) ] @@ -1476,7 +1495,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_transfers_value : - M.IsAssociatedFunction.Trait Self "transfers_value" transfers_value. + M.IsAssociatedFunction.C Self "transfers_value" transfers_value. Admitted. Global Typeclasses Opaque transfers_value. @@ -1521,7 +1540,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_transfer_value : - M.IsAssociatedFunction.Trait Self "transfer_value" transfer_value. + M.IsAssociatedFunction.C Self "transfer_value" transfer_value. Admitted. Global Typeclasses Opaque transfer_value. @@ -1566,7 +1585,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_apparent_value : - M.IsAssociatedFunction.Trait Self "apparent_value" apparent_value. + M.IsAssociatedFunction.C Self "apparent_value" apparent_value. Admitted. Global Typeclasses Opaque apparent_value. @@ -1591,7 +1610,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_transfer_from : - M.IsAssociatedFunction.Trait Self "transfer_from" transfer_from. + M.IsAssociatedFunction.C Self "transfer_from" transfer_from. Admitted. Global Typeclasses Opaque transfer_from. @@ -1616,7 +1635,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_transfer_to : - M.IsAssociatedFunction.Trait Self "transfer_to" transfer_to. + M.IsAssociatedFunction.C Self "transfer_to" transfer_to. Admitted. Global Typeclasses Opaque transfer_to. @@ -1656,7 +1675,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_call_value : - M.IsAssociatedFunction.Trait Self "call_value" call_value. + M.IsAssociatedFunction.C Self "call_value" call_value. Admitted. Global Typeclasses Opaque call_value. End Impl_revm_interpreter_interpreter_action_call_inputs_CallInputs. @@ -2105,7 +2124,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_ext : M.IsAssociatedFunction.Trait Self "is_ext" is_ext. + Global Instance AssociatedFunction_is_ext : M.IsAssociatedFunction.C Self "is_ext" is_ext. Admitted. Global Typeclasses Opaque is_ext. @@ -2141,7 +2160,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_is_ext_delegate_call : - M.IsAssociatedFunction.Trait Self "is_ext_delegate_call" is_ext_delegate_call. + M.IsAssociatedFunction.C Self "is_ext_delegate_call" is_ext_delegate_call. Admitted. Global Typeclasses Opaque is_ext_delegate_call. End Impl_revm_interpreter_interpreter_action_call_inputs_CallScheme. @@ -2791,7 +2810,21 @@ Module interpreter_action. ltac:(M.monadic (Value.StructTuple "revm_interpreter::interpreter_action::call_inputs::CallValue::Transfer" - [ M.read (| M.get_constant "ruint::ZERO" |) ])) + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [] + |) + |) + ])) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -2868,7 +2901,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -2927,7 +2960,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_transfer : - M.IsAssociatedFunction.Trait Self "transfer" transfer. + M.IsAssociatedFunction.C Self "transfer" transfer. Admitted. Global Typeclasses Opaque transfer. @@ -2964,7 +2997,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_is_transfer : - M.IsAssociatedFunction.Trait Self "is_transfer" is_transfer. + M.IsAssociatedFunction.C Self "is_transfer" is_transfer. Admitted. Global Typeclasses Opaque is_transfer. @@ -3023,7 +3056,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_apparent : - M.IsAssociatedFunction.Trait Self "apparent" apparent. + M.IsAssociatedFunction.C Self "apparent" apparent. Admitted. Global Typeclasses Opaque apparent. @@ -3060,7 +3093,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_is_apparent : - M.IsAssociatedFunction.Trait Self "is_apparent" is_apparent. + M.IsAssociatedFunction.C Self "is_apparent" is_apparent. Admitted. Global Typeclasses Opaque is_apparent. End Impl_revm_interpreter_interpreter_action_call_inputs_CallValue. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter_action/call_outcome.v b/CoqOfRust/revm/revm_interpreter/interpreter_action/call_outcome.v index 5172c40f4..805242063 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter_action/call_outcome.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter_action/call_outcome.v @@ -335,7 +335,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -370,7 +370,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_instruction_result : - M.IsAssociatedFunction.Trait Self "instruction_result" instruction_result. + M.IsAssociatedFunction.C Self "instruction_result" instruction_result. Admitted. Global Typeclasses Opaque instruction_result. @@ -398,7 +398,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_gas : M.IsAssociatedFunction.Trait Self "gas" gas. + Global Instance AssociatedFunction_gas : M.IsAssociatedFunction.C Self "gas" gas. Admitted. Global Typeclasses Opaque gas. @@ -432,7 +432,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_output : M.IsAssociatedFunction.Trait Self "output" output. + Global Instance AssociatedFunction_output : M.IsAssociatedFunction.C Self "output" output. Admitted. Global Typeclasses Opaque output. @@ -461,7 +461,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_memory_start : - M.IsAssociatedFunction.Trait Self "memory_start" memory_start. + M.IsAssociatedFunction.C Self "memory_start" memory_start. Admitted. Global Typeclasses Opaque memory_start. @@ -501,7 +501,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_memory_length : - M.IsAssociatedFunction.Trait Self "memory_length" memory_length. + M.IsAssociatedFunction.C Self "memory_length" memory_length. Admitted. Global Typeclasses Opaque memory_length. End Impl_revm_interpreter_interpreter_action_call_outcome_CallOutcome. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter_action/create_inputs.v b/CoqOfRust/revm/revm_interpreter/interpreter_action/create_inputs.v index 4b1d7ea9e..a491901fa 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter_action/create_inputs.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter_action/create_inputs.v @@ -884,7 +884,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_created_address : - M.IsAssociatedFunction.Trait Self "created_address" created_address. + M.IsAssociatedFunction.C Self "created_address" created_address. Admitted. Global Typeclasses Opaque created_address. End Impl_revm_interpreter_interpreter_action_create_inputs_CreateInputs. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter_action/create_outcome.v b/CoqOfRust/revm/revm_interpreter/interpreter_action/create_outcome.v index 3e7c1fcb2..10d092c66 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter_action/create_outcome.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter_action/create_outcome.v @@ -350,7 +350,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -385,7 +385,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_instruction_result : - M.IsAssociatedFunction.Trait Self "instruction_result" instruction_result. + M.IsAssociatedFunction.C Self "instruction_result" instruction_result. Admitted. Global Typeclasses Opaque instruction_result. @@ -419,7 +419,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_output : M.IsAssociatedFunction.Trait Self "output" output. + Global Instance AssociatedFunction_output : M.IsAssociatedFunction.C Self "output" output. Admitted. Global Typeclasses Opaque output. @@ -453,7 +453,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_gas : M.IsAssociatedFunction.Trait Self "gas" gas. + Global Instance AssociatedFunction_gas : M.IsAssociatedFunction.C Self "gas" gas. Admitted. Global Typeclasses Opaque gas. End Impl_revm_interpreter_interpreter_action_create_outcome_CreateOutcome. diff --git a/CoqOfRust/revm/revm_interpreter/interpreter_action/eof_create_inputs.v b/CoqOfRust/revm/revm_interpreter/interpreter_action/eof_create_inputs.v index 87d2553a3..6c99a6c4a 100644 --- a/CoqOfRust/revm/revm_interpreter/interpreter_action/eof_create_inputs.v +++ b/CoqOfRust/revm/revm_interpreter/interpreter_action/eof_create_inputs.v @@ -700,7 +700,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_created_address : - M.IsAssociatedFunction.Trait Self "created_address" created_address. + M.IsAssociatedFunction.C Self "created_address" created_address. Admitted. Global Typeclasses Opaque created_address. End Impl_revm_interpreter_interpreter_action_eof_create_inputs_EOFCreateKind. @@ -1391,7 +1391,7 @@ Module interpreter_action. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -1451,7 +1451,7 @@ Module interpreter_action. end. Global Instance AssociatedFunction_new_opcode : - M.IsAssociatedFunction.Trait Self "new_opcode" new_opcode. + M.IsAssociatedFunction.C Self "new_opcode" new_opcode. Admitted. Global Typeclasses Opaque new_opcode. End Impl_revm_interpreter_interpreter_action_eof_create_inputs_EOFCreateInputs. diff --git a/CoqOfRust/revm/revm_interpreter/links/instructions.v b/CoqOfRust/revm/revm_interpreter/links/instructions.v index ef31f448e..170f6781b 100644 --- a/CoqOfRust/revm/revm_interpreter/links/instructions.v +++ b/CoqOfRust/revm/revm_interpreter/links/instructions.v @@ -32,8 +32,6 @@ Proof. set (f := Function2.of_run (run_unknown run_InterpreterTypes_for_WIRE)). change (Value.Closure _) with (φ f). run_symbolic. - rewrite array.repeat_φ_eq. - run_symbolic. } { (* stop *) set (f := Function2.of_run (run_stop run_InterpreterTypes_for_WIRE)). diff --git a/CoqOfRust/revm/revm_interpreter/links/interpreter_types.v b/CoqOfRust/revm/revm_interpreter/links/interpreter_types.v index 3508ca57b..bf831e63d 100644 --- a/CoqOfRust/revm/revm_interpreter/links/interpreter_types.v +++ b/CoqOfRust/revm/revm_interpreter/links/interpreter_types.v @@ -771,4 +771,17 @@ Module InterpreterTypes. "RuntimeFlag" (Φ types.(Types.RuntimeFlag)); run_RuntimeFlag_for_RuntimeFlag : RuntimeFlag.Run types.(Types.RuntimeFlag); }. + + Ltac destruct_run := + cbn; + eapply Run.Rewrite; [ + progress repeat erewrite IsTraitAssociatedType_eq + by match goal with + | H : Run _ _ |- _ => apply H + end; + reflexivity + |]; + match goal with + | H : Run _ _ |- _ => destruct H + end. End InterpreterTypes. diff --git a/CoqOfRust/revm/revm_interpreter/table.v b/CoqOfRust/revm/revm_interpreter/table.v index 79d4ed9b0..5c875e972 100644 --- a/CoqOfRust/revm/revm_interpreter/table.v +++ b/CoqOfRust/revm/revm_interpreter/table.v @@ -198,7 +198,7 @@ Module table. Global Instance AssociatedFunction_insert : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait (Self WIRE H CI) "insert" (insert WIRE H CI). + M.IsAssociatedFunction.C (Self WIRE H CI) "insert" (insert WIRE H CI). Admitted. Global Typeclasses Opaque insert. @@ -325,7 +325,7 @@ Module table. Global Instance AssociatedFunction_to_custom : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait (Self WIRE H CI) "to_custom" (to_custom WIRE H CI). + M.IsAssociatedFunction.C (Self WIRE H CI) "to_custom" (to_custom WIRE H CI). Admitted. Global Typeclasses Opaque to_custom. @@ -443,7 +443,7 @@ Module table. Global Instance AssociatedFunction_to_custom_with : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait (Self WIRE H CI) "to_custom_with" (to_custom_with WIRE H CI). + M.IsAssociatedFunction.C (Self WIRE H CI) "to_custom_with" (to_custom_with WIRE H CI). Admitted. Global Typeclasses Opaque to_custom_with. @@ -583,7 +583,7 @@ Module table. Global Instance AssociatedFunction_to_custom_with_slow : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self WIRE H CI) "to_custom_with_slow" (to_custom_with_slow WIRE H CI). @@ -651,7 +651,7 @@ Module table. Global Instance AssociatedFunction_get_custom : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait (Self WIRE H CI) "get_custom" (get_custom WIRE H CI). + M.IsAssociatedFunction.C (Self WIRE H CI) "get_custom" (get_custom WIRE H CI). Admitted. Global Typeclasses Opaque get_custom. @@ -705,7 +705,7 @@ Module table. Global Instance AssociatedFunction_insert_custom : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait (Self WIRE H CI) "insert_custom" (insert_custom WIRE H CI). + M.IsAssociatedFunction.C (Self WIRE H CI) "insert_custom" (insert_custom WIRE H CI). Admitted. Global Typeclasses Opaque insert_custom. @@ -760,7 +760,7 @@ Module table. Global Instance AssociatedFunction_replace_boxed : forall (WIRE H CI : Ty.t), - M.IsAssociatedFunction.Trait (Self WIRE H CI) "replace_boxed" (replace_boxed WIRE H CI). + M.IsAssociatedFunction.C (Self WIRE H CI) "replace_boxed" (replace_boxed WIRE H CI). Admitted. Global Typeclasses Opaque replace_boxed. End Impl_revm_interpreter_table_InstructionTables_WIRE_H_CI. @@ -784,13 +784,30 @@ Module table. | [], [ WIRE; H ], [] => ltac:(M.monadic (M.read (| - M.get_constant "revm_interpreter::table::make_instruction_table_discriminant" + get_constant (| + "revm_interpreter::table::make_instruction_table_discriminant", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ + Ty.function + [ + Ty.apply + (Ty.path "&mut") + [] + [ Ty.apply (Ty.path "revm_interpreter::interpreter::Interpreter") [] [ WIRE ] + ]; + Ty.apply (Ty.path "&mut") [] [ H ] + ] + (Ty.tuple []) + ] + |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance Instance_IsFunction_make_instruction_table : - M.IsFunction.Trait "revm_interpreter::table::make_instruction_table" make_instruction_table. + M.IsFunction.C "revm_interpreter::table::make_instruction_table" make_instruction_table. Admitted. Global Typeclasses Opaque make_instruction_table. @@ -891,7 +908,7 @@ Module table. end. Global Instance Instance_IsFunction_make_custom_instruction_table : - M.IsFunction.Trait + M.IsFunction.C "revm_interpreter::table::make_custom_instruction_table" make_custom_instruction_table. Admitted. diff --git a/CoqOfRust/revm/revm_precompile/blake2.v b/CoqOfRust/revm/revm_precompile/blake2.v index a1a56ec68..be196cca2 100644 --- a/CoqOfRust/revm/revm_precompile/blake2.v +++ b/CoqOfRust/revm/revm_precompile/blake2.v @@ -2,39 +2,42 @@ Require Import CoqOfRust.CoqOfRust. Module blake2. - Definition value_F_ROUND : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_F_ROUND (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). - Axiom Constant_value_F_ROUND : - (M.get_constant "revm_precompile::blake2::F_ROUND") = value_F_ROUND. - Global Hint Rewrite Constant_value_F_ROUND : constant_rewrites. + Global Instance Instance_IsConstant_value_F_ROUND : + M.IsFunction.C "revm_precompile::blake2::F_ROUND" value_F_ROUND. + Admitted. + Global Typeclasses Opaque value_F_ROUND. - Definition value_INPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 213 |))). + Definition value_INPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 213 |))). - Axiom Constant_value_INPUT_LENGTH : - (M.get_constant "revm_precompile::blake2::INPUT_LENGTH") = value_INPUT_LENGTH. - Global Hint Rewrite Constant_value_INPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_INPUT_LENGTH : + M.IsFunction.C "revm_precompile::blake2::INPUT_LENGTH" value_INPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_INPUT_LENGTH. - Definition value_FUN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 9 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion (M.get_function (| "revm_precompile::blake2::run", [], [] |)) - ] - |))). + Definition value_FUN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 9 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion (M.get_function (| "revm_precompile::blake2::run", [], [] |)) + ] + |))). - Axiom Constant_value_FUN : (M.get_constant "revm_precompile::blake2::FUN") = value_FUN. - Global Hint Rewrite Constant_value_FUN : constant_rewrites. + Global Instance Instance_IsConstant_value_FUN : + M.IsFunction.C "revm_precompile::blake2::FUN" value_FUN. + Admitted. + Global Typeclasses Opaque value_FUN. (* pub fn run(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -188,7 +191,12 @@ Module blake2. |) ] |), - M.read (| M.get_constant "revm_precompile::blake2::INPUT_LENGTH" |) + M.read (| + get_constant (| + "revm_precompile::blake2::INPUT_LENGTH", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -328,7 +336,9 @@ Module blake2. M.alloc (| BinOp.Wrap.mul (| M.cast (Ty.path "u64") (M.read (| rounds |)), - M.read (| M.get_constant "revm_precompile::blake2::F_ROUND" |) + M.read (| + get_constant (| "revm_precompile::blake2::F_ROUND", Ty.path "u64" |) + |) |) |) in let~ _ : Ty.tuple [] := @@ -1641,233 +1651,234 @@ Module blake2. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_run : M.IsFunction.Trait "revm_precompile::blake2::run" run. + Global Instance Instance_IsFunction_run : M.IsFunction.C "revm_precompile::blake2::run" run. Admitted. Global Typeclasses Opaque run. Module algo. - Definition value_SIGMA : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - Value.Array - [ - 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 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 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 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 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 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 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 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 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 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 - ] - ] - |))). + Definition value_SIGMA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + Value.Array + [ + 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 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 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 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 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 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 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 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 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 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 + ] + ] + |))). - Axiom Constant_value_SIGMA : - (M.get_constant "revm_precompile::blake2::algo::SIGMA") = value_SIGMA. - Global Hint Rewrite Constant_value_SIGMA : constant_rewrites. + Global Instance Instance_IsConstant_value_SIGMA : + M.IsFunction.C "revm_precompile::blake2::algo::SIGMA" value_SIGMA. + Admitted. + Global Typeclasses Opaque value_SIGMA. - Definition value_IV : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - 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 - ] - |))). + Definition value_IV (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + 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 + ] + |))). - Axiom Constant_value_IV : (M.get_constant "revm_precompile::blake2::algo::IV") = value_IV. - Global Hint Rewrite Constant_value_IV : constant_rewrites. + Global Instance Instance_IsConstant_value_IV : + M.IsFunction.C "revm_precompile::blake2::algo::IV" value_IV. + Admitted. + Global Typeclasses Opaque value_IV. (* pub fn g(v: &mut [u64], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { @@ -2112,7 +2123,7 @@ Module blake2. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_g : M.IsFunction.Trait "revm_precompile::blake2::algo::g" g. + Global Instance Instance_IsFunction_g : M.IsFunction.C "revm_precompile::blake2::algo::g" g. Admitted. Global Typeclasses Opaque g. @@ -2286,7 +2297,13 @@ Module blake2. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant "revm_precompile::blake2::algo::IV" + get_constant (| + "revm_precompile::blake2::algo::IV", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 8 ] + [ Ty.path "u64" ] + |) |) |) |) @@ -2435,7 +2452,18 @@ Module blake2. M.borrow (| Pointer.Kind.Ref, M.SubPointer.get_array_field (| - M.get_constant "revm_precompile::blake2::algo::SIGMA", + get_constant (| + "revm_precompile::blake2::algo::SIGMA", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 10 ] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 16 ] + [ Ty.path "usize" ] + ] + |), BinOp.Wrap.rem (| M.read (| i |), Value.Integer IntegerKind.Usize 10 @@ -2905,7 +2933,7 @@ Module blake2. end. Global Instance Instance_IsFunction_compress : - M.IsFunction.Trait "revm_precompile::blake2::algo::compress" compress. + M.IsFunction.C "revm_precompile::blake2::algo::compress" compress. Admitted. Global Typeclasses Opaque compress. End algo. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381.v b/CoqOfRust/revm/revm_precompile/bls12_381.v index 091badefc..a375504c2 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381.v @@ -42,15 +42,60 @@ Module bls12_381. [ Value.Array [ - M.read (| M.get_constant "revm_precompile::bls12_381::g1_add::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::g1_mul::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::g1_msm::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::g2_add::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::g2_mul::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::g2_msm::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::pairing::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::map_fp_to_g1::PRECOMPILE" |); - M.read (| M.get_constant "revm_precompile::bls12_381::map_fp2_to_g2::PRECOMPILE" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::g1_add::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::g1_mul::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::g1_msm::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::g2_add::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::g2_mul::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::g2_msm::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::pairing::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::map_fp_to_g1::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bls12_381::map_fp2_to_g2::PRECOMPILE", + Ty.path "revm_precompile::PrecompileWithAddress" + |) + |) ] ] |))) @@ -58,7 +103,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_precompiles : - M.IsFunction.Trait "revm_precompile::bls12_381::precompiles" precompiles. + M.IsFunction.C "revm_precompile::bls12_381::precompiles" precompiles. Admitted. Global Typeclasses Opaque precompiles. End bls12_381. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g1.v b/CoqOfRust/revm/revm_precompile/bls12_381/g1.v index 470b0d968..aaf69bbde 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g1.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g1.v @@ -3,20 +3,27 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g1. - Definition value_G1_INPUT_ITEM_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). + Definition value_G1_INPUT_ITEM_LENGTH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). - Axiom Constant_value_G1_INPUT_ITEM_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH") = + Global Instance Instance_IsConstant_value_G1_INPUT_ITEM_LENGTH : + M.IsFunction.C + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" value_G1_INPUT_ITEM_LENGTH. - Global Hint Rewrite Constant_value_G1_INPUT_ITEM_LENGTH : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_G1_INPUT_ITEM_LENGTH. - Definition value_G1_OUTPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). + Definition value_G1_OUTPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). - Axiom Constant_value_G1_OUTPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g1::G1_OUTPUT_LENGTH") = value_G1_OUTPUT_LENGTH. - Global Hint Rewrite Constant_value_G1_OUTPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_G1_OUTPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::g1::G1_OUTPUT_LENGTH" value_G1_OUTPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_G1_OUTPUT_LENGTH. (* pub(super) fn encode_g1_point(input: *const blst_p1_affine) -> Bytes { @@ -49,7 +56,12 @@ Module bls12_381. M.get_function (| "alloc::vec::from_elem", [], [ Ty.path "u8" ] |), [ Value.Integer IntegerKind.U8 0; - M.read (| M.get_constant "revm_precompile::bls12_381::g1::G1_OUTPUT_LENGTH" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::g1::G1_OUTPUT_LENGTH", + Ty.path "usize" + |) + |) ] |) |) in @@ -95,8 +107,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -162,8 +176,10 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -212,7 +228,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_encode_g1_point : - M.IsFunction.Trait "revm_precompile::bls12_381::g1::encode_g1_point" encode_g1_point. + M.IsFunction.C "revm_precompile::bls12_381::g1::encode_g1_point" encode_g1_point. Admitted. Global Typeclasses Opaque encode_g1_point. @@ -502,7 +518,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_decode_and_check_g1 : - M.IsFunction.Trait "revm_precompile::bls12_381::g1::decode_and_check_g1" decode_and_check_g1. + M.IsFunction.C "revm_precompile::bls12_381::g1::decode_and_check_g1" decode_and_check_g1. Admitted. Global Typeclasses Opaque decode_and_check_g1. @@ -597,8 +613,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -714,8 +732,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -932,8 +952,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -1137,13 +1159,17 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)); ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -1508,7 +1534,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_extract_g1_input : - M.IsFunction.Trait "revm_precompile::bls12_381::g1::extract_g1_input" extract_g1_input. + M.IsFunction.C "revm_precompile::bls12_381::g1::extract_g1_input" extract_g1_input. Admitted. Global Typeclasses Opaque extract_g1_input. End g1. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g1_add.v b/CoqOfRust/revm/revm_precompile/bls12_381/g1_add.v index 8172c0783..023aa42d3 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g1_add.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g1_add.v @@ -3,48 +3,55 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g1_add. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::g1_add::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::g1_add::g1_add", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::g1_add::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::g1_add::g1_add", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::g1_add::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::g1_add::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 11 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 11 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::g1_add::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::g1_add::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_BASE_GAS_FEE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 500 |))). + Definition value_BASE_GAS_FEE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 500 |))). - Axiom Constant_value_BASE_GAS_FEE : - (M.get_constant "revm_precompile::bls12_381::g1_add::BASE_GAS_FEE") = value_BASE_GAS_FEE. - Global Hint Rewrite Constant_value_BASE_GAS_FEE : constant_rewrites. + Global Instance Instance_IsConstant_value_BASE_GAS_FEE : + M.IsFunction.C "revm_precompile::bls12_381::g1_add::BASE_GAS_FEE" value_BASE_GAS_FEE. + Admitted. + Global Typeclasses Opaque value_BASE_GAS_FEE. - Definition value_INPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_INPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_INPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g1_add::INPUT_LENGTH") = value_INPUT_LENGTH. - Global Hint Rewrite Constant_value_INPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_INPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::g1_add::INPUT_LENGTH" value_INPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_INPUT_LENGTH. (* pub(super) fn g1_add(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -103,8 +110,10 @@ Module bls12_381. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_add::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g1_add::BASE_GAS_FEE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -193,8 +202,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_add::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_add::INPUT_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -348,8 +359,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g1_add::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_add::INPUT_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -578,8 +591,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -797,8 +812,10 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -1008,7 +1025,10 @@ Module bls12_381. |), [ M.read (| - M.get_constant "revm_precompile::bls12_381::g1_add::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g1_add::BASE_GAS_FEE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -1021,7 +1041,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_g1_add : - M.IsFunction.Trait "revm_precompile::bls12_381::g1_add::g1_add" g1_add. + M.IsFunction.C "revm_precompile::bls12_381::g1_add::g1_add" g1_add. Admitted. Global Typeclasses Opaque g1_add. End g1_add. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g1_msm.v b/CoqOfRust/revm/revm_precompile/bls12_381/g1_msm.v index 4028fec8d..7d38a0f07 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g1_msm.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g1_msm.v @@ -3,34 +3,39 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g1_msm. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::g1_msm::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::g1_msm::g1_msm", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::g1_msm::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::g1_msm::g1_msm", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::g1_msm::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::g1_msm::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 13 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 13 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::g1_msm::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::g1_msm::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. (* pub(super) fn g1_msm(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -153,8 +158,10 @@ Module bls12_381. BinOp.Wrap.rem (| M.read (| input_len |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.Usize 0 @@ -258,8 +265,11 @@ Module bls12_381. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path + "usize" + |) |) |) |) @@ -316,7 +326,12 @@ Module bls12_381. M.alloc (| BinOp.Wrap.div (| M.read (| input_len |), - M.read (| M.get_constant "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path "usize" + |) + |) |) |) in let~ required_gas : Ty.path "u64" := @@ -331,7 +346,10 @@ Module bls12_381. [ M.read (| k |); M.read (| - M.get_constant "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE", + Ty.path "u64" + |) |) ] |) @@ -430,7 +448,10 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| k |), M.read (| - M.get_constant "revm_precompile::bls12_381::utils::SCALAR_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::SCALAR_LENGTH", + Ty.path "usize" + |) |) |) ] @@ -622,8 +643,10 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |)); ("end_", @@ -631,13 +654,17 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -1170,13 +1197,19 @@ Module bls12_381. i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path + "usize" + |) |) |)); ("end_", @@ -1187,18 +1220,27 @@ Module bls12_381. i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::SCALAR_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::SCALAR_LENGTH", + Ty.path + "usize" + |) |) |)) ] @@ -1451,7 +1493,12 @@ Module bls12_381. |) |) |); - M.read (| M.get_constant "revm_precompile::bls12_381::utils::NBITS" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::utils::NBITS", + Ty.path "usize" + |) + |) ] |) |) in @@ -1527,7 +1574,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_g1_msm : - M.IsFunction.Trait "revm_precompile::bls12_381::g1_msm::g1_msm" g1_msm. + M.IsFunction.C "revm_precompile::bls12_381::g1_msm::g1_msm" g1_msm. Admitted. Global Typeclasses Opaque g1_msm. End g1_msm. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g1_mul.v b/CoqOfRust/revm/revm_precompile/bls12_381/g1_mul.v index 3a5d9c07e..d569dc65c 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g1_mul.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g1_mul.v @@ -3,48 +3,55 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g1_mul. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::g1_mul::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::g1_mul::g1_mul", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::g1_mul::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::g1_mul::g1_mul", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::g1_mul::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::g1_mul::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 12 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 12 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::g1_mul::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::g1_mul::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_BASE_GAS_FEE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 12000 |))). + Definition value_BASE_GAS_FEE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 12000 |))). - Axiom Constant_value_BASE_GAS_FEE : - (M.get_constant "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE") = value_BASE_GAS_FEE. - Global Hint Rewrite Constant_value_BASE_GAS_FEE : constant_rewrites. + Global Instance Instance_IsConstant_value_BASE_GAS_FEE : + M.IsFunction.C "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE" value_BASE_GAS_FEE. + Admitted. + Global Typeclasses Opaque value_BASE_GAS_FEE. - Definition value_INPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 160 |))). + Definition value_INPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 160 |))). - Axiom Constant_value_INPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH") = value_INPUT_LENGTH. - Global Hint Rewrite Constant_value_INPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_INPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" value_INPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_INPUT_LENGTH. (* pub(super) fn g1_mul(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -104,8 +111,10 @@ Module bls12_381. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -194,8 +203,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -349,8 +360,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -518,8 +531,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -812,8 +827,10 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -940,7 +957,12 @@ Module bls12_381. |) ] |); - M.read (| M.get_constant "revm_precompile::bls12_381::utils::NBITS" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::utils::NBITS", + Ty.path "usize" + |) + |) ] |) |) in @@ -1008,7 +1030,10 @@ Module bls12_381. |), [ M.read (| - M.get_constant "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g1_mul::BASE_GAS_FEE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -1021,7 +1046,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_g1_mul : - M.IsFunction.Trait "revm_precompile::bls12_381::g1_mul::g1_mul" g1_mul. + M.IsFunction.C "revm_precompile::bls12_381::g1_mul::g1_mul" g1_mul. Admitted. Global Typeclasses Opaque g1_mul. End g1_mul. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g2.v b/CoqOfRust/revm/revm_precompile/bls12_381/g2.v index e416970c7..23562412b 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g2.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g2.v @@ -3,20 +3,27 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g2. - Definition value_G2_INPUT_ITEM_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_G2_INPUT_ITEM_LENGTH + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_G2_INPUT_ITEM_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH") = + Global Instance Instance_IsConstant_value_G2_INPUT_ITEM_LENGTH : + M.IsFunction.C + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" value_G2_INPUT_ITEM_LENGTH. - Global Hint Rewrite Constant_value_G2_INPUT_ITEM_LENGTH : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_G2_INPUT_ITEM_LENGTH. - Definition value_G2_OUTPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_G2_OUTPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_G2_OUTPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g2::G2_OUTPUT_LENGTH") = value_G2_OUTPUT_LENGTH. - Global Hint Rewrite Constant_value_G2_OUTPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_G2_OUTPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::g2::G2_OUTPUT_LENGTH" value_G2_OUTPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_G2_OUTPUT_LENGTH. (* pub(super) fn encode_g2_point(input: &blst_p2_affine) -> Bytes { @@ -57,7 +64,12 @@ Module bls12_381. M.get_function (| "alloc::vec::from_elem", [], [ Ty.path "u8" ] |), [ Value.Integer IntegerKind.U8 0; - M.read (| M.get_constant "revm_precompile::bls12_381::g2::G2_OUTPUT_LENGTH" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::g2::G2_OUTPUT_LENGTH", + Ty.path "usize" + |) + |) ] |) |) in @@ -102,8 +114,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -176,15 +190,19 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)); ("end_", BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -260,16 +278,20 @@ Module bls12_381. BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |)); ("end_", BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 3, M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -345,16 +367,20 @@ Module bls12_381. BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 3, M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |)); ("end_", BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 4, M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -410,7 +436,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_encode_g2_point : - M.IsFunction.Trait "revm_precompile::bls12_381::g2::encode_g2_point" encode_g2_point. + M.IsFunction.C "revm_precompile::bls12_381::g2::encode_g2_point" encode_g2_point. Admitted. Global Typeclasses Opaque encode_g2_point. @@ -702,7 +728,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_decode_and_check_g2 : - M.IsFunction.Trait "revm_precompile::bls12_381::g2::decode_and_check_g2" decode_and_check_g2. + M.IsFunction.C "revm_precompile::bls12_381::g2::decode_and_check_g2" decode_and_check_g2. Admitted. Global Typeclasses Opaque decode_and_check_g2. @@ -977,7 +1003,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_check_canonical_fp2 : - M.IsFunction.Trait "revm_precompile::bls12_381::g2::check_canonical_fp2" check_canonical_fp2. + M.IsFunction.C "revm_precompile::bls12_381::g2::check_canonical_fp2" check_canonical_fp2. Admitted. Global Typeclasses Opaque check_canonical_fp2. @@ -1075,8 +1101,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -1192,8 +1220,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -1555,8 +1585,11 @@ Module bls12_381. i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path + "usize" + |) |) |)); ("end_", @@ -1570,8 +1603,11 @@ Module bls12_381. 1 |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path + "usize" + |) |) |)) ] @@ -1998,7 +2034,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_extract_g2_input : - M.IsFunction.Trait "revm_precompile::bls12_381::g2::extract_g2_input" extract_g2_input. + M.IsFunction.C "revm_precompile::bls12_381::g2::extract_g2_input" extract_g2_input. Admitted. Global Typeclasses Opaque extract_g2_input. End g2. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g2_add.v b/CoqOfRust/revm/revm_precompile/bls12_381/g2_add.v index 6f489659e..ed6c23b0a 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g2_add.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g2_add.v @@ -3,48 +3,55 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g2_add. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::g2_add::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::g2_add::g2_add", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::g2_add::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::g2_add::g2_add", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::g2_add::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::g2_add::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 14 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 14 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::g2_add::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::g2_add::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_BASE_GAS_FEE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 800 |))). + Definition value_BASE_GAS_FEE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 800 |))). - Axiom Constant_value_BASE_GAS_FEE : - (M.get_constant "revm_precompile::bls12_381::g2_add::BASE_GAS_FEE") = value_BASE_GAS_FEE. - Global Hint Rewrite Constant_value_BASE_GAS_FEE : constant_rewrites. + Global Instance Instance_IsConstant_value_BASE_GAS_FEE : + M.IsFunction.C "revm_precompile::bls12_381::g2_add::BASE_GAS_FEE" value_BASE_GAS_FEE. + Admitted. + Global Typeclasses Opaque value_BASE_GAS_FEE. - Definition value_INPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 512 |))). + Definition value_INPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 512 |))). - Axiom Constant_value_INPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g2_add::INPUT_LENGTH") = value_INPUT_LENGTH. - Global Hint Rewrite Constant_value_INPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_INPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::g2_add::INPUT_LENGTH" value_INPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_INPUT_LENGTH. (* pub(super) fn g2_add(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -103,8 +110,10 @@ Module bls12_381. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_add::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g2_add::BASE_GAS_FEE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -193,8 +202,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_add::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_add::INPUT_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -348,8 +359,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g2_add::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_add::INPUT_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -578,8 +591,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -797,8 +812,10 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -1008,7 +1025,10 @@ Module bls12_381. |), [ M.read (| - M.get_constant "revm_precompile::bls12_381::g2_add::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g2_add::BASE_GAS_FEE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -1021,7 +1041,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_g2_add : - M.IsFunction.Trait "revm_precompile::bls12_381::g2_add::g2_add" g2_add. + M.IsFunction.C "revm_precompile::bls12_381::g2_add::g2_add" g2_add. Admitted. Global Typeclasses Opaque g2_add. End g2_add. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g2_msm.v b/CoqOfRust/revm/revm_precompile/bls12_381/g2_msm.v index 47616d053..c13c182f7 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g2_msm.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g2_msm.v @@ -3,34 +3,39 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g2_msm. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::g2_msm::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::g2_msm::g2_msm", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::g2_msm::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::g2_msm::g2_msm", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::g2_msm::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::g2_msm::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 16 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 16 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::g2_msm::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::g2_msm::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. (* pub(super) fn g2_msm(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -153,8 +158,10 @@ Module bls12_381. BinOp.Wrap.rem (| M.read (| input_len |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.Usize 0 @@ -258,8 +265,11 @@ Module bls12_381. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path + "usize" + |) |) |) |) @@ -316,7 +326,12 @@ Module bls12_381. M.alloc (| BinOp.Wrap.div (| M.read (| input_len |), - M.read (| M.get_constant "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path "usize" + |) + |) |) |) in let~ required_gas : Ty.path "u64" := @@ -331,7 +346,10 @@ Module bls12_381. [ M.read (| k |); M.read (| - M.get_constant "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE", + Ty.path "u64" + |) |) ] |) @@ -430,7 +448,10 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| k |), M.read (| - M.get_constant "revm_precompile::bls12_381::utils::SCALAR_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::SCALAR_LENGTH", + Ty.path "usize" + |) |) |) ] @@ -622,8 +643,10 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |)); ("end_", @@ -631,13 +654,17 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -1170,13 +1197,19 @@ Module bls12_381. i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path + "usize" + |) |) |)); ("end_", @@ -1187,18 +1220,27 @@ Module bls12_381. i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::SCALAR_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::SCALAR_LENGTH", + Ty.path + "usize" + |) |) |)) ] @@ -1451,7 +1493,12 @@ Module bls12_381. |) |) |); - M.read (| M.get_constant "revm_precompile::bls12_381::utils::NBITS" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::utils::NBITS", + Ty.path "usize" + |) + |) ] |) |) in @@ -1527,7 +1574,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_g2_msm : - M.IsFunction.Trait "revm_precompile::bls12_381::g2_msm::g2_msm" g2_msm. + M.IsFunction.C "revm_precompile::bls12_381::g2_msm::g2_msm" g2_msm. Admitted. Global Typeclasses Opaque g2_msm. End g2_msm. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/g2_mul.v b/CoqOfRust/revm/revm_precompile/bls12_381/g2_mul.v index 1438772ff..2978e55d8 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/g2_mul.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/g2_mul.v @@ -3,48 +3,55 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module g2_mul. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::g2_mul::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::g2_mul::g2_mul", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::g2_mul::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::g2_mul::g2_mul", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::g2_mul::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::g2_mul::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 15 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 15 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::g2_mul::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::g2_mul::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_BASE_GAS_FEE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 45000 |))). + Definition value_BASE_GAS_FEE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 45000 |))). - Axiom Constant_value_BASE_GAS_FEE : - (M.get_constant "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE") = value_BASE_GAS_FEE. - Global Hint Rewrite Constant_value_BASE_GAS_FEE : constant_rewrites. + Global Instance Instance_IsConstant_value_BASE_GAS_FEE : + M.IsFunction.C "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE" value_BASE_GAS_FEE. + Admitted. + Global Typeclasses Opaque value_BASE_GAS_FEE. - Definition value_INPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 288 |))). + Definition value_INPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 288 |))). - Axiom Constant_value_INPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH") = value_INPUT_LENGTH. - Global Hint Rewrite Constant_value_INPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_INPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" value_INPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_INPUT_LENGTH. (* pub(super) fn g2_mul(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -101,8 +108,10 @@ Module bls12_381. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -191,8 +200,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -346,8 +357,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2_mul::INPUT_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -576,8 +589,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -819,8 +834,10 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -947,7 +964,12 @@ Module bls12_381. |) ] |); - M.read (| M.get_constant "revm_precompile::bls12_381::utils::NBITS" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::utils::NBITS", + Ty.path "usize" + |) + |) ] |) |) in @@ -1015,7 +1037,10 @@ Module bls12_381. |), [ M.read (| - M.get_constant "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::g2_mul::BASE_GAS_FEE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -1028,7 +1053,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_g2_mul : - M.IsFunction.Trait "revm_precompile::bls12_381::g2_mul::g2_mul" g2_mul. + M.IsFunction.C "revm_precompile::bls12_381::g2_mul::g2_mul" g2_mul. Admitted. Global Typeclasses Opaque g2_mul. End g2_mul. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/map_fp2_to_g2.v b/CoqOfRust/revm/revm_precompile/bls12_381/map_fp2_to_g2.v index 33aad2403..ad4724b79 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/map_fp2_to_g2.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/map_fp2_to_g2.v @@ -3,47 +3,54 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module map_fp2_to_g2. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::map_fp2_to_g2::ADDRESS" |) - ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| - "revm_precompile::bls12_381::map_fp2_to_g2::map_fp2_to_g2", - [], - [] - |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| + "revm_precompile::bls12_381::map_fp2_to_g2::ADDRESS", + Ty.path "u64" + |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| + "revm_precompile::bls12_381::map_fp2_to_g2::map_fp2_to_g2", + [], + [] + |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::map_fp2_to_g2::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::map_fp2_to_g2::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 19 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 19 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::map_fp2_to_g2::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::map_fp2_to_g2::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_BASE_GAS_FEE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 75000 |))). + Definition value_BASE_GAS_FEE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 75000 |))). - Axiom Constant_value_BASE_GAS_FEE : - (M.get_constant "revm_precompile::bls12_381::map_fp2_to_g2::BASE_GAS_FEE") = - value_BASE_GAS_FEE. - Global Hint Rewrite Constant_value_BASE_GAS_FEE : constant_rewrites. + Global Instance Instance_IsConstant_value_BASE_GAS_FEE : + M.IsFunction.C "revm_precompile::bls12_381::map_fp2_to_g2::BASE_GAS_FEE" value_BASE_GAS_FEE. + Admitted. + Global Typeclasses Opaque value_BASE_GAS_FEE. (* pub(super) fn map_fp2_to_g2(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -97,8 +104,10 @@ Module bls12_381. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::bls12_381::map_fp2_to_g2::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::map_fp2_to_g2::BASE_GAS_FEE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -187,8 +196,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -342,8 +353,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -608,8 +621,10 @@ Module bls12_381. [ ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -859,13 +874,17 @@ Module bls12_381. [ ("start", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |)); ("end_", M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -1171,7 +1190,10 @@ Module bls12_381. |), [ M.read (| - M.get_constant "revm_precompile::bls12_381::map_fp2_to_g2::BASE_GAS_FEE" + get_constant (| + "revm_precompile::bls12_381::map_fp2_to_g2::BASE_GAS_FEE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -1184,7 +1206,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_map_fp2_to_g2 : - M.IsFunction.Trait "revm_precompile::bls12_381::map_fp2_to_g2::map_fp2_to_g2" map_fp2_to_g2. + M.IsFunction.C "revm_precompile::bls12_381::map_fp2_to_g2::map_fp2_to_g2" map_fp2_to_g2. Admitted. Global Typeclasses Opaque map_fp2_to_g2. End map_fp2_to_g2. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/map_fp_to_g1.v b/CoqOfRust/revm/revm_precompile/bls12_381/map_fp_to_g1.v index bf7292020..2e9c339be 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/map_fp_to_g1.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/map_fp_to_g1.v @@ -3,47 +3,56 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module map_fp_to_g1. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::map_fp_to_g1::ADDRESS" |) - ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| - "revm_precompile::bls12_381::map_fp_to_g1::map_fp_to_g1", - [], - [] - |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| + "revm_precompile::bls12_381::map_fp_to_g1::ADDRESS", + Ty.path "u64" + |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| + "revm_precompile::bls12_381::map_fp_to_g1::map_fp_to_g1", + [], + [] + |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::map_fp_to_g1::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::map_fp_to_g1::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 18 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 18 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::map_fp_to_g1::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::map_fp_to_g1::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_MAP_FP_TO_G1_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5500 |))). + Definition value_MAP_FP_TO_G1_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 5500 |))). - Axiom Constant_value_MAP_FP_TO_G1_BASE : - (M.get_constant "revm_precompile::bls12_381::map_fp_to_g1::MAP_FP_TO_G1_BASE") = + Global Instance Instance_IsConstant_value_MAP_FP_TO_G1_BASE : + M.IsFunction.C + "revm_precompile::bls12_381::map_fp_to_g1::MAP_FP_TO_G1_BASE" value_MAP_FP_TO_G1_BASE. - Global Hint Rewrite Constant_value_MAP_FP_TO_G1_BASE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAP_FP_TO_G1_BASE. (* pub(super) fn map_fp_to_g1(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -96,8 +105,10 @@ Module bls12_381. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::bls12_381::map_fp_to_g1::MAP_FP_TO_G1_BASE" + get_constant (| + "revm_precompile::bls12_381::map_fp_to_g1::MAP_FP_TO_G1_BASE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -186,8 +197,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -341,8 +354,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -863,8 +878,10 @@ Module bls12_381. |), [ M.read (| - M.get_constant - "revm_precompile::bls12_381::map_fp_to_g1::MAP_FP_TO_G1_BASE" + get_constant (| + "revm_precompile::bls12_381::map_fp_to_g1::MAP_FP_TO_G1_BASE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -877,7 +894,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_map_fp_to_g1 : - M.IsFunction.Trait "revm_precompile::bls12_381::map_fp_to_g1::map_fp_to_g1" map_fp_to_g1. + M.IsFunction.C "revm_precompile::bls12_381::map_fp_to_g1::map_fp_to_g1" map_fp_to_g1. Admitted. Global Typeclasses Opaque map_fp_to_g1. End map_fp_to_g1. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/msm.v b/CoqOfRust/revm/revm_precompile/bls12_381/msm.v index f07fc6bea..8e445f372 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/msm.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/msm.v @@ -3,156 +3,156 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module msm. - Definition value_MSM_MULTIPLIER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000 |))). + Definition value_MSM_MULTIPLIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1000 |))). - Axiom Constant_value_MSM_MULTIPLIER : - (M.get_constant "revm_precompile::bls12_381::msm::MSM_MULTIPLIER") = value_MSM_MULTIPLIER. - Global Hint Rewrite Constant_value_MSM_MULTIPLIER : constant_rewrites. + Global Instance Instance_IsConstant_value_MSM_MULTIPLIER : + M.IsFunction.C "revm_precompile::bls12_381::msm::MSM_MULTIPLIER" value_MSM_MULTIPLIER. + Admitted. + Global Typeclasses Opaque value_MSM_MULTIPLIER. - Definition value_MSM_DISCOUNT_TABLE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U16 1200; - Value.Integer IntegerKind.U16 888; - Value.Integer IntegerKind.U16 764; - Value.Integer IntegerKind.U16 641; - Value.Integer IntegerKind.U16 594; - Value.Integer IntegerKind.U16 547; - Value.Integer IntegerKind.U16 500; - Value.Integer IntegerKind.U16 453; - Value.Integer IntegerKind.U16 438; - Value.Integer IntegerKind.U16 423; - Value.Integer IntegerKind.U16 408; - Value.Integer IntegerKind.U16 394; - Value.Integer IntegerKind.U16 379; - Value.Integer IntegerKind.U16 364; - Value.Integer IntegerKind.U16 349; - Value.Integer IntegerKind.U16 334; - Value.Integer IntegerKind.U16 330; - Value.Integer IntegerKind.U16 326; - Value.Integer IntegerKind.U16 322; - Value.Integer IntegerKind.U16 318; - Value.Integer IntegerKind.U16 314; - Value.Integer IntegerKind.U16 310; - Value.Integer IntegerKind.U16 306; - Value.Integer IntegerKind.U16 302; - Value.Integer IntegerKind.U16 298; - Value.Integer IntegerKind.U16 294; - Value.Integer IntegerKind.U16 289; - Value.Integer IntegerKind.U16 285; - Value.Integer IntegerKind.U16 281; - Value.Integer IntegerKind.U16 277; - Value.Integer IntegerKind.U16 273; - Value.Integer IntegerKind.U16 269; - Value.Integer IntegerKind.U16 268; - Value.Integer IntegerKind.U16 266; - Value.Integer IntegerKind.U16 265; - Value.Integer IntegerKind.U16 263; - Value.Integer IntegerKind.U16 262; - Value.Integer IntegerKind.U16 260; - Value.Integer IntegerKind.U16 259; - Value.Integer IntegerKind.U16 257; - Value.Integer IntegerKind.U16 256; - Value.Integer IntegerKind.U16 254; - Value.Integer IntegerKind.U16 253; - Value.Integer IntegerKind.U16 251; - Value.Integer IntegerKind.U16 250; - Value.Integer IntegerKind.U16 248; - Value.Integer IntegerKind.U16 247; - Value.Integer IntegerKind.U16 245; - Value.Integer IntegerKind.U16 244; - Value.Integer IntegerKind.U16 242; - Value.Integer IntegerKind.U16 241; - Value.Integer IntegerKind.U16 239; - Value.Integer IntegerKind.U16 238; - Value.Integer IntegerKind.U16 236; - Value.Integer IntegerKind.U16 235; - Value.Integer IntegerKind.U16 233; - Value.Integer IntegerKind.U16 232; - Value.Integer IntegerKind.U16 231; - Value.Integer IntegerKind.U16 229; - Value.Integer IntegerKind.U16 228; - Value.Integer IntegerKind.U16 226; - Value.Integer IntegerKind.U16 225; - Value.Integer IntegerKind.U16 223; - Value.Integer IntegerKind.U16 222; - Value.Integer IntegerKind.U16 221; - Value.Integer IntegerKind.U16 220; - Value.Integer IntegerKind.U16 219; - Value.Integer IntegerKind.U16 219; - Value.Integer IntegerKind.U16 218; - Value.Integer IntegerKind.U16 217; - Value.Integer IntegerKind.U16 216; - Value.Integer IntegerKind.U16 216; - Value.Integer IntegerKind.U16 215; - Value.Integer IntegerKind.U16 214; - Value.Integer IntegerKind.U16 213; - Value.Integer IntegerKind.U16 213; - Value.Integer IntegerKind.U16 212; - Value.Integer IntegerKind.U16 211; - Value.Integer IntegerKind.U16 211; - Value.Integer IntegerKind.U16 210; - Value.Integer IntegerKind.U16 209; - Value.Integer IntegerKind.U16 208; - Value.Integer IntegerKind.U16 208; - Value.Integer IntegerKind.U16 207; - Value.Integer IntegerKind.U16 206; - Value.Integer IntegerKind.U16 205; - Value.Integer IntegerKind.U16 205; - Value.Integer IntegerKind.U16 204; - Value.Integer IntegerKind.U16 203; - Value.Integer IntegerKind.U16 202; - Value.Integer IntegerKind.U16 202; - Value.Integer IntegerKind.U16 201; - Value.Integer IntegerKind.U16 200; - Value.Integer IntegerKind.U16 199; - Value.Integer IntegerKind.U16 199; - Value.Integer IntegerKind.U16 198; - Value.Integer IntegerKind.U16 197; - Value.Integer IntegerKind.U16 196; - Value.Integer IntegerKind.U16 196; - Value.Integer IntegerKind.U16 195; - Value.Integer IntegerKind.U16 194; - Value.Integer IntegerKind.U16 193; - Value.Integer IntegerKind.U16 193; - Value.Integer IntegerKind.U16 192; - Value.Integer IntegerKind.U16 191; - Value.Integer IntegerKind.U16 191; - Value.Integer IntegerKind.U16 190; - Value.Integer IntegerKind.U16 189; - Value.Integer IntegerKind.U16 188; - Value.Integer IntegerKind.U16 188; - Value.Integer IntegerKind.U16 187; - Value.Integer IntegerKind.U16 186; - Value.Integer IntegerKind.U16 185; - Value.Integer IntegerKind.U16 185; - Value.Integer IntegerKind.U16 184; - Value.Integer IntegerKind.U16 183; - Value.Integer IntegerKind.U16 182; - Value.Integer IntegerKind.U16 182; - Value.Integer IntegerKind.U16 181; - Value.Integer IntegerKind.U16 180; - Value.Integer IntegerKind.U16 179; - Value.Integer IntegerKind.U16 179; - Value.Integer IntegerKind.U16 178; - Value.Integer IntegerKind.U16 177; - Value.Integer IntegerKind.U16 176; - Value.Integer IntegerKind.U16 176; - Value.Integer IntegerKind.U16 175; - Value.Integer IntegerKind.U16 174 - ] - |) - |))). + Definition value_MSM_DISCOUNT_TABLE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U16 1200; + Value.Integer IntegerKind.U16 888; + Value.Integer IntegerKind.U16 764; + Value.Integer IntegerKind.U16 641; + Value.Integer IntegerKind.U16 594; + Value.Integer IntegerKind.U16 547; + Value.Integer IntegerKind.U16 500; + Value.Integer IntegerKind.U16 453; + Value.Integer IntegerKind.U16 438; + Value.Integer IntegerKind.U16 423; + Value.Integer IntegerKind.U16 408; + Value.Integer IntegerKind.U16 394; + Value.Integer IntegerKind.U16 379; + Value.Integer IntegerKind.U16 364; + Value.Integer IntegerKind.U16 349; + Value.Integer IntegerKind.U16 334; + Value.Integer IntegerKind.U16 330; + Value.Integer IntegerKind.U16 326; + Value.Integer IntegerKind.U16 322; + Value.Integer IntegerKind.U16 318; + Value.Integer IntegerKind.U16 314; + Value.Integer IntegerKind.U16 310; + Value.Integer IntegerKind.U16 306; + Value.Integer IntegerKind.U16 302; + Value.Integer IntegerKind.U16 298; + Value.Integer IntegerKind.U16 294; + Value.Integer IntegerKind.U16 289; + Value.Integer IntegerKind.U16 285; + Value.Integer IntegerKind.U16 281; + Value.Integer IntegerKind.U16 277; + Value.Integer IntegerKind.U16 273; + Value.Integer IntegerKind.U16 269; + Value.Integer IntegerKind.U16 268; + Value.Integer IntegerKind.U16 266; + Value.Integer IntegerKind.U16 265; + Value.Integer IntegerKind.U16 263; + Value.Integer IntegerKind.U16 262; + Value.Integer IntegerKind.U16 260; + Value.Integer IntegerKind.U16 259; + Value.Integer IntegerKind.U16 257; + Value.Integer IntegerKind.U16 256; + Value.Integer IntegerKind.U16 254; + Value.Integer IntegerKind.U16 253; + Value.Integer IntegerKind.U16 251; + Value.Integer IntegerKind.U16 250; + Value.Integer IntegerKind.U16 248; + Value.Integer IntegerKind.U16 247; + Value.Integer IntegerKind.U16 245; + Value.Integer IntegerKind.U16 244; + Value.Integer IntegerKind.U16 242; + Value.Integer IntegerKind.U16 241; + Value.Integer IntegerKind.U16 239; + Value.Integer IntegerKind.U16 238; + Value.Integer IntegerKind.U16 236; + Value.Integer IntegerKind.U16 235; + Value.Integer IntegerKind.U16 233; + Value.Integer IntegerKind.U16 232; + Value.Integer IntegerKind.U16 231; + Value.Integer IntegerKind.U16 229; + Value.Integer IntegerKind.U16 228; + Value.Integer IntegerKind.U16 226; + Value.Integer IntegerKind.U16 225; + Value.Integer IntegerKind.U16 223; + Value.Integer IntegerKind.U16 222; + Value.Integer IntegerKind.U16 221; + Value.Integer IntegerKind.U16 220; + Value.Integer IntegerKind.U16 219; + Value.Integer IntegerKind.U16 219; + Value.Integer IntegerKind.U16 218; + Value.Integer IntegerKind.U16 217; + Value.Integer IntegerKind.U16 216; + Value.Integer IntegerKind.U16 216; + Value.Integer IntegerKind.U16 215; + Value.Integer IntegerKind.U16 214; + Value.Integer IntegerKind.U16 213; + Value.Integer IntegerKind.U16 213; + Value.Integer IntegerKind.U16 212; + Value.Integer IntegerKind.U16 211; + Value.Integer IntegerKind.U16 211; + Value.Integer IntegerKind.U16 210; + Value.Integer IntegerKind.U16 209; + Value.Integer IntegerKind.U16 208; + Value.Integer IntegerKind.U16 208; + Value.Integer IntegerKind.U16 207; + Value.Integer IntegerKind.U16 206; + Value.Integer IntegerKind.U16 205; + Value.Integer IntegerKind.U16 205; + Value.Integer IntegerKind.U16 204; + Value.Integer IntegerKind.U16 203; + Value.Integer IntegerKind.U16 202; + Value.Integer IntegerKind.U16 202; + Value.Integer IntegerKind.U16 201; + Value.Integer IntegerKind.U16 200; + Value.Integer IntegerKind.U16 199; + Value.Integer IntegerKind.U16 199; + Value.Integer IntegerKind.U16 198; + Value.Integer IntegerKind.U16 197; + Value.Integer IntegerKind.U16 196; + Value.Integer IntegerKind.U16 196; + Value.Integer IntegerKind.U16 195; + Value.Integer IntegerKind.U16 194; + Value.Integer IntegerKind.U16 193; + Value.Integer IntegerKind.U16 193; + Value.Integer IntegerKind.U16 192; + Value.Integer IntegerKind.U16 191; + Value.Integer IntegerKind.U16 191; + Value.Integer IntegerKind.U16 190; + Value.Integer IntegerKind.U16 189; + Value.Integer IntegerKind.U16 188; + Value.Integer IntegerKind.U16 188; + Value.Integer IntegerKind.U16 187; + Value.Integer IntegerKind.U16 186; + Value.Integer IntegerKind.U16 185; + Value.Integer IntegerKind.U16 185; + Value.Integer IntegerKind.U16 184; + Value.Integer IntegerKind.U16 183; + Value.Integer IntegerKind.U16 182; + Value.Integer IntegerKind.U16 182; + Value.Integer IntegerKind.U16 181; + Value.Integer IntegerKind.U16 180; + Value.Integer IntegerKind.U16 179; + Value.Integer IntegerKind.U16 179; + Value.Integer IntegerKind.U16 178; + Value.Integer IntegerKind.U16 177; + Value.Integer IntegerKind.U16 176; + Value.Integer IntegerKind.U16 176; + Value.Integer IntegerKind.U16 175; + Value.Integer IntegerKind.U16 174 + ] + |) + |))). - Axiom Constant_value_MSM_DISCOUNT_TABLE : - (M.get_constant "revm_precompile::bls12_381::msm::MSM_DISCOUNT_TABLE") = - value_MSM_DISCOUNT_TABLE. - Global Hint Rewrite Constant_value_MSM_DISCOUNT_TABLE : constant_rewrites. + Global Instance Instance_IsConstant_value_MSM_DISCOUNT_TABLE : + M.IsFunction.C "revm_precompile::bls12_381::msm::MSM_DISCOUNT_TABLE" value_MSM_DISCOUNT_TABLE. + Admitted. + Global Typeclasses Opaque value_MSM_DISCOUNT_TABLE. (* pub(super) fn msm_required_gas(k: usize, multiplication_cost: u64) -> u64 { @@ -218,8 +218,18 @@ Module bls12_381. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "revm_precompile::bls12_381::msm::MSM_DISCOUNT_TABLE" + get_constant (| + "revm_precompile::bls12_381::msm::MSM_DISCOUNT_TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 128 ] + [ Ty.path "u16" ] + ] + |) |) |) |) @@ -238,7 +248,18 @@ Module bls12_381. M.SubPointer.get_array_field (| M.deref (| M.read (| - M.get_constant "revm_precompile::bls12_381::msm::MSM_DISCOUNT_TABLE" + get_constant (| + "revm_precompile::bls12_381::msm::MSM_DISCOUNT_TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 128 ] + [ Ty.path "u16" ] + ] + |) |) |), M.read (| index |) @@ -254,7 +275,12 @@ Module bls12_381. |), M.read (| multiplication_cost |) |), - M.read (| M.get_constant "revm_precompile::bls12_381::msm::MSM_MULTIPLIER" |) + M.read (| + get_constant (| + "revm_precompile::bls12_381::msm::MSM_MULTIPLIER", + Ty.path "u64" + |) + |) |) |) |))) @@ -263,7 +289,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_msm_required_gas : - M.IsFunction.Trait "revm_precompile::bls12_381::msm::msm_required_gas" msm_required_gas. + M.IsFunction.C "revm_precompile::bls12_381::msm::msm_required_gas" msm_required_gas. Admitted. Global Typeclasses Opaque msm_required_gas. End msm. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/pairing.v b/CoqOfRust/revm/revm_precompile/bls12_381/pairing.v index e0fe3c80e..3e23ad946 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/pairing.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/pairing.v @@ -3,57 +3,75 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module pairing. - Definition value_PRECOMPILE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ M.read (| M.get_constant "revm_precompile::bls12_381::pairing::ADDRESS" |) ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::bls12_381::pairing::pairing", [], [] |)) - ] - |))). + Definition value_PRECOMPILE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ + M.read (| + get_constant (| "revm_precompile::bls12_381::pairing::ADDRESS", Ty.path "u64" |) + |) + ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::bls12_381::pairing::pairing", [], [] |)) + ] + |))). - Axiom Constant_value_PRECOMPILE : - (M.get_constant "revm_precompile::bls12_381::pairing::PRECOMPILE") = value_PRECOMPILE. - Global Hint Rewrite Constant_value_PRECOMPILE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE : + M.IsFunction.C "revm_precompile::bls12_381::pairing::PRECOMPILE" value_PRECOMPILE. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE. - Definition value_ADDRESS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 17 |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 17 |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bls12_381::pairing::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bls12_381::pairing::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_PAIRING_MULTIPLIER_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 43000 |))). + Definition value_PAIRING_MULTIPLIER_BASE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 43000 |))). - Axiom Constant_value_PAIRING_MULTIPLIER_BASE : - (M.get_constant "revm_precompile::bls12_381::pairing::PAIRING_MULTIPLIER_BASE") = + Global Instance Instance_IsConstant_value_PAIRING_MULTIPLIER_BASE : + M.IsFunction.C + "revm_precompile::bls12_381::pairing::PAIRING_MULTIPLIER_BASE" value_PAIRING_MULTIPLIER_BASE. - Global Hint Rewrite Constant_value_PAIRING_MULTIPLIER_BASE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_PAIRING_MULTIPLIER_BASE. - Definition value_PAIRING_OFFSET_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65000 |))). + Definition value_PAIRING_OFFSET_BASE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 65000 |))). - Axiom Constant_value_PAIRING_OFFSET_BASE : - (M.get_constant "revm_precompile::bls12_381::pairing::PAIRING_OFFSET_BASE") = + Global Instance Instance_IsConstant_value_PAIRING_OFFSET_BASE : + M.IsFunction.C + "revm_precompile::bls12_381::pairing::PAIRING_OFFSET_BASE" value_PAIRING_OFFSET_BASE. - Global Hint Rewrite Constant_value_PAIRING_OFFSET_BASE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_PAIRING_OFFSET_BASE. - Definition value_INPUT_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 384 |))). + Definition value_INPUT_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 384 |))). - Axiom Constant_value_INPUT_LENGTH : - (M.get_constant "revm_precompile::bls12_381::pairing::INPUT_LENGTH") = value_INPUT_LENGTH. - Global Hint Rewrite Constant_value_INPUT_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_INPUT_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::pairing::INPUT_LENGTH" value_INPUT_LENGTH. + Admitted. + Global Typeclasses Opaque value_INPUT_LENGTH. (* pub(super) fn pairing(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -188,8 +206,10 @@ Module bls12_381. BinOp.Wrap.rem (| M.read (| input_len |), M.read (| - M.get_constant - "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.Usize 0 @@ -293,8 +313,11 @@ Module bls12_381. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path + "usize" + |) |) |) |) @@ -352,7 +375,10 @@ Module bls12_381. BinOp.Wrap.div (| M.read (| input_len |), M.read (| - M.get_constant "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path "usize" + |) |) |) |) in @@ -361,13 +387,18 @@ Module bls12_381. BinOp.Wrap.add (| BinOp.Wrap.mul (| M.read (| - M.get_constant - "revm_precompile::bls12_381::pairing::PAIRING_MULTIPLIER_BASE" + get_constant (| + "revm_precompile::bls12_381::pairing::PAIRING_MULTIPLIER_BASE", + Ty.path "u64" + |) |), M.cast (Ty.path "u64") (M.read (| k |)) |), M.read (| - M.get_constant "revm_precompile::bls12_381::pairing::PAIRING_OFFSET_BASE" + get_constant (| + "revm_precompile::bls12_381::pairing::PAIRING_OFFSET_BASE", + Ty.path "u64" + |) |) |) |) in @@ -681,8 +712,10 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path "usize" + |) |) |)); ("end_", @@ -690,13 +723,18 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -951,13 +989,18 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |)); ("end_", @@ -966,18 +1009,26 @@ Module bls12_381. BinOp.Wrap.mul (| M.read (| i |), M.read (| - M.get_constant - "revm_precompile::bls12_381::pairing::INPUT_LENGTH" + get_constant (| + "revm_precompile::bls12_381::pairing::INPUT_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g1::G1_INPUT_ITEM_LENGTH", + Ty.path + "usize" + |) |) |), M.read (| - M.get_constant - "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH" + get_constant (| + "revm_precompile::bls12_381::g2::G2_INPUT_ITEM_LENGTH", + Ty.path "usize" + |) |) |)) ] @@ -1354,7 +1405,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_pairing : - M.IsFunction.Trait "revm_precompile::bls12_381::pairing::pairing" pairing. + M.IsFunction.C "revm_precompile::bls12_381::pairing::pairing" pairing. Admitted. Global Typeclasses Opaque pairing. End pairing. diff --git a/CoqOfRust/revm/revm_precompile/bls12_381/utils.v b/CoqOfRust/revm/revm_precompile/bls12_381/utils.v index 1601c2583..b082ee0a1 100644 --- a/CoqOfRust/revm/revm_precompile/bls12_381/utils.v +++ b/CoqOfRust/revm/revm_precompile/bls12_381/utils.v @@ -3,110 +3,114 @@ Require Import CoqOfRust.CoqOfRust. Module bls12_381. Module utils. - Definition value_NBITS : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). + Definition value_NBITS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 256 |))). - Axiom Constant_value_NBITS : - (M.get_constant "revm_precompile::bls12_381::utils::NBITS") = value_NBITS. - Global Hint Rewrite Constant_value_NBITS : constant_rewrites. + Global Instance Instance_IsConstant_value_NBITS : + M.IsFunction.C "revm_precompile::bls12_381::utils::NBITS" value_NBITS. + Admitted. + Global Typeclasses Opaque value_NBITS. - Definition value_FP_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 48 |))). + Definition value_FP_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 48 |))). - Axiom Constant_value_FP_LENGTH : - (M.get_constant "revm_precompile::bls12_381::utils::FP_LENGTH") = value_FP_LENGTH. - Global Hint Rewrite Constant_value_FP_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_FP_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::utils::FP_LENGTH" value_FP_LENGTH. + Admitted. + Global Typeclasses Opaque value_FP_LENGTH. - Definition value_PADDED_FP_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 64 |))). + Definition value_PADDED_FP_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 64 |))). - Axiom Constant_value_PADDED_FP_LENGTH : - (M.get_constant "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH") = - value_PADDED_FP_LENGTH. - Global Hint Rewrite Constant_value_PADDED_FP_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_PADDED_FP_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" value_PADDED_FP_LENGTH. + Admitted. + Global Typeclasses Opaque value_PADDED_FP_LENGTH. - Definition value_PADDED_FP2_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). + Definition value_PADDED_FP2_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 128 |))). - Axiom Constant_value_PADDED_FP2_LENGTH : - (M.get_constant "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH") = - value_PADDED_FP2_LENGTH. - Global Hint Rewrite Constant_value_PADDED_FP2_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_PADDED_FP2_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::utils::PADDED_FP2_LENGTH" value_PADDED_FP2_LENGTH. + Admitted. + Global Typeclasses Opaque value_PADDED_FP2_LENGTH. - Definition value_PADDING_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). + Definition value_PADDING_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 16 |))). - Axiom Constant_value_PADDING_LENGTH : - (M.get_constant "revm_precompile::bls12_381::utils::PADDING_LENGTH") = value_PADDING_LENGTH. - Global Hint Rewrite Constant_value_PADDING_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_PADDING_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::utils::PADDING_LENGTH" value_PADDING_LENGTH. + Admitted. + Global Typeclasses Opaque value_PADDING_LENGTH. - Definition value_SCALAR_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). + Definition value_SCALAR_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 32 |))). - Axiom Constant_value_SCALAR_LENGTH : - (M.get_constant "revm_precompile::bls12_381::utils::SCALAR_LENGTH") = value_SCALAR_LENGTH. - Global Hint Rewrite Constant_value_SCALAR_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_SCALAR_LENGTH : + M.IsFunction.C "revm_precompile::bls12_381::utils::SCALAR_LENGTH" value_SCALAR_LENGTH. + Admitted. + Global Typeclasses Opaque value_SCALAR_LENGTH. - Definition value_MODULUS_REPR : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U8 26; - Value.Integer IntegerKind.U8 1; - Value.Integer IntegerKind.U8 17; - Value.Integer IntegerKind.U8 234; - Value.Integer IntegerKind.U8 57; - Value.Integer IntegerKind.U8 127; - Value.Integer IntegerKind.U8 230; - Value.Integer IntegerKind.U8 154; - Value.Integer IntegerKind.U8 75; - Value.Integer IntegerKind.U8 27; - Value.Integer IntegerKind.U8 167; - Value.Integer IntegerKind.U8 182; - Value.Integer IntegerKind.U8 67; - Value.Integer IntegerKind.U8 75; - Value.Integer IntegerKind.U8 172; - Value.Integer IntegerKind.U8 215; - Value.Integer IntegerKind.U8 100; - Value.Integer IntegerKind.U8 119; - Value.Integer IntegerKind.U8 75; - Value.Integer IntegerKind.U8 132; - Value.Integer IntegerKind.U8 243; - Value.Integer IntegerKind.U8 133; - Value.Integer IntegerKind.U8 18; - Value.Integer IntegerKind.U8 191; - Value.Integer IntegerKind.U8 103; - Value.Integer IntegerKind.U8 48; - Value.Integer IntegerKind.U8 210; - Value.Integer IntegerKind.U8 160; - Value.Integer IntegerKind.U8 246; - Value.Integer IntegerKind.U8 176; - Value.Integer IntegerKind.U8 246; - Value.Integer IntegerKind.U8 36; - Value.Integer IntegerKind.U8 30; - Value.Integer IntegerKind.U8 171; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 254; - Value.Integer IntegerKind.U8 177; - Value.Integer IntegerKind.U8 83; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 185; - Value.Integer IntegerKind.U8 254; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 170; - Value.Integer IntegerKind.U8 171 - ] - |))). + Definition value_MODULUS_REPR (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U8 26; + Value.Integer IntegerKind.U8 1; + Value.Integer IntegerKind.U8 17; + Value.Integer IntegerKind.U8 234; + Value.Integer IntegerKind.U8 57; + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 230; + Value.Integer IntegerKind.U8 154; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 167; + Value.Integer IntegerKind.U8 182; + Value.Integer IntegerKind.U8 67; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 172; + Value.Integer IntegerKind.U8 215; + Value.Integer IntegerKind.U8 100; + Value.Integer IntegerKind.U8 119; + Value.Integer IntegerKind.U8 75; + Value.Integer IntegerKind.U8 132; + Value.Integer IntegerKind.U8 243; + Value.Integer IntegerKind.U8 133; + Value.Integer IntegerKind.U8 18; + Value.Integer IntegerKind.U8 191; + Value.Integer IntegerKind.U8 103; + Value.Integer IntegerKind.U8 48; + Value.Integer IntegerKind.U8 210; + Value.Integer IntegerKind.U8 160; + Value.Integer IntegerKind.U8 246; + Value.Integer IntegerKind.U8 176; + Value.Integer IntegerKind.U8 246; + Value.Integer IntegerKind.U8 36; + Value.Integer IntegerKind.U8 30; + Value.Integer IntegerKind.U8 171; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 254; + Value.Integer IntegerKind.U8 177; + Value.Integer IntegerKind.U8 83; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 185; + Value.Integer IntegerKind.U8 254; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 170; + Value.Integer IntegerKind.U8 171 + ] + |))). - Axiom Constant_value_MODULUS_REPR : - (M.get_constant "revm_precompile::bls12_381::utils::MODULUS_REPR") = value_MODULUS_REPR. - Global Hint Rewrite Constant_value_MODULUS_REPR : constant_rewrites. + Global Instance Instance_IsConstant_value_MODULUS_REPR : + M.IsFunction.C "revm_precompile::bls12_381::utils::MODULUS_REPR" value_MODULUS_REPR. + Admitted. + Global Typeclasses Opaque value_MODULUS_REPR. (* pub(super) fn fp_to_bytes(out: &mut [u8], input: *const blst_fp) { @@ -155,8 +159,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -192,7 +198,10 @@ Module bls12_381. [ M.borrow (| Pointer.Kind.MutRef, M.deref (| M.read (| out |) |) |); M.read (| - M.get_constant "revm_precompile::bls12_381::utils::PADDING_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDING_LENGTH", + Ty.path "usize" + |) |) ] |) @@ -257,7 +266,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_fp_to_bytes : - M.IsFunction.Trait "revm_precompile::bls12_381::utils::fp_to_bytes" fp_to_bytes. + M.IsFunction.C "revm_precompile::bls12_381::utils::fp_to_bytes" fp_to_bytes. Admitted. Global Typeclasses Opaque fp_to_bytes. @@ -313,8 +322,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -430,8 +441,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDED_FP_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -546,7 +559,10 @@ Module bls12_381. [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| input |) |) |); M.read (| - M.get_constant "revm_precompile::bls12_381::utils::PADDING_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDING_LENGTH", + Ty.path "usize" + |) |) ] |) @@ -749,8 +765,11 @@ Module bls12_381. M.deref (| M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::utils::PADDING_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::PADDING_LENGTH", + Ty.path + "usize" + |) |) |) |) @@ -871,7 +890,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_remove_padding : - M.IsFunction.Trait "revm_precompile::bls12_381::utils::remove_padding" remove_padding. + M.IsFunction.C "revm_precompile::bls12_381::utils::remove_padding" remove_padding. Admitted. Global Typeclasses Opaque remove_padding. @@ -932,8 +951,10 @@ Module bls12_381. ] |), M.read (| - M.get_constant - "revm_precompile::bls12_381::utils::SCALAR_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::SCALAR_LENGTH", + Ty.path "usize" + |) |) |) |)) in @@ -1049,8 +1070,10 @@ Module bls12_381. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::utils::SCALAR_LENGTH" + get_constant (| + "revm_precompile::bls12_381::utils::SCALAR_LENGTH", + Ty.path "usize" + |) |) ] |), @@ -1187,9 +1210,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_extract_scalar_input : - M.IsFunction.Trait - "revm_precompile::bls12_381::utils::extract_scalar_input" - extract_scalar_input. + M.IsFunction.C "revm_precompile::bls12_381::utils::extract_scalar_input" extract_scalar_input. Admitted. Global Typeclasses Opaque extract_scalar_input. @@ -1287,8 +1308,13 @@ Module bls12_381. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::bls12_381::utils::MODULUS_REPR" + get_constant (| + "revm_precompile::bls12_381::utils::MODULUS_REPR", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 48 ] + [ Ty.path "u8" ] + |) |) ] |) @@ -1449,7 +1475,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_is_valid_be : - M.IsFunction.Trait "revm_precompile::bls12_381::utils::is_valid_be" is_valid_be. + M.IsFunction.C "revm_precompile::bls12_381::utils::is_valid_be" is_valid_be. Admitted. Global Typeclasses Opaque is_valid_be. @@ -1590,7 +1616,7 @@ Module bls12_381. end. Global Instance Instance_IsFunction_fp_from_bendian : - M.IsFunction.Trait "revm_precompile::bls12_381::utils::fp_from_bendian" fp_from_bendian. + M.IsFunction.C "revm_precompile::bls12_381::utils::fp_from_bendian" fp_from_bendian. Admitted. Global Typeclasses Opaque fp_from_bendian. End utils. diff --git a/CoqOfRust/revm/revm_precompile/bn128.v b/CoqOfRust/revm/revm_precompile/bn128.v index e7909d8ce..2b575f9b8 100644 --- a/CoqOfRust/revm/revm_precompile/bn128.v +++ b/CoqOfRust/revm/revm_precompile/bn128.v @@ -3,1111 +3,1182 @@ Require Import CoqOfRust.CoqOfRust. Module bn128. Module add. - Definition value_ADDRESS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 6 ] - |) - |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 6 ] + |) + |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bn128::add::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bn128::add::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_ISTANBUL_ADD_GAS_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 150 |))). + Definition value_ISTANBUL_ADD_GAS_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 150 |))). - Axiom Constant_value_ISTANBUL_ADD_GAS_COST : - (M.get_constant "revm_precompile::bn128::add::ISTANBUL_ADD_GAS_COST") = + Global Instance Instance_IsConstant_value_ISTANBUL_ADD_GAS_COST : + M.IsFunction.C + "revm_precompile::bn128::add::ISTANBUL_ADD_GAS_COST" value_ISTANBUL_ADD_GAS_COST. - Global Hint Rewrite Constant_value_ISTANBUL_ADD_GAS_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ISTANBUL_ADD_GAS_COST. - Definition value_ISTANBUL : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::bn128::add::ADDRESS" |); - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Definition value_ISTANBUL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::bn128::add::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| Ty.apply - (Ty.path "core::result::Result") + (Ty.path "&") [] - [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path - "revm_precompile::interface::PrecompileErrors" - ], - M.get_function (| - "revm_precompile::bn128::run_add", - [], - [] - |), + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + Ty.apply + (Ty.path "core::result::Result") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "slice") - [] - [ Ty.path "u8" ] - ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - [], - "deref", - [], - [] - |), + Ty.path + "revm_precompile::interface::PrecompileOutput"; + Ty.path + "revm_precompile::interface::PrecompileErrors" + ], + M.get_function (| + "revm_precompile::bn128::run_add", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ Ty.path "bytes::bytes::Bytes" ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - [], - "deref", - [], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| M.read (| input |) |) - |) - ] - |) + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ Ty.path "bytes::bytes::Bytes" ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| M.read (| input |) |) + |) + ] |) |) - ] - |) + |) + ] |) - |); - M.read (| - M.get_constant - "revm_precompile::bn128::add::ISTANBUL_ADD_GAS_COST" - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |))). + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::add::ISTANBUL_ADD_GAS_COST", + Ty.path "u64" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] + |))). - Axiom Constant_value_ISTANBUL : - (M.get_constant "revm_precompile::bn128::add::ISTANBUL") = value_ISTANBUL. - Global Hint Rewrite Constant_value_ISTANBUL : constant_rewrites. + Global Instance Instance_IsConstant_value_ISTANBUL : + M.IsFunction.C "revm_precompile::bn128::add::ISTANBUL" value_ISTANBUL. + Admitted. + Global Typeclasses Opaque value_ISTANBUL. - Definition value_BYZANTIUM_ADD_GAS_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 500 |))). + Definition value_BYZANTIUM_ADD_GAS_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 500 |))). - Axiom Constant_value_BYZANTIUM_ADD_GAS_COST : - (M.get_constant "revm_precompile::bn128::add::BYZANTIUM_ADD_GAS_COST") = + Global Instance Instance_IsConstant_value_BYZANTIUM_ADD_GAS_COST : + M.IsFunction.C + "revm_precompile::bn128::add::BYZANTIUM_ADD_GAS_COST" value_BYZANTIUM_ADD_GAS_COST. - Global Hint Rewrite Constant_value_BYZANTIUM_ADD_GAS_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM_ADD_GAS_COST. - Definition value_BYZANTIUM : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::bn128::add::ADDRESS" |); - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Definition value_BYZANTIUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::bn128::add::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| Ty.apply - (Ty.path "core::result::Result") + (Ty.path "&") [] - [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path - "revm_precompile::interface::PrecompileErrors" - ], - M.get_function (| - "revm_precompile::bn128::run_add", - [], - [] - |), + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + Ty.apply + (Ty.path "core::result::Result") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "slice") - [] - [ Ty.path "u8" ] - ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - [], - "deref", - [], - [] - |), + Ty.path + "revm_precompile::interface::PrecompileOutput"; + Ty.path + "revm_precompile::interface::PrecompileErrors" + ], + M.get_function (| + "revm_precompile::bn128::run_add", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ Ty.path "bytes::bytes::Bytes" ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - [], - "deref", - [], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| M.read (| input |) |) - |) - ] - |) + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ Ty.path "bytes::bytes::Bytes" ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| M.read (| input |) |) + |) + ] |) |) - ] - |) + |) + ] |) - |); - M.read (| - M.get_constant - "revm_precompile::bn128::add::BYZANTIUM_ADD_GAS_COST" - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |))). + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::add::BYZANTIUM_ADD_GAS_COST", + Ty.path "u64" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] + |))). - Axiom Constant_value_BYZANTIUM : - (M.get_constant "revm_precompile::bn128::add::BYZANTIUM") = value_BYZANTIUM. - Global Hint Rewrite Constant_value_BYZANTIUM : constant_rewrites. + Global Instance Instance_IsConstant_value_BYZANTIUM : + M.IsFunction.C "revm_precompile::bn128::add::BYZANTIUM" value_BYZANTIUM. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM. End add. Module mul. - Definition value_ADDRESS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 7 ] - |) - |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 7 ] + |) + |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bn128::mul::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bn128::mul::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_ISTANBUL_MUL_GAS_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6000 |))). + Definition value_ISTANBUL_MUL_GAS_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 6000 |))). - Axiom Constant_value_ISTANBUL_MUL_GAS_COST : - (M.get_constant "revm_precompile::bn128::mul::ISTANBUL_MUL_GAS_COST") = + Global Instance Instance_IsConstant_value_ISTANBUL_MUL_GAS_COST : + M.IsFunction.C + "revm_precompile::bn128::mul::ISTANBUL_MUL_GAS_COST" value_ISTANBUL_MUL_GAS_COST. - Global Hint Rewrite Constant_value_ISTANBUL_MUL_GAS_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ISTANBUL_MUL_GAS_COST. - Definition value_ISTANBUL : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::bn128::mul::ADDRESS" |); - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Definition value_ISTANBUL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::bn128::mul::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| Ty.apply - (Ty.path "core::result::Result") + (Ty.path "&") [] - [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path - "revm_precompile::interface::PrecompileErrors" - ], - M.get_function (| - "revm_precompile::bn128::run_mul", - [], - [] - |), + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + Ty.apply + (Ty.path "core::result::Result") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "slice") - [] - [ Ty.path "u8" ] - ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - [], - "deref", - [], - [] - |), + Ty.path + "revm_precompile::interface::PrecompileOutput"; + Ty.path + "revm_precompile::interface::PrecompileErrors" + ], + M.get_function (| + "revm_precompile::bn128::run_mul", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ Ty.path "bytes::bytes::Bytes" ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - [], - "deref", - [], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| M.read (| input |) |) - |) - ] - |) + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ Ty.path "bytes::bytes::Bytes" ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| M.read (| input |) |) + |) + ] |) |) - ] - |) + |) + ] |) - |); - M.read (| - M.get_constant - "revm_precompile::bn128::mul::ISTANBUL_MUL_GAS_COST" - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |))). + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::mul::ISTANBUL_MUL_GAS_COST", + Ty.path "u64" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] + |))). - Axiom Constant_value_ISTANBUL : - (M.get_constant "revm_precompile::bn128::mul::ISTANBUL") = value_ISTANBUL. - Global Hint Rewrite Constant_value_ISTANBUL : constant_rewrites. + Global Instance Instance_IsConstant_value_ISTANBUL : + M.IsFunction.C "revm_precompile::bn128::mul::ISTANBUL" value_ISTANBUL. + Admitted. + Global Typeclasses Opaque value_ISTANBUL. - Definition value_BYZANTIUM_MUL_GAS_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 40000 |))). + Definition value_BYZANTIUM_MUL_GAS_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 40000 |))). - Axiom Constant_value_BYZANTIUM_MUL_GAS_COST : - (M.get_constant "revm_precompile::bn128::mul::BYZANTIUM_MUL_GAS_COST") = + Global Instance Instance_IsConstant_value_BYZANTIUM_MUL_GAS_COST : + M.IsFunction.C + "revm_precompile::bn128::mul::BYZANTIUM_MUL_GAS_COST" value_BYZANTIUM_MUL_GAS_COST. - Global Hint Rewrite Constant_value_BYZANTIUM_MUL_GAS_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM_MUL_GAS_COST. - Definition value_BYZANTIUM : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::bn128::mul::ADDRESS" |); - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Definition value_BYZANTIUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::bn128::mul::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| Ty.apply - (Ty.path "core::result::Result") - [] - [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path - "revm_precompile::interface::PrecompileErrors" - ], - M.get_function (| - "revm_precompile::bn128::run_mul", - [], + (Ty.path "&") [] - |), + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + Ty.apply + (Ty.path "core::result::Result") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "slice") - [] - [ Ty.path "u8" ] - ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - [], - "deref", - [], - [] - |), + Ty.path + "revm_precompile::interface::PrecompileOutput"; + Ty.path + "revm_precompile::interface::PrecompileErrors" + ], + M.get_function (| + "revm_precompile::bn128::run_mul", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ Ty.path "bytes::bytes::Bytes" ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - [], - "deref", - [], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| M.read (| input |) |) - |) - ] - |) + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ Ty.path "bytes::bytes::Bytes" ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| M.read (| input |) |) + |) + ] |) |) - ] - |) + |) + ] |) - |); - M.read (| - M.get_constant - "revm_precompile::bn128::mul::BYZANTIUM_MUL_GAS_COST" - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |))). + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::mul::BYZANTIUM_MUL_GAS_COST", + Ty.path "u64" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] + |))). - Axiom Constant_value_BYZANTIUM : - (M.get_constant "revm_precompile::bn128::mul::BYZANTIUM") = value_BYZANTIUM. - Global Hint Rewrite Constant_value_BYZANTIUM : constant_rewrites. + Global Instance Instance_IsConstant_value_BYZANTIUM : + M.IsFunction.C "revm_precompile::bn128::mul::BYZANTIUM" value_BYZANTIUM. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM. End mul. Module pair_. - Definition value_ADDRESS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 8 ] - |) - |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 8 ] + |) + |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::bn128::pair::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::bn128::pair::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_ISTANBUL_PAIR_PER_POINT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 34000 |))). + Definition value_ISTANBUL_PAIR_PER_POINT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 34000 |))). - Axiom Constant_value_ISTANBUL_PAIR_PER_POINT : - (M.get_constant "revm_precompile::bn128::pair::ISTANBUL_PAIR_PER_POINT") = + Global Instance Instance_IsConstant_value_ISTANBUL_PAIR_PER_POINT : + M.IsFunction.C + "revm_precompile::bn128::pair::ISTANBUL_PAIR_PER_POINT" value_ISTANBUL_PAIR_PER_POINT. - Global Hint Rewrite Constant_value_ISTANBUL_PAIR_PER_POINT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ISTANBUL_PAIR_PER_POINT. - Definition value_ISTANBUL_PAIR_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 45000 |))). + Definition value_ISTANBUL_PAIR_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 45000 |))). - Axiom Constant_value_ISTANBUL_PAIR_BASE : - (M.get_constant "revm_precompile::bn128::pair::ISTANBUL_PAIR_BASE") = - value_ISTANBUL_PAIR_BASE. - Global Hint Rewrite Constant_value_ISTANBUL_PAIR_BASE : constant_rewrites. + Global Instance Instance_IsConstant_value_ISTANBUL_PAIR_BASE : + M.IsFunction.C "revm_precompile::bn128::pair::ISTANBUL_PAIR_BASE" value_ISTANBUL_PAIR_BASE. + Admitted. + Global Typeclasses Opaque value_ISTANBUL_PAIR_BASE. - Definition value_ISTANBUL : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::bn128::pair::ADDRESS" |); - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Definition value_ISTANBUL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::bn128::pair::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| Ty.apply - (Ty.path "core::result::Result") - [] - [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path - "revm_precompile::interface::PrecompileErrors" - ], - M.get_function (| - "revm_precompile::bn128::run_pair", - [], + (Ty.path "&") [] - |), + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + Ty.apply + (Ty.path "core::result::Result") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "slice") - [] - [ Ty.path "u8" ] - ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - [], - "deref", - [], - [] - |), + Ty.path + "revm_precompile::interface::PrecompileOutput"; + Ty.path + "revm_precompile::interface::PrecompileErrors" + ], + M.get_function (| + "revm_precompile::bn128::run_pair", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ Ty.path "bytes::bytes::Bytes" ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - [], - "deref", - [], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| M.read (| input |) |) - |) - ] - |) + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ Ty.path "bytes::bytes::Bytes" ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.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_BASE" - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |))). + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::pair::ISTANBUL_PAIR_PER_POINT", + Ty.path "u64" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::pair::ISTANBUL_PAIR_BASE", + Ty.path "u64" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] + |))). - Axiom Constant_value_ISTANBUL : - (M.get_constant "revm_precompile::bn128::pair::ISTANBUL") = value_ISTANBUL. - Global Hint Rewrite Constant_value_ISTANBUL : constant_rewrites. + Global Instance Instance_IsConstant_value_ISTANBUL : + M.IsFunction.C "revm_precompile::bn128::pair::ISTANBUL" value_ISTANBUL. + Admitted. + Global Typeclasses Opaque value_ISTANBUL. - Definition value_BYZANTIUM_PAIR_PER_POINT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 80000 |))). + Definition value_BYZANTIUM_PAIR_PER_POINT + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 80000 |))). - Axiom Constant_value_BYZANTIUM_PAIR_PER_POINT : - (M.get_constant "revm_precompile::bn128::pair::BYZANTIUM_PAIR_PER_POINT") = + Global Instance Instance_IsConstant_value_BYZANTIUM_PAIR_PER_POINT : + M.IsFunction.C + "revm_precompile::bn128::pair::BYZANTIUM_PAIR_PER_POINT" value_BYZANTIUM_PAIR_PER_POINT. - Global Hint Rewrite Constant_value_BYZANTIUM_PAIR_PER_POINT : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM_PAIR_PER_POINT. - Definition value_BYZANTIUM_PAIR_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 100000 |))). + Definition value_BYZANTIUM_PAIR_BASE + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 100000 |))). - Axiom Constant_value_BYZANTIUM_PAIR_BASE : - (M.get_constant "revm_precompile::bn128::pair::BYZANTIUM_PAIR_BASE") = - value_BYZANTIUM_PAIR_BASE. - Global Hint Rewrite Constant_value_BYZANTIUM_PAIR_BASE : constant_rewrites. + Global Instance Instance_IsConstant_value_BYZANTIUM_PAIR_BASE : + M.IsFunction.C "revm_precompile::bn128::pair::BYZANTIUM_PAIR_BASE" value_BYZANTIUM_PAIR_BASE. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM_PAIR_BASE. - Definition value_BYZANTIUM : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::bn128::pair::ADDRESS" |); - (* ClosureFnPointer(Safe) *) - M.pointer_coercion - (M.closure - (fun γ => - ltac:(M.monadic - match γ with - | [ α0; α1 ] => - ltac:(M.monadic - (M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Definition value_BYZANTIUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::bn128::pair::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ClosureFnPointer(Safe) *) + M.pointer_coercion + (M.closure + (fun γ => + ltac:(M.monadic + match γ with + | [ α0; α1 ] => + ltac:(M.monadic + (M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α0 |), - [ - fun γ => - ltac:(M.monadic - (let input := M.copy (| γ |) in - M.match_operator (| - Some - (Ty.function - [ - Ty.tuple - [ - Ty.apply - (Ty.path "&") - [] - [ Ty.path "alloy_primitives::bytes_::Bytes" ]; - Ty.path "u64" - ] - ] - (Ty.apply - (Ty.path "core::result::Result") - [] + Ty.apply + (Ty.path "&") + [] + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α0 |), + [ + fun γ => + ltac:(M.monadic + (let input := M.copy (| γ |) in + M.match_operator (| + Some + (Ty.function + [ + Ty.tuple [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path "revm_precompile::interface::PrecompileErrors" - ])), - M.alloc (| α1 |), - [ - fun γ => - ltac:(M.monadic - (let gas_limit := M.copy (| γ |) in - M.call_closure (| Ty.apply - (Ty.path "core::result::Result") - [] - [ - Ty.path - "revm_precompile::interface::PrecompileOutput"; - Ty.path - "revm_precompile::interface::PrecompileErrors" - ], - M.get_function (| - "revm_precompile::bn128::run_pair", - [], + (Ty.path "&") [] - |), + [ Ty.path "alloy_primitives::bytes_::Bytes" ]; + Ty.path "u64" + ] + ] + (Ty.apply + (Ty.path "core::result::Result") + [] + [ + Ty.path "revm_precompile::interface::PrecompileOutput"; + Ty.path "revm_precompile::interface::PrecompileErrors" + ])), + M.alloc (| α1 |), + [ + fun γ => + ltac:(M.monadic + (let gas_limit := M.copy (| γ |) in + M.call_closure (| + Ty.apply + (Ty.path "core::result::Result") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ - Ty.apply - (Ty.path "slice") - [] - [ Ty.path "u8" ] - ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path "bytes::bytes::Bytes", - [], - [], - "deref", - [], - [] - |), + Ty.path + "revm_precompile::interface::PrecompileOutput"; + Ty.path + "revm_precompile::interface::PrecompileErrors" + ], + M.get_function (| + "revm_precompile::bn128::run_pair", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.call_closure (| - Ty.apply - (Ty.path "&") - [] - [ Ty.path "bytes::bytes::Bytes" ], - M.get_trait_method (| - "core::ops::deref::Deref", - Ty.path - "alloy_primitives::bytes_::Bytes", - [], - [], - "deref", - [], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| M.read (| input |) |) - |) - ] - |) + Ty.apply + (Ty.path "slice") + [] + [ Ty.path "u8" ] + ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path "bytes::bytes::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.call_closure (| + Ty.apply + (Ty.path "&") + [] + [ Ty.path "bytes::bytes::Bytes" ], + M.get_trait_method (| + "core::ops::deref::Deref", + Ty.path + "alloy_primitives::bytes_::Bytes", + [], + [], + "deref", + [], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.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_BASE" - |); - M.read (| gas_limit |) - ] - |))) - ] - |))) - ] - |))) - | _ => M.impossible "wrong number of arguments" - end))) - ] - |))). + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::pair::BYZANTIUM_PAIR_PER_POINT", + Ty.path "u64" + |) + |); + M.read (| + get_constant (| + "revm_precompile::bn128::pair::BYZANTIUM_PAIR_BASE", + Ty.path "u64" + |) + |); + M.read (| gas_limit |) + ] + |))) + ] + |))) + ] + |))) + | _ => M.impossible "wrong number of arguments" + end))) + ] + |))). - Axiom Constant_value_BYZANTIUM : - (M.get_constant "revm_precompile::bn128::pair::BYZANTIUM") = value_BYZANTIUM. - Global Hint Rewrite Constant_value_BYZANTIUM : constant_rewrites. + Global Instance Instance_IsConstant_value_BYZANTIUM : + M.IsFunction.C "revm_precompile::bn128::pair::BYZANTIUM" value_BYZANTIUM. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM. End pair_. - Definition value_ADD_INPUT_LEN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.add (| - Value.Integer IntegerKind.Usize 64, - Value.Integer IntegerKind.Usize 64 - |) - |))). + Definition value_ADD_INPUT_LEN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.add (| Value.Integer IntegerKind.Usize 64, Value.Integer IntegerKind.Usize 64 |) + |))). - Axiom Constant_value_ADD_INPUT_LEN : - (M.get_constant "revm_precompile::bn128::ADD_INPUT_LEN") = value_ADD_INPUT_LEN. - Global Hint Rewrite Constant_value_ADD_INPUT_LEN : constant_rewrites. + Global Instance Instance_IsConstant_value_ADD_INPUT_LEN : + M.IsFunction.C "revm_precompile::bn128::ADD_INPUT_LEN" value_ADD_INPUT_LEN. + Admitted. + Global Typeclasses Opaque value_ADD_INPUT_LEN. - Definition value_MUL_INPUT_LEN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.add (| - Value.Integer IntegerKind.Usize 64, - Value.Integer IntegerKind.Usize 32 - |) - |))). + Definition value_MUL_INPUT_LEN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.add (| Value.Integer IntegerKind.Usize 64, Value.Integer IntegerKind.Usize 32 |) + |))). - Axiom Constant_value_MUL_INPUT_LEN : - (M.get_constant "revm_precompile::bn128::MUL_INPUT_LEN") = value_MUL_INPUT_LEN. - Global Hint Rewrite Constant_value_MUL_INPUT_LEN : constant_rewrites. + Global Instance Instance_IsConstant_value_MUL_INPUT_LEN : + M.IsFunction.C "revm_precompile::bn128::MUL_INPUT_LEN" value_MUL_INPUT_LEN. + Admitted. + Global Typeclasses Opaque value_MUL_INPUT_LEN. - Definition value_PAIR_ELEMENT_LEN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.add (| - Value.Integer IntegerKind.Usize 64, - Value.Integer IntegerKind.Usize 128 - |) - |))). + Definition value_PAIR_ELEMENT_LEN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.add (| Value.Integer IntegerKind.Usize 64, Value.Integer IntegerKind.Usize 128 |) + |))). - Axiom Constant_value_PAIR_ELEMENT_LEN : - (M.get_constant "revm_precompile::bn128::PAIR_ELEMENT_LEN") = value_PAIR_ELEMENT_LEN. - Global Hint Rewrite Constant_value_PAIR_ELEMENT_LEN : constant_rewrites. + Global Instance Instance_IsConstant_value_PAIR_ELEMENT_LEN : + M.IsFunction.C "revm_precompile::bn128::PAIR_ELEMENT_LEN" value_PAIR_ELEMENT_LEN. + Admitted. + Global Typeclasses Opaque value_PAIR_ELEMENT_LEN. (* pub fn read_fq(input: &[u8]) -> Result { @@ -1208,7 +1279,7 @@ Module bn128. end. Global Instance Instance_IsFunction_read_fq : - M.IsFunction.Trait "revm_precompile::bn128::read_fq" read_fq. + M.IsFunction.C "revm_precompile::bn128::read_fq" read_fq. Admitted. Global Typeclasses Opaque read_fq. @@ -1558,7 +1629,7 @@ Module bn128. end. Global Instance Instance_IsFunction_read_point : - M.IsFunction.Trait "revm_precompile::bn128::read_point" read_point. + M.IsFunction.C "revm_precompile::bn128::read_point" read_point. Admitted. Global Typeclasses Opaque read_point. @@ -1786,7 +1857,7 @@ Module bn128. end. Global Instance Instance_IsFunction_new_g1_point : - M.IsFunction.Trait "revm_precompile::bn128::new_g1_point" new_g1_point. + M.IsFunction.C "revm_precompile::bn128::new_g1_point" new_g1_point. Admitted. Global Typeclasses Opaque new_g1_point. @@ -2532,7 +2603,7 @@ Module bn128. end. Global Instance Instance_IsFunction_run_add : - M.IsFunction.Trait "revm_precompile::bn128::run_add" run_add. + M.IsFunction.C "revm_precompile::bn128::run_add" run_add. Admitted. Global Typeclasses Opaque run_add. @@ -3200,7 +3271,7 @@ Module bn128. end. Global Instance Instance_IsFunction_run_mul : - M.IsFunction.Trait "revm_precompile::bn128::run_mul" run_mul. + M.IsFunction.C "revm_precompile::bn128::run_mul" run_mul. Admitted. Global Typeclasses Opaque run_mul. @@ -3297,7 +3368,12 @@ Module bn128. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| input |) |) |) ] |), - M.read (| M.get_constant "revm_precompile::bn128::PAIR_ELEMENT_LEN" |) + M.read (| + get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN", + Ty.path "usize" + |) + |) |)), M.read (| pair_per_point_cost |) |), @@ -3378,7 +3454,10 @@ Module bn128. ] |), M.read (| - M.get_constant "revm_precompile::bn128::PAIR_ELEMENT_LEN" + get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN", + Ty.path "usize" + |) |) |), Value.Integer IntegerKind.Usize 0 @@ -3469,7 +3548,10 @@ Module bn128. ] |), M.read (| - M.get_constant "revm_precompile::bn128::PAIR_ELEMENT_LEN" + get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN", + Ty.path "usize" + |) |) |) |) in @@ -3688,8 +3770,11 @@ Module bn128. |), BinOp.Wrap.div (| M.read (| - M.get_constant - "revm_precompile::bn128::PAIR_ELEMENT_LEN" + get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN", + Ty.path + "usize" + |) |), Value.Integer IntegerKind.Usize @@ -3754,8 +3839,11 @@ Module bn128. idx |), M.read (| - M.get_constant - "revm_precompile::bn128::PAIR_ELEMENT_LEN" + get_constant (| + "revm_precompile::bn128::PAIR_ELEMENT_LEN", + Ty.path + "usize" + |) |) |), BinOp.Wrap.mul (| @@ -5556,7 +5644,7 @@ Module bn128. end. Global Instance Instance_IsFunction_run_pair : - M.IsFunction.Trait "revm_precompile::bn128::run_pair" run_pair. + M.IsFunction.C "revm_precompile::bn128::run_pair" run_pair. Admitted. Global Typeclasses Opaque run_pair. End bn128. diff --git a/CoqOfRust/revm/revm_precompile/hash.v b/CoqOfRust/revm/revm_precompile/hash.v index 845bbc70a..73239c812 100644 --- a/CoqOfRust/revm/revm_precompile/hash.v +++ b/CoqOfRust/revm/revm_precompile/hash.v @@ -2,47 +2,47 @@ Require Import CoqOfRust.CoqOfRust. Module hash. - Definition value_SHA256 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 2 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion (M.get_function (| "revm_precompile::hash::sha256_run", [], [] |)) - ] - |))). + Definition value_SHA256 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 2 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion (M.get_function (| "revm_precompile::hash::sha256_run", [], [] |)) + ] + |))). - Axiom Constant_value_SHA256 : (M.get_constant "revm_precompile::hash::SHA256") = value_SHA256. - Global Hint Rewrite Constant_value_SHA256 : constant_rewrites. + Global Instance Instance_IsConstant_value_SHA256 : + M.IsFunction.C "revm_precompile::hash::SHA256" value_SHA256. + Admitted. + Global Typeclasses Opaque value_SHA256. - Definition value_RIPEMD160 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 3 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::hash::ripemd160_run", [], [] |)) - ] - |))). + Definition value_RIPEMD160 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 3 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion (M.get_function (| "revm_precompile::hash::ripemd160_run", [], [] |)) + ] + |))). - Axiom Constant_value_RIPEMD160 : - (M.get_constant "revm_precompile::hash::RIPEMD160") = value_RIPEMD160. - Global Hint Rewrite Constant_value_RIPEMD160 : constant_rewrites. + Global Instance Instance_IsConstant_value_RIPEMD160 : + M.IsFunction.C "revm_precompile::hash::RIPEMD160" value_RIPEMD160. + Admitted. + Global Typeclasses Opaque value_RIPEMD160. (* pub fn sha256_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -410,7 +410,7 @@ Module hash. end. Global Instance Instance_IsFunction_sha256_run : - M.IsFunction.Trait "revm_precompile::hash::sha256_run" sha256_run. + M.IsFunction.C "revm_precompile::hash::sha256_run" sha256_run. Admitted. Global Typeclasses Opaque sha256_run. @@ -788,7 +788,7 @@ Module hash. end. Global Instance Instance_IsFunction_ripemd160_run : - M.IsFunction.Trait "revm_precompile::hash::ripemd160_run" ripemd160_run. + M.IsFunction.C "revm_precompile::hash::ripemd160_run" ripemd160_run. Admitted. Global Typeclasses Opaque ripemd160_run. End hash. diff --git a/CoqOfRust/revm/revm_precompile/identity.v b/CoqOfRust/revm/revm_precompile/identity.v index f42a43435..f5d977966 100644 --- a/CoqOfRust/revm/revm_precompile/identity.v +++ b/CoqOfRust/revm/revm_precompile/identity.v @@ -2,40 +2,43 @@ Require Import CoqOfRust.CoqOfRust. Module identity. - Definition value_FUN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 4 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::identity::identity_run", [], [] |)) - ] - |))). + Definition value_FUN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 4 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::identity::identity_run", [], [] |)) + ] + |))). - Axiom Constant_value_FUN : (M.get_constant "revm_precompile::identity::FUN") = value_FUN. - Global Hint Rewrite Constant_value_FUN : constant_rewrites. + Global Instance Instance_IsConstant_value_FUN : + M.IsFunction.C "revm_precompile::identity::FUN" value_FUN. + Admitted. + Global Typeclasses Opaque value_FUN. - Definition value_IDENTITY_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 15 |))). + Definition value_IDENTITY_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 15 |))). - Axiom Constant_value_IDENTITY_BASE : - (M.get_constant "revm_precompile::identity::IDENTITY_BASE") = value_IDENTITY_BASE. - Global Hint Rewrite Constant_value_IDENTITY_BASE : constant_rewrites. + Global Instance Instance_IsConstant_value_IDENTITY_BASE : + M.IsFunction.C "revm_precompile::identity::IDENTITY_BASE" value_IDENTITY_BASE. + Admitted. + Global Typeclasses Opaque value_IDENTITY_BASE. - Definition value_IDENTITY_PER_WORD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_IDENTITY_PER_WORD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_IDENTITY_PER_WORD : - (M.get_constant "revm_precompile::identity::IDENTITY_PER_WORD") = value_IDENTITY_PER_WORD. - Global Hint Rewrite Constant_value_IDENTITY_PER_WORD : constant_rewrites. + Global Instance Instance_IsConstant_value_IDENTITY_PER_WORD : + M.IsFunction.C "revm_precompile::identity::IDENTITY_PER_WORD" value_IDENTITY_PER_WORD. + Admitted. + Global Typeclasses Opaque value_IDENTITY_PER_WORD. (* pub fn identity_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -91,8 +94,15 @@ Module identity. |) ] |); - M.read (| M.get_constant "revm_precompile::identity::IDENTITY_BASE" |); - M.read (| M.get_constant "revm_precompile::identity::IDENTITY_PER_WORD" |) + M.read (| + get_constant (| "revm_precompile::identity::IDENTITY_BASE", Ty.path "u64" |) + |); + M.read (| + get_constant (| + "revm_precompile::identity::IDENTITY_PER_WORD", + Ty.path "u64" + |) + |) ] |) |) in @@ -179,7 +189,7 @@ Module identity. end. Global Instance Instance_IsFunction_identity_run : - M.IsFunction.Trait "revm_precompile::identity::identity_run" identity_run. + M.IsFunction.C "revm_precompile::identity::identity_run" identity_run. Admitted. Global Typeclasses Opaque identity_run. End identity. diff --git a/CoqOfRust/revm/revm_precompile/interface.v b/CoqOfRust/revm/revm_precompile/interface.v index f3d44121d..d08a204fa 100644 --- a/CoqOfRust/revm/revm_precompile/interface.v +++ b/CoqOfRust/revm/revm_precompile/interface.v @@ -402,7 +402,7 @@ Module interface. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. End Impl_revm_precompile_interface_PrecompileOutput. @@ -2120,7 +2120,7 @@ Module interface. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_other : M.IsAssociatedFunction.Trait Self "other" other. + Global Instance AssociatedFunction_other : M.IsAssociatedFunction.C Self "other" other. Admitted. Global Typeclasses Opaque other. @@ -2155,7 +2155,7 @@ Module interface. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_oog : M.IsAssociatedFunction.Trait Self "is_oog" is_oog. + Global Instance AssociatedFunction_is_oog : M.IsAssociatedFunction.C Self "is_oog" is_oog. Admitted. Global Typeclasses Opaque is_oog. End Impl_revm_precompile_interface_PrecompileError. diff --git a/CoqOfRust/revm/revm_precompile/kzg_point_evaluation.v b/CoqOfRust/revm/revm_precompile/kzg_point_evaluation.v index 90caad968..4e7157e33 100644 --- a/CoqOfRust/revm/revm_precompile/kzg_point_evaluation.v +++ b/CoqOfRust/revm/revm_precompile/kzg_point_evaluation.v @@ -2,73 +2,87 @@ Require Import CoqOfRust.CoqOfRust. Module kzg_point_evaluation. - Definition value_POINT_EVALUATION : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.read (| M.get_constant "revm_precompile::kzg_point_evaluation::ADDRESS" |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::kzg_point_evaluation::run", [], [] |)) - ] - |))). + Definition value_POINT_EVALUATION (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.read (| + get_constant (| + "revm_precompile::kzg_point_evaluation::ADDRESS", + Ty.path "alloy_primitives::bits::address::Address" + |) + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::kzg_point_evaluation::run", [], [] |)) + ] + |))). - Axiom Constant_value_POINT_EVALUATION : - (M.get_constant "revm_precompile::kzg_point_evaluation::POINT_EVALUATION") = - value_POINT_EVALUATION. - Global Hint Rewrite Constant_value_POINT_EVALUATION : constant_rewrites. + Global Instance Instance_IsConstant_value_POINT_EVALUATION : + M.IsFunction.C "revm_precompile::kzg_point_evaluation::POINT_EVALUATION" value_POINT_EVALUATION. + Admitted. + Global Typeclasses Opaque value_POINT_EVALUATION. - Definition value_ADDRESS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 10 ] - |) - |))). + Definition value_ADDRESS (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 10 ] + |) + |))). - Axiom Constant_value_ADDRESS : - (M.get_constant "revm_precompile::kzg_point_evaluation::ADDRESS") = value_ADDRESS. - Global Hint Rewrite Constant_value_ADDRESS : constant_rewrites. + Global Instance Instance_IsConstant_value_ADDRESS : + M.IsFunction.C "revm_precompile::kzg_point_evaluation::ADDRESS" value_ADDRESS. + Admitted. + Global Typeclasses Opaque value_ADDRESS. - Definition value_GAS_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 50000 |))). + Definition value_GAS_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 50000 |))). - Axiom Constant_value_GAS_COST : - (M.get_constant "revm_precompile::kzg_point_evaluation::GAS_COST") = value_GAS_COST. - Global Hint Rewrite Constant_value_GAS_COST : constant_rewrites. + Global Instance Instance_IsConstant_value_GAS_COST : + M.IsFunction.C "revm_precompile::kzg_point_evaluation::GAS_COST" value_GAS_COST. + Admitted. + Global Typeclasses Opaque value_GAS_COST. - Definition value_VERSIONED_HASH_VERSION_KZG : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). + Definition value_VERSIONED_HASH_VERSION_KZG + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). - Axiom Constant_value_VERSIONED_HASH_VERSION_KZG : - (M.get_constant "revm_precompile::kzg_point_evaluation::VERSIONED_HASH_VERSION_KZG") = + Global Instance Instance_IsConstant_value_VERSIONED_HASH_VERSION_KZG : + M.IsFunction.C + "revm_precompile::kzg_point_evaluation::VERSIONED_HASH_VERSION_KZG" value_VERSIONED_HASH_VERSION_KZG. - Global Hint Rewrite Constant_value_VERSIONED_HASH_VERSION_KZG : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_VERSIONED_HASH_VERSION_KZG. - Definition value_RETURN_VALUE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.get_constant "revm_precompile::kzg_point_evaluation::RETURN_VALUE::RES" + Definition value_RETURN_VALUE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + get_constant (| + "revm_precompile::kzg_point_evaluation::RETURN_VALUE::RES", + Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 64 ] [ Ty.path "u8" ] |) |) |) - |))). + |) + |))). - Axiom Constant_value_RETURN_VALUE : - (M.get_constant "revm_precompile::kzg_point_evaluation::RETURN_VALUE") = value_RETURN_VALUE. - Global Hint Rewrite Constant_value_RETURN_VALUE : constant_rewrites. + Global Instance Instance_IsConstant_value_RETURN_VALUE : + M.IsFunction.C "revm_precompile::kzg_point_evaluation::RETURN_VALUE" value_RETURN_VALUE. + Admitted. + Global Typeclasses Opaque value_RETURN_VALUE. (* pub fn run(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -123,7 +137,10 @@ Module kzg_point_evaluation. BinOp.lt (| M.read (| gas_limit |), M.read (| - M.get_constant "revm_precompile::kzg_point_evaluation::GAS_COST" + get_constant (| + "revm_precompile::kzg_point_evaluation::GAS_COST", + Ty.path "u64" + |) |) |) |)) in @@ -877,7 +894,10 @@ Module kzg_point_evaluation. |), [ M.read (| - M.get_constant "revm_precompile::kzg_point_evaluation::GAS_COST" + get_constant (| + "revm_precompile::kzg_point_evaluation::GAS_COST", + Ty.path "u64" + |) |); M.call_closure (| Ty.path "alloy_primitives::bytes_::Bytes", @@ -903,8 +923,18 @@ Module kzg_point_evaluation. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "revm_precompile::kzg_point_evaluation::RETURN_VALUE" + get_constant (| + "revm_precompile::kzg_point_evaluation::RETURN_VALUE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 64 ] + [ Ty.path "u8" ] + ] + |) |) |) |) @@ -920,7 +950,7 @@ Module kzg_point_evaluation. end. Global Instance Instance_IsFunction_run : - M.IsFunction.Trait "revm_precompile::kzg_point_evaluation::run" run. + M.IsFunction.C "revm_precompile::kzg_point_evaluation::run" run. Admitted. Global Typeclasses Opaque run. @@ -1111,7 +1141,10 @@ Module kzg_point_evaluation. M.write (| M.SubPointer.get_array_field (| hash, Value.Integer IntegerKind.Usize 0 |), M.read (| - M.get_constant "revm_precompile::kzg_point_evaluation::VERSIONED_HASH_VERSION_KZG" + get_constant (| + "revm_precompile::kzg_point_evaluation::VERSIONED_HASH_VERSION_KZG", + Ty.path "u8" + |) |) |) |) in @@ -1121,7 +1154,7 @@ Module kzg_point_evaluation. end. Global Instance Instance_IsFunction_kzg_to_versioned_hash : - M.IsFunction.Trait + M.IsFunction.C "revm_precompile::kzg_point_evaluation::kzg_to_versioned_hash" kzg_to_versioned_hash. Admitted. @@ -1199,7 +1232,7 @@ Module kzg_point_evaluation. end. Global Instance Instance_IsFunction_verify_kzg_proof : - M.IsFunction.Trait "revm_precompile::kzg_point_evaluation::verify_kzg_proof" verify_kzg_proof. + M.IsFunction.C "revm_precompile::kzg_point_evaluation::verify_kzg_proof" verify_kzg_proof. Admitted. Global Typeclasses Opaque verify_kzg_proof. @@ -1257,7 +1290,7 @@ Module kzg_point_evaluation. end. Global Instance Instance_IsFunction_as_array : - M.IsFunction.Trait "revm_precompile::kzg_point_evaluation::as_array" as_array. + M.IsFunction.C "revm_precompile::kzg_point_evaluation::as_array" as_array. Admitted. Global Typeclasses Opaque as_array. @@ -1330,7 +1363,7 @@ Module kzg_point_evaluation. end. Global Instance Instance_IsFunction_as_bytes32 : - M.IsFunction.Trait "revm_precompile::kzg_point_evaluation::as_bytes32" as_bytes32. + M.IsFunction.C "revm_precompile::kzg_point_evaluation::as_bytes32" as_bytes32. Admitted. Global Typeclasses Opaque as_bytes32. @@ -1403,7 +1436,7 @@ Module kzg_point_evaluation. end. Global Instance Instance_IsFunction_as_bytes48 : - M.IsFunction.Trait "revm_precompile::kzg_point_evaluation::as_bytes48" as_bytes48. + M.IsFunction.C "revm_precompile::kzg_point_evaluation::as_bytes48" as_bytes48. Admitted. Global Typeclasses Opaque as_bytes48. End kzg_point_evaluation. diff --git a/CoqOfRust/revm/revm_precompile/lib.v b/CoqOfRust/revm/revm_precompile/lib.v index 5a342c375..2b7c72593 100644 --- a/CoqOfRust/revm/revm_precompile/lib.v +++ b/CoqOfRust/revm/revm_precompile/lib.v @@ -28,7 +28,7 @@ Definition calc_linear_cost_u32 (ε : list Value.t) (τ : list Ty.t) (α : list end. Global Instance Instance_IsFunction_calc_linear_cost_u32 : - M.IsFunction.Trait "revm_precompile::calc_linear_cost_u32" calc_linear_cost_u32. + M.IsFunction.C "revm_precompile::calc_linear_cost_u32" calc_linear_cost_u32. Admitted. Global Typeclasses Opaque calc_linear_cost_u32. @@ -511,7 +511,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_new : M.IsAssociatedFunction.Trait Self "new" new. + Global Instance AssociatedFunction_new : M.IsAssociatedFunction.C Self "new" new. Admitted. Global Typeclasses Opaque new. @@ -558,7 +558,22 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "revm_precompile::homestead::INSTANCE" |) |) + M.deref (| + M.read (| + get_constant (| + "revm_precompile::homestead::INSTANCE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::race::once_box::OnceBox") + [] + [ Ty.path "revm_precompile::Precompiles" ] + ] + |) + |) + |) |); M.closure (fun γ => @@ -618,17 +633,28 @@ Module Impl_revm_precompile_Precompiles. Value.Array [ M.read (| - M.get_constant - "revm_precompile::secp256k1::ECRECOVER" + get_constant (| + "revm_precompile::secp256k1::ECRECOVER", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant "revm_precompile::hash::SHA256" + get_constant (| + "revm_precompile::hash::SHA256", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant "revm_precompile::hash::RIPEMD160" + get_constant (| + "revm_precompile::hash::RIPEMD160", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant "revm_precompile::identity::FUN" + get_constant (| + "revm_precompile::identity::FUN", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |) ] ] @@ -671,7 +697,7 @@ Module Impl_revm_precompile_Precompiles. end. Global Instance AssociatedFunction_homestead : - M.IsAssociatedFunction.Trait Self "homestead" homestead. + M.IsAssociatedFunction.C Self "homestead" homestead. Admitted. Global Typeclasses Opaque homestead. @@ -701,7 +727,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inner : M.IsAssociatedFunction.Trait Self "inner" inner. + Global Instance AssociatedFunction_inner : M.IsAssociatedFunction.C Self "inner" inner. Admitted. Global Typeclasses Opaque inner. @@ -751,7 +777,22 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "revm_precompile::byzantium::INSTANCE" |) |) + M.deref (| + M.read (| + get_constant (| + "revm_precompile::byzantium::INSTANCE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::race::once_box::OnceBox") + [] + [ Ty.path "revm_precompile::Precompiles" ] + ] + |) + |) + |) |); M.closure (fun γ => @@ -830,20 +871,28 @@ Module Impl_revm_precompile_Precompiles. Value.Array [ M.read (| - M.get_constant - "revm_precompile::bn128::add::BYZANTIUM" + get_constant (| + "revm_precompile::bn128::add::BYZANTIUM", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant - "revm_precompile::bn128::mul::BYZANTIUM" + get_constant (| + "revm_precompile::bn128::mul::BYZANTIUM", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant - "revm_precompile::bn128::pair::BYZANTIUM" + get_constant (| + "revm_precompile::bn128::pair::BYZANTIUM", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant - "revm_precompile::modexp::BYZANTIUM" + get_constant (| + "revm_precompile::modexp::BYZANTIUM", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |) ] ] @@ -886,7 +935,7 @@ Module Impl_revm_precompile_Precompiles. end. Global Instance AssociatedFunction_byzantium : - M.IsAssociatedFunction.Trait Self "byzantium" byzantium. + M.IsAssociatedFunction.C Self "byzantium" byzantium. Admitted. Global Typeclasses Opaque byzantium. @@ -935,7 +984,22 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "revm_precompile::istanbul::INSTANCE" |) |) + M.deref (| + M.read (| + get_constant (| + "revm_precompile::istanbul::INSTANCE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::race::once_box::OnceBox") + [] + [ Ty.path "revm_precompile::Precompiles" ] + ] + |) + |) + |) |); M.closure (fun γ => @@ -1014,19 +1078,28 @@ Module Impl_revm_precompile_Precompiles. Value.Array [ M.read (| - M.get_constant - "revm_precompile::bn128::add::ISTANBUL" + get_constant (| + "revm_precompile::bn128::add::ISTANBUL", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant - "revm_precompile::bn128::mul::ISTANBUL" + get_constant (| + "revm_precompile::bn128::mul::ISTANBUL", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant - "revm_precompile::bn128::pair::ISTANBUL" + get_constant (| + "revm_precompile::bn128::pair::ISTANBUL", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |); M.read (| - M.get_constant "revm_precompile::blake2::FUN" + get_constant (| + "revm_precompile::blake2::FUN", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |) ] ] @@ -1068,8 +1141,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_istanbul : - M.IsAssociatedFunction.Trait Self "istanbul" istanbul. + Global Instance AssociatedFunction_istanbul : M.IsAssociatedFunction.C Self "istanbul" istanbul. Admitted. Global Typeclasses Opaque istanbul. @@ -1114,7 +1186,22 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "revm_precompile::berlin::INSTANCE" |) |) + M.deref (| + M.read (| + get_constant (| + "revm_precompile::berlin::INSTANCE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::race::once_box::OnceBox") + [] + [ Ty.path "revm_precompile::Precompiles" ] + ] + |) + |) + |) |); M.closure (fun γ => @@ -1193,7 +1280,10 @@ Module Impl_revm_precompile_Precompiles. Value.Array [ M.read (| - M.get_constant "revm_precompile::modexp::BERLIN" + get_constant (| + "revm_precompile::modexp::BERLIN", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |) ] ] @@ -1235,7 +1325,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_berlin : M.IsAssociatedFunction.Trait Self "berlin" berlin. + Global Instance AssociatedFunction_berlin : M.IsAssociatedFunction.C Self "berlin" berlin. Admitted. Global Typeclasses Opaque berlin. @@ -1291,7 +1381,22 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "revm_precompile::cancun::INSTANCE" |) |) + M.deref (| + M.read (| + get_constant (| + "revm_precompile::cancun::INSTANCE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::race::once_box::OnceBox") + [] + [ Ty.path "revm_precompile::Precompiles" ] + ] + |) + |) + |) |); M.closure (fun γ => @@ -1367,8 +1472,10 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant - "revm_precompile::kzg_point_evaluation::POINT_EVALUATION" + get_constant (| + "revm_precompile::kzg_point_evaluation::POINT_EVALUATION", + Ty.path "revm_precompile::PrecompileWithAddress" + |) |) ] |) @@ -1430,7 +1537,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_cancun : M.IsAssociatedFunction.Trait Self "cancun" cancun. + Global Instance AssociatedFunction_cancun : M.IsAssociatedFunction.C Self "cancun" cancun. Admitted. Global Typeclasses Opaque cancun. @@ -1480,7 +1587,22 @@ Module Impl_revm_precompile_Precompiles. [ M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "revm_precompile::prague::INSTANCE" |) |) + M.deref (| + M.read (| + get_constant (| + "revm_precompile::prague::INSTANCE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "once_cell::race::once_box::OnceBox") + [] + [ Ty.path "revm_precompile::Precompiles" ] + ] + |) + |) + |) |); M.closure (fun γ => @@ -1605,7 +1727,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_prague : M.IsAssociatedFunction.Trait Self "prague" prague. + Global Instance AssociatedFunction_prague : M.IsAssociatedFunction.C Self "prague" prague. Admitted. Global Typeclasses Opaque prague. @@ -1626,7 +1748,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_latest : M.IsAssociatedFunction.Trait Self "latest" latest. + Global Instance AssociatedFunction_latest : M.IsAssociatedFunction.C Self "latest" latest. Admitted. Global Typeclasses Opaque latest. @@ -1698,7 +1820,7 @@ Module Impl_revm_precompile_Precompiles. end. Global Instance AssociatedFunction_addresses : - M.IsAssociatedFunction.Trait Self "addresses" addresses. + M.IsAssociatedFunction.C Self "addresses" addresses. Admitted. Global Typeclasses Opaque addresses. @@ -1769,7 +1891,7 @@ Module Impl_revm_precompile_Precompiles. end. Global Instance AssociatedFunction_into_addresses : - M.IsAssociatedFunction.Trait Self "into_addresses" into_addresses. + M.IsAssociatedFunction.C Self "into_addresses" into_addresses. Admitted. Global Typeclasses Opaque into_addresses. @@ -1825,8 +1947,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_contains : - M.IsAssociatedFunction.Trait Self "contains" contains. + Global Instance AssociatedFunction_contains : M.IsAssociatedFunction.C Self "contains" contains. Admitted. Global Typeclasses Opaque contains. @@ -1903,7 +2024,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get : M.IsAssociatedFunction.Trait Self "get" get. + Global Instance AssociatedFunction_get : M.IsAssociatedFunction.C Self "get" get. Admitted. Global Typeclasses Opaque get. @@ -1980,7 +2101,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.Trait Self "get_mut" get_mut. + Global Instance AssociatedFunction_get_mut : M.IsAssociatedFunction.C Self "get_mut" get_mut. Admitted. Global Typeclasses Opaque get_mut. @@ -2037,8 +2158,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + Global Instance AssociatedFunction_is_empty : M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -2092,7 +2212,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -2123,7 +2243,7 @@ Module Impl_revm_precompile_Precompiles. end. Global Instance AssociatedFunction_addresses_set : - M.IsAssociatedFunction.Trait Self "addresses_set" addresses_set. + M.IsAssociatedFunction.C Self "addresses_set" addresses_set. Admitted. Global Typeclasses Opaque addresses_set. @@ -2676,7 +2796,7 @@ Module Impl_revm_precompile_Precompiles. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_extend : M.IsAssociatedFunction.Trait Self "extend" extend. + Global Instance AssociatedFunction_extend : M.IsAssociatedFunction.C Self "extend" extend. Admitted. Global Typeclasses Opaque extend. End Impl_revm_precompile_Precompiles. @@ -3001,7 +3121,7 @@ Module Impl_revm_precompile_PrecompileWithAddress. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_address : M.IsAssociatedFunction.Trait Self "address" address. + Global Instance AssociatedFunction_address : M.IsAssociatedFunction.C Self "address" address. Admitted. Global Typeclasses Opaque address. @@ -3032,7 +3152,7 @@ Module Impl_revm_precompile_PrecompileWithAddress. end. Global Instance AssociatedFunction_precompile : - M.IsAssociatedFunction.Trait Self "precompile" precompile. + M.IsAssociatedFunction.C Self "precompile" precompile. Admitted. Global Typeclasses Opaque precompile. End Impl_revm_precompile_PrecompileWithAddress. @@ -3817,7 +3937,7 @@ Module Impl_revm_precompile_PrecompileSpecId. end. Global Instance AssociatedFunction_from_spec_id : - M.IsAssociatedFunction.Trait Self "from_spec_id" from_spec_id. + M.IsAssociatedFunction.C Self "from_spec_id" from_spec_id. Admitted. Global Typeclasses Opaque from_spec_id. End Impl_revm_precompile_PrecompileSpecId. @@ -3902,6 +4022,6 @@ Definition u64_to_address (ε : list Value.t) (τ : list Ty.t) (α : list Value. end. Global Instance Instance_IsFunction_u64_to_address : - M.IsFunction.Trait "revm_precompile::u64_to_address" u64_to_address. + M.IsFunction.C "revm_precompile::u64_to_address" u64_to_address. Admitted. Global Typeclasses Opaque u64_to_address. diff --git a/CoqOfRust/revm/revm_precompile/modexp.v b/CoqOfRust/revm/revm_precompile/modexp.v index 1714187e3..097c012d4 100644 --- a/CoqOfRust/revm/revm_precompile/modexp.v +++ b/CoqOfRust/revm/revm_precompile/modexp.v @@ -2,48 +2,48 @@ Require Import CoqOfRust.CoqOfRust. Module modexp. - Definition value_BYZANTIUM : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 5 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::modexp::byzantium_run", [], [] |)) - ] - |))). + Definition value_BYZANTIUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 5 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::modexp::byzantium_run", [], [] |)) + ] + |))). - Axiom Constant_value_BYZANTIUM : - (M.get_constant "revm_precompile::modexp::BYZANTIUM") = value_BYZANTIUM. - Global Hint Rewrite Constant_value_BYZANTIUM : constant_rewrites. + Global Instance Instance_IsConstant_value_BYZANTIUM : + M.IsFunction.C "revm_precompile::modexp::BYZANTIUM" value_BYZANTIUM. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM. - Definition value_BERLIN : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 5 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::modexp::berlin_run", [], [] |)) - ] - |))). + Definition value_BERLIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 5 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion (M.get_function (| "revm_precompile::modexp::berlin_run", [], [] |)) + ] + |))). - Axiom Constant_value_BERLIN : (M.get_constant "revm_precompile::modexp::BERLIN") = value_BERLIN. - Global Hint Rewrite Constant_value_BERLIN : constant_rewrites. + Global Instance Instance_IsConstant_value_BERLIN : + M.IsFunction.C "revm_precompile::modexp::BERLIN" value_BERLIN. + Admitted. + Global Typeclasses Opaque value_BERLIN. (* pub fn byzantium_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { @@ -289,7 +289,7 @@ Module modexp. end. Global Instance Instance_IsFunction_byzantium_run : - M.IsFunction.Trait "revm_precompile::modexp::byzantium_run" byzantium_run. + M.IsFunction.C "revm_precompile::modexp::byzantium_run" byzantium_run. Admitted. Global Typeclasses Opaque byzantium_run. @@ -537,7 +537,7 @@ Module modexp. end. Global Instance Instance_IsFunction_berlin_run : - M.IsFunction.Trait "revm_precompile::modexp::berlin_run" berlin_run. + M.IsFunction.C "revm_precompile::modexp::berlin_run" berlin_run. Admitted. Global Typeclasses Opaque berlin_run. @@ -772,9 +772,7 @@ Module modexp. end. Global Instance Instance_IsFunction_calculate_iteration_count : - M.IsFunction.Trait - "revm_precompile::modexp::calculate_iteration_count" - calculate_iteration_count. + M.IsFunction.C "revm_precompile::modexp::calculate_iteration_count" calculate_iteration_count. Admitted. Global Typeclasses Opaque calculate_iteration_count. @@ -1380,8 +1378,10 @@ Module modexp. [ ("start", M.read (| - M.get_constant - "revm_precompile::modexp::run_inner::HEADER_LENGTH" + get_constant (| + "revm_precompile::modexp::run_inner::HEADER_LENGTH", + Ty.path "usize" + |) |)) ] ] @@ -2270,17 +2270,18 @@ Module modexp. end. Global Instance Instance_IsFunction_run_inner : - M.IsFunction.Trait "revm_precompile::modexp::run_inner" run_inner. + M.IsFunction.C "revm_precompile::modexp::run_inner" run_inner. Admitted. Global Typeclasses Opaque run_inner. Module run_inner. - Definition value_HEADER_LENGTH : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 96 |))). + Definition value_HEADER_LENGTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 96 |))). - Axiom Constant_value_HEADER_LENGTH : - (M.get_constant "revm_precompile::modexp::run_inner::HEADER_LENGTH") = value_HEADER_LENGTH. - Global Hint Rewrite Constant_value_HEADER_LENGTH : constant_rewrites. + Global Instance Instance_IsConstant_value_HEADER_LENGTH : + M.IsFunction.C "revm_precompile::modexp::run_inner::HEADER_LENGTH" value_HEADER_LENGTH. + Admitted. + Global Typeclasses Opaque value_HEADER_LENGTH. End run_inner. (* @@ -2468,7 +2469,7 @@ Module modexp. end. Global Instance Instance_IsFunction_byzantium_gas_calc : - M.IsFunction.Trait "revm_precompile::modexp::byzantium_gas_calc" byzantium_gas_calc. + M.IsFunction.C "revm_precompile::modexp::byzantium_gas_calc" byzantium_gas_calc. Admitted. Global Typeclasses Opaque byzantium_gas_calc. @@ -2877,9 +2878,7 @@ Module modexp. end. Global Instance Instance_IsFunction_mul_complexity : - M.IsFunction.Trait - "revm_precompile::modexp::byzantium_gas_calc::mul_complexity" - mul_complexity. + M.IsFunction.C "revm_precompile::modexp::byzantium_gas_calc::mul_complexity" mul_complexity. Admitted. Global Typeclasses Opaque mul_complexity. End byzantium_gas_calc. @@ -3064,7 +3063,7 @@ Module modexp. end. Global Instance Instance_IsFunction_berlin_gas_calc : - M.IsFunction.Trait "revm_precompile::modexp::berlin_gas_calc" berlin_gas_calc. + M.IsFunction.C "revm_precompile::modexp::berlin_gas_calc" berlin_gas_calc. Admitted. Global Typeclasses Opaque berlin_gas_calc. @@ -3188,7 +3187,7 @@ Module modexp. end. Global Instance Instance_IsFunction_calculate_multiplication_complexity : - M.IsFunction.Trait + M.IsFunction.C "revm_precompile::modexp::berlin_gas_calc::calculate_multiplication_complexity" calculate_multiplication_complexity. Admitted. diff --git a/CoqOfRust/revm/revm_precompile/secp256k1.v b/CoqOfRust/revm/revm_precompile/secp256k1.v index 78b990e6b..1cd3e26a5 100644 --- a/CoqOfRust/revm/revm_precompile/secp256k1.v +++ b/CoqOfRust/revm/revm_precompile/secp256k1.v @@ -2,27 +2,27 @@ Require Import CoqOfRust.CoqOfRust. Module secp256k1. - Definition value_ECRECOVER : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "revm_precompile::PrecompileWithAddress" - [ - M.call_closure (| - Ty.path "alloy_primitives::bits::address::Address", - M.get_function (| "revm_precompile::u64_to_address", [], [] |), - [ Value.Integer IntegerKind.U64 1 ] - |); - (* ReifyFnPointer *) - M.pointer_coercion - (M.get_function (| "revm_precompile::secp256k1::ec_recover_run", [], [] |)) - ] - |))). + Definition value_ECRECOVER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "revm_precompile::PrecompileWithAddress" + [ + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_function (| "revm_precompile::u64_to_address", [], [] |), + [ Value.Integer IntegerKind.U64 1 ] + |); + (* ReifyFnPointer *) + M.pointer_coercion + (M.get_function (| "revm_precompile::secp256k1::ec_recover_run", [], [] |)) + ] + |))). - Axiom Constant_value_ECRECOVER : - (M.get_constant "revm_precompile::secp256k1::ECRECOVER") = value_ECRECOVER. - Global Hint Rewrite Constant_value_ECRECOVER : constant_rewrites. + Global Instance Instance_IsConstant_value_ECRECOVER : + M.IsFunction.C "revm_precompile::secp256k1::ECRECOVER" value_ECRECOVER. + Admitted. + Global Typeclasses Opaque value_ECRECOVER. Module secp256k1. (* @@ -331,8 +331,21 @@ Module secp256k1. M.read (| M.deref (| M.read (| - M.get_constant - "secp256k1::context::global::SECP256K1" + get_constant (| + "secp256k1::context::global::SECP256K1", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "&") + [] + [ + Ty.path + "secp256k1::context::global::GlobalContext" + ] + ] + |) |) |) |) @@ -557,7 +570,7 @@ Module secp256k1. end. Global Instance Instance_IsFunction_ecrecover : - M.IsFunction.Trait "revm_precompile::secp256k1::secp256k1::ecrecover" ecrecover. + M.IsFunction.C "revm_precompile::secp256k1::secp256k1::ecrecover" ecrecover. Admitted. Global Typeclasses Opaque ecrecover. End secp256k1. @@ -608,8 +621,10 @@ Module secp256k1. (M.alloc (| BinOp.gt (| M.read (| - M.get_constant - "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE" + get_constant (| + "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE", + Ty.path "u64" + |) |), M.read (| gas_limit |) |) @@ -991,8 +1006,10 @@ Module secp256k1. |), [ M.read (| - M.get_constant - "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE" + get_constant (| + "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE", + Ty.path "u64" + |) |); M.call_closure (| Ty.path "alloy_primitives::bytes_::Bytes", @@ -1549,8 +1566,10 @@ Module secp256k1. |), [ M.read (| - M.get_constant - "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE" + get_constant (| + "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE", + Ty.path "u64" + |) |); M.read (| out |) ] @@ -1563,17 +1582,19 @@ Module secp256k1. end. Global Instance Instance_IsFunction_ec_recover_run : - M.IsFunction.Trait "revm_precompile::secp256k1::ec_recover_run" ec_recover_run. + M.IsFunction.C "revm_precompile::secp256k1::ec_recover_run" ec_recover_run. Admitted. Global Typeclasses Opaque ec_recover_run. Module ec_recover_run. - Definition value_ECRECOVER_BASE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3000 |))). + Definition value_ECRECOVER_BASE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3000 |))). - Axiom Constant_value_ECRECOVER_BASE : - (M.get_constant "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE") = + Global Instance Instance_IsConstant_value_ECRECOVER_BASE : + M.IsFunction.C + "revm_precompile::secp256k1::ec_recover_run::ECRECOVER_BASE" value_ECRECOVER_BASE. - Global Hint Rewrite Constant_value_ECRECOVER_BASE : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_ECRECOVER_BASE. End ec_recover_run. End secp256k1. diff --git a/CoqOfRust/revm/revm_precompile/utilities.v b/CoqOfRust/revm/revm_precompile/utilities.v index 9364548c6..377529dc9 100644 --- a/CoqOfRust/revm/revm_precompile/utilities.v +++ b/CoqOfRust/revm/revm_precompile/utilities.v @@ -69,7 +69,7 @@ Module utilities. end. Global Instance Instance_IsFunction_right_pad_with_offset : - M.IsFunction.Trait "revm_precompile::utilities::right_pad_with_offset" right_pad_with_offset. + M.IsFunction.C "revm_precompile::utilities::right_pad_with_offset" right_pad_with_offset. Admitted. Global Typeclasses Opaque right_pad_with_offset. @@ -142,7 +142,7 @@ Module utilities. end. Global Instance Instance_IsFunction_right_pad_with_offset_vec : - M.IsFunction.Trait + M.IsFunction.C "revm_precompile::utilities::right_pad_with_offset_vec" right_pad_with_offset_vec. Admitted. @@ -200,7 +200,10 @@ Module utilities. [ ("end_", M.read (| - M.get_constant "revm_precompile::utilities::right_pad::LEN" + get_constant (| + "revm_precompile::utilities::right_pad::LEN", + Ty.path "usize" + |) |)) ] ] @@ -345,7 +348,7 @@ Module utilities. end. Global Instance Instance_IsFunction_right_pad : - M.IsFunction.Trait "revm_precompile::utilities::right_pad" right_pad. + M.IsFunction.C "revm_precompile::utilities::right_pad" right_pad. Admitted. Global Typeclasses Opaque right_pad. @@ -504,7 +507,7 @@ Module utilities. end. Global Instance Instance_IsFunction_right_pad_vec : - M.IsFunction.Trait "revm_precompile::utilities::right_pad_vec" right_pad_vec. + M.IsFunction.C "revm_precompile::utilities::right_pad_vec" right_pad_vec. Admitted. Global Typeclasses Opaque right_pad_vec. @@ -560,7 +563,10 @@ Module utilities. [ ("end_", M.read (| - M.get_constant "revm_precompile::utilities::left_pad::LEN" + get_constant (| + "revm_precompile::utilities::left_pad::LEN", + Ty.path "usize" + |) |)) ] ] @@ -673,8 +679,10 @@ Module utilities. ("start", BinOp.Wrap.sub (| M.read (| - M.get_constant - "revm_precompile::utilities::left_pad::LEN" + get_constant (| + "revm_precompile::utilities::left_pad::LEN", + Ty.path "usize" + |) |), M.call_closure (| Ty.path "usize", @@ -711,7 +719,7 @@ Module utilities. end. Global Instance Instance_IsFunction_left_pad : - M.IsFunction.Trait "revm_precompile::utilities::left_pad" left_pad. + M.IsFunction.C "revm_precompile::utilities::left_pad" left_pad. Admitted. Global Typeclasses Opaque left_pad. @@ -873,7 +881,7 @@ Module utilities. end. Global Instance Instance_IsFunction_left_pad_vec : - M.IsFunction.Trait "revm_precompile::utilities::left_pad_vec" left_pad_vec. + M.IsFunction.C "revm_precompile::utilities::left_pad_vec" left_pad_vec. Admitted. Global Typeclasses Opaque left_pad_vec. @@ -929,7 +937,7 @@ Module utilities. end. Global Instance Instance_IsFunction_bool_to_bytes32 : - M.IsFunction.Trait "revm_precompile::utilities::bool_to_bytes32" bool_to_bytes32. + M.IsFunction.C "revm_precompile::utilities::bool_to_bytes32" bool_to_bytes32. Admitted. Global Typeclasses Opaque bool_to_bytes32. @@ -967,9 +975,32 @@ Module utilities. ltac:(M.monadic (let γ := M.use value in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "revm_precompile::utilities::bool_to_b256::TRUE")); + get_constant (| + "revm_precompile::utilities::bool_to_b256::TRUE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + ] + |))); fun γ => - ltac:(M.monadic (M.get_constant "revm_precompile::utilities::bool_to_b256::FALSE")) + ltac:(M.monadic + (get_constant (| + "revm_precompile::utilities::bool_to_b256::FALSE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [] + ] + |))) ] |) |))) @@ -977,89 +1008,101 @@ Module utilities. end. Global Instance Instance_IsFunction_bool_to_b256 : - M.IsFunction.Trait "revm_precompile::utilities::bool_to_b256" bool_to_b256. + M.IsFunction.C "revm_precompile::utilities::bool_to_b256" bool_to_b256. Admitted. Global Typeclasses Opaque bool_to_b256. Module bool_to_b256. - Definition value_TRUE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - M.call_closure (| + Definition value_TRUE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ Value.Integer IntegerKind.Usize 32 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "alloy_primitives::bits::fixed::FixedBytes") - [ Value.Integer IntegerKind.Usize 32 ] - [], - "new", - [], - [] - |), - [ - M.read (| - M.get_constant "revm_precompile::utilities::bool_to_b256::TRUE::RES" + "new", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_precompile::utilities::bool_to_b256::TRUE::RES", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "u8" ] |) - ] - |) + |) + ] |) |) |) |) - |))). + |) + |))). - Axiom Constant_value_TRUE : - (M.get_constant "revm_precompile::utilities::bool_to_b256::TRUE") = value_TRUE. - Global Hint Rewrite Constant_value_TRUE : constant_rewrites. + Global Instance Instance_IsConstant_value_TRUE : + M.IsFunction.C "revm_precompile::utilities::bool_to_b256::TRUE" value_TRUE. + Admitted. + Global Typeclasses Opaque value_TRUE. - Definition value_FALSE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - M.call_closure (| + Definition value_FALSE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ Value.Integer IntegerKind.Usize 32 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "alloy_primitives::bits::fixed::FixedBytes") - [ Value.Integer IntegerKind.Usize 32 ] - [], - "new", - [], - [] - |), - [ - M.read (| - M.get_constant "revm_precompile::utilities::bool_to_b256::FALSE::RES" + "new", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_precompile::utilities::bool_to_b256::FALSE::RES", + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 32 ] + [ Ty.path "u8" ] |) - ] - |) + |) + ] |) |) |) |) - |))). + |) + |))). - Axiom Constant_value_FALSE : - (M.get_constant "revm_precompile::utilities::bool_to_b256::FALSE") = value_FALSE. - Global Hint Rewrite Constant_value_FALSE : constant_rewrites. + Global Instance Instance_IsConstant_value_FALSE : + M.IsFunction.C "revm_precompile::utilities::bool_to_b256::FALSE" value_FALSE. + Admitted. + Global Typeclasses Opaque value_FALSE. End bool_to_b256. End utilities. diff --git a/CoqOfRust/revm/revm_primitives/constants.v b/CoqOfRust/revm/revm_primitives/constants.v index ed81585bf..8b57252e6 100644 --- a/CoqOfRust/revm/revm_primitives/constants.v +++ b/CoqOfRust/revm/revm_primitives/constants.v @@ -2,87 +2,102 @@ Require Import CoqOfRust.CoqOfRust. Module constants. - Definition value_BLOCK_HASH_HISTORY : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 256 |))). + Definition value_BLOCK_HASH_HISTORY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 256 |))). - Axiom Constant_value_BLOCK_HASH_HISTORY : - (M.get_constant "revm_primitives::constants::BLOCK_HASH_HISTORY") = value_BLOCK_HASH_HISTORY. - Global Hint Rewrite Constant_value_BLOCK_HASH_HISTORY : constant_rewrites. + Global Instance Instance_IsConstant_value_BLOCK_HASH_HISTORY : + M.IsFunction.C "revm_primitives::constants::BLOCK_HASH_HISTORY" value_BLOCK_HASH_HISTORY. + Admitted. + Global Typeclasses Opaque value_BLOCK_HASH_HISTORY. - Definition value_BLOCKHASH_SERVE_WINDOW : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8192 |))). + Definition value_BLOCKHASH_SERVE_WINDOW + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 8192 |))). - Axiom Constant_value_BLOCKHASH_SERVE_WINDOW : - (M.get_constant "revm_primitives::constants::BLOCKHASH_SERVE_WINDOW") = + Global Instance Instance_IsConstant_value_BLOCKHASH_SERVE_WINDOW : + M.IsFunction.C + "revm_primitives::constants::BLOCKHASH_SERVE_WINDOW" value_BLOCKHASH_SERVE_WINDOW. - Global Hint Rewrite Constant_value_BLOCKHASH_SERVE_WINDOW : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BLOCKHASH_SERVE_WINDOW. - Definition value_BLOCKHASH_STORAGE_ADDRESS : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_BLOCKHASH_STORAGE_ADDRESS + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_associated_function (| Ty.path "alloy_primitives::bits::address::Address", - M.get_associated_function (| - Ty.path "alloy_primitives::bits::address::Address", - "new", - [], - [] - |), - [ - M.read (| - M.get_constant "revm_primitives::constants::BLOCKHASH_STORAGE_ADDRESS::RES" + "new", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_primitives::constants::BLOCKHASH_STORAGE_ADDRESS::RES", + Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 20 ] [ Ty.path "u8" ] |) - ] - |) - |))). + |) + ] + |) + |))). - Axiom Constant_value_BLOCKHASH_STORAGE_ADDRESS : - (M.get_constant "revm_primitives::constants::BLOCKHASH_STORAGE_ADDRESS") = + Global Instance Instance_IsConstant_value_BLOCKHASH_STORAGE_ADDRESS : + M.IsFunction.C + "revm_primitives::constants::BLOCKHASH_STORAGE_ADDRESS" value_BLOCKHASH_STORAGE_ADDRESS. - Global Hint Rewrite Constant_value_BLOCKHASH_STORAGE_ADDRESS : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BLOCKHASH_STORAGE_ADDRESS. - Definition value_PRECOMPILE3 : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_PRECOMPILE3 (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "alloy_primitives::bits::address::Address", + M.get_associated_function (| Ty.path "alloy_primitives::bits::address::Address", - M.get_associated_function (| - Ty.path "alloy_primitives::bits::address::Address", - "new", - [], - [] - |), - [ - Value.Array - [ - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - Value.Integer IntegerKind.U8 0; - 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 - ] - ] - |) - |))). + "new", + [], + [] + |), + [ + Value.Array + [ + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + Value.Integer IntegerKind.U8 0; + 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 + ] + ] + |) + |))). - Axiom Constant_value_PRECOMPILE3 : - (M.get_constant "revm_primitives::constants::PRECOMPILE3") = value_PRECOMPILE3. - Global Hint Rewrite Constant_value_PRECOMPILE3 : constant_rewrites. + Global Instance Instance_IsConstant_value_PRECOMPILE3 : + M.IsFunction.C "revm_primitives::constants::PRECOMPILE3" value_PRECOMPILE3. + Admitted. + Global Typeclasses Opaque value_PRECOMPILE3. End constants. diff --git a/CoqOfRust/revm/revm_primitives/lib.v b/CoqOfRust/revm/revm_primitives/lib.v index 32d8ffbdb..62d8c0b96 100644 --- a/CoqOfRust/revm/revm_primitives/lib.v +++ b/CoqOfRust/revm/revm_primitives/lib.v @@ -1,28 +1,35 @@ (* Generated by coq-of-rust *) Require Import CoqOfRust.CoqOfRust. -Definition value_KECCAK_EMPTY : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| +Definition value_KECCAK_EMPTY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "alloy_primitives::bits::fixed::FixedBytes") + [ Value.Integer IntegerKind.Usize 32 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "alloy_primitives::bits::fixed::FixedBytes") [ Value.Integer IntegerKind.Usize 32 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "alloy_primitives::bits::fixed::FixedBytes") - [ Value.Integer IntegerKind.Usize 32 ] - [], - "new", - [], - [] - |), - [ M.read (| M.get_constant "revm_primitives::KECCAK_EMPTY::RES" |) ] - |) - |))). + "new", + [], + [] + |), + [ + M.read (| + get_constant (| + "revm_primitives::KECCAK_EMPTY::RES", + Ty.apply (Ty.path "array") [ Value.Integer IntegerKind.Usize 32 ] [ Ty.path "u8" ] + |) + |) + ] + |) + |))). -Axiom Constant_value_KECCAK_EMPTY : - (M.get_constant "revm_primitives::KECCAK_EMPTY") = value_KECCAK_EMPTY. -Global Hint Rewrite Constant_value_KECCAK_EMPTY : constant_rewrites. +Global Instance Instance_IsConstant_value_KECCAK_EMPTY : + M.IsFunction.C "revm_primitives::KECCAK_EMPTY" value_KECCAK_EMPTY. +Admitted. +Global Typeclasses Opaque value_KECCAK_EMPTY. diff --git a/CoqOfRust/revm/revm_primitives/links/lib.v b/CoqOfRust/revm/revm_primitives/links/lib.v index 908b4d2c7..4663838da 100644 --- a/CoqOfRust/revm/revm_primitives/links/lib.v +++ b/CoqOfRust/revm/revm_primitives/links/lib.v @@ -1,12 +1,18 @@ (* Generated *) Require Import CoqOfRust.CoqOfRust. Require Import CoqOfRust.links.M. +Require Import alloy_primitives.bits.links.fixed. +Require Import alloy_primitives.links.aliases. Require Import revm.revm_primitives.lib. -Lemma KECCAK_EMPTY_eq : - M.get_constant "revm_primitives::KECCAK_EMPTY" = - φ (Ref.immediate Pointer.Kind.Raw (Integer.Build_t IntegerKind.U64 0)). +Import Impl_FixedBytes. + +(* pub const KECCAK_EMPTY: B256 *) +Instance run_KECCAK_EMPTY : + Run.Trait + value_KECCAK_EMPTY [] [] [] + (Ref.t Pointer.Kind.Raw aliases.B256.t). Proof. - repeat (autorewrite with constant_rewrites || cbn). + constructor. + run_symbolic. Admitted. -Global Hint Rewrite KECCAK_EMPTY_eq : run_constant. diff --git a/CoqOfRust/revm/revm_specification/constants.v b/CoqOfRust/revm/revm_specification/constants.v index 233341933..38826a5f7 100644 --- a/CoqOfRust/revm/revm_specification/constants.v +++ b/CoqOfRust/revm/revm_specification/constants.v @@ -2,38 +2,43 @@ Require Import CoqOfRust.CoqOfRust. Module constants. - Definition value_STACK_LIMIT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 1024 |))). + Definition value_STACK_LIMIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 1024 |))). - Axiom Constant_value_STACK_LIMIT : - (M.get_constant "revm_specification::constants::STACK_LIMIT") = value_STACK_LIMIT. - Global Hint Rewrite Constant_value_STACK_LIMIT : constant_rewrites. + Global Instance Instance_IsConstant_value_STACK_LIMIT : + M.IsFunction.C "revm_specification::constants::STACK_LIMIT" value_STACK_LIMIT. + Admitted. + Global Typeclasses Opaque value_STACK_LIMIT. - Definition value_MAX_CODE_SIZE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 24576 |))). + Definition value_MAX_CODE_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 24576 |))). - Axiom Constant_value_MAX_CODE_SIZE : - (M.get_constant "revm_specification::constants::MAX_CODE_SIZE") = value_MAX_CODE_SIZE. - Global Hint Rewrite Constant_value_MAX_CODE_SIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_CODE_SIZE : + M.IsFunction.C "revm_specification::constants::MAX_CODE_SIZE" value_MAX_CODE_SIZE. + Admitted. + Global Typeclasses Opaque value_MAX_CODE_SIZE. - Definition value_MAX_INITCODE_SIZE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.Usize 2, - M.read (| M.get_constant "revm_specification::constants::MAX_CODE_SIZE" |) + Definition value_MAX_INITCODE_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.Usize 2, + M.read (| + get_constant (| "revm_specification::constants::MAX_CODE_SIZE", Ty.path "usize" |) |) - |))). + |) + |))). - Axiom Constant_value_MAX_INITCODE_SIZE : - (M.get_constant "revm_specification::constants::MAX_INITCODE_SIZE") = value_MAX_INITCODE_SIZE. - Global Hint Rewrite Constant_value_MAX_INITCODE_SIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_INITCODE_SIZE : + M.IsFunction.C "revm_specification::constants::MAX_INITCODE_SIZE" value_MAX_INITCODE_SIZE. + Admitted. + Global Typeclasses Opaque value_MAX_INITCODE_SIZE. - Definition value_CALL_STACK_LIMIT : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). + Definition value_CALL_STACK_LIMIT (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1024 |))). - Axiom Constant_value_CALL_STACK_LIMIT : - (M.get_constant "revm_specification::constants::CALL_STACK_LIMIT") = value_CALL_STACK_LIMIT. - Global Hint Rewrite Constant_value_CALL_STACK_LIMIT : constant_rewrites. + Global Instance Instance_IsConstant_value_CALL_STACK_LIMIT : + M.IsFunction.C "revm_specification::constants::CALL_STACK_LIMIT" value_CALL_STACK_LIMIT. + Admitted. + Global Typeclasses Opaque value_CALL_STACK_LIMIT. End constants. diff --git a/CoqOfRust/revm/revm_specification/eip170.v b/CoqOfRust/revm/revm_specification/eip170.v index f39520703..0309bbde6 100644 --- a/CoqOfRust/revm/revm_specification/eip170.v +++ b/CoqOfRust/revm/revm_specification/eip170.v @@ -2,10 +2,11 @@ Require Import CoqOfRust.CoqOfRust. Module eip170. - Definition value_MAX_CODE_SIZE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 24576 |))). + Definition value_MAX_CODE_SIZE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 24576 |))). - Axiom Constant_value_MAX_CODE_SIZE : - (M.get_constant "revm_specification::eip170::MAX_CODE_SIZE") = value_MAX_CODE_SIZE. - Global Hint Rewrite Constant_value_MAX_CODE_SIZE : constant_rewrites. + Global Instance Instance_IsConstant_value_MAX_CODE_SIZE : + M.IsFunction.C "revm_specification::eip170::MAX_CODE_SIZE" value_MAX_CODE_SIZE. + Admitted. + Global Typeclasses Opaque value_MAX_CODE_SIZE. End eip170. diff --git a/CoqOfRust/revm/revm_specification/eip2.v b/CoqOfRust/revm/revm_specification/eip2.v index 2eef8926b..e1f0c86b7 100644 --- a/CoqOfRust/revm/revm_specification/eip2.v +++ b/CoqOfRust/revm/revm_specification/eip2.v @@ -2,65 +2,65 @@ Require Import CoqOfRust.CoqOfRust. Module eip2. - Definition value_SECP256K1N_HALF : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + Definition value_SECP256K1N_HALF (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply + (Ty.path "ruint::Uint") + [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] + [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] [], - M.get_associated_function (| - Ty.apply - (Ty.path "ruint::Uint") - [ Value.Integer IntegerKind.Usize 256; Value.Integer IntegerKind.Usize 4 ] - [], - "from_be_bytes", - [ Value.Integer IntegerKind.Usize 32 ], - [] - |), - [ - Value.Array - [ - Value.Integer IntegerKind.U8 127; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 255; - Value.Integer IntegerKind.U8 93; - Value.Integer IntegerKind.U8 87; - Value.Integer IntegerKind.U8 110; - Value.Integer IntegerKind.U8 115; - Value.Integer IntegerKind.U8 87; - Value.Integer IntegerKind.U8 164; - Value.Integer IntegerKind.U8 80; - Value.Integer IntegerKind.U8 29; - Value.Integer IntegerKind.U8 223; - Value.Integer IntegerKind.U8 233; - Value.Integer IntegerKind.U8 47; - Value.Integer IntegerKind.U8 70; - Value.Integer IntegerKind.U8 104; - Value.Integer IntegerKind.U8 27; - Value.Integer IntegerKind.U8 32; - Value.Integer IntegerKind.U8 160 - ] - ] - |) - |))). + "from_be_bytes", + [ Value.Integer IntegerKind.Usize 32 ], + [] + |), + [ + Value.Array + [ + Value.Integer IntegerKind.U8 127; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 255; + Value.Integer IntegerKind.U8 93; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 110; + Value.Integer IntegerKind.U8 115; + Value.Integer IntegerKind.U8 87; + Value.Integer IntegerKind.U8 164; + Value.Integer IntegerKind.U8 80; + Value.Integer IntegerKind.U8 29; + Value.Integer IntegerKind.U8 223; + Value.Integer IntegerKind.U8 233; + Value.Integer IntegerKind.U8 47; + Value.Integer IntegerKind.U8 70; + Value.Integer IntegerKind.U8 104; + Value.Integer IntegerKind.U8 27; + Value.Integer IntegerKind.U8 32; + Value.Integer IntegerKind.U8 160 + ] + ] + |) + |))). - Axiom Constant_value_SECP256K1N_HALF : - (M.get_constant "revm_specification::eip2::SECP256K1N_HALF") = value_SECP256K1N_HALF. - Global Hint Rewrite Constant_value_SECP256K1N_HALF : constant_rewrites. + Global Instance Instance_IsConstant_value_SECP256K1N_HALF : + M.IsFunction.C "revm_specification::eip2::SECP256K1N_HALF" value_SECP256K1N_HALF. + Admitted. + Global Typeclasses Opaque value_SECP256K1N_HALF. End eip2. diff --git a/CoqOfRust/revm/revm_specification/eip4844.v b/CoqOfRust/revm/revm_specification/eip4844.v index 6f4db3fea..8f9a4ed9d 100644 --- a/CoqOfRust/revm/revm_specification/eip4844.v +++ b/CoqOfRust/revm/revm_specification/eip4844.v @@ -2,90 +2,139 @@ Require Import CoqOfRust.CoqOfRust. Module eip4844. - Definition value_GAS_PER_BLOB : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 17 |) - |))). + Definition value_GAS_PER_BLOB (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 17 |) + |))). - Axiom Constant_value_GAS_PER_BLOB : - (M.get_constant "revm_specification::eip4844::GAS_PER_BLOB") = value_GAS_PER_BLOB. - Global Hint Rewrite Constant_value_GAS_PER_BLOB : constant_rewrites. + Global Instance Instance_IsConstant_value_GAS_PER_BLOB : + M.IsFunction.C "revm_specification::eip4844::GAS_PER_BLOB" value_GAS_PER_BLOB. + Admitted. + Global Typeclasses Opaque value_GAS_PER_BLOB. - Definition value_TARGET_BLOB_NUMBER_PER_BLOCK : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). + Definition value_TARGET_BLOB_NUMBER_PER_BLOCK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3 |))). - Axiom Constant_value_TARGET_BLOB_NUMBER_PER_BLOCK : - (M.get_constant "revm_specification::eip4844::TARGET_BLOB_NUMBER_PER_BLOCK") = + Global Instance Instance_IsConstant_value_TARGET_BLOB_NUMBER_PER_BLOCK : + M.IsFunction.C + "revm_specification::eip4844::TARGET_BLOB_NUMBER_PER_BLOCK" value_TARGET_BLOB_NUMBER_PER_BLOCK. - Global Hint Rewrite Constant_value_TARGET_BLOB_NUMBER_PER_BLOCK : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TARGET_BLOB_NUMBER_PER_BLOCK. - Definition value_MAX_BLOB_NUMBER_PER_BLOCK : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - Value.Integer IntegerKind.U64 2, - M.read (| M.get_constant "revm_specification::eip4844::TARGET_BLOB_NUMBER_PER_BLOCK" |) + Definition value_MAX_BLOB_NUMBER_PER_BLOCK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + Value.Integer IntegerKind.U64 2, + M.read (| + get_constant (| + "revm_specification::eip4844::TARGET_BLOB_NUMBER_PER_BLOCK", + Ty.path "u64" + |) |) - |))). + |) + |))). - Axiom Constant_value_MAX_BLOB_NUMBER_PER_BLOCK : - (M.get_constant "revm_specification::eip4844::MAX_BLOB_NUMBER_PER_BLOCK") = + Global Instance Instance_IsConstant_value_MAX_BLOB_NUMBER_PER_BLOCK : + M.IsFunction.C + "revm_specification::eip4844::MAX_BLOB_NUMBER_PER_BLOCK" value_MAX_BLOB_NUMBER_PER_BLOCK. - Global Hint Rewrite Constant_value_MAX_BLOB_NUMBER_PER_BLOCK : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_BLOB_NUMBER_PER_BLOCK. - Definition value_MAX_BLOB_GAS_PER_BLOCK : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - M.read (| M.get_constant "revm_specification::eip4844::MAX_BLOB_NUMBER_PER_BLOCK" |), - M.read (| M.get_constant "revm_specification::eip4844::GAS_PER_BLOB" |) - |) - |))). + Definition value_MAX_BLOB_GAS_PER_BLOCK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + M.read (| + get_constant (| + "revm_specification::eip4844::MAX_BLOB_NUMBER_PER_BLOCK", + Ty.path "u64" + |) + |), + M.read (| get_constant (| "revm_specification::eip4844::GAS_PER_BLOB", Ty.path "u64" |) |) + |) + |))). - Axiom Constant_value_MAX_BLOB_GAS_PER_BLOCK : - (M.get_constant "revm_specification::eip4844::MAX_BLOB_GAS_PER_BLOCK") = + Global Instance Instance_IsConstant_value_MAX_BLOB_GAS_PER_BLOCK : + M.IsFunction.C + "revm_specification::eip4844::MAX_BLOB_GAS_PER_BLOCK" value_MAX_BLOB_GAS_PER_BLOCK. - Global Hint Rewrite Constant_value_MAX_BLOB_GAS_PER_BLOCK : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_MAX_BLOB_GAS_PER_BLOCK. - Definition value_TARGET_BLOB_GAS_PER_BLOCK : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.mul (| - M.read (| M.get_constant "revm_specification::eip4844::TARGET_BLOB_NUMBER_PER_BLOCK" |), - M.read (| M.get_constant "revm_specification::eip4844::GAS_PER_BLOB" |) - |) - |))). + Definition value_TARGET_BLOB_GAS_PER_BLOCK + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.mul (| + M.read (| + get_constant (| + "revm_specification::eip4844::TARGET_BLOB_NUMBER_PER_BLOCK", + Ty.path "u64" + |) + |), + M.read (| get_constant (| "revm_specification::eip4844::GAS_PER_BLOB", Ty.path "u64" |) |) + |) + |))). - Axiom Constant_value_TARGET_BLOB_GAS_PER_BLOCK : - (M.get_constant "revm_specification::eip4844::TARGET_BLOB_GAS_PER_BLOCK") = + Global Instance Instance_IsConstant_value_TARGET_BLOB_GAS_PER_BLOCK : + M.IsFunction.C + "revm_specification::eip4844::TARGET_BLOB_GAS_PER_BLOCK" value_TARGET_BLOB_GAS_PER_BLOCK. - Global Hint Rewrite Constant_value_TARGET_BLOB_GAS_PER_BLOCK : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_TARGET_BLOB_GAS_PER_BLOCK. - Definition value_MIN_BLOB_GASPRICE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). + Definition value_MIN_BLOB_GASPRICE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 1 |))). - Axiom Constant_value_MIN_BLOB_GASPRICE : - (M.get_constant "revm_specification::eip4844::MIN_BLOB_GASPRICE") = value_MIN_BLOB_GASPRICE. - Global Hint Rewrite Constant_value_MIN_BLOB_GASPRICE : constant_rewrites. + Global Instance Instance_IsConstant_value_MIN_BLOB_GASPRICE : + M.IsFunction.C "revm_specification::eip4844::MIN_BLOB_GASPRICE" value_MIN_BLOB_GASPRICE. + Admitted. + Global Typeclasses Opaque value_MIN_BLOB_GASPRICE. - Definition value_BLOB_GASPRICE_UPDATE_FRACTION : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3338477 |))). + Definition value_BLOB_GASPRICE_UPDATE_FRACTION + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 3338477 |))). - Axiom Constant_value_BLOB_GASPRICE_UPDATE_FRACTION : - (M.get_constant "revm_specification::eip4844::BLOB_GASPRICE_UPDATE_FRACTION") = + Global Instance Instance_IsConstant_value_BLOB_GASPRICE_UPDATE_FRACTION : + M.IsFunction.C + "revm_specification::eip4844::BLOB_GASPRICE_UPDATE_FRACTION" value_BLOB_GASPRICE_UPDATE_FRACTION. - Global Hint Rewrite Constant_value_BLOB_GASPRICE_UPDATE_FRACTION : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_BLOB_GASPRICE_UPDATE_FRACTION. - Definition value_VERSIONED_HASH_VERSION_KZG : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). + Definition value_VERSIONED_HASH_VERSION_KZG + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U8 1 |))). - Axiom Constant_value_VERSIONED_HASH_VERSION_KZG : - (M.get_constant "revm_specification::eip4844::VERSIONED_HASH_VERSION_KZG") = + Global Instance Instance_IsConstant_value_VERSIONED_HASH_VERSION_KZG : + M.IsFunction.C + "revm_specification::eip4844::VERSIONED_HASH_VERSION_KZG" value_VERSIONED_HASH_VERSION_KZG. - Global Hint Rewrite Constant_value_VERSIONED_HASH_VERSION_KZG : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_VERSIONED_HASH_VERSION_KZG. End eip4844. diff --git a/CoqOfRust/revm/revm_specification/eip7702/authorization_list.v b/CoqOfRust/revm/revm_specification/eip7702/authorization_list.v index 3074f3c66..714eb9267 100644 --- a/CoqOfRust/revm/revm_specification/eip7702/authorization_list.v +++ b/CoqOfRust/revm/revm_specification/eip7702/authorization_list.v @@ -739,7 +739,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_len : M.IsAssociatedFunction.Trait Self "len" len. + Global Instance AssociatedFunction_len : M.IsAssociatedFunction.C Self "len" len. Admitted. Global Typeclasses Opaque len. @@ -783,7 +783,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.Trait Self "empty" empty. + Global Instance AssociatedFunction_empty : M.IsAssociatedFunction.C Self "empty" empty. Admitted. Global Typeclasses Opaque empty. @@ -814,7 +814,7 @@ Module eip7702. end. Global Instance AssociatedFunction_is_empty : - M.IsAssociatedFunction.Trait Self "is_empty" is_empty. + M.IsAssociatedFunction.C Self "is_empty" is_empty. Admitted. Global Typeclasses Opaque is_empty. @@ -1227,7 +1227,7 @@ Module eip7702. end. Global Instance AssociatedFunction_recovered_iter : - M.IsAssociatedFunction.Trait Self "recovered_iter" recovered_iter. + M.IsAssociatedFunction.C Self "recovered_iter" recovered_iter. Admitted. Global Typeclasses Opaque recovered_iter. @@ -1444,7 +1444,7 @@ Module eip7702. end. Global Instance AssociatedFunction_into_recovered : - M.IsAssociatedFunction.Trait Self "into_recovered" into_recovered. + M.IsAssociatedFunction.C Self "into_recovered" into_recovered. Admitted. Global Typeclasses Opaque into_recovered. End Impl_revm_specification_eip7702_authorization_list_AuthorizationList. diff --git a/CoqOfRust/revm/revm_specification/eip7702/constants.v b/CoqOfRust/revm/revm_specification/eip7702/constants.v index dee7c6e26..158cba686 100644 --- a/CoqOfRust/revm/revm_specification/eip7702/constants.v +++ b/CoqOfRust/revm/revm_specification/eip7702/constants.v @@ -3,20 +3,28 @@ Require Import CoqOfRust.CoqOfRust. Module eip7702. Module constants. - Definition value_PER_AUTH_BASE_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2500 |))). + Definition value_PER_AUTH_BASE_COST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 2500 |))). - Axiom Constant_value_PER_AUTH_BASE_COST : - (M.get_constant "revm_specification::eip7702::constants::PER_AUTH_BASE_COST") = + Global Instance Instance_IsConstant_value_PER_AUTH_BASE_COST : + M.IsFunction.C + "revm_specification::eip7702::constants::PER_AUTH_BASE_COST" value_PER_AUTH_BASE_COST. - Global Hint Rewrite Constant_value_PER_AUTH_BASE_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_PER_AUTH_BASE_COST. - Definition value_PER_EMPTY_ACCOUNT_COST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 25000 |))). + Definition value_PER_EMPTY_ACCOUNT_COST + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 25000 |))). - Axiom Constant_value_PER_EMPTY_ACCOUNT_COST : - (M.get_constant "revm_specification::eip7702::constants::PER_EMPTY_ACCOUNT_COST") = + Global Instance Instance_IsConstant_value_PER_EMPTY_ACCOUNT_COST : + M.IsFunction.C + "revm_specification::eip7702::constants::PER_EMPTY_ACCOUNT_COST" value_PER_EMPTY_ACCOUNT_COST. - Global Hint Rewrite Constant_value_PER_EMPTY_ACCOUNT_COST : constant_rewrites. + Admitted. + Global Typeclasses Opaque value_PER_EMPTY_ACCOUNT_COST. End constants. End eip7702. diff --git a/CoqOfRust/revm/revm_specification/eip7702/recovered_authorization.v b/CoqOfRust/revm/revm_specification/eip7702/recovered_authorization.v index a1c12eed5..dd350bba3 100644 --- a/CoqOfRust/revm/revm_specification/eip7702/recovered_authorization.v +++ b/CoqOfRust/revm/revm_specification/eip7702/recovered_authorization.v @@ -443,7 +443,7 @@ Module eip7702. end. Global Instance AssociatedFunction_new_unchecked : - M.IsAssociatedFunction.Trait Self "new_unchecked" new_unchecked. + M.IsAssociatedFunction.C Self "new_unchecked" new_unchecked. Admitted. Global Typeclasses Opaque new_unchecked. @@ -473,7 +473,7 @@ Module eip7702. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_inner : M.IsAssociatedFunction.Trait Self "inner" inner. + Global Instance AssociatedFunction_inner : M.IsAssociatedFunction.C Self "inner" inner. Admitted. Global Typeclasses Opaque inner. @@ -498,7 +498,7 @@ Module eip7702. end. Global Instance AssociatedFunction_authority : - M.IsAssociatedFunction.Trait Self "authority" authority. + M.IsAssociatedFunction.C Self "authority" authority. Admitted. Global Typeclasses Opaque authority. @@ -533,7 +533,7 @@ Module eip7702. end. Global Instance AssociatedFunction_into_parts : - M.IsAssociatedFunction.Trait Self "into_parts" into_parts. + M.IsAssociatedFunction.C Self "into_parts" into_parts. Admitted. Global Typeclasses Opaque into_parts. End Impl_revm_specification_eip7702_recovered_authorization_RecoveredAuthorization. diff --git a/CoqOfRust/revm/revm_specification/hardfork.v b/CoqOfRust/revm/revm_specification/hardfork.v index 365fda4f1..760c793b2 100644 --- a/CoqOfRust/revm/revm_specification/hardfork.v +++ b/CoqOfRust/revm/revm_specification/hardfork.v @@ -1051,7 +1051,7 @@ Module hardfork. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_n : M.IsAssociatedFunction.Trait Self "n" n. + Global Instance AssociatedFunction_n : M.IsAssociatedFunction.C Self "n" n. Admitted. Global Typeclasses Opaque n. (* @@ -1081,7 +1081,7 @@ Module hardfork. end. Global Instance AssociatedFunction_try_from_u8 : - M.IsAssociatedFunction.Trait Self "try_from_u8" try_from_u8. + M.IsAssociatedFunction.C Self "try_from_u8" try_from_u8. Admitted. Global Typeclasses Opaque try_from_u8. @@ -1104,161 +1104,180 @@ Module hardfork. end. Global Instance AssociatedFunction_is_enabled_in : - M.IsAssociatedFunction.Trait Self "is_enabled_in" is_enabled_in. + M.IsAssociatedFunction.C Self "is_enabled_in" is_enabled_in. Admitted. Global Typeclasses Opaque is_enabled_in. End Impl_revm_specification_hardfork_SpecId. Module name. - Definition value_FRONTIER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Frontier" |) |))). + Definition value_FRONTIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Frontier" |) |))). - Axiom Constant_value_FRONTIER : - (M.get_constant "revm_specification::hardfork::name::FRONTIER") = value_FRONTIER. - Global Hint Rewrite Constant_value_FRONTIER : constant_rewrites. + Global Instance Instance_IsConstant_value_FRONTIER : + M.IsFunction.C "revm_specification::hardfork::name::FRONTIER" value_FRONTIER. + Admitted. + Global Typeclasses Opaque value_FRONTIER. - Definition value_FRONTIER_THAWING : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Frontier Thawing" |) |))). + Definition value_FRONTIER_THAWING (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Frontier Thawing" |) |))). - Axiom Constant_value_FRONTIER_THAWING : - (M.get_constant "revm_specification::hardfork::name::FRONTIER_THAWING") = - value_FRONTIER_THAWING. - Global Hint Rewrite Constant_value_FRONTIER_THAWING : constant_rewrites. + Global Instance Instance_IsConstant_value_FRONTIER_THAWING : + M.IsFunction.C "revm_specification::hardfork::name::FRONTIER_THAWING" value_FRONTIER_THAWING. + Admitted. + Global Typeclasses Opaque value_FRONTIER_THAWING. - Definition value_HOMESTEAD : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Homestead" |) |))). + Definition value_HOMESTEAD (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Homestead" |) |))). - Axiom Constant_value_HOMESTEAD : - (M.get_constant "revm_specification::hardfork::name::HOMESTEAD") = value_HOMESTEAD. - Global Hint Rewrite Constant_value_HOMESTEAD : constant_rewrites. + Global Instance Instance_IsConstant_value_HOMESTEAD : + M.IsFunction.C "revm_specification::hardfork::name::HOMESTEAD" value_HOMESTEAD. + Admitted. + Global Typeclasses Opaque value_HOMESTEAD. - Definition value_DAO_FORK : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "DAO Fork" |) |))). + Definition value_DAO_FORK (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "DAO Fork" |) |))). - Axiom Constant_value_DAO_FORK : - (M.get_constant "revm_specification::hardfork::name::DAO_FORK") = value_DAO_FORK. - Global Hint Rewrite Constant_value_DAO_FORK : constant_rewrites. + Global Instance Instance_IsConstant_value_DAO_FORK : + M.IsFunction.C "revm_specification::hardfork::name::DAO_FORK" value_DAO_FORK. + Admitted. + Global Typeclasses Opaque value_DAO_FORK. - Definition value_TANGERINE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Tangerine" |) |))). + Definition value_TANGERINE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Tangerine" |) |))). - Axiom Constant_value_TANGERINE : - (M.get_constant "revm_specification::hardfork::name::TANGERINE") = value_TANGERINE. - Global Hint Rewrite Constant_value_TANGERINE : constant_rewrites. + Global Instance Instance_IsConstant_value_TANGERINE : + M.IsFunction.C "revm_specification::hardfork::name::TANGERINE" value_TANGERINE. + Admitted. + Global Typeclasses Opaque value_TANGERINE. - Definition value_SPURIOUS_DRAGON : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Spurious" |) |))). + Definition value_SPURIOUS_DRAGON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Spurious" |) |))). - Axiom Constant_value_SPURIOUS_DRAGON : - (M.get_constant "revm_specification::hardfork::name::SPURIOUS_DRAGON") = - value_SPURIOUS_DRAGON. - Global Hint Rewrite Constant_value_SPURIOUS_DRAGON : constant_rewrites. + Global Instance Instance_IsConstant_value_SPURIOUS_DRAGON : + M.IsFunction.C "revm_specification::hardfork::name::SPURIOUS_DRAGON" value_SPURIOUS_DRAGON. + Admitted. + Global Typeclasses Opaque value_SPURIOUS_DRAGON. - Definition value_BYZANTIUM : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Byzantium" |) |))). + Definition value_BYZANTIUM (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Byzantium" |) |))). - Axiom Constant_value_BYZANTIUM : - (M.get_constant "revm_specification::hardfork::name::BYZANTIUM") = value_BYZANTIUM. - Global Hint Rewrite Constant_value_BYZANTIUM : constant_rewrites. + Global Instance Instance_IsConstant_value_BYZANTIUM : + M.IsFunction.C "revm_specification::hardfork::name::BYZANTIUM" value_BYZANTIUM. + Admitted. + Global Typeclasses Opaque value_BYZANTIUM. - Definition value_CONSTANTINOPLE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Constantinople" |) |))). + Definition value_CONSTANTINOPLE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Constantinople" |) |))). - Axiom Constant_value_CONSTANTINOPLE : - (M.get_constant "revm_specification::hardfork::name::CONSTANTINOPLE") = value_CONSTANTINOPLE. - Global Hint Rewrite Constant_value_CONSTANTINOPLE : constant_rewrites. + Global Instance Instance_IsConstant_value_CONSTANTINOPLE : + M.IsFunction.C "revm_specification::hardfork::name::CONSTANTINOPLE" value_CONSTANTINOPLE. + Admitted. + Global Typeclasses Opaque value_CONSTANTINOPLE. - Definition value_PETERSBURG : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Petersburg" |) |))). + Definition value_PETERSBURG (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Petersburg" |) |))). - Axiom Constant_value_PETERSBURG : - (M.get_constant "revm_specification::hardfork::name::PETERSBURG") = value_PETERSBURG. - Global Hint Rewrite Constant_value_PETERSBURG : constant_rewrites. + Global Instance Instance_IsConstant_value_PETERSBURG : + M.IsFunction.C "revm_specification::hardfork::name::PETERSBURG" value_PETERSBURG. + Admitted. + Global Typeclasses Opaque value_PETERSBURG. - Definition value_ISTANBUL : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Istanbul" |) |))). + Definition value_ISTANBUL (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Istanbul" |) |))). - Axiom Constant_value_ISTANBUL : - (M.get_constant "revm_specification::hardfork::name::ISTANBUL") = value_ISTANBUL. - Global Hint Rewrite Constant_value_ISTANBUL : constant_rewrites. + Global Instance Instance_IsConstant_value_ISTANBUL : + M.IsFunction.C "revm_specification::hardfork::name::ISTANBUL" value_ISTANBUL. + Admitted. + Global Typeclasses Opaque value_ISTANBUL. - Definition value_MUIR_GLACIER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "MuirGlacier" |) |))). + Definition value_MUIR_GLACIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "MuirGlacier" |) |))). - Axiom Constant_value_MUIR_GLACIER : - (M.get_constant "revm_specification::hardfork::name::MUIR_GLACIER") = value_MUIR_GLACIER. - Global Hint Rewrite Constant_value_MUIR_GLACIER : constant_rewrites. + Global Instance Instance_IsConstant_value_MUIR_GLACIER : + M.IsFunction.C "revm_specification::hardfork::name::MUIR_GLACIER" value_MUIR_GLACIER. + Admitted. + Global Typeclasses Opaque value_MUIR_GLACIER. - Definition value_BERLIN : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Berlin" |) |))). + Definition value_BERLIN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Berlin" |) |))). - Axiom Constant_value_BERLIN : - (M.get_constant "revm_specification::hardfork::name::BERLIN") = value_BERLIN. - Global Hint Rewrite Constant_value_BERLIN : constant_rewrites. + Global Instance Instance_IsConstant_value_BERLIN : + M.IsFunction.C "revm_specification::hardfork::name::BERLIN" value_BERLIN. + Admitted. + Global Typeclasses Opaque value_BERLIN. - Definition value_LONDON : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "London" |) |))). + Definition value_LONDON (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "London" |) |))). - Axiom Constant_value_LONDON : - (M.get_constant "revm_specification::hardfork::name::LONDON") = value_LONDON. - Global Hint Rewrite Constant_value_LONDON : constant_rewrites. + Global Instance Instance_IsConstant_value_LONDON : + M.IsFunction.C "revm_specification::hardfork::name::LONDON" value_LONDON. + Admitted. + Global Typeclasses Opaque value_LONDON. - Definition value_ARROW_GLACIER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Arrow Glacier" |) |))). + Definition value_ARROW_GLACIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Arrow Glacier" |) |))). - Axiom Constant_value_ARROW_GLACIER : - (M.get_constant "revm_specification::hardfork::name::ARROW_GLACIER") = value_ARROW_GLACIER. - Global Hint Rewrite Constant_value_ARROW_GLACIER : constant_rewrites. + Global Instance Instance_IsConstant_value_ARROW_GLACIER : + M.IsFunction.C "revm_specification::hardfork::name::ARROW_GLACIER" value_ARROW_GLACIER. + Admitted. + Global Typeclasses Opaque value_ARROW_GLACIER. - Definition value_GRAY_GLACIER : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Gray Glacier" |) |))). + Definition value_GRAY_GLACIER (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Gray Glacier" |) |))). - Axiom Constant_value_GRAY_GLACIER : - (M.get_constant "revm_specification::hardfork::name::GRAY_GLACIER") = value_GRAY_GLACIER. - Global Hint Rewrite Constant_value_GRAY_GLACIER : constant_rewrites. + Global Instance Instance_IsConstant_value_GRAY_GLACIER : + M.IsFunction.C "revm_specification::hardfork::name::GRAY_GLACIER" value_GRAY_GLACIER. + Admitted. + Global Typeclasses Opaque value_GRAY_GLACIER. - Definition value_MERGE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Merge" |) |))). + Definition value_MERGE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Merge" |) |))). - Axiom Constant_value_MERGE : - (M.get_constant "revm_specification::hardfork::name::MERGE") = value_MERGE. - Global Hint Rewrite Constant_value_MERGE : constant_rewrites. + Global Instance Instance_IsConstant_value_MERGE : + M.IsFunction.C "revm_specification::hardfork::name::MERGE" value_MERGE. + Admitted. + Global Typeclasses Opaque value_MERGE. - Definition value_SHANGHAI : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Shanghai" |) |))). + Definition value_SHANGHAI (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Shanghai" |) |))). - Axiom Constant_value_SHANGHAI : - (M.get_constant "revm_specification::hardfork::name::SHANGHAI") = value_SHANGHAI. - Global Hint Rewrite Constant_value_SHANGHAI : constant_rewrites. + Global Instance Instance_IsConstant_value_SHANGHAI : + M.IsFunction.C "revm_specification::hardfork::name::SHANGHAI" value_SHANGHAI. + Admitted. + Global Typeclasses Opaque value_SHANGHAI. - Definition value_CANCUN : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Cancun" |) |))). + Definition value_CANCUN (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Cancun" |) |))). - Axiom Constant_value_CANCUN : - (M.get_constant "revm_specification::hardfork::name::CANCUN") = value_CANCUN. - Global Hint Rewrite Constant_value_CANCUN : constant_rewrites. + Global Instance Instance_IsConstant_value_CANCUN : + M.IsFunction.C "revm_specification::hardfork::name::CANCUN" value_CANCUN. + Admitted. + Global Typeclasses Opaque value_CANCUN. - Definition value_PRAGUE : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Prague" |) |))). + Definition value_PRAGUE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Prague" |) |))). - Axiom Constant_value_PRAGUE : - (M.get_constant "revm_specification::hardfork::name::PRAGUE") = value_PRAGUE. - Global Hint Rewrite Constant_value_PRAGUE : constant_rewrites. + Global Instance Instance_IsConstant_value_PRAGUE : + M.IsFunction.C "revm_specification::hardfork::name::PRAGUE" value_PRAGUE. + Admitted. + Global Typeclasses Opaque value_PRAGUE. - Definition value_OSAKA : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "PragueEOF" |) |))). + Definition value_OSAKA (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "PragueEOF" |) |))). - Axiom Constant_value_OSAKA : - (M.get_constant "revm_specification::hardfork::name::OSAKA") = value_OSAKA. - Global Hint Rewrite Constant_value_OSAKA : constant_rewrites. + Global Instance Instance_IsConstant_value_OSAKA : + M.IsFunction.C "revm_specification::hardfork::name::OSAKA" value_OSAKA. + Admitted. + Global Typeclasses Opaque value_OSAKA. - Definition value_LATEST : Value.t := - M.run_constant ltac:(M.monadic (M.alloc (| mk_str (| "Latest" |) |))). + Definition value_LATEST (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "Latest" |) |))). - Axiom Constant_value_LATEST : - (M.get_constant "revm_specification::hardfork::name::LATEST") = value_LATEST. - Global Hint Rewrite Constant_value_LATEST : constant_rewrites. + Global Instance Instance_IsConstant_value_LATEST : + M.IsFunction.C "revm_specification::hardfork::name::LATEST" value_LATEST. + Admitted. + Global Typeclasses Opaque value_LATEST. End name. Module Impl_core_convert_From_ref__str_for_revm_specification_hardfork_SpecId. @@ -1531,7 +1550,10 @@ Module hardfork. ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::FRONTIER" |) in - M.get_constant "revm_specification::hardfork::name::FRONTIER")); + get_constant (| + "revm_specification::hardfork::name::FRONTIER", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1539,7 +1561,10 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::FRONTIER_THAWING" |) in - M.get_constant "revm_specification::hardfork::name::FRONTIER_THAWING")); + get_constant (| + "revm_specification::hardfork::name::FRONTIER_THAWING", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1547,12 +1572,18 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::HOMESTEAD" |) in - M.get_constant "revm_specification::hardfork::name::HOMESTEAD")); + get_constant (| + "revm_specification::hardfork::name::HOMESTEAD", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::DAO_FORK" |) in - M.get_constant "revm_specification::hardfork::name::DAO_FORK")); + get_constant (| + "revm_specification::hardfork::name::DAO_FORK", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1560,7 +1591,10 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::TANGERINE" |) in - M.get_constant "revm_specification::hardfork::name::TANGERINE")); + get_constant (| + "revm_specification::hardfork::name::TANGERINE", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1568,7 +1602,10 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::SPURIOUS_DRAGON" |) in - M.get_constant "revm_specification::hardfork::name::SPURIOUS_DRAGON")); + get_constant (| + "revm_specification::hardfork::name::SPURIOUS_DRAGON", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1576,7 +1613,10 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::BYZANTIUM" |) in - M.get_constant "revm_specification::hardfork::name::BYZANTIUM")); + get_constant (| + "revm_specification::hardfork::name::BYZANTIUM", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1584,7 +1624,10 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::CONSTANTINOPLE" |) in - M.get_constant "revm_specification::hardfork::name::CONSTANTINOPLE")); + get_constant (| + "revm_specification::hardfork::name::CONSTANTINOPLE", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1592,12 +1635,18 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::PETERSBURG" |) in - M.get_constant "revm_specification::hardfork::name::PETERSBURG")); + get_constant (| + "revm_specification::hardfork::name::PETERSBURG", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::ISTANBUL" |) in - M.get_constant "revm_specification::hardfork::name::ISTANBUL")); + get_constant (| + "revm_specification::hardfork::name::ISTANBUL", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1605,17 +1654,26 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::MUIR_GLACIER" |) in - M.get_constant "revm_specification::hardfork::name::MUIR_GLACIER")); + get_constant (| + "revm_specification::hardfork::name::MUIR_GLACIER", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::BERLIN" |) in - M.get_constant "revm_specification::hardfork::name::BERLIN")); + get_constant (| + "revm_specification::hardfork::name::BERLIN", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::LONDON" |) in - M.get_constant "revm_specification::hardfork::name::LONDON")); + get_constant (| + "revm_specification::hardfork::name::LONDON", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1623,7 +1681,10 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::ARROW_GLACIER" |) in - M.get_constant "revm_specification::hardfork::name::ARROW_GLACIER")); + get_constant (| + "revm_specification::hardfork::name::ARROW_GLACIER", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := @@ -1631,37 +1692,58 @@ Module hardfork. γ, "revm_specification::hardfork::SpecId::GRAY_GLACIER" |) in - M.get_constant "revm_specification::hardfork::name::GRAY_GLACIER")); + get_constant (| + "revm_specification::hardfork::name::GRAY_GLACIER", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::MERGE" |) in - M.get_constant "revm_specification::hardfork::name::MERGE")); + get_constant (| + "revm_specification::hardfork::name::MERGE", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::SHANGHAI" |) in - M.get_constant "revm_specification::hardfork::name::SHANGHAI")); + get_constant (| + "revm_specification::hardfork::name::SHANGHAI", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::CANCUN" |) in - M.get_constant "revm_specification::hardfork::name::CANCUN")); + get_constant (| + "revm_specification::hardfork::name::CANCUN", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::PRAGUE" |) in - M.get_constant "revm_specification::hardfork::name::PRAGUE")); + get_constant (| + "revm_specification::hardfork::name::PRAGUE", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::OSAKA" |) in - M.get_constant "revm_specification::hardfork::name::OSAKA")); + get_constant (| + "revm_specification::hardfork::name::OSAKA", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))); fun γ => ltac:(M.monadic (let _ := M.is_struct_tuple (| γ, "revm_specification::hardfork::SpecId::LATEST" |) in - M.get_constant "revm_specification::hardfork::name::LATEST")) + get_constant (| + "revm_specification::hardfork::name::LATEST", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |))) ] |) |))) diff --git a/CoqOfRust/ruint/add.v b/CoqOfRust/ruint/add.v index b45dd4739..b3f83fae8 100644 --- a/CoqOfRust/ruint/add.v +++ b/CoqOfRust/ruint/add.v @@ -89,7 +89,7 @@ Module add. Global Instance AssociatedFunction_abs_diff : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "abs_diff" (abs_diff BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "abs_diff" (abs_diff BITS LIMBS). Admitted. Global Typeclasses Opaque abs_diff. @@ -153,7 +153,7 @@ Module add. Global Instance AssociatedFunction_checked_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_add" (checked_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_add" (checked_add BITS LIMBS). Admitted. Global Typeclasses Opaque checked_add. @@ -216,7 +216,7 @@ Module add. Global Instance AssociatedFunction_checked_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_neg" (checked_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_neg" (checked_neg BITS LIMBS). Admitted. Global Typeclasses Opaque checked_neg. @@ -280,7 +280,7 @@ Module add. Global Instance AssociatedFunction_checked_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_sub" (checked_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_sub" (checked_sub BITS LIMBS). Admitted. Global Typeclasses Opaque checked_sub. @@ -334,7 +334,9 @@ Module add. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::add::BITS" |), + M.read (| + get_constant (| "ruint::add::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -345,7 +347,16 @@ Module add. M.read (| M.return_ (| Value.Tuple - [ M.read (| M.get_constant "ruint::ZERO" |); Value.Bool false ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + Value.Bool false + ] |) |) |) @@ -370,7 +381,9 @@ Module add. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "ruint::add::LIMBS" |) + M.read (| + get_constant (| "ruint::add::LIMBS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -483,12 +496,20 @@ Module add. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::add::LIMBS" |), + M.read (| + get_constant (| "ruint::add::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |))) |) |) in @@ -498,13 +519,21 @@ Module add. M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| self, "ruint::Uint", "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::add::LIMBS" |), + M.read (| get_constant (| "ruint::add::LIMBS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 1 |) |) in M.write (| β, - BinOp.bit_and (M.read (| β |)) (M.read (| M.get_constant "ruint::MASK" |)) + BinOp.bit_and + (M.read (| β |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.Tuple [ M.read (| self |); M.read (| overflow |) ] |) @@ -515,7 +544,7 @@ Module add. Global Instance AssociatedFunction_overflowing_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_add" (overflowing_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_add" (overflowing_add BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_add. @@ -543,14 +572,23 @@ Module add. [], [] |), - [ M.read (| M.get_constant "ruint::ZERO" |); M.read (| self |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + M.read (| self |) + ] |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_overflowing_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_neg" (overflowing_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_neg" (overflowing_neg BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_neg. @@ -604,7 +642,9 @@ Module add. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::add::BITS" |), + M.read (| + get_constant (| "ruint::add::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -615,7 +655,16 @@ Module add. M.read (| M.return_ (| Value.Tuple - [ M.read (| M.get_constant "ruint::ZERO" |); Value.Bool false ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + Value.Bool false + ] |) |) |) @@ -640,7 +689,9 @@ Module add. (M.alloc (| BinOp.lt (| M.read (| i |), - M.read (| M.get_constant "ruint::add::LIMBS" |) + M.read (| + get_constant (| "ruint::add::LIMBS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -753,12 +804,20 @@ Module add. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::add::LIMBS" |), + M.read (| + get_constant (| "ruint::add::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |))) |) |) in @@ -768,13 +827,21 @@ Module add. M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| self, "ruint::Uint", "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::add::LIMBS" |), + M.read (| get_constant (| "ruint::add::LIMBS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 1 |) |) in M.write (| β, - BinOp.bit_and (M.read (| β |)) (M.read (| M.get_constant "ruint::MASK" |)) + BinOp.bit_and + (M.read (| β |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.Tuple [ M.read (| self |); M.read (| overflow |) ] |) @@ -785,7 +852,7 @@ Module add. Global Instance AssociatedFunction_overflowing_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_sub" (overflowing_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_sub" (overflowing_sub BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_sub. @@ -833,7 +900,13 @@ Module add. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "ruint::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -842,7 +915,7 @@ Module add. Global Instance AssociatedFunction_saturating_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_add" (saturating_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_add" (saturating_add BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_add. @@ -890,7 +963,13 @@ Module add. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -899,7 +978,7 @@ Module add. Global Instance AssociatedFunction_saturating_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_sub" (saturating_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_sub" (saturating_sub BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_sub. @@ -942,7 +1021,7 @@ Module add. Global Instance AssociatedFunction_wrapping_add : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_add" (wrapping_add BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_add" (wrapping_add BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_add. @@ -984,7 +1063,7 @@ Module add. Global Instance AssociatedFunction_wrapping_neg : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_neg" (wrapping_neg BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_neg" (wrapping_neg BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_neg. @@ -1027,7 +1106,7 @@ Module add. Global Instance AssociatedFunction_wrapping_sub : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_sub" (wrapping_sub BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_sub" (wrapping_sub BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_sub. End Impl_ruint_Uint_BITS_LIMBS. @@ -1178,7 +1257,13 @@ Module add. |), [ M.read (| iter |); - M.read (| M.get_constant "ruint::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], "wrapping_add", @@ -1256,7 +1341,13 @@ Module add. |), [ M.read (| iter |) ] |); - M.read (| M.get_constant "ruint::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], "wrapping_add", diff --git a/CoqOfRust/ruint/algorithms/add.v b/CoqOfRust/ruint/algorithms/add.v index f4c6b0393..0d722dfa4 100644 --- a/CoqOfRust/ruint/algorithms/add.v +++ b/CoqOfRust/ruint/algorithms/add.v @@ -175,7 +175,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_adc_n : - M.IsFunction.Trait "ruint::algorithms::add::adc_n" adc_n. + M.IsFunction.C "ruint::algorithms::add::adc_n" adc_n. Admitted. Global Typeclasses Opaque adc_n. @@ -351,7 +351,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_sbb_n : - M.IsFunction.Trait "ruint::algorithms::add::sbb_n" sbb_n. + M.IsFunction.C "ruint::algorithms::add::sbb_n" sbb_n. Admitted. Global Typeclasses Opaque sbb_n. End add. diff --git a/CoqOfRust/ruint/algorithms/div/knuth.v b/CoqOfRust/ruint/algorithms/div/knuth.v index f2e8f83f8..15a6e9fe5 100644 --- a/CoqOfRust/ruint/algorithms/div/knuth.v +++ b/CoqOfRust/ruint/algorithms/div/knuth.v @@ -659,7 +659,11 @@ Module algorithms. M.read (| let~ q : Ty.path "u64" := M.copy (| - M.get_constant "core::num::MAX" + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |) |) in let~ _carry : Ty.path "u64" := M.alloc (| @@ -1438,7 +1442,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_nxm_normalized : - M.IsFunction.Trait "ruint::algorithms::div::knuth::div_nxm_normalized" div_nxm_normalized. + M.IsFunction.C "ruint::algorithms::div::knuth::div_nxm_normalized" div_nxm_normalized. Admitted. Global Typeclasses Opaque div_nxm_normalized. @@ -3641,8 +3645,11 @@ Module algorithms. ltac:(M.monadic (let~ q : Ty.path "u64" := M.copy (| - M.get_constant - "core::num::MAX" + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |) |) in let~ _carry : Ty.path "u64" := M.alloc (| @@ -3982,7 +3989,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_nxm : - M.IsFunction.Trait "ruint::algorithms::div::knuth::div_nxm" div_nxm. + M.IsFunction.C "ruint::algorithms::div::knuth::div_nxm" div_nxm. Admitted. Global Typeclasses Opaque div_nxm. End knuth. diff --git a/CoqOfRust/ruint/algorithms/div/mod.v b/CoqOfRust/ruint/algorithms/div/mod.v index 8e1f0f4f0..b9da3e8cb 100644 --- a/CoqOfRust/ruint/algorithms/div/mod.v +++ b/CoqOfRust/ruint/algorithms/div/mod.v @@ -1257,7 +1257,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_div : M.IsFunction.Trait "ruint::algorithms::div::div" div. + Global Instance Instance_IsFunction_div : M.IsFunction.C "ruint::algorithms::div::div" div. Admitted. Global Typeclasses Opaque div. End div. diff --git a/CoqOfRust/ruint/algorithms/div/reciprocal.v b/CoqOfRust/ruint/algorithms/div/reciprocal.v index 6f5b5057e..5021a73e8 100644 --- a/CoqOfRust/ruint/algorithms/div/reciprocal.v +++ b/CoqOfRust/ruint/algorithms/div/reciprocal.v @@ -73,7 +73,9 @@ Module algorithms. let~ r : Ty.path "u128" := M.alloc (| BinOp.Wrap.div (| - M.read (| M.get_constant "core::num::MAX" |), + M.read (| + get_associated_constant (| Ty.path "u128", "MAX", Ty.path "u128" |) + |), M.call_closure (| Ty.path "u128", M.get_trait_method (| @@ -197,7 +199,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_reciprocal_ref : - M.IsFunction.Trait "ruint::algorithms::div::reciprocal::reciprocal_ref" reciprocal_ref. + M.IsFunction.C "ruint::algorithms::div::reciprocal::reciprocal_ref" reciprocal_ref. Admitted. Global Typeclasses Opaque reciprocal_ref. @@ -323,7 +325,10 @@ Module algorithms. [ M.read (| d |); M.read (| - M.get_constant "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE", + Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u64" ] + |) |) ] |) @@ -359,7 +364,10 @@ Module algorithms. |), [ M.read (| - M.get_constant "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE", + Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u64" ] + |) |); M.call_closure (| Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u64" ], @@ -406,8 +414,13 @@ Module algorithms. [ M.read (| d |); M.read (| - M.get_constant - "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) |) ] |); @@ -437,8 +450,18 @@ Module algorithms. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant - "ruint::algorithms::div::reciprocal::reciprocal_mg10::TABLE" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::TABLE", + Ty.apply + (Ty.path "&") + [] + [ + Ty.apply + (Ty.path "array") + [ Value.Integer IntegerKind.Usize 256 ] + [ Ty.path "u16" ] + ] + |) |) |) |); @@ -574,7 +597,10 @@ Module algorithms. ] |); M.read (| - M.get_constant "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE", + Ty.apply (Ty.path "core::num::wrapping::Wrapping") [] [ Ty.path "u64" ] + |) |) ] |) @@ -681,8 +707,13 @@ Module algorithms. |), [ M.read (| - M.get_constant - "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) |); Value.Integer IntegerKind.Usize 60 ] @@ -785,8 +816,13 @@ Module algorithms. |), [ M.read (| - M.get_constant - "ruint::algorithms::div::reciprocal::reciprocal_mg10::ZERO" + get_constant (| + "ruint::algorithms::div::reciprocal::reciprocal_mg10::ZERO", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) |); M.read (| d0 |) ] @@ -913,308 +949,303 @@ Module algorithms. end. Global Instance Instance_IsFunction_reciprocal_mg10 : - M.IsFunction.Trait "ruint::algorithms::div::reciprocal::reciprocal_mg10" reciprocal_mg10. + M.IsFunction.C "ruint::algorithms::div::reciprocal::reciprocal_mg10" reciprocal_mg10. Admitted. Global Typeclasses Opaque reciprocal_mg10. Module reciprocal_mg10. - Definition value_ZERO : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ Value.Integer IntegerKind.U64 0 ] - |))). + Definition value_ZERO (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer IntegerKind.U64 0 ] + |))). - Axiom Constant_value_ZERO : - (M.get_constant "ruint::algorithms::div::reciprocal::reciprocal_mg10::ZERO") = value_ZERO. - Global Hint Rewrite Constant_value_ZERO : constant_rewrites. + Global Instance Instance_IsConstant_value_ZERO : + M.IsFunction.C "ruint::algorithms::div::reciprocal::reciprocal_mg10::ZERO" value_ZERO. + Admitted. + Global Typeclasses Opaque value_ZERO. - Definition value_ONE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "core::num::wrapping::Wrapping" - [ Value.Integer IntegerKind.U64 1 ] - |))). + Definition value_ONE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple "core::num::wrapping::Wrapping" [ Value.Integer IntegerKind.U64 1 ] + |))). - Axiom Constant_value_ONE : - (M.get_constant "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE") = value_ONE. - Global Hint Rewrite Constant_value_ONE : constant_rewrites. + Global Instance Instance_IsConstant_value_ONE : + M.IsFunction.C "ruint::algorithms::div::reciprocal::reciprocal_mg10::ONE" value_ONE. + Admitted. + Global Typeclasses Opaque value_ONE. - Definition value_TABLE : Value.t := - M.run_constant - ltac:(M.monadic - (M.alloc (| - M.alloc (| - Value.Array - [ - Value.Integer IntegerKind.U16 2045; - Value.Integer IntegerKind.U16 2037; - Value.Integer IntegerKind.U16 2029; - Value.Integer IntegerKind.U16 2021; - Value.Integer IntegerKind.U16 2013; - Value.Integer IntegerKind.U16 2005; - Value.Integer IntegerKind.U16 1998; - Value.Integer IntegerKind.U16 1990; - Value.Integer IntegerKind.U16 1983; - Value.Integer IntegerKind.U16 1975; - Value.Integer IntegerKind.U16 1968; - Value.Integer IntegerKind.U16 1960; - Value.Integer IntegerKind.U16 1953; - Value.Integer IntegerKind.U16 1946; - Value.Integer IntegerKind.U16 1938; - Value.Integer IntegerKind.U16 1931; - Value.Integer IntegerKind.U16 1924; - Value.Integer IntegerKind.U16 1917; - Value.Integer IntegerKind.U16 1910; - Value.Integer IntegerKind.U16 1903; - Value.Integer IntegerKind.U16 1896; - Value.Integer IntegerKind.U16 1889; - Value.Integer IntegerKind.U16 1883; - Value.Integer IntegerKind.U16 1876; - Value.Integer IntegerKind.U16 1869; - Value.Integer IntegerKind.U16 1863; - Value.Integer IntegerKind.U16 1856; - Value.Integer IntegerKind.U16 1849; - Value.Integer IntegerKind.U16 1843; - Value.Integer IntegerKind.U16 1836; - Value.Integer IntegerKind.U16 1830; - Value.Integer IntegerKind.U16 1824; - Value.Integer IntegerKind.U16 1817; - Value.Integer IntegerKind.U16 1811; - Value.Integer IntegerKind.U16 1805; - Value.Integer IntegerKind.U16 1799; - Value.Integer IntegerKind.U16 1792; - Value.Integer IntegerKind.U16 1786; - Value.Integer IntegerKind.U16 1780; - Value.Integer IntegerKind.U16 1774; - Value.Integer IntegerKind.U16 1768; - Value.Integer IntegerKind.U16 1762; - Value.Integer IntegerKind.U16 1756; - Value.Integer IntegerKind.U16 1750; - Value.Integer IntegerKind.U16 1745; - Value.Integer IntegerKind.U16 1739; - Value.Integer IntegerKind.U16 1733; - Value.Integer IntegerKind.U16 1727; - Value.Integer IntegerKind.U16 1722; - Value.Integer IntegerKind.U16 1716; - Value.Integer IntegerKind.U16 1710; - Value.Integer IntegerKind.U16 1705; - Value.Integer IntegerKind.U16 1699; - Value.Integer IntegerKind.U16 1694; - Value.Integer IntegerKind.U16 1688; - Value.Integer IntegerKind.U16 1683; - Value.Integer IntegerKind.U16 1677; - Value.Integer IntegerKind.U16 1672; - Value.Integer IntegerKind.U16 1667; - Value.Integer IntegerKind.U16 1661; - Value.Integer IntegerKind.U16 1656; - Value.Integer IntegerKind.U16 1651; - Value.Integer IntegerKind.U16 1646; - Value.Integer IntegerKind.U16 1641; - Value.Integer IntegerKind.U16 1636; - Value.Integer IntegerKind.U16 1630; - Value.Integer IntegerKind.U16 1625; - Value.Integer IntegerKind.U16 1620; - Value.Integer IntegerKind.U16 1615; - Value.Integer IntegerKind.U16 1610; - Value.Integer IntegerKind.U16 1605; - Value.Integer IntegerKind.U16 1600; - Value.Integer IntegerKind.U16 1596; - Value.Integer IntegerKind.U16 1591; - Value.Integer IntegerKind.U16 1586; - Value.Integer IntegerKind.U16 1581; - Value.Integer IntegerKind.U16 1576; - Value.Integer IntegerKind.U16 1572; - Value.Integer IntegerKind.U16 1567; - Value.Integer IntegerKind.U16 1562; - Value.Integer IntegerKind.U16 1558; - Value.Integer IntegerKind.U16 1553; - Value.Integer IntegerKind.U16 1548; - Value.Integer IntegerKind.U16 1544; - Value.Integer IntegerKind.U16 1539; - Value.Integer IntegerKind.U16 1535; - Value.Integer IntegerKind.U16 1530; - Value.Integer IntegerKind.U16 1526; - Value.Integer IntegerKind.U16 1521; - Value.Integer IntegerKind.U16 1517; - Value.Integer IntegerKind.U16 1513; - Value.Integer IntegerKind.U16 1508; - Value.Integer IntegerKind.U16 1504; - Value.Integer IntegerKind.U16 1500; - Value.Integer IntegerKind.U16 1495; - Value.Integer IntegerKind.U16 1491; - Value.Integer IntegerKind.U16 1487; - Value.Integer IntegerKind.U16 1483; - Value.Integer IntegerKind.U16 1478; - Value.Integer IntegerKind.U16 1474; - Value.Integer IntegerKind.U16 1470; - Value.Integer IntegerKind.U16 1466; - Value.Integer IntegerKind.U16 1462; - Value.Integer IntegerKind.U16 1458; - Value.Integer IntegerKind.U16 1454; - Value.Integer IntegerKind.U16 1450; - Value.Integer IntegerKind.U16 1446; - Value.Integer IntegerKind.U16 1442; - Value.Integer IntegerKind.U16 1438; - Value.Integer IntegerKind.U16 1434; - Value.Integer IntegerKind.U16 1430; - Value.Integer IntegerKind.U16 1426; - Value.Integer IntegerKind.U16 1422; - Value.Integer IntegerKind.U16 1418; - Value.Integer IntegerKind.U16 1414; - Value.Integer IntegerKind.U16 1411; - Value.Integer IntegerKind.U16 1407; - Value.Integer IntegerKind.U16 1403; - Value.Integer IntegerKind.U16 1399; - Value.Integer IntegerKind.U16 1396; - Value.Integer IntegerKind.U16 1392; - Value.Integer IntegerKind.U16 1388; - Value.Integer IntegerKind.U16 1384; - Value.Integer IntegerKind.U16 1381; - Value.Integer IntegerKind.U16 1377; - Value.Integer IntegerKind.U16 1374; - Value.Integer IntegerKind.U16 1370; - Value.Integer IntegerKind.U16 1366; - Value.Integer IntegerKind.U16 1363; - Value.Integer IntegerKind.U16 1359; - Value.Integer IntegerKind.U16 1356; - Value.Integer IntegerKind.U16 1352; - Value.Integer IntegerKind.U16 1349; - Value.Integer IntegerKind.U16 1345; - Value.Integer IntegerKind.U16 1342; - Value.Integer IntegerKind.U16 1338; - Value.Integer IntegerKind.U16 1335; - Value.Integer IntegerKind.U16 1332; - Value.Integer IntegerKind.U16 1328; - Value.Integer IntegerKind.U16 1325; - Value.Integer IntegerKind.U16 1322; - Value.Integer IntegerKind.U16 1318; - Value.Integer IntegerKind.U16 1315; - Value.Integer IntegerKind.U16 1312; - Value.Integer IntegerKind.U16 1308; - Value.Integer IntegerKind.U16 1305; - Value.Integer IntegerKind.U16 1302; - Value.Integer IntegerKind.U16 1299; - Value.Integer IntegerKind.U16 1295; - Value.Integer IntegerKind.U16 1292; - Value.Integer IntegerKind.U16 1289; - Value.Integer IntegerKind.U16 1286; - Value.Integer IntegerKind.U16 1283; - Value.Integer IntegerKind.U16 1280; - Value.Integer IntegerKind.U16 1276; - Value.Integer IntegerKind.U16 1273; - Value.Integer IntegerKind.U16 1270; - Value.Integer IntegerKind.U16 1267; - Value.Integer IntegerKind.U16 1264; - Value.Integer IntegerKind.U16 1261; - Value.Integer IntegerKind.U16 1258; - Value.Integer IntegerKind.U16 1255; - Value.Integer IntegerKind.U16 1252; - Value.Integer IntegerKind.U16 1249; - Value.Integer IntegerKind.U16 1246; - Value.Integer IntegerKind.U16 1243; - Value.Integer IntegerKind.U16 1240; - Value.Integer IntegerKind.U16 1237; - Value.Integer IntegerKind.U16 1234; - Value.Integer IntegerKind.U16 1231; - Value.Integer IntegerKind.U16 1228; - Value.Integer IntegerKind.U16 1226; - Value.Integer IntegerKind.U16 1223; - Value.Integer IntegerKind.U16 1220; - Value.Integer IntegerKind.U16 1217; - Value.Integer IntegerKind.U16 1214; - Value.Integer IntegerKind.U16 1211; - Value.Integer IntegerKind.U16 1209; - Value.Integer IntegerKind.U16 1206; - Value.Integer IntegerKind.U16 1203; - Value.Integer IntegerKind.U16 1200; - Value.Integer IntegerKind.U16 1197; - Value.Integer IntegerKind.U16 1195; - Value.Integer IntegerKind.U16 1192; - Value.Integer IntegerKind.U16 1189; - Value.Integer IntegerKind.U16 1187; - Value.Integer IntegerKind.U16 1184; - Value.Integer IntegerKind.U16 1181; - Value.Integer IntegerKind.U16 1179; - Value.Integer IntegerKind.U16 1176; - Value.Integer IntegerKind.U16 1173; - Value.Integer IntegerKind.U16 1171; - Value.Integer IntegerKind.U16 1168; - Value.Integer IntegerKind.U16 1165; - Value.Integer IntegerKind.U16 1163; - Value.Integer IntegerKind.U16 1160; - Value.Integer IntegerKind.U16 1158; - Value.Integer IntegerKind.U16 1155; - Value.Integer IntegerKind.U16 1153; - Value.Integer IntegerKind.U16 1150; - Value.Integer IntegerKind.U16 1148; - Value.Integer IntegerKind.U16 1145; - Value.Integer IntegerKind.U16 1143; - Value.Integer IntegerKind.U16 1140; - Value.Integer IntegerKind.U16 1138; - Value.Integer IntegerKind.U16 1135; - Value.Integer IntegerKind.U16 1133; - Value.Integer IntegerKind.U16 1130; - Value.Integer IntegerKind.U16 1128; - Value.Integer IntegerKind.U16 1125; - Value.Integer IntegerKind.U16 1123; - Value.Integer IntegerKind.U16 1121; - Value.Integer IntegerKind.U16 1118; - Value.Integer IntegerKind.U16 1116; - Value.Integer IntegerKind.U16 1113; - Value.Integer IntegerKind.U16 1111; - Value.Integer IntegerKind.U16 1109; - Value.Integer IntegerKind.U16 1106; - Value.Integer IntegerKind.U16 1104; - Value.Integer IntegerKind.U16 1102; - Value.Integer IntegerKind.U16 1099; - Value.Integer IntegerKind.U16 1097; - Value.Integer IntegerKind.U16 1095; - Value.Integer IntegerKind.U16 1092; - Value.Integer IntegerKind.U16 1090; - Value.Integer IntegerKind.U16 1088; - Value.Integer IntegerKind.U16 1086; - Value.Integer IntegerKind.U16 1083; - Value.Integer IntegerKind.U16 1081; - Value.Integer IntegerKind.U16 1079; - Value.Integer IntegerKind.U16 1077; - Value.Integer IntegerKind.U16 1074; - Value.Integer IntegerKind.U16 1072; - Value.Integer IntegerKind.U16 1070; - Value.Integer IntegerKind.U16 1068; - Value.Integer IntegerKind.U16 1066; - Value.Integer IntegerKind.U16 1064; - Value.Integer IntegerKind.U16 1061; - Value.Integer IntegerKind.U16 1059; - Value.Integer IntegerKind.U16 1057; - Value.Integer IntegerKind.U16 1055; - Value.Integer IntegerKind.U16 1053; - Value.Integer IntegerKind.U16 1051; - Value.Integer IntegerKind.U16 1049; - Value.Integer IntegerKind.U16 1047; - Value.Integer IntegerKind.U16 1044; - Value.Integer IntegerKind.U16 1042; - Value.Integer IntegerKind.U16 1040; - Value.Integer IntegerKind.U16 1038; - Value.Integer IntegerKind.U16 1036; - Value.Integer IntegerKind.U16 1034; - Value.Integer IntegerKind.U16 1032; - Value.Integer IntegerKind.U16 1030; - Value.Integer IntegerKind.U16 1028; - Value.Integer IntegerKind.U16 1026; - Value.Integer IntegerKind.U16 1024 - ] - |) - |))). + Definition value_TABLE (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + M.alloc (| + Value.Array + [ + Value.Integer IntegerKind.U16 2045; + Value.Integer IntegerKind.U16 2037; + Value.Integer IntegerKind.U16 2029; + Value.Integer IntegerKind.U16 2021; + Value.Integer IntegerKind.U16 2013; + Value.Integer IntegerKind.U16 2005; + Value.Integer IntegerKind.U16 1998; + Value.Integer IntegerKind.U16 1990; + Value.Integer IntegerKind.U16 1983; + Value.Integer IntegerKind.U16 1975; + Value.Integer IntegerKind.U16 1968; + Value.Integer IntegerKind.U16 1960; + Value.Integer IntegerKind.U16 1953; + Value.Integer IntegerKind.U16 1946; + Value.Integer IntegerKind.U16 1938; + Value.Integer IntegerKind.U16 1931; + Value.Integer IntegerKind.U16 1924; + Value.Integer IntegerKind.U16 1917; + Value.Integer IntegerKind.U16 1910; + Value.Integer IntegerKind.U16 1903; + Value.Integer IntegerKind.U16 1896; + Value.Integer IntegerKind.U16 1889; + Value.Integer IntegerKind.U16 1883; + Value.Integer IntegerKind.U16 1876; + Value.Integer IntegerKind.U16 1869; + Value.Integer IntegerKind.U16 1863; + Value.Integer IntegerKind.U16 1856; + Value.Integer IntegerKind.U16 1849; + Value.Integer IntegerKind.U16 1843; + Value.Integer IntegerKind.U16 1836; + Value.Integer IntegerKind.U16 1830; + Value.Integer IntegerKind.U16 1824; + Value.Integer IntegerKind.U16 1817; + Value.Integer IntegerKind.U16 1811; + Value.Integer IntegerKind.U16 1805; + Value.Integer IntegerKind.U16 1799; + Value.Integer IntegerKind.U16 1792; + Value.Integer IntegerKind.U16 1786; + Value.Integer IntegerKind.U16 1780; + Value.Integer IntegerKind.U16 1774; + Value.Integer IntegerKind.U16 1768; + Value.Integer IntegerKind.U16 1762; + Value.Integer IntegerKind.U16 1756; + Value.Integer IntegerKind.U16 1750; + Value.Integer IntegerKind.U16 1745; + Value.Integer IntegerKind.U16 1739; + Value.Integer IntegerKind.U16 1733; + Value.Integer IntegerKind.U16 1727; + Value.Integer IntegerKind.U16 1722; + Value.Integer IntegerKind.U16 1716; + Value.Integer IntegerKind.U16 1710; + Value.Integer IntegerKind.U16 1705; + Value.Integer IntegerKind.U16 1699; + Value.Integer IntegerKind.U16 1694; + Value.Integer IntegerKind.U16 1688; + Value.Integer IntegerKind.U16 1683; + Value.Integer IntegerKind.U16 1677; + Value.Integer IntegerKind.U16 1672; + Value.Integer IntegerKind.U16 1667; + Value.Integer IntegerKind.U16 1661; + Value.Integer IntegerKind.U16 1656; + Value.Integer IntegerKind.U16 1651; + Value.Integer IntegerKind.U16 1646; + Value.Integer IntegerKind.U16 1641; + Value.Integer IntegerKind.U16 1636; + Value.Integer IntegerKind.U16 1630; + Value.Integer IntegerKind.U16 1625; + Value.Integer IntegerKind.U16 1620; + Value.Integer IntegerKind.U16 1615; + Value.Integer IntegerKind.U16 1610; + Value.Integer IntegerKind.U16 1605; + Value.Integer IntegerKind.U16 1600; + Value.Integer IntegerKind.U16 1596; + Value.Integer IntegerKind.U16 1591; + Value.Integer IntegerKind.U16 1586; + Value.Integer IntegerKind.U16 1581; + Value.Integer IntegerKind.U16 1576; + Value.Integer IntegerKind.U16 1572; + Value.Integer IntegerKind.U16 1567; + Value.Integer IntegerKind.U16 1562; + Value.Integer IntegerKind.U16 1558; + Value.Integer IntegerKind.U16 1553; + Value.Integer IntegerKind.U16 1548; + Value.Integer IntegerKind.U16 1544; + Value.Integer IntegerKind.U16 1539; + Value.Integer IntegerKind.U16 1535; + Value.Integer IntegerKind.U16 1530; + Value.Integer IntegerKind.U16 1526; + Value.Integer IntegerKind.U16 1521; + Value.Integer IntegerKind.U16 1517; + Value.Integer IntegerKind.U16 1513; + Value.Integer IntegerKind.U16 1508; + Value.Integer IntegerKind.U16 1504; + Value.Integer IntegerKind.U16 1500; + Value.Integer IntegerKind.U16 1495; + Value.Integer IntegerKind.U16 1491; + Value.Integer IntegerKind.U16 1487; + Value.Integer IntegerKind.U16 1483; + Value.Integer IntegerKind.U16 1478; + Value.Integer IntegerKind.U16 1474; + Value.Integer IntegerKind.U16 1470; + Value.Integer IntegerKind.U16 1466; + Value.Integer IntegerKind.U16 1462; + Value.Integer IntegerKind.U16 1458; + Value.Integer IntegerKind.U16 1454; + Value.Integer IntegerKind.U16 1450; + Value.Integer IntegerKind.U16 1446; + Value.Integer IntegerKind.U16 1442; + Value.Integer IntegerKind.U16 1438; + Value.Integer IntegerKind.U16 1434; + Value.Integer IntegerKind.U16 1430; + Value.Integer IntegerKind.U16 1426; + Value.Integer IntegerKind.U16 1422; + Value.Integer IntegerKind.U16 1418; + Value.Integer IntegerKind.U16 1414; + Value.Integer IntegerKind.U16 1411; + Value.Integer IntegerKind.U16 1407; + Value.Integer IntegerKind.U16 1403; + Value.Integer IntegerKind.U16 1399; + Value.Integer IntegerKind.U16 1396; + Value.Integer IntegerKind.U16 1392; + Value.Integer IntegerKind.U16 1388; + Value.Integer IntegerKind.U16 1384; + Value.Integer IntegerKind.U16 1381; + Value.Integer IntegerKind.U16 1377; + Value.Integer IntegerKind.U16 1374; + Value.Integer IntegerKind.U16 1370; + Value.Integer IntegerKind.U16 1366; + Value.Integer IntegerKind.U16 1363; + Value.Integer IntegerKind.U16 1359; + Value.Integer IntegerKind.U16 1356; + Value.Integer IntegerKind.U16 1352; + Value.Integer IntegerKind.U16 1349; + Value.Integer IntegerKind.U16 1345; + Value.Integer IntegerKind.U16 1342; + Value.Integer IntegerKind.U16 1338; + Value.Integer IntegerKind.U16 1335; + Value.Integer IntegerKind.U16 1332; + Value.Integer IntegerKind.U16 1328; + Value.Integer IntegerKind.U16 1325; + Value.Integer IntegerKind.U16 1322; + Value.Integer IntegerKind.U16 1318; + Value.Integer IntegerKind.U16 1315; + Value.Integer IntegerKind.U16 1312; + Value.Integer IntegerKind.U16 1308; + Value.Integer IntegerKind.U16 1305; + Value.Integer IntegerKind.U16 1302; + Value.Integer IntegerKind.U16 1299; + Value.Integer IntegerKind.U16 1295; + Value.Integer IntegerKind.U16 1292; + Value.Integer IntegerKind.U16 1289; + Value.Integer IntegerKind.U16 1286; + Value.Integer IntegerKind.U16 1283; + Value.Integer IntegerKind.U16 1280; + Value.Integer IntegerKind.U16 1276; + Value.Integer IntegerKind.U16 1273; + Value.Integer IntegerKind.U16 1270; + Value.Integer IntegerKind.U16 1267; + Value.Integer IntegerKind.U16 1264; + Value.Integer IntegerKind.U16 1261; + Value.Integer IntegerKind.U16 1258; + Value.Integer IntegerKind.U16 1255; + Value.Integer IntegerKind.U16 1252; + Value.Integer IntegerKind.U16 1249; + Value.Integer IntegerKind.U16 1246; + Value.Integer IntegerKind.U16 1243; + Value.Integer IntegerKind.U16 1240; + Value.Integer IntegerKind.U16 1237; + Value.Integer IntegerKind.U16 1234; + Value.Integer IntegerKind.U16 1231; + Value.Integer IntegerKind.U16 1228; + Value.Integer IntegerKind.U16 1226; + Value.Integer IntegerKind.U16 1223; + Value.Integer IntegerKind.U16 1220; + Value.Integer IntegerKind.U16 1217; + Value.Integer IntegerKind.U16 1214; + Value.Integer IntegerKind.U16 1211; + Value.Integer IntegerKind.U16 1209; + Value.Integer IntegerKind.U16 1206; + Value.Integer IntegerKind.U16 1203; + Value.Integer IntegerKind.U16 1200; + Value.Integer IntegerKind.U16 1197; + Value.Integer IntegerKind.U16 1195; + Value.Integer IntegerKind.U16 1192; + Value.Integer IntegerKind.U16 1189; + Value.Integer IntegerKind.U16 1187; + Value.Integer IntegerKind.U16 1184; + Value.Integer IntegerKind.U16 1181; + Value.Integer IntegerKind.U16 1179; + Value.Integer IntegerKind.U16 1176; + Value.Integer IntegerKind.U16 1173; + Value.Integer IntegerKind.U16 1171; + Value.Integer IntegerKind.U16 1168; + Value.Integer IntegerKind.U16 1165; + Value.Integer IntegerKind.U16 1163; + Value.Integer IntegerKind.U16 1160; + Value.Integer IntegerKind.U16 1158; + Value.Integer IntegerKind.U16 1155; + Value.Integer IntegerKind.U16 1153; + Value.Integer IntegerKind.U16 1150; + Value.Integer IntegerKind.U16 1148; + Value.Integer IntegerKind.U16 1145; + Value.Integer IntegerKind.U16 1143; + Value.Integer IntegerKind.U16 1140; + Value.Integer IntegerKind.U16 1138; + Value.Integer IntegerKind.U16 1135; + Value.Integer IntegerKind.U16 1133; + Value.Integer IntegerKind.U16 1130; + Value.Integer IntegerKind.U16 1128; + Value.Integer IntegerKind.U16 1125; + Value.Integer IntegerKind.U16 1123; + Value.Integer IntegerKind.U16 1121; + Value.Integer IntegerKind.U16 1118; + Value.Integer IntegerKind.U16 1116; + Value.Integer IntegerKind.U16 1113; + Value.Integer IntegerKind.U16 1111; + Value.Integer IntegerKind.U16 1109; + Value.Integer IntegerKind.U16 1106; + Value.Integer IntegerKind.U16 1104; + Value.Integer IntegerKind.U16 1102; + Value.Integer IntegerKind.U16 1099; + Value.Integer IntegerKind.U16 1097; + Value.Integer IntegerKind.U16 1095; + Value.Integer IntegerKind.U16 1092; + Value.Integer IntegerKind.U16 1090; + Value.Integer IntegerKind.U16 1088; + Value.Integer IntegerKind.U16 1086; + Value.Integer IntegerKind.U16 1083; + Value.Integer IntegerKind.U16 1081; + Value.Integer IntegerKind.U16 1079; + Value.Integer IntegerKind.U16 1077; + Value.Integer IntegerKind.U16 1074; + Value.Integer IntegerKind.U16 1072; + Value.Integer IntegerKind.U16 1070; + Value.Integer IntegerKind.U16 1068; + Value.Integer IntegerKind.U16 1066; + Value.Integer IntegerKind.U16 1064; + Value.Integer IntegerKind.U16 1061; + Value.Integer IntegerKind.U16 1059; + Value.Integer IntegerKind.U16 1057; + Value.Integer IntegerKind.U16 1055; + Value.Integer IntegerKind.U16 1053; + Value.Integer IntegerKind.U16 1051; + Value.Integer IntegerKind.U16 1049; + Value.Integer IntegerKind.U16 1047; + Value.Integer IntegerKind.U16 1044; + Value.Integer IntegerKind.U16 1042; + Value.Integer IntegerKind.U16 1040; + Value.Integer IntegerKind.U16 1038; + Value.Integer IntegerKind.U16 1036; + Value.Integer IntegerKind.U16 1034; + Value.Integer IntegerKind.U16 1032; + Value.Integer IntegerKind.U16 1030; + Value.Integer IntegerKind.U16 1028; + Value.Integer IntegerKind.U16 1026; + Value.Integer IntegerKind.U16 1024 + ] + |) + |))). - Axiom Constant_value_TABLE : - (M.get_constant "ruint::algorithms::div::reciprocal::reciprocal_mg10::TABLE") = - value_TABLE. - Global Hint Rewrite Constant_value_TABLE : constant_rewrites. + Global Instance Instance_IsConstant_value_TABLE : + M.IsFunction.C "ruint::algorithms::div::reciprocal::reciprocal_mg10::TABLE" value_TABLE. + Admitted. + Global Typeclasses Opaque value_TABLE. End reciprocal_mg10. (* @@ -1590,9 +1621,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_reciprocal_2_mg10 : - M.IsFunction.Trait - "ruint::algorithms::div::reciprocal::reciprocal_2_mg10" - reciprocal_2_mg10. + M.IsFunction.C "ruint::algorithms::div::reciprocal::reciprocal_2_mg10" reciprocal_2_mg10. Admitted. Global Typeclasses Opaque reciprocal_2_mg10. @@ -1675,7 +1704,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_mul_hi : - M.IsFunction.Trait "ruint::algorithms::div::reciprocal::mul_hi" mul_hi. + M.IsFunction.C "ruint::algorithms::div::reciprocal::mul_hi" mul_hi. Admitted. Global Typeclasses Opaque mul_hi. @@ -1789,7 +1818,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_muladd_hi : - M.IsFunction.Trait "ruint::algorithms::div::reciprocal::muladd_hi" muladd_hi. + M.IsFunction.C "ruint::algorithms::div::reciprocal::muladd_hi" muladd_hi. Admitted. Global Typeclasses Opaque muladd_hi. End reciprocal. diff --git a/CoqOfRust/ruint/algorithms/div/small.v b/CoqOfRust/ruint/algorithms/div/small.v index cb86bf181..ebccf1447 100644 --- a/CoqOfRust/ruint/algorithms/div/small.v +++ b/CoqOfRust/ruint/algorithms/div/small.v @@ -272,7 +272,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_nx1_normalized : - M.IsFunction.Trait "ruint::algorithms::div::small::div_nx1_normalized" div_nx1_normalized. + M.IsFunction.C "ruint::algorithms::div::small::div_nx1_normalized" div_nx1_normalized. Admitted. Global Typeclasses Opaque div_nx1_normalized. @@ -1020,7 +1020,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_nx1 : - M.IsFunction.Trait "ruint::algorithms::div::small::div_nx1" div_nx1. + M.IsFunction.C "ruint::algorithms::div::small::div_nx1" div_nx1. Admitted. Global Typeclasses Opaque div_nx1. @@ -1279,7 +1279,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_nx2_normalized : - M.IsFunction.Trait "ruint::algorithms::div::small::div_nx2_normalized" div_nx2_normalized. + M.IsFunction.C "ruint::algorithms::div::small::div_nx2_normalized" div_nx2_normalized. Admitted. Global Typeclasses Opaque div_nx2_normalized. @@ -2030,7 +2030,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_nx2 : - M.IsFunction.Trait "ruint::algorithms::div::small::div_nx2" div_nx2. + M.IsFunction.C "ruint::algorithms::div::small::div_nx2" div_nx2. Admitted. Global Typeclasses Opaque div_nx2. @@ -2196,7 +2196,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_2x1_ref : - M.IsFunction.Trait "ruint::algorithms::div::small::div_2x1_ref" div_2x1_ref. + M.IsFunction.C "ruint::algorithms::div::small::div_2x1_ref" div_2x1_ref. Admitted. Global Typeclasses Opaque div_2x1_ref. @@ -2639,7 +2639,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_2x1_mg10 : - M.IsFunction.Trait "ruint::algorithms::div::small::div_2x1_mg10" div_2x1_mg10. + M.IsFunction.C "ruint::algorithms::div::small::div_2x1_mg10" div_2x1_mg10. Admitted. Global Typeclasses Opaque div_2x1_mg10. @@ -3220,7 +3220,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_3x2_ref : - M.IsFunction.Trait "ruint::algorithms::div::small::div_3x2_ref" div_3x2_ref. + M.IsFunction.C "ruint::algorithms::div::small::div_3x2_ref" div_3x2_ref. Admitted. Global Typeclasses Opaque div_3x2_ref. @@ -3796,7 +3796,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_div_3x2_mg10 : - M.IsFunction.Trait "ruint::algorithms::div::small::div_3x2_mg10" div_3x2_mg10. + M.IsFunction.C "ruint::algorithms::div::small::div_3x2_mg10" div_3x2_mg10. Admitted. Global Typeclasses Opaque div_3x2_mg10. End small. diff --git a/CoqOfRust/ruint/algorithms/gcd/matrix.v b/CoqOfRust/ruint/algorithms/gcd/matrix.v index b6a6a3de4..f5cfaecd8 100644 --- a/CoqOfRust/ruint/algorithms/gcd/matrix.v +++ b/CoqOfRust/ruint/algorithms/gcd/matrix.v @@ -340,23 +340,22 @@ Module algorithms. (* pub const IDENTITY: Self = Self(1, 0, 0, 1, true); *) (* Ty.path "ruint::algorithms::gcd::matrix::Matrix" *) - Definition value_IDENTITY : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple - "ruint::algorithms::gcd::matrix::Matrix" - [ - Value.Integer IntegerKind.U64 1; - Value.Integer IntegerKind.U64 0; - Value.Integer IntegerKind.U64 0; - Value.Integer IntegerKind.U64 1; - Value.Bool true - ] - |))). + Definition value_IDENTITY (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "ruint::algorithms::gcd::matrix::Matrix" + [ + Value.Integer IntegerKind.U64 1; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 0; + Value.Integer IntegerKind.U64 1; + Value.Bool true + ] + |))). Global Instance AssociatedConstant_value_IDENTITY : - M.IsAssociatedConstant.Trait Self "value_IDENTITY" value_IDENTITY. + M.IsAssociatedFunction.C Self "IDENTITY" value_IDENTITY. Admitted. Global Typeclasses Opaque value_IDENTITY. @@ -538,7 +537,7 @@ Module algorithms. end. Global Instance AssociatedFunction_compose : - M.IsAssociatedFunction.Trait Self "compose" compose. + M.IsAssociatedFunction.C Self "compose" compose. Admitted. Global Typeclasses Opaque compose. @@ -590,7 +589,10 @@ Module algorithms. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::apply::BITS" + get_constant (| + "ruint::algorithms::gcd::matrix::apply::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -988,7 +990,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_apply : M.IsAssociatedFunction.Trait Self "apply" apply. + Global Instance AssociatedFunction_apply : M.IsAssociatedFunction.C Self "apply" apply. Admitted. Global Typeclasses Opaque apply. @@ -1271,7 +1273,7 @@ Module algorithms. end. Global Instance AssociatedFunction_apply_u128 : - M.IsAssociatedFunction.Trait Self "apply_u128" apply_u128. + M.IsAssociatedFunction.C Self "apply_u128" apply_u128. Admitted. Global Typeclasses Opaque apply_u128. @@ -1737,7 +1739,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance AssociatedFunction_from : M.IsAssociatedFunction.Trait Self "from" from. + Global Instance AssociatedFunction_from : M.IsAssociatedFunction.C Self "from" from. Admitted. Global Typeclasses Opaque from. @@ -1849,7 +1851,11 @@ Module algorithms. M.read (| M.return_ (| M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) |) |) @@ -2031,7 +2037,7 @@ Module algorithms. end. Global Instance AssociatedFunction_from_u64 : - M.IsAssociatedFunction.Trait Self "from_u64" from_u64. + M.IsAssociatedFunction.C Self "from_u64" from_u64. Admitted. Global Typeclasses Opaque from_u64. @@ -2290,8 +2296,10 @@ Module algorithms. BinOp.lt (| M.read (| a1 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |)) in @@ -2305,7 +2313,11 @@ Module algorithms. M.read (| M.return_ (| M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) |) |) @@ -2343,8 +2355,10 @@ Module algorithms. BinOp.lt (| M.read (| a2 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |)) in @@ -2365,8 +2379,10 @@ Module algorithms. BinOp.Wrap.rem (| M.read (| k2 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) in @@ -2420,8 +2436,11 @@ Module algorithms. M.read (| M.return_ (| M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) |) |) @@ -2464,8 +2483,10 @@ Module algorithms. BinOp.ge (| M.read (| a3 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |)) in @@ -2647,8 +2668,10 @@ Module algorithms. BinOp.lt (| M.read (| a3 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |)) in @@ -2869,7 +2892,10 @@ Module algorithms. BinOp.Wrap.rem (| M.read (| k0 |), M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) in @@ -2878,7 +2904,10 @@ Module algorithms. BinOp.Wrap.rem (| M.read (| k1 |), M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) in @@ -2887,7 +2916,10 @@ Module algorithms. BinOp.Wrap.rem (| M.read (| k2 |), M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) in @@ -2896,7 +2928,10 @@ Module algorithms. BinOp.Wrap.rem (| M.read (| k3 |), M.read (| - M.get_constant "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) in @@ -2927,8 +2962,10 @@ Module algorithms. BinOp.ge (| M.read (| a2 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) @@ -2981,8 +3018,10 @@ Module algorithms. BinOp.lt (| M.read (| a3 |), M.read (| - M.get_constant - "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT" + get_constant (| + "ruint::algorithms::gcd::matrix::from_u64_prefix::LIMIT", + Ty.path "u64" + |) |) |) |) @@ -3315,7 +3354,7 @@ Module algorithms. end. Global Instance AssociatedFunction_from_u64_prefix : - M.IsAssociatedFunction.Trait Self "from_u64_prefix" from_u64_prefix. + M.IsAssociatedFunction.C Self "from_u64_prefix" from_u64_prefix. Admitted. Global Typeclasses Opaque from_u64_prefix. @@ -3466,7 +3505,11 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, q |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) ] |) @@ -3489,7 +3532,7 @@ Module algorithms. end. Global Instance AssociatedFunction_from_u128_prefix : - M.IsAssociatedFunction.Trait Self "from_u128_prefix" from_u128_prefix. + M.IsAssociatedFunction.C Self "from_u128_prefix" from_u128_prefix. Admitted. Global Typeclasses Opaque from_u128_prefix. End Impl_ruint_algorithms_gcd_matrix_Matrix. diff --git a/CoqOfRust/ruint/algorithms/gcd/mod.v b/CoqOfRust/ruint/algorithms/gcd/mod.v index ab456e96f..ddef05092 100644 --- a/CoqOfRust/ruint/algorithms/gcd/mod.v +++ b/CoqOfRust/ruint/algorithms/gcd/mod.v @@ -113,7 +113,14 @@ Module algorithms. |), [ M.borrow (| Pointer.Kind.Ref, b |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -231,8 +238,11 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, m |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) ] |) @@ -327,7 +337,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_gcd : M.IsFunction.Trait "ruint::algorithms::gcd::gcd" gcd. + Global Instance Instance_IsFunction_gcd : M.IsFunction.C "ruint::algorithms::gcd::gcd" gcd. Admitted. Global Typeclasses Opaque gcd. @@ -413,7 +423,10 @@ Module algorithms. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "ruint::algorithms::gcd::gcd_extended::BITS" + get_constant (| + "ruint::algorithms::gcd::gcd_extended::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |) @@ -426,9 +439,27 @@ Module algorithms. M.return_ (| Value.Tuple [ - M.read (| M.get_constant "ruint::ZERO" |); - M.read (| M.get_constant "ruint::ZERO" |); - M.read (| M.get_constant "ruint::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); Value.Bool false ] |) @@ -503,9 +534,21 @@ Module algorithms. |) |) in let~ s1 : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ t0 : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ t1 : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := M.alloc (| M.call_closure (| @@ -548,7 +591,11 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, b |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |) @@ -672,8 +719,12 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, m |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path + "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) ] |) @@ -1025,7 +1076,16 @@ Module algorithms. [], [] |), - [ M.read (| M.get_constant "ruint::ZERO" |); M.read (| t0 |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + M.read (| t0 |) + ] |) |) |) in @@ -1047,7 +1107,16 @@ Module algorithms. [], [] |), - [ M.read (| M.get_constant "ruint::ZERO" |); M.read (| s0 |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); + M.read (| s0 |) + ] |) |) |) in @@ -1101,7 +1170,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_gcd_extended : - M.IsFunction.Trait "ruint::algorithms::gcd::gcd_extended" gcd_extended. + M.IsFunction.C "ruint::algorithms::gcd::gcd_extended" gcd_extended. Admitted. Global Typeclasses Opaque gcd_extended. @@ -1174,7 +1243,10 @@ Module algorithms. LogicalOp.or (| BinOp.eq (| M.read (| - M.get_constant "ruint::algorithms::gcd::inv_mod::BITS" + get_constant (| + "ruint::algorithms::gcd::inv_mod::BITS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |), @@ -1194,7 +1266,11 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, modulus |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |))) @@ -1287,7 +1363,14 @@ Module algorithms. |), [ M.borrow (| Pointer.Kind.Ref, b |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -1304,7 +1387,13 @@ Module algorithms. ] |) in let~ t0 : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ t1 : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := M.alloc (| M.call_closure (| @@ -1347,7 +1436,11 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, b |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |) @@ -1471,8 +1564,12 @@ Module algorithms. M.borrow (| Pointer.Kind.Ref, m |); M.borrow (| Pointer.Kind.Ref, - M.get_constant - "ruint::algorithms::gcd::matrix::IDENTITY" + get_associated_constant (| + Ty.path + "ruint::algorithms::gcd::matrix::Matrix", + "IDENTITY", + Ty.path "ruint::algorithms::gcd::matrix::Matrix" + |) |) ] |) @@ -1810,7 +1907,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_inv_mod : - M.IsFunction.Trait "ruint::algorithms::gcd::inv_mod" inv_mod. + M.IsFunction.C "ruint::algorithms::gcd::inv_mod" inv_mod. Admitted. Global Typeclasses Opaque inv_mod. End gcd. diff --git a/CoqOfRust/ruint/algorithms/mod.v b/CoqOfRust/ruint/algorithms/mod.v index 13a806253..26ca6dde1 100644 --- a/CoqOfRust/ruint/algorithms/mod.v +++ b/CoqOfRust/ruint/algorithms/mod.v @@ -770,7 +770,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_cmp : M.IsFunction.Trait "ruint::algorithms::cmp" cmp. + Global Instance Instance_IsFunction_cmp : M.IsFunction.C "ruint::algorithms::cmp" cmp. Admitted. Global Typeclasses Opaque cmp. End algorithms. diff --git a/CoqOfRust/ruint/algorithms/mul.v b/CoqOfRust/ruint/algorithms/mul.v index 6dd125e81..b46393d50 100644 --- a/CoqOfRust/ruint/algorithms/mul.v +++ b/CoqOfRust/ruint/algorithms/mul.v @@ -677,7 +677,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_ref : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_ref" addmul_ref. + M.IsFunction.C "ruint::algorithms::mul::addmul_ref" addmul_ref. Admitted. Global Typeclasses Opaque addmul_ref. @@ -1627,7 +1627,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul : - M.IsFunction.Trait "ruint::algorithms::mul::addmul" addmul. + M.IsFunction.C "ruint::algorithms::mul::addmul" addmul. Admitted. Global Typeclasses Opaque addmul. @@ -1858,7 +1858,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_add_nx1 : - M.IsFunction.Trait "ruint::algorithms::mul::add_nx1" add_nx1. + M.IsFunction.C "ruint::algorithms::mul::add_nx1" add_nx1. Admitted. Global Typeclasses Opaque add_nx1. @@ -2231,7 +2231,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_n : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_n" addmul_n. + M.IsFunction.C "ruint::algorithms::mul::addmul_n" addmul_n. Admitted. Global Typeclasses Opaque addmul_n. @@ -2598,7 +2598,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_1 : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_1" addmul_1. + M.IsFunction.C "ruint::algorithms::mul::addmul_1" addmul_1. Admitted. Global Typeclasses Opaque addmul_1. @@ -3036,7 +3036,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_2 : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_2" addmul_2. + M.IsFunction.C "ruint::algorithms::mul::addmul_2" addmul_2. Admitted. Global Typeclasses Opaque addmul_2. @@ -3580,7 +3580,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_3 : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_3" addmul_3. + M.IsFunction.C "ruint::algorithms::mul::addmul_3" addmul_3. Admitted. Global Typeclasses Opaque addmul_3. @@ -4265,7 +4265,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_4 : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_4" addmul_4. + M.IsFunction.C "ruint::algorithms::mul::addmul_4" addmul_4. Admitted. Global Typeclasses Opaque addmul_4. @@ -4344,7 +4344,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_mac : M.IsFunction.Trait "ruint::algorithms::mul::mac" mac. + Global Instance Instance_IsFunction_mac : M.IsFunction.C "ruint::algorithms::mul::mac" mac. Admitted. Global Typeclasses Opaque mac. @@ -4513,7 +4513,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_mul_nx1 : - M.IsFunction.Trait "ruint::algorithms::mul::mul_nx1" mul_nx1. + M.IsFunction.C "ruint::algorithms::mul::mul_nx1" mul_nx1. Admitted. Global Typeclasses Opaque mul_nx1. @@ -4932,7 +4932,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_addmul_nx1 : - M.IsFunction.Trait "ruint::algorithms::mul::addmul_nx1" addmul_nx1. + M.IsFunction.C "ruint::algorithms::mul::addmul_nx1" addmul_nx1. Admitted. Global Typeclasses Opaque addmul_nx1. @@ -5394,7 +5394,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_submul_nx1 : - M.IsFunction.Trait "ruint::algorithms::mul::submul_nx1" submul_nx1. + M.IsFunction.C "ruint::algorithms::mul::submul_nx1" submul_nx1. Admitted. Global Typeclasses Opaque submul_nx1. End mul. diff --git a/CoqOfRust/ruint/algorithms/mul_redc.v b/CoqOfRust/ruint/algorithms/mul_redc.v index 17c2336db..366b7d636 100644 --- a/CoqOfRust/ruint/algorithms/mul_redc.v +++ b/CoqOfRust/ruint/algorithms/mul_redc.v @@ -597,7 +597,10 @@ Module algorithms. |) |) |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "core::num::MAX" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |), [ @@ -2602,7 +2605,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_mul_redc : - M.IsFunction.Trait "ruint::algorithms::mul_redc::mul_redc" mul_redc. + M.IsFunction.C "ruint::algorithms::mul_redc::mul_redc" mul_redc. Admitted. Global Typeclasses Opaque mul_redc. End mul_redc. diff --git a/CoqOfRust/ruint/algorithms/ops.v b/CoqOfRust/ruint/algorithms/ops.v index d63285dd0..0300c6d2a 100644 --- a/CoqOfRust/ruint/algorithms/ops.v +++ b/CoqOfRust/ruint/algorithms/ops.v @@ -82,7 +82,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_adc : M.IsFunction.Trait "ruint::algorithms::ops::adc" adc. + Global Instance Instance_IsFunction_adc : M.IsFunction.C "ruint::algorithms::ops::adc" adc. Admitted. Global Typeclasses Opaque adc. @@ -197,7 +197,7 @@ Module algorithms. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_sbb : M.IsFunction.Trait "ruint::algorithms::ops::sbb" sbb. + Global Instance Instance_IsFunction_sbb : M.IsFunction.C "ruint::algorithms::ops::sbb" sbb. Admitted. Global Typeclasses Opaque sbb. End ops. diff --git a/CoqOfRust/ruint/algorithms/shift.v b/CoqOfRust/ruint/algorithms/shift.v index be3338e8a..4fd10d959 100644 --- a/CoqOfRust/ruint/algorithms/shift.v +++ b/CoqOfRust/ruint/algorithms/shift.v @@ -187,7 +187,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_shift_left_small : - M.IsFunction.Trait "ruint::algorithms::shift::shift_left_small" shift_left_small. + M.IsFunction.C "ruint::algorithms::shift::shift_left_small" shift_left_small. Admitted. Global Typeclasses Opaque shift_left_small. @@ -414,7 +414,7 @@ Module algorithms. end. Global Instance Instance_IsFunction_shift_right_small : - M.IsFunction.Trait "ruint::algorithms::shift::shift_right_small" shift_right_small. + M.IsFunction.C "ruint::algorithms::shift::shift_right_small" shift_right_small. Admitted. Global Typeclasses Opaque shift_right_small. End shift. diff --git a/CoqOfRust/ruint/base_convert.v b/CoqOfRust/ruint/base_convert.v index 06d7c9f04..fe80fc43e 100644 --- a/CoqOfRust/ruint/base_convert.v +++ b/CoqOfRust/ruint/base_convert.v @@ -773,7 +773,7 @@ Module base_convert. Global Instance AssociatedFunction_to_base_le : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_base_le" (to_base_le BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_base_le" (to_base_le BITS LIMBS). Admitted. Global Typeclasses Opaque to_base_le. @@ -886,7 +886,7 @@ Module base_convert. Global Instance AssociatedFunction_to_base_be : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_base_be" (to_base_be BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_base_be" (to_base_be BITS LIMBS). Admitted. Global Typeclasses Opaque to_base_be. @@ -1000,7 +1000,9 @@ Module base_convert. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::base_convert::BITS" |), + M.read (| + get_constant (| "ruint::base_convert::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1195,7 +1197,15 @@ Module base_convert. M.return_ (| Value.StructTuple "core::result::Result::Ok" - [ M.read (| M.get_constant "ruint::ZERO" |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + ] |) |) |) @@ -1231,7 +1241,13 @@ Module base_convert. |) |) in let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ power : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := M.alloc (| M.call_closure (| @@ -1497,8 +1513,10 @@ Module base_convert. |), BinOp.Wrap.sub (| M.read (| - M.get_constant - "ruint::base_convert::LIMBS" + get_constant (| + "ruint::base_convert::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize @@ -1507,7 +1525,14 @@ Module base_convert. |) |), M.read (| - M.get_constant "ruint::MASK" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) |) |))) |) @@ -1588,8 +1613,10 @@ Module base_convert. |), BinOp.Wrap.sub (| M.read (| - M.get_constant - "ruint::base_convert::LIMBS" + get_constant (| + "ruint::base_convert::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize @@ -1598,7 +1625,14 @@ Module base_convert. |) |), M.read (| - M.get_constant "ruint::MASK" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) |) |))) |) @@ -1802,7 +1836,7 @@ Module base_convert. Global Instance AssociatedFunction_from_base_le : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_base_le" (from_base_le BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_base_le" (from_base_le BITS LIMBS). Admitted. Global Typeclasses Opaque from_base_le. @@ -1889,7 +1923,13 @@ Module base_convert. ] |) in let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ _ : Ty.tuple [] := M.use (M.match_operator (| @@ -2234,8 +2274,10 @@ Module base_convert. (LogicalOp.and (| BinOp.ne (| M.read (| - M.get_constant - "ruint::base_convert::LIMBS" + get_constant (| + "ruint::base_convert::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 0 |), @@ -2250,8 +2292,10 @@ Module base_convert. |), BinOp.Wrap.sub (| M.read (| - M.get_constant - "ruint::base_convert::LIMBS" + get_constant (| + "ruint::base_convert::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize @@ -2260,7 +2304,14 @@ Module base_convert. |) |), M.read (| - M.get_constant "ruint::MASK" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) |) |))) |))) @@ -2304,7 +2355,7 @@ Module base_convert. Global Instance AssociatedFunction_from_base_be : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_base_be" (from_base_be BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_base_be" (from_base_be BITS LIMBS). Admitted. Global Typeclasses Opaque from_base_be. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/bit_arr.v b/CoqOfRust/ruint/bit_arr.v index 0eea561d7..0cb6e67ad 100644 --- a/CoqOfRust/ruint/bit_arr.v +++ b/CoqOfRust/ruint/bit_arr.v @@ -508,53 +508,97 @@ Module bit_arr. (* pub const LIMBS: usize = Uint::::LIMBS; *) (* Ty.path "usize" *) - Definition value_LIMBS (BITS LIMBS : Value.t) : Value.t := + Definition value_LIMBS + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "ruint::LIMBS'1")). + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |))). Global Instance AssociatedConstant_value_LIMBS : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_LIMBS" (value_LIMBS BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "LIMBS" (value_LIMBS BITS LIMBS). Admitted. Global Typeclasses Opaque value_LIMBS. (* pub const BITS: usize = Uint::::BITS; *) (* Ty.path "usize" *) - Definition value_BITS (BITS LIMBS : Value.t) : Value.t := + Definition value_BITS + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "ruint::BITS'1")). + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BITS", + Ty.path "usize" + |))). Global Instance AssociatedConstant_value_BITS : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_BITS" (value_BITS BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "BITS" (value_BITS BITS LIMBS). Admitted. Global Typeclasses Opaque value_BITS. (* pub const BYTES: usize = Uint::::BYTES; *) (* Ty.path "usize" *) - Definition value_BYTES (BITS LIMBS : Value.t) : Value.t := + Definition value_BYTES + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "ruint::bytes::BYTES")). + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |))). Global Instance AssociatedConstant_value_BYTES : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_BYTES" (value_BYTES BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "BYTES" (value_BYTES BITS LIMBS). Admitted. Global Typeclasses Opaque value_BYTES. (* pub const ZERO: Self = Self(Uint::::ZERO); *) (* Ty.apply (Ty.path "ruint::bit_arr::Bits") [ BITS; LIMBS ] [] *) - Definition value_ZERO (BITS LIMBS : Value.t) : Value.t := + Definition value_ZERO + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - Value.StructTuple "ruint::bit_arr::Bits" [ M.read (| M.get_constant "ruint::ZERO" |) ] - |))). + ltac:(M.monadic + (M.alloc (| + Value.StructTuple + "ruint::bit_arr::Bits" + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + ] + |))). Global Instance AssociatedConstant_value_ZERO : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_ZERO" (value_ZERO BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "ZERO" (value_ZERO BITS LIMBS). Admitted. Global Typeclasses Opaque value_ZERO. @@ -580,7 +624,7 @@ Module bit_arr. Global Instance AssociatedFunction_into_inner : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "into_inner" (into_inner BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "into_inner" (into_inner BITS LIMBS). Admitted. Global Typeclasses Opaque into_inner. @@ -618,7 +662,7 @@ Module bit_arr. Global Instance AssociatedFunction_as_uint : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_uint" (as_uint BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_uint" (as_uint BITS LIMBS). Admitted. Global Typeclasses Opaque as_uint. @@ -661,7 +705,7 @@ Module bit_arr. Global Instance AssociatedFunction_as_uint_mut : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_uint_mut" (as_uint_mut BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_uint_mut" (as_uint_mut BITS LIMBS). Admitted. Global Typeclasses Opaque as_uint_mut. (* @@ -713,7 +757,7 @@ Module bit_arr. Global Instance AssociatedFunction_reverse_bits : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "reverse_bits" (reverse_bits BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "reverse_bits" (reverse_bits BITS LIMBS). Admitted. Global Typeclasses Opaque reverse_bits. @@ -790,7 +834,7 @@ Module bit_arr. Global Instance AssociatedFunction_as_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_le_bytes" (as_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_le_bytes" (as_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque as_le_bytes. @@ -867,7 +911,7 @@ Module bit_arr. Global Instance AssociatedFunction_to_be_bytes_vec : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_be_bytes_vec" (to_be_bytes_vec BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_be_bytes_vec" (to_be_bytes_vec BITS LIMBS). Admitted. Global Typeclasses Opaque to_be_bytes_vec. @@ -930,7 +974,7 @@ Module bit_arr. Global Instance AssociatedFunction_to_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_le_bytes" (to_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_le_bytes" (to_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque to_le_bytes. @@ -993,7 +1037,7 @@ Module bit_arr. Global Instance AssociatedFunction_to_be_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_be_bytes" (to_be_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_be_bytes" (to_be_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque to_be_bytes. @@ -1056,7 +1100,7 @@ Module bit_arr. Global Instance AssociatedFunction_leading_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "leading_zeros" (leading_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "leading_zeros" (leading_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque leading_zeros. @@ -1119,7 +1163,7 @@ Module bit_arr. Global Instance AssociatedFunction_leading_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "leading_ones" (leading_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "leading_ones" (leading_ones BITS LIMBS). Admitted. Global Typeclasses Opaque leading_ones. @@ -1182,7 +1226,7 @@ Module bit_arr. Global Instance AssociatedFunction_trailing_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "trailing_zeros" (trailing_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "trailing_zeros" (trailing_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque trailing_zeros. @@ -1245,7 +1289,7 @@ Module bit_arr. Global Instance AssociatedFunction_trailing_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "trailing_ones" (trailing_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "trailing_ones" (trailing_ones BITS LIMBS). Admitted. Global Typeclasses Opaque trailing_ones. @@ -1332,7 +1376,7 @@ Module bit_arr. Global Instance AssociatedFunction_as_limbs_mut : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_limbs_mut" (as_limbs_mut BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_limbs_mut" (as_limbs_mut BITS LIMBS). Admitted. Global Typeclasses Opaque as_limbs_mut. @@ -1407,7 +1451,7 @@ Module bit_arr. Global Instance AssociatedFunction_checked_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_shl" (checked_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_shl" (checked_shl BITS LIMBS). Admitted. Global Typeclasses Opaque checked_shl. @@ -1482,7 +1526,7 @@ Module bit_arr. Global Instance AssociatedFunction_checked_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_shr" (checked_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_shr" (checked_shr BITS LIMBS). Admitted. Global Typeclasses Opaque checked_shr. @@ -1558,7 +1602,7 @@ Module bit_arr. Global Instance AssociatedFunction_overflowing_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_shl" (overflowing_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_shl" (overflowing_shl BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_shl. @@ -1634,7 +1678,7 @@ Module bit_arr. Global Instance AssociatedFunction_overflowing_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_shr" (overflowing_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_shr" (overflowing_shr BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_shr. @@ -1689,7 +1733,7 @@ Module bit_arr. Global Instance AssociatedFunction_wrapping_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_shl" (wrapping_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_shl" (wrapping_shl BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_shl. @@ -1744,7 +1788,7 @@ Module bit_arr. Global Instance AssociatedFunction_wrapping_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_shr" (wrapping_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_shr" (wrapping_shr BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_shr. @@ -1799,7 +1843,7 @@ Module bit_arr. Global Instance AssociatedFunction_rotate_left : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "rotate_left" (rotate_left BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "rotate_left" (rotate_left BITS LIMBS). Admitted. Global Typeclasses Opaque rotate_left. @@ -1854,7 +1898,7 @@ Module bit_arr. Global Instance AssociatedFunction_rotate_right : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "rotate_right" (rotate_right BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "rotate_right" (rotate_right BITS LIMBS). Admitted. Global Typeclasses Opaque rotate_right. @@ -1923,10 +1967,7 @@ Module bit_arr. Global Instance AssociatedFunction_try_from_be_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "try_from_be_slice" - (try_from_be_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "try_from_be_slice" (try_from_be_slice BITS LIMBS). Admitted. Global Typeclasses Opaque try_from_be_slice. @@ -1995,10 +2036,7 @@ Module bit_arr. Global Instance AssociatedFunction_try_from_le_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "try_from_le_slice" - (try_from_le_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "try_from_le_slice" (try_from_le_slice BITS LIMBS). Admitted. Global Typeclasses Opaque try_from_le_slice. @@ -2080,7 +2118,7 @@ Module bit_arr. Global Instance AssociatedFunction_from_str_radix : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_str_radix" (from_str_radix BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_str_radix" (from_str_radix BITS LIMBS). Admitted. Global Typeclasses Opaque from_str_radix. @@ -2129,7 +2167,7 @@ Module bit_arr. Global Instance AssociatedFunction_from_be_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_be_bytes" (from_be_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_be_bytes" (from_be_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque from_be_bytes. @@ -2178,7 +2216,7 @@ Module bit_arr. Global Instance AssociatedFunction_from_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_le_bytes" (from_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_le_bytes" (from_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque from_le_bytes. @@ -2217,7 +2255,7 @@ Module bit_arr. Global Instance AssociatedFunction_from_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_limbs" (from_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_limbs" (from_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque from_limbs. @@ -2274,7 +2312,7 @@ Module bit_arr. Global Instance AssociatedFunction_as_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_limbs" (as_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_limbs" (as_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque as_limbs. End Impl_ruint_bit_arr_Bits_BITS_LIMBS. diff --git a/CoqOfRust/ruint/bits.v b/CoqOfRust/ruint/bits.v index b47fba15b..a78dff126 100644 --- a/CoqOfRust/ruint/bits.v +++ b/CoqOfRust/ruint/bits.v @@ -42,7 +42,9 @@ Module bits. (M.alloc (| BinOp.ge (| M.read (| index |), - M.read (| M.get_constant "ruint::bits::BITS" |) + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -98,7 +100,7 @@ Module bits. Global Instance AssociatedFunction_bit : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "bit" (bit BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "bit" (bit BITS LIMBS). Admitted. Global Typeclasses Opaque bit. @@ -143,7 +145,9 @@ Module bits. (M.alloc (| BinOp.ge (| M.read (| index |), - M.read (| M.get_constant "ruint::bits::BITS" |) + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -241,7 +245,7 @@ Module bits. Global Instance AssociatedFunction_set_bit : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "set_bit" (set_bit BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "set_bit" (set_bit BITS LIMBS). Admitted. Global Typeclasses Opaque set_bit. @@ -293,7 +297,7 @@ Module bits. Global Instance AssociatedFunction_byte : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "byte" (byte BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "byte" (byte BITS LIMBS). Admitted. Global Typeclasses Opaque byte. @@ -454,7 +458,9 @@ Module bits. (M.alloc (| BinOp.ne (| BinOp.Wrap.rem (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 64 |), Value.Integer IntegerKind.Usize 0 @@ -479,7 +485,9 @@ Module bits. BinOp.Wrap.sub (| Value.Integer IntegerKind.Usize 64, BinOp.Wrap.rem (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 64 |) |) @@ -497,7 +505,7 @@ Module bits. Global Instance AssociatedFunction_reverse_bits : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "reverse_bits" (reverse_bits BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "reverse_bits" (reverse_bits BITS LIMBS). Admitted. Global Typeclasses Opaque reverse_bits. @@ -637,7 +645,7 @@ Module bits. end)) ] |); - M.read (| M.get_constant "ruint::bits::BITS" |); + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |); M.closure (fun γ => ltac:(M.monadic @@ -664,7 +672,15 @@ Module bits. [], [] |), - [ M.read (| M.get_constant "ruint::MASK" |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) + ] |)) |) in let~ skipped : Ty.path "usize" := @@ -720,7 +736,10 @@ Module bits. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| n |) |), @@ -749,7 +768,7 @@ Module bits. Global Instance AssociatedFunction_leading_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "leading_zeros" (leading_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "leading_zeros" (leading_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque leading_zeros. @@ -806,7 +825,7 @@ Module bits. Global Instance AssociatedFunction_leading_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "leading_ones" (leading_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "leading_ones" (leading_ones BITS LIMBS). Admitted. Global Typeclasses Opaque leading_ones. @@ -917,7 +936,7 @@ Module bits. end)) ] |); - M.read (| M.get_constant "ruint::bits::BITS" |); + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |); M.closure (fun γ => ltac:(M.monadic @@ -994,7 +1013,7 @@ Module bits. Global Instance AssociatedFunction_trailing_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "trailing_zeros" (trailing_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "trailing_zeros" (trailing_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque trailing_zeros. @@ -1097,7 +1116,13 @@ Module bits. let limb := M.copy (| γ |) in BinOp.ne (| M.read (| limb |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |) + |) |))) ] |))) @@ -1105,7 +1130,7 @@ Module bits. end)) ] |); - M.read (| M.get_constant "ruint::bits::BITS" |); + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |); M.closure (fun γ => ltac:(M.monadic @@ -1182,7 +1207,7 @@ Module bits. Global Instance AssociatedFunction_trailing_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "trailing_ones" (trailing_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "trailing_ones" (trailing_ones BITS LIMBS). Admitted. Global Typeclasses Opaque trailing_ones. @@ -1320,7 +1345,7 @@ Module bits. Global Instance AssociatedFunction_count_ones : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "count_ones" (count_ones BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "count_ones" (count_ones BITS LIMBS). Admitted. Global Typeclasses Opaque count_ones. @@ -1341,7 +1366,7 @@ Module bits. ltac:(M.monadic (let self := M.alloc (| self |) in BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |), M.call_closure (| Ty.path "usize", M.get_associated_function (| @@ -1358,7 +1383,7 @@ Module bits. Global Instance AssociatedFunction_count_zeros : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "count_zeros" (count_zeros BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "count_zeros" (count_zeros BITS LIMBS). Admitted. Global Typeclasses Opaque count_zeros. @@ -1379,7 +1404,7 @@ Module bits. ltac:(M.monadic (let self := M.alloc (| self |) in BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |), M.call_closure (| Ty.path "usize", M.get_associated_function (| @@ -1396,7 +1421,7 @@ Module bits. Global Instance AssociatedFunction_bit_len : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "bit_len" (bit_len BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "bit_len" (bit_len BITS LIMBS). Admitted. Global Typeclasses Opaque bit_len. @@ -1437,7 +1462,7 @@ Module bits. Global Instance AssociatedFunction_byte_len : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "byte_len" (byte_len BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "byte_len" (byte_len BITS LIMBS). Admitted. Global Typeclasses Opaque byte_len. @@ -1775,7 +1800,7 @@ Module bits. Global Instance AssociatedFunction_most_significant_bits : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "most_significant_bits" (most_significant_bits BITS LIMBS). @@ -1842,7 +1867,7 @@ Module bits. Global Instance AssociatedFunction_checked_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_shl" (checked_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_shl" (checked_shl BITS LIMBS). Admitted. Global Typeclasses Opaque checked_shl. @@ -1890,7 +1915,13 @@ Module bits. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "ruint::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -1899,7 +1930,7 @@ Module bits. Global Instance AssociatedFunction_saturating_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_shl" (saturating_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_shl" (saturating_shl BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_shl. @@ -1996,7 +2027,9 @@ Module bits. (M.alloc (| BinOp.ge (| M.read (| limbs |), - M.read (| M.get_constant "ruint::bits::LIMBS" |) + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -2010,7 +2043,19 @@ Module bits. M.return_ (| Value.Tuple [ - M.read (| M.get_constant "ruint::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) + |); M.call_closure (| Ty.path "bool", M.get_trait_method (| @@ -2034,7 +2079,17 @@ Module bits. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -2100,13 +2155,19 @@ Module bits. ("start", BinOp.Wrap.sub (| M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| limbs |) |)); ("end_", M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |)) ] ] @@ -2228,8 +2289,10 @@ Module bits. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| limbs |) |), @@ -2237,7 +2300,16 @@ Module bits. |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) + |) |) |)) in let _ := @@ -2316,7 +2388,10 @@ Module bits. ("start", M.read (| limbs |)); ("end_", M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |)) ] ] @@ -2425,8 +2500,11 @@ Module bits. |) |), M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path + "usize" + |) |) |))) |) @@ -2700,7 +2778,12 @@ Module bits. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -2708,7 +2791,16 @@ Module bits. β, BinOp.bit_and (M.read (| β |)) - (M.read (| M.get_constant "ruint::MASK" |)) + (M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.return_ (| @@ -2749,10 +2841,18 @@ Module bits. [ ("start", BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) + |), M.read (| limbs |) |)); - ("end_", M.read (| M.get_constant "ruint::bits::LIMBS" |)) + ("end_", + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |)) ] ] |) @@ -2866,7 +2966,10 @@ Module bits. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| limbs |) |), @@ -2915,7 +3018,10 @@ Module bits. BinOp.Wrap.sub (| BinOp.Wrap.sub (| M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| limbs |) |), @@ -2925,7 +3031,13 @@ Module bits. |), M.read (| bits |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |) |)) in let _ := @@ -3004,7 +3116,12 @@ Module bits. Value.Integer IntegerKind.Usize 1 |)); ("end_", - M.read (| M.get_constant "ruint::bits::LIMBS" |)) + M.read (| + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) + |)) ] ] |) @@ -3092,8 +3209,10 @@ Module bits. M.read (| limbs |) |), M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |) |), ltac:(M.monadic @@ -3108,8 +3227,10 @@ Module bits. 1 |), M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |) |))) |) @@ -3424,7 +3545,9 @@ Module bits. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -3432,7 +3555,13 @@ Module bits. β, BinOp.bit_and (M.read (| β |)) - (M.read (| M.get_constant "ruint::MASK" |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.Tuple [ M.read (| self |); M.read (| overflow |) ] |))) @@ -3445,7 +3574,7 @@ Module bits. Global Instance AssociatedFunction_overflowing_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_shl" (overflowing_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_shl" (overflowing_shl BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_shl. @@ -3488,7 +3617,7 @@ Module bits. Global Instance AssociatedFunction_wrapping_shl : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_shl" (wrapping_shl BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_shl" (wrapping_shl BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_shl. @@ -3552,7 +3681,7 @@ Module bits. Global Instance AssociatedFunction_checked_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_shr" (checked_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_shr" (checked_shr BITS LIMBS). Admitted. Global Typeclasses Opaque checked_shr. @@ -3634,7 +3763,9 @@ Module bits. (M.alloc (| BinOp.ge (| M.read (| limbs |), - M.read (| M.get_constant "ruint::bits::LIMBS" |) + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -3648,7 +3779,19 @@ Module bits. M.return_ (| Value.Tuple [ - M.read (| M.get_constant "ruint::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) + |); M.call_closure (| Ty.path "bool", M.get_trait_method (| @@ -3672,7 +3815,17 @@ Module bits. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -3868,7 +4021,10 @@ Module bits. ("end_", BinOp.Wrap.sub (| M.read (| - M.get_constant "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| limbs |) |)) @@ -4029,8 +4185,10 @@ Module bits. ("start", BinOp.Wrap.sub (| M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |), M.read (| limbs |) |)) @@ -4066,7 +4224,9 @@ Module bits. |), BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |), M.read (| limbs |) |), Value.Integer IntegerKind.Usize 1 @@ -4112,7 +4272,12 @@ Module bits. ("end_", BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) + |), M.read (| limbs |) |), Value.Integer IntegerKind.Usize 1 @@ -4197,8 +4362,10 @@ Module bits. M.read (| limbs |) |), M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |) |), ltac:(M.monadic @@ -4213,8 +4380,10 @@ Module bits. 1 |), M.read (| - M.get_constant - "ruint::bits::LIMBS" + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) |) |))) |) @@ -4451,7 +4620,9 @@ Module bits. |), BinOp.Wrap.sub (| BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |), M.read (| limbs |) |), Value.Integer IntegerKind.Usize 1 @@ -4466,7 +4637,9 @@ Module bits. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) @@ -4522,7 +4695,12 @@ Module bits. [ ("start", BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| + get_constant (| + "ruint::bits::LIMBS", + Ty.path "usize" + |) + |), M.read (| limbs |) |)) ] @@ -4544,7 +4722,7 @@ Module bits. Global Instance AssociatedFunction_overflowing_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_shr" (overflowing_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_shr" (overflowing_shr BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_shr. @@ -4587,7 +4765,7 @@ Module bits. Global Instance AssociatedFunction_wrapping_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_shr" (wrapping_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_shr" (wrapping_shr BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_shr. @@ -4630,7 +4808,9 @@ Module bits. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -4638,7 +4818,17 @@ Module bits. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -4657,7 +4847,7 @@ Module bits. [ M.borrow (| Pointer.Kind.Ref, self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 1 |) ] @@ -4716,7 +4906,13 @@ Module bits. [] |), [ - M.read (| M.get_constant "ruint::MAX" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); M.call_closure (| Ty.path "usize", M.get_associated_function (| @@ -4726,7 +4922,9 @@ Module bits. [] |), [ - M.read (| M.get_constant "ruint::bits::BITS" |); + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |); M.read (| rhs |) ] |) @@ -4747,7 +4945,7 @@ Module bits. Global Instance AssociatedFunction_arithmetic_shr : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "arithmetic_shr" (arithmetic_shr BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "arithmetic_shr" (arithmetic_shr BITS LIMBS). Admitted. Global Typeclasses Opaque arithmetic_shr. @@ -4786,7 +4984,9 @@ Module bits. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -4794,7 +4994,17 @@ Module bits. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -4804,7 +5014,7 @@ Module bits. M.alloc (| BinOp.Wrap.rem (| M.read (| rhs |), - M.read (| M.get_constant "ruint::bits::BITS" |) + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |) |) |) in M.alloc (| @@ -4847,7 +5057,7 @@ Module bits. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |), M.read (| rhs |) |) ] @@ -4862,7 +5072,7 @@ Module bits. Global Instance AssociatedFunction_rotate_left : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "rotate_left" (rotate_left BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "rotate_left" (rotate_left BITS LIMBS). Admitted. Global Typeclasses Opaque rotate_left. @@ -4901,7 +5111,9 @@ Module bits. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -4909,7 +5121,17 @@ Module bits. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -4919,7 +5141,7 @@ Module bits. M.alloc (| BinOp.Wrap.rem (| M.read (| rhs |), - M.read (| M.get_constant "ruint::bits::BITS" |) + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |) |) |) in M.alloc (| @@ -4934,7 +5156,7 @@ Module bits. [ M.read (| self |); BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| get_constant (| "ruint::bits::BITS", Ty.path "usize" |) |), M.read (| rhs |) |) ] @@ -4947,7 +5169,7 @@ Module bits. Global Instance AssociatedFunction_rotate_right : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "rotate_right" (rotate_right BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "rotate_right" (rotate_right BITS LIMBS). Admitted. Global Typeclasses Opaque rotate_right. End Impl_ruint_Uint_BITS_LIMBS. @@ -4997,7 +5219,9 @@ Module bits. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -5005,7 +5229,17 @@ Module bits. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -5130,13 +5364,21 @@ Module bits. M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| self, "ruint::Uint", "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::bits::LIMBS" |), + M.read (| get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 1 |) |) in M.write (| β, - BinOp.bit_and (M.read (| β |)) (M.read (| M.get_constant "ruint::MASK" |)) + BinOp.bit_and + (M.read (| β |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in self @@ -5318,7 +5560,8 @@ Module bits. "core::ops::range::Range" [ ("start", Value.Integer IntegerKind.Usize 0); - ("end_", M.read (| M.get_constant "ruint::bits::LIMBS" |)) + ("end_", + M.read (| get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) |)) ] ] |) @@ -5809,7 +6052,8 @@ Module bits. "core::ops::range::Range" [ ("start", Value.Integer IntegerKind.Usize 0); - ("end_", M.read (| M.get_constant "ruint::bits::LIMBS" |)) + ("end_", + M.read (| get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) |)) ] ] |) @@ -6300,7 +6544,8 @@ Module bits. "core::ops::range::Range" [ ("start", Value.Integer IntegerKind.Usize 0); - ("end_", M.read (| M.get_constant "ruint::bits::LIMBS" |)) + ("end_", + M.read (| get_constant (| "ruint::bits::LIMBS", Ty.path "usize" |) |)) ] ] |) @@ -6733,7 +6978,9 @@ Module bits. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -6903,7 +7150,9 @@ Module bits. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::bits::BITS" |), + M.read (| + get_constant (| "ruint::bits::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in diff --git a/CoqOfRust/ruint/bytes.v b/CoqOfRust/ruint/bytes.v index 281c64a32..6f61bc761 100644 --- a/CoqOfRust/ruint/bytes.v +++ b/CoqOfRust/ruint/bytes.v @@ -8,23 +8,27 @@ Module bytes. (* pub const BYTES: usize = (BITS + 7) / 8; *) (* Ty.path "usize" *) - Definition value_BYTES (BITS LIMBS : Value.t) : Value.t := + Definition value_BYTES + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.div (| - BinOp.Wrap.add (| - M.read (| M.get_constant "ruint::bytes::BITS" |), - Value.Integer IntegerKind.Usize 7 - |), - Value.Integer IntegerKind.Usize 8 - |) - |))). + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.div (| + BinOp.Wrap.add (| + M.read (| get_constant (| "ruint::bytes::BITS", Ty.path "usize" |) |), + Value.Integer IntegerKind.Usize 7 + |), + Value.Integer IntegerKind.Usize 8 + |) + |))). Global Instance AssociatedConstant_value_BYTES : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_BYTES" (value_BYTES BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "BYTES" (value_BYTES BITS LIMBS). Admitted. Global Typeclasses Opaque value_BYTES. @@ -81,7 +85,13 @@ Module bytes. |) ] |); - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) ] |) |) @@ -91,7 +101,7 @@ Module bytes. Global Instance AssociatedFunction_as_le_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_le_slice" (as_le_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_le_slice" (as_le_slice BITS LIMBS). Admitted. Global Typeclasses Opaque as_le_slice. @@ -161,7 +171,13 @@ Module bytes. |) ] |); - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) ] |) |) @@ -175,7 +191,7 @@ Module bytes. Global Instance AssociatedFunction_as_le_slice_mut : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_le_slice_mut" (as_le_slice_mut BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_le_slice_mut" (as_le_slice_mut BITS LIMBS). Admitted. Global Typeclasses Opaque as_le_slice_mut. @@ -243,7 +259,7 @@ Module bytes. Global Instance AssociatedFunction_as_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_le_bytes" (as_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_le_bytes" (as_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque as_le_bytes. @@ -373,7 +389,7 @@ Module bytes. Global Instance AssociatedFunction_as_le_bytes_trimmed : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_le_bytes_trimmed" (as_le_bytes_trimmed BITS LIMBS). @@ -432,9 +448,18 @@ Module bytes. UnOp.not (| BinOp.eq (| M.read (| - M.get_constant "ruint::bytes::to_le_bytes::BYTES" + get_constant (| + "ruint::bytes::to_le_bytes::BYTES", + Ty.path "usize" + |) |), - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) |) |) |)) in @@ -542,7 +567,7 @@ Module bytes. Global Instance AssociatedFunction_to_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_le_bytes" (to_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_le_bytes" (to_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque to_le_bytes. @@ -597,7 +622,7 @@ Module bytes. Global Instance AssociatedFunction_to_le_bytes_vec : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_le_bytes_vec" (to_le_bytes_vec BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_le_bytes_vec" (to_le_bytes_vec BITS LIMBS). Admitted. Global Typeclasses Opaque to_le_bytes_vec. @@ -652,7 +677,7 @@ Module bytes. Global Instance AssociatedFunction_to_le_bytes_trimmed_vec : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_le_bytes_trimmed_vec" (to_le_bytes_trimmed_vec BITS LIMBS). @@ -806,7 +831,7 @@ Module bytes. Global Instance AssociatedFunction_to_be_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_be_bytes" (to_be_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_be_bytes" (to_be_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque to_be_bytes. @@ -894,7 +919,7 @@ Module bytes. Global Instance AssociatedFunction_to_be_bytes_vec : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to_be_bytes_vec" (to_be_bytes_vec BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_be_bytes_vec" (to_be_bytes_vec BITS LIMBS). Admitted. Global Typeclasses Opaque to_be_bytes_vec. @@ -982,7 +1007,7 @@ Module bytes. Global Instance AssociatedFunction_to_be_bytes_trimmed_vec : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "to_be_bytes_trimmed_vec" (to_be_bytes_trimmed_vec BITS LIMBS). @@ -1020,8 +1045,19 @@ Module bytes. (M.alloc (| UnOp.not (| BinOp.eq (| - M.read (| M.get_constant "ruint::bytes::from_be_bytes::BYTES" |), - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_constant (| + "ruint::bytes::from_be_bytes::BYTES", + Ty.path "usize" + |) + |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) |) |) |)) in @@ -1085,7 +1121,7 @@ Module bytes. Global Instance AssociatedFunction_from_be_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_be_bytes" (from_be_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_be_bytes" (from_be_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque from_be_bytes. @@ -1180,7 +1216,7 @@ Module bytes. Global Instance AssociatedFunction_from_be_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_be_slice" (from_be_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_be_slice" (from_be_slice BITS LIMBS). Admitted. Global Typeclasses Opaque from_be_slice. @@ -1256,7 +1292,13 @@ Module bytes. |) ] |), - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -1284,7 +1326,13 @@ Module bytes. LogicalOp.and (| BinOp.eq (| BinOp.Wrap.rem (| - M.read (| M.get_constant "ruint::bytes::BYTES" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 8 |), Value.Integer IntegerKind.Usize 0 @@ -1306,7 +1354,13 @@ Module bytes. |) ] |), - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) |))) |) |)) in @@ -1365,7 +1419,10 @@ Module bytes. BinOp.lt (| M.read (| i |), M.read (| - M.get_constant "ruint::bytes::LIMBS" + get_constant (| + "ruint::bytes::LIMBS", + Ty.path "usize" + |) |) |) |)) in @@ -1652,7 +1709,13 @@ Module bytes. (M.alloc (| LogicalOp.and (| BinOp.gt (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -1661,12 +1724,24 @@ Module bytes. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |))) |) |)) in @@ -1705,10 +1780,7 @@ Module bytes. Global Instance AssociatedFunction_try_from_be_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "try_from_be_slice" - (try_from_be_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "try_from_be_slice" (try_from_be_slice BITS LIMBS). Admitted. Global Typeclasses Opaque try_from_be_slice. @@ -1743,8 +1815,19 @@ Module bytes. (M.alloc (| UnOp.not (| BinOp.eq (| - M.read (| M.get_constant "ruint::bytes::from_le_bytes::BYTES" |), - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_constant (| + "ruint::bytes::from_le_bytes::BYTES", + Ty.path "usize" + |) + |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) |) |) |)) in @@ -1808,7 +1891,7 @@ Module bytes. Global Instance AssociatedFunction_from_le_bytes : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_le_bytes" (from_le_bytes BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_le_bytes" (from_le_bytes BITS LIMBS). Admitted. Global Typeclasses Opaque from_le_bytes. @@ -1903,7 +1986,7 @@ Module bytes. Global Instance AssociatedFunction_from_le_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_le_slice" (from_le_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_le_slice" (from_le_slice BITS LIMBS). Admitted. Global Typeclasses Opaque from_le_slice. @@ -1979,7 +2062,13 @@ Module bytes. |), Value.Integer IntegerKind.Usize 8 |), - M.read (| M.get_constant "ruint::LIMBS'1" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -2007,7 +2096,13 @@ Module bytes. LogicalOp.and (| BinOp.eq (| BinOp.Wrap.rem (| - M.read (| M.get_constant "ruint::bytes::BYTES" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 8 |), Value.Integer IntegerKind.Usize 0 @@ -2029,7 +2124,13 @@ Module bytes. |) ] |), - M.read (| M.get_constant "ruint::bytes::BYTES" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BYTES", + Ty.path "usize" + |) + |) |))) |) |)) in @@ -2061,7 +2162,10 @@ Module bytes. BinOp.lt (| M.read (| i |), M.read (| - M.get_constant "ruint::bytes::LIMBS" + get_constant (| + "ruint::bytes::LIMBS", + Ty.path "usize" + |) |) |) |)) in @@ -2341,7 +2445,13 @@ Module bytes. (M.alloc (| LogicalOp.and (| BinOp.gt (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -2350,12 +2460,24 @@ Module bytes. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |))) |) |)) in @@ -2394,10 +2516,7 @@ Module bytes. Global Instance AssociatedFunction_try_from_le_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "try_from_le_slice" - (try_from_le_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "try_from_le_slice" (try_from_le_slice BITS LIMBS). Admitted. Global Typeclasses Opaque try_from_le_slice. End Impl_ruint_Uint_BITS_LIMBS. @@ -2419,7 +2538,7 @@ Module bytes. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_nbytes : M.IsFunction.Trait "ruint::bytes::nbytes" nbytes. + Global Instance Instance_IsFunction_nbytes : M.IsFunction.C "ruint::bytes::nbytes" nbytes. Admitted. Global Typeclasses Opaque nbytes. End bytes. diff --git a/CoqOfRust/ruint/cmp.v b/CoqOfRust/ruint/cmp.v index 15da5a95f..c7648e0b3 100644 --- a/CoqOfRust/ruint/cmp.v +++ b/CoqOfRust/ruint/cmp.v @@ -165,7 +165,14 @@ Module cmp. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |))) | _, _, _ => M.impossible "wrong number of arguments" @@ -173,7 +180,7 @@ Module cmp. Global Instance AssociatedFunction_is_zero : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "is_zero" (is_zero BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "is_zero" (is_zero BITS LIMBS). Admitted. Global Typeclasses Opaque is_zero. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/div.v b/CoqOfRust/ruint/div.v index f38a48d6b..99eab43a8 100644 --- a/CoqOfRust/ruint/div.v +++ b/CoqOfRust/ruint/div.v @@ -52,7 +52,14 @@ Module div. |), [ M.borrow (| Pointer.Kind.Ref, rhs |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -94,7 +101,7 @@ Module div. Global Instance AssociatedFunction_checked_div : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_div" (checked_div BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_div" (checked_div BITS LIMBS). Admitted. Global Typeclasses Opaque checked_div. @@ -144,7 +151,14 @@ Module div. |), [ M.borrow (| Pointer.Kind.Ref, rhs |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -186,7 +200,7 @@ Module div. Global Instance AssociatedFunction_checked_rem : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_rem" (checked_rem BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_rem" (checked_rem BITS LIMBS). Admitted. Global Typeclasses Opaque checked_rem. @@ -238,7 +252,14 @@ Module div. |), [ M.borrow (| Pointer.Kind.Ref, rhs |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |) @@ -326,7 +347,14 @@ Module div. |), [ M.borrow (| Pointer.Kind.Ref, r |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -372,7 +400,7 @@ Module div. Global Instance AssociatedFunction_div_ceil : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "div_ceil" (div_ceil BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "div_ceil" (div_ceil BITS LIMBS). Admitted. Global Typeclasses Opaque div_ceil. @@ -420,7 +448,14 @@ Module div. |), [ M.borrow (| Pointer.Kind.Ref, rhs |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |) @@ -495,7 +530,7 @@ Module div. Global Instance AssociatedFunction_div_rem : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "div_rem" (div_rem BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "div_rem" (div_rem BITS LIMBS). Admitted. Global Typeclasses Opaque div_rem. @@ -542,7 +577,7 @@ Module div. Global Instance AssociatedFunction_wrapping_div : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_div" (wrapping_div BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_div" (wrapping_div BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_div. @@ -589,7 +624,7 @@ Module div. Global Instance AssociatedFunction_wrapping_rem : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_rem" (wrapping_rem BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_rem" (wrapping_rem BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_rem. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/fmt.v b/CoqOfRust/ruint/fmt.v index 45ba77731..83b9e94c3 100644 --- a/CoqOfRust/ruint/fmt.v +++ b/CoqOfRust/ruint/fmt.v @@ -19,21 +19,21 @@ Module fmt. (* const MAX: u64 = 1 << 63; *) (* Ty.path "u64" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 63 |) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 63 |) + |))). (* const WIDTH: usize = 63; *) (* Ty.path "usize" *) - Definition value_WIDTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 63 |))). + Definition value_WIDTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 63 |))). (* const PREFIX: &'static str = "0b"; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0b" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0b" |) |))). Axiom Implements : M.IsTraitInstance @@ -43,9 +43,9 @@ Module fmt. Self (* Instance *) [ - ("value_MAX", InstanceField.Constant value_MAX); - ("value_WIDTH", InstanceField.Constant value_WIDTH); - ("value_PREFIX", InstanceField.Constant value_PREFIX) + ("value_MAX", InstanceField.Method value_MAX); + ("value_WIDTH", InstanceField.Method value_WIDTH); + ("value_PREFIX", InstanceField.Method value_PREFIX) ]. End Impl_ruint_fmt_base_Base_for_ruint_fmt_base_Binary. @@ -62,21 +62,21 @@ Module fmt. (* const MAX: u64 = 1 << 63; *) (* Ty.path "u64" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 63 |) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 63 |) + |))). (* const WIDTH: usize = 21; *) (* Ty.path "usize" *) - Definition value_WIDTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 21 |))). + Definition value_WIDTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 21 |))). (* const PREFIX: &'static str = "0o"; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0o" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0o" |) |))). Axiom Implements : M.IsTraitInstance @@ -86,9 +86,9 @@ Module fmt. Self (* Instance *) [ - ("value_MAX", InstanceField.Constant value_MAX); - ("value_WIDTH", InstanceField.Constant value_WIDTH); - ("value_PREFIX", InstanceField.Constant value_PREFIX) + ("value_MAX", InstanceField.Method value_MAX); + ("value_WIDTH", InstanceField.Method value_WIDTH); + ("value_PREFIX", InstanceField.Method value_PREFIX) ]. End Impl_ruint_fmt_base_Base_for_ruint_fmt_base_Octal. @@ -105,17 +105,18 @@ Module fmt. (* const MAX: u64 = 10_000_000_000_000_000_000; *) (* Ty.path "u64" *) - Definition value_MAX : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10000000000000000000 |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.U64 10000000000000000000 |))). (* const WIDTH: usize = 19; *) (* Ty.path "usize" *) - Definition value_WIDTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). + Definition value_WIDTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 19 |))). (* const PREFIX: &'static str = ""; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "" |) |))). Axiom Implements : M.IsTraitInstance @@ -125,9 +126,9 @@ Module fmt. Self (* Instance *) [ - ("value_MAX", InstanceField.Constant value_MAX); - ("value_WIDTH", InstanceField.Constant value_WIDTH); - ("value_PREFIX", InstanceField.Constant value_PREFIX) + ("value_MAX", InstanceField.Method value_MAX); + ("value_WIDTH", InstanceField.Method value_WIDTH); + ("value_PREFIX", InstanceField.Method value_PREFIX) ]. End Impl_ruint_fmt_base_Base_for_ruint_fmt_base_Decimal. @@ -144,21 +145,21 @@ Module fmt. (* const MAX: u64 = 1 << 60; *) (* Ty.path "u64" *) - Definition value_MAX : Value.t := - M.run - ltac:(M.monadic - (M.alloc (| - BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 60 |) - |))). + Definition value_MAX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic + (M.alloc (| + BinOp.Wrap.shl (| Value.Integer IntegerKind.U64 1, Value.Integer IntegerKind.I32 60 |) + |))). (* const WIDTH: usize = 15; *) (* Ty.path "usize" *) - Definition value_WIDTH : Value.t := - M.run ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 15 |))). + Definition value_WIDTH (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| Value.Integer IntegerKind.Usize 15 |))). (* const PREFIX: &'static str = "0x"; *) (* Ty.apply (Ty.path "&") [] [ Ty.path "str" ] *) - Definition value_PREFIX : Value.t := M.run ltac:(M.monadic (M.alloc (| mk_str (| "0x" |) |))). + Definition value_PREFIX (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := + ltac:(M.monadic (M.alloc (| mk_str (| "0x" |) |))). Axiom Implements : M.IsTraitInstance @@ -168,9 +169,9 @@ Module fmt. Self (* Instance *) [ - ("value_MAX", InstanceField.Constant value_MAX); - ("value_WIDTH", InstanceField.Constant value_WIDTH); - ("value_PREFIX", InstanceField.Constant value_PREFIX) + ("value_MAX", InstanceField.Method value_MAX); + ("value_WIDTH", InstanceField.Method value_WIDTH); + ("value_PREFIX", InstanceField.Method value_PREFIX) ]. End Impl_ruint_fmt_base_Base_for_ruint_fmt_base_Hexadecimal. End base. @@ -212,7 +213,9 @@ Module fmt. (M.alloc (| LogicalOp.or (| BinOp.eq (| - M.read (| M.get_constant "ruint::fmt::LIMBS" |), + M.read (| + get_constant (| "ruint::fmt::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -260,7 +263,10 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "ruint::fmt::base::Base::PREFIX" + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |); @@ -341,7 +347,12 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "ruint::fmt::base::Base::MAX" |) + M.read (| + get_constant (| + "ruint::fmt::base::Base::MAX", + Ty.path "u64" + |) + |) ] |) ] @@ -546,8 +557,11 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (M.get_constant - "ruint::fmt::base::Base::WIDTH")) + (get_constant (| + "ruint::fmt::base::Base::WIDTH", + Ty.path + "usize" + |))) ] |) |) @@ -647,7 +661,14 @@ Module fmt. Value.Bool true; M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "ruint::fmt::base::Base::PREFIX" |) |) + M.deref (| + M.read (| + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |); M.borrow (| Pointer.Kind.Ref, @@ -773,7 +794,9 @@ Module fmt. (M.alloc (| LogicalOp.or (| BinOp.eq (| - M.read (| M.get_constant "ruint::fmt::LIMBS" |), + M.read (| + get_constant (| "ruint::fmt::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -821,7 +844,10 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "ruint::fmt::base::Base::PREFIX" + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |); @@ -902,7 +928,12 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "ruint::fmt::base::Base::MAX" |) + M.read (| + get_constant (| + "ruint::fmt::base::Base::MAX", + Ty.path "u64" + |) + |) ] |) ] @@ -1107,8 +1138,11 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (M.get_constant - "ruint::fmt::base::Base::WIDTH")) + (get_constant (| + "ruint::fmt::base::Base::WIDTH", + Ty.path + "usize" + |))) ] |) |) @@ -1208,7 +1242,14 @@ Module fmt. Value.Bool true; M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "ruint::fmt::base::Base::PREFIX" |) |) + M.deref (| + M.read (| + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |); M.borrow (| Pointer.Kind.Ref, @@ -1281,7 +1322,9 @@ Module fmt. (M.alloc (| LogicalOp.or (| BinOp.eq (| - M.read (| M.get_constant "ruint::fmt::LIMBS" |), + M.read (| + get_constant (| "ruint::fmt::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -1329,7 +1372,10 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "ruint::fmt::base::Base::PREFIX" + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |); @@ -1410,7 +1456,12 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "ruint::fmt::base::Base::MAX" |) + M.read (| + get_constant (| + "ruint::fmt::base::Base::MAX", + Ty.path "u64" + |) + |) ] |) ] @@ -1615,8 +1666,11 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (M.get_constant - "ruint::fmt::base::Base::WIDTH")) + (get_constant (| + "ruint::fmt::base::Base::WIDTH", + Ty.path + "usize" + |))) ] |) |) @@ -1716,7 +1770,14 @@ Module fmt. Value.Bool true; M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "ruint::fmt::base::Base::PREFIX" |) |) + M.deref (| + M.read (| + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |); M.borrow (| Pointer.Kind.Ref, @@ -1789,7 +1850,9 @@ Module fmt. (M.alloc (| LogicalOp.or (| BinOp.eq (| - M.read (| M.get_constant "ruint::fmt::LIMBS" |), + M.read (| + get_constant (| "ruint::fmt::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -1837,7 +1900,10 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "ruint::fmt::base::Base::PREFIX" + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |); @@ -1918,7 +1984,12 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "ruint::fmt::base::Base::MAX" |) + M.read (| + get_constant (| + "ruint::fmt::base::Base::MAX", + Ty.path "u64" + |) + |) ] |) ] @@ -2123,8 +2194,11 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (M.get_constant - "ruint::fmt::base::Base::WIDTH")) + (get_constant (| + "ruint::fmt::base::Base::WIDTH", + Ty.path + "usize" + |))) ] |) |) @@ -2224,7 +2298,14 @@ Module fmt. Value.Bool true; M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "ruint::fmt::base::Base::PREFIX" |) |) + M.deref (| + M.read (| + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |); M.borrow (| Pointer.Kind.Ref, @@ -2297,7 +2378,9 @@ Module fmt. (M.alloc (| LogicalOp.or (| BinOp.eq (| - M.read (| M.get_constant "ruint::fmt::LIMBS" |), + M.read (| + get_constant (| "ruint::fmt::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -2345,7 +2428,10 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| - M.get_constant "ruint::fmt::base::Base::PREFIX" + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) |) |) |); @@ -2426,7 +2512,12 @@ Module fmt. Pointer.Kind.Ref, M.deref (| M.read (| self |) |) |); - M.read (| M.get_constant "ruint::fmt::base::Base::MAX" |) + M.read (| + get_constant (| + "ruint::fmt::base::Base::MAX", + Ty.path "u64" + |) + |) ] |) ] @@ -2631,8 +2722,11 @@ Module fmt. |))); fun γ => ltac:(M.monadic - (M.get_constant - "ruint::fmt::base::Base::WIDTH")) + (get_constant (| + "ruint::fmt::base::Base::WIDTH", + Ty.path + "usize" + |))) ] |) |) @@ -2732,7 +2826,14 @@ Module fmt. Value.Bool true; M.borrow (| Pointer.Kind.Ref, - M.deref (| M.read (| M.get_constant "ruint::fmt::base::Base::PREFIX" |) |) + M.deref (| + M.read (| + get_constant (| + "ruint::fmt::base::Base::PREFIX", + Ty.apply (Ty.path "&") [] [ Ty.path "str" ] + |) + |) + |) |); M.borrow (| Pointer.Kind.Ref, @@ -2876,7 +2977,7 @@ Module fmt. Global Instance AssociatedFunction_new : forall (SIZE : Value.t), - M.IsAssociatedFunction.Trait (Self SIZE) "new" (new SIZE). + M.IsAssociatedFunction.C (Self SIZE) "new" (new SIZE). Admitted. Global Typeclasses Opaque new. @@ -2977,7 +3078,7 @@ Module fmt. Global Instance AssociatedFunction_as_str : forall (SIZE : Value.t), - M.IsAssociatedFunction.Trait (Self SIZE) "as_str" (as_str SIZE). + M.IsAssociatedFunction.C (Self SIZE) "as_str" (as_str SIZE). Admitted. Global Typeclasses Opaque as_str. @@ -3067,7 +3168,7 @@ Module fmt. Global Instance AssociatedFunction_as_bytes_full : forall (SIZE : Value.t), - M.IsAssociatedFunction.Trait (Self SIZE) "as_bytes_full" (as_bytes_full SIZE). + M.IsAssociatedFunction.C (Self SIZE) "as_bytes_full" (as_bytes_full SIZE). Admitted. Global Typeclasses Opaque as_bytes_full. End Impl_ruint_fmt_DisplayBuffer_SIZE. @@ -3134,7 +3235,9 @@ Module fmt. ] |) |), - M.read (| M.get_constant "ruint::fmt::SIZE" |) + M.read (| + get_constant (| "ruint::fmt::SIZE", Ty.path "usize" |) + |) |) |)) in let _ := diff --git a/CoqOfRust/ruint/from.v b/CoqOfRust/ruint/from.v index 4b72fad43..743950453 100644 --- a/CoqOfRust/ruint/from.v +++ b/CoqOfRust/ruint/from.v @@ -2215,7 +2215,7 @@ Module from. Global Instance AssociatedFunction_from : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from" (from BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from" (from BITS LIMBS). Admitted. Global Typeclasses Opaque from. @@ -2282,7 +2282,11 @@ Module from. M.SubPointer.get_struct_tuple_field (| γ, "core::result::Result::Err", 0 |) in let _ := M.is_struct_tuple (| γ0_0, "ruint::from::ToUintError::ValueTooLarge" |) in - M.get_constant "ruint::MAX")); + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))); fun γ => ltac:(M.monadic (let γ0_0 := @@ -2311,7 +2315,13 @@ Module from. fun γ => ltac:(M.monadic match γ with - | [] => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + | [] => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) | _ => M.impossible "wrong number of arguments" end) |))) @@ -2323,7 +2333,7 @@ Module from. Global Instance AssociatedFunction_saturating_from : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_from" (saturating_from BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_from" (saturating_from BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_from. @@ -2461,7 +2471,11 @@ Module from. "ruint::from::ToUintError::NotANumber", 0 |) in - M.get_constant "ruint::ZERO")) + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -2470,7 +2484,7 @@ Module from. Global Instance AssociatedFunction_wrapping_from : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_from" (wrapping_from BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_from" (wrapping_from BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_from. @@ -2530,7 +2544,7 @@ Module from. Global Instance AssociatedFunction_to : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "to" (to BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "to" (to BITS LIMBS). Admitted. Global Typeclasses Opaque to. @@ -2636,7 +2650,7 @@ Module from. Global Instance AssociatedFunction_wrapping_to : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_to" (wrapping_to BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_to" (wrapping_to BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_to. @@ -2742,7 +2756,7 @@ Module from. Global Instance AssociatedFunction_saturating_to : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_to" (saturating_to BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_to" (saturating_to BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_to. @@ -2798,7 +2812,7 @@ Module from. Global Instance AssociatedFunction_from_uint : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_uint" (from_uint BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_uint" (from_uint BITS LIMBS). Admitted. Global Typeclasses Opaque from_uint. @@ -2857,10 +2871,7 @@ Module from. Global Instance AssociatedFunction_checked_from_uint : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "checked_from_uint" - (checked_from_uint BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_from_uint" (checked_from_uint BITS LIMBS). Admitted. Global Typeclasses Opaque checked_from_uint. End Impl_ruint_Uint_BITS_LIMBS. @@ -3016,7 +3027,9 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueTooLarge" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.read (| n |) ] ] @@ -3194,9 +3207,23 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS_DST" |); + M.read (| + get_constant (| "ruint::from::BITS_DST", Ty.path "usize" |) + |); M.read (| n |); - M.read (| M.get_constant "ruint::MAX" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS_DST; LIMBS_DST ] + [], + "MAX", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS_DST; LIMBS_DST ] + [] + |) + |) ] ] |))); @@ -3281,7 +3308,9 @@ Module from. M.use (M.alloc (| BinOp.le (| - M.read (| M.get_constant "ruint::from::LIMBS" |), + M.read (| + get_constant (| "ruint::from::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |)) in @@ -3299,7 +3328,13 @@ Module from. (M.alloc (| BinOp.gt (| M.read (| value |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |) |)) in let _ := @@ -3330,7 +3365,10 @@ Module from. (M.alloc (| BinOp.eq (| M.read (| - M.get_constant "ruint::from::LIMBS" + get_constant (| + "ruint::from::LIMBS", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) @@ -3350,7 +3388,14 @@ Module from. BinOp.bit_and (M.read (| value |)) (M.read (| - M.get_constant "ruint::MASK" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) |)) |) |) in @@ -3366,7 +3411,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueTooLarge" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.call_closure (| Ty.apply (Ty.path "ruint::Uint") @@ -3402,7 +3452,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::LIMBS" |), + M.read (| + get_constant (| "ruint::from::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -3417,7 +3469,21 @@ Module from. M.return_ (| Value.StructTuple "core::result::Result::Ok" - [ M.read (| M.get_constant "ruint::ZERO" |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) + |) + ] |) |) |) @@ -3531,7 +3597,13 @@ Module from. M.read (| value |), M.cast (Ty.path "u128") - (M.read (| M.get_constant "core::num::MAX" |)) + (M.read (| + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |) + |)) |) |)) in let _ := @@ -3580,7 +3652,13 @@ Module from. M.use (M.alloc (| BinOp.lt (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 2 |) |)) in @@ -3711,7 +3789,10 @@ Module from. "ruint::from::ToUintError::ValueTooLarge" [ M.read (| - M.get_constant "ruint::from::BITS" + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) |); M.read (| n |) ] @@ -3768,7 +3849,13 @@ Module from. (M.alloc (| LogicalOp.and (| BinOp.eq (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 2 |), ltac:(M.monadic @@ -3779,7 +3866,13 @@ Module from. Value.Integer IntegerKind.Usize 1 |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |))) |) |)) in @@ -3796,7 +3889,13 @@ Module from. β, BinOp.Wrap.rem (| M.read (| β |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |) |) |) in @@ -3807,7 +3906,9 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueTooLarge" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.call_closure (| Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], M.get_associated_function (| @@ -4336,7 +4437,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] |))) @@ -4552,7 +4658,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] |))) @@ -4768,7 +4879,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] |))) @@ -4984,7 +5100,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] |))) @@ -5200,7 +5321,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] |))) @@ -5416,7 +5542,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] |))) @@ -5602,7 +5733,11 @@ Module from. [ Value.StructTuple "ruint::from::ToUintError::NotANumber" - [ M.read (| M.get_constant "ruint::from::BITS" |) ] + [ + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |) + ] ] |) |) @@ -5738,7 +5873,18 @@ Module from. end) |))); fun γ => - ltac:(M.monadic (M.get_constant "ruint::ZERO")) + ltac:(M.monadic + (get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |))) ] |) |) @@ -5752,7 +5898,9 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueNegative" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.read (| wrapped |) ] ] @@ -5768,7 +5916,17 @@ Module from. M.call_closure (| Ty.path "f64", M.get_associated_function (| Ty.path "f64", "exp2", [], [] |), - [ M.cast (Ty.path "f64") (M.read (| M.get_constant "ruint::BITS'1" |)) ] + [ + M.cast + (Ty.path "f64") + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BITS", + Ty.path "usize" + |) + |)) + ] |) |) in let~ _ : Ty.tuple [] := @@ -5873,7 +6031,13 @@ Module from. | _ => M.impossible "wrong number of arguments" end) |))); - fun γ => ltac:(M.monadic (M.get_constant "ruint::ZERO")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |) in @@ -5884,7 +6048,9 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueTooLarge" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.read (| wrapped |) ] ] @@ -5915,7 +6081,15 @@ Module from. M.return_ (| Value.StructTuple "core::result::Result::Ok" - [ M.read (| M.get_constant "ruint::ZERO" |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + ] |) |) |) @@ -6073,7 +6247,13 @@ Module from. BinOp.gt (| M.cast (Ty.path "usize") (M.read (| exponent |)), BinOp.Wrap.add (| - M.read (| M.get_constant "ruint::BITS'1" |), + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BITS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 52 |) |) @@ -6090,8 +6270,16 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueTooLarge" [ - M.read (| M.get_constant "ruint::from::BITS" |); - M.read (| M.get_constant "ruint::ZERO" |) + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] ] |) @@ -6379,7 +6567,12 @@ Module from. Value.StructTuple "ruint::from::ToUintError::ValueTooLarge" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| + "ruint::from::BITS", + Ty.path "usize" + |) + |); M.read (| n |) ] ] @@ -6585,7 +6778,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -6644,7 +6839,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.call_closure (| Ty.path "bool", M.get_associated_function (| @@ -6826,7 +7023,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -6872,7 +7071,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -6887,7 +7091,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "i8") (M.read (| @@ -6900,7 +7106,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "i8", + "MAX", + Ty.path "i8" + |) + |) ] ] |) @@ -7064,7 +7276,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -7110,7 +7324,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7125,7 +7344,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "u8") (M.read (| @@ -7138,7 +7359,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u8", + "MAX", + Ty.path "u8" + |) + |) ] ] |) @@ -7303,7 +7530,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -7349,7 +7578,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7364,7 +7598,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "i16") (M.read (| @@ -7377,7 +7613,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "i16", + "MAX", + Ty.path "i16" + |) + |) ] ] |) @@ -7542,7 +7784,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -7588,7 +7832,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7603,7 +7852,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "u16") (M.read (| @@ -7616,7 +7867,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u16", + "MAX", + Ty.path "u16" + |) + |) ] ] |) @@ -7781,7 +8038,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -7827,7 +8086,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -7842,7 +8106,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "i32") (M.read (| @@ -7855,7 +8121,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "i32", + "MAX", + Ty.path "i32" + |) + |) ] ] |) @@ -8020,7 +8292,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -8066,7 +8340,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -8081,7 +8360,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "u32") (M.read (| @@ -8094,7 +8375,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u32", + "MAX", + Ty.path "u32" + |) + |) ] ] |) @@ -8259,7 +8546,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -8305,7 +8594,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -8320,7 +8614,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "i64") (M.read (| @@ -8333,7 +8629,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "i64", + "MAX", + Ty.path "i64" + |) + |) ] ] |) @@ -8498,7 +8800,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -8544,7 +8848,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -8559,7 +8868,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.read (| M.use (M.SubPointer.get_array_field (| @@ -8571,7 +8882,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |)) |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u64", + "MAX", + Ty.path "u64" + |) + |) ] ] |) @@ -8737,7 +9054,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -8783,7 +9102,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -8798,7 +9122,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "isize") (M.read (| @@ -8811,7 +9137,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "isize", + "MAX", + Ty.path "isize" + |) + |) ] ] |) @@ -8978,7 +9310,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -9024,7 +9358,12 @@ Module from. |) ] |), - M.read (| M.get_constant "ruint::from::try_from::CAPACITY" |) + M.read (| + get_constant (| + "ruint::from::try_from::CAPACITY", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -9039,7 +9378,9 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.cast (Ty.path "usize") (M.read (| @@ -9052,7 +9393,13 @@ Module from. Value.Integer IntegerKind.Usize 0 |) |)); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "usize", + "MAX", + Ty.path "usize" + |) + |) ] ] |) @@ -9218,7 +9565,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -9264,7 +9613,9 @@ Module from. M.use (M.alloc (| BinOp.le (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 64 |) |)) in @@ -9349,9 +9700,17 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.read (| result |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "i128", + "MAX", + Ty.path "i128" + |) + |) ] ] |) @@ -9489,7 +9848,9 @@ Module from. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -9535,7 +9896,9 @@ Module from. M.use (M.alloc (| BinOp.le (| - M.read (| M.get_constant "ruint::from::BITS" |), + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 64 |) |)) in @@ -9620,9 +9983,17 @@ Module from. Value.StructTuple "ruint::from::FromUintError::Overflow" [ - M.read (| M.get_constant "ruint::from::BITS" |); + M.read (| + get_constant (| "ruint::from::BITS", Ty.path "usize" |) + |); M.read (| result |); - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.path "u128", + "MAX", + Ty.path "u128" + |) + |) ] ] |) diff --git a/CoqOfRust/ruint/gcd.v b/CoqOfRust/ruint/gcd.v index a7d6f5d41..a3c648cf3 100644 --- a/CoqOfRust/ruint/gcd.v +++ b/CoqOfRust/ruint/gcd.v @@ -33,7 +33,7 @@ Module gcd. Global Instance AssociatedFunction_gcd : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "gcd" (gcd BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "gcd" (gcd BITS LIMBS). Admitted. Global Typeclasses Opaque gcd. @@ -119,7 +119,7 @@ Module gcd. Global Instance AssociatedFunction_lcm : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "lcm" (lcm BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "lcm" (lcm BITS LIMBS). Admitted. Global Typeclasses Opaque lcm. @@ -156,7 +156,7 @@ Module gcd. Global Instance AssociatedFunction_gcd_extended : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "gcd_extended" (gcd_extended BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "gcd_extended" (gcd_extended BITS LIMBS). Admitted. Global Typeclasses Opaque gcd_extended. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/lib.v b/CoqOfRust/ruint/lib.v index 0ecb08cd2..da21a132a 100644 --- a/CoqOfRust/ruint/lib.v +++ b/CoqOfRust/ruint/lib.v @@ -241,150 +241,177 @@ Module Impl_ruint_Uint_BITS_LIMBS. }; *) (* Ty.path "usize" *) - Definition value_LIMBS (BITS LIMBS : Value.t) : Value.t := + Definition value_LIMBS + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (let~ limbs : Ty.path "usize" := - M.alloc (| - M.call_closure (| - Ty.path "usize", - M.get_function (| "ruint::nlimbs", [], [] |), - [ M.read (| M.get_constant "ruint::BITS" |) ] - |) - |) in - let~ _ : Ty.tuple [] := - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - UnOp.not (| - BinOp.eq (| - M.read (| M.get_constant "ruint::LIMBS" |), - M.read (| limbs |) - |) + ltac:(M.monadic + (let~ limbs : Ty.path "usize" := + M.alloc (| + M.call_closure (| + Ty.path "usize", + M.get_function (| "ruint::nlimbs", [], [] |), + [ M.read (| get_constant (| "ruint::BITS", Ty.path "usize" |) |) ] + |) + |) in + let~ _ : Ty.tuple [] := + M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + UnOp.not (| + BinOp.eq (| + M.read (| get_constant (| "ruint::LIMBS", Ty.path "usize" |) |), + M.read (| limbs |) |) - |)) in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.alloc (| - M.never_to_any (| - M.call_closure (| - Ty.path "never", - M.get_function (| "core::panicking::panic_fmt", [], [] |), - [ - M.call_closure (| + |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + M.alloc (| + M.never_to_any (| + M.call_closure (| + Ty.path "never", + M.get_function (| "core::panicking::panic_fmt", [], [] |), + [ + M.call_closure (| + Ty.path "core::fmt::Arguments", + M.get_associated_function (| Ty.path "core::fmt::Arguments", - M.get_associated_function (| - Ty.path "core::fmt::Arguments", - "new_const", - [ Value.Integer IntegerKind.Usize 1 ], - [] - |), - [ - M.borrow (| - Pointer.Kind.Ref, - M.deref (| - M.borrow (| - Pointer.Kind.Ref, - M.alloc (| - Value.Array - [ - mk_str (| - "Can not construct Uint with incorrect LIMBS" - |) - ] - |) + "new_const", + [ Value.Integer IntegerKind.Usize 1 ], + [] + |), + [ + M.borrow (| + Pointer.Kind.Ref, + M.deref (| + M.borrow (| + Pointer.Kind.Ref, + M.alloc (| + Value.Array + [ + mk_str (| + "Can not construct Uint with incorrect LIMBS" + |) + ] |) |) |) - ] - |) - ] - |) + |) + ] + |) + ] |) - |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - limbs)). + |) + |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + limbs)). Global Instance AssociatedConstant_value_LIMBS : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_LIMBS" (value_LIMBS BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "LIMBS" (value_LIMBS BITS LIMBS). Admitted. Global Typeclasses Opaque value_LIMBS. (* pub const MASK: u64 = mask(BITS); *) (* Ty.path "u64" *) - Definition value_MASK (BITS LIMBS : Value.t) : Value.t := + Definition value_MASK + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| - Ty.path "u64", - M.get_function (| "ruint::mask", [], [] |), - [ M.read (| M.get_constant "ruint::BITS" |) ] - |) - |))). + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.path "u64", + M.get_function (| "ruint::mask", [], [] |), + [ M.read (| get_constant (| "ruint::BITS", Ty.path "usize" |) |) ] + |) + |))). Global Instance AssociatedConstant_value_MASK : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_MASK" (value_MASK BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MASK" (value_MASK BITS LIMBS). Admitted. Global Typeclasses Opaque value_MASK. (* pub const BITS: usize = BITS; *) (* Ty.path "usize" *) - Definition value_BITS (BITS LIMBS : Value.t) : Value.t := + Definition value_BITS + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "ruint::BITS")). + ltac:(M.monadic (get_constant (| "ruint::BITS", Ty.path "usize" |))). Global Instance AssociatedConstant_value_BITS : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_BITS" (value_BITS BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "BITS" (value_BITS BITS LIMBS). Admitted. Global Typeclasses Opaque value_BITS. (* pub const ZERO: Self = Self::from_limbs([0; LIMBS]); *) (* Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] *) - Definition value_ZERO (BITS LIMBS : Value.t) : Value.t := + Definition value_ZERO + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (M.alloc (| - M.call_closure (| + ltac:(M.monadic + (M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], - M.get_associated_function (| - Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], - "from_limbs", - [], - [] - |), - [ repeat (| Value.Integer IntegerKind.U64 0, LIMBS |) ] - |) - |))). + "from_limbs", + [], + [] + |), + [ repeat (| Value.Integer IntegerKind.U64 0, LIMBS |) ] + |) + |))). Global Instance AssociatedConstant_value_ZERO : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_ZERO" (value_ZERO BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "ZERO" (value_ZERO BITS LIMBS). Admitted. Global Typeclasses Opaque value_ZERO. (* pub const MIN: Self = Self::ZERO; *) (* Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] *) - Definition value_MIN (BITS LIMBS : Value.t) : Value.t := + Definition value_MIN + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run ltac:(M.monadic (M.get_constant "ruint::ZERO")). + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))). Global Instance AssociatedConstant_value_MIN : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_MIN" (value_MIN BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MIN" (value_MIN BITS LIMBS). Admitted. Global Typeclasses Opaque value_MIN. @@ -398,63 +425,80 @@ Module Impl_ruint_Uint_BITS_LIMBS. }; *) (* Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] *) - Definition value_MAX (BITS LIMBS : Value.t) : Value.t := + Definition value_MAX + (BITS LIMBS : Value.t) + (ε : list Value.t) + (τ : list Ty.t) + (α : list Value.t) + : M := let Self : Ty.t := Self BITS LIMBS in - M.run - ltac:(M.monadic - (let~ limbs : Ty.apply (Ty.path "array") [ LIMBS ] [ Ty.path "u64" ] := - M.alloc (| repeat (| M.read (| M.get_constant "core::num::MAX" |), LIMBS |) |) in - let~ _ : Ty.tuple [] := - M.match_operator (| - Some (Ty.tuple []), - M.alloc (| Value.Tuple [] |), - [ - fun γ => - ltac:(M.monadic - (let γ := - M.use - (M.alloc (| - BinOp.gt (| - M.read (| M.get_constant "ruint::BITS" |), - Value.Integer IntegerKind.Usize 0 + ltac:(M.monadic + (let~ limbs : Ty.apply (Ty.path "array") [ LIMBS ] [ Ty.path "u64" ] := + M.alloc (| + repeat (| + M.read (| get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) |), + LIMBS + |) + |) in + let~ _ : Ty.tuple [] := + M.match_operator (| + Some (Ty.tuple []), + M.alloc (| Value.Tuple [] |), + [ + fun γ => + ltac:(M.monadic + (let γ := + M.use + (M.alloc (| + BinOp.gt (| + M.read (| get_constant (| "ruint::BITS", Ty.path "usize" |) |), + Value.Integer IntegerKind.Usize 0 + |) + |)) in + let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in + let~ _ : Ty.tuple [] := + M.alloc (| + let β := + M.SubPointer.get_array_field (| + limbs, + BinOp.Wrap.sub (| + M.read (| get_constant (| "ruint::LIMBS", Ty.path "usize" |) |), + Value.Integer IntegerKind.Usize 1 |) - |)) in - let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - let~ _ : Ty.tuple [] := - M.alloc (| - let β := - M.SubPointer.get_array_field (| - limbs, - BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::LIMBS" |), - Value.Integer IntegerKind.Usize 1 + |) in + M.write (| + β, + BinOp.bit_and + (M.read (| β |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" |) - |) in - M.write (| - β, - BinOp.bit_and (M.read (| β |)) (M.read (| M.get_constant "ruint::MASK" |)) - |) - |) in - M.alloc (| Value.Tuple [] |))); - fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) - ] - |) in - M.alloc (| - M.call_closure (| + |)) + |) + |) in + M.alloc (| Value.Tuple [] |))); + fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) + ] + |) in + M.alloc (| + M.call_closure (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + M.get_associated_function (| Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], - M.get_associated_function (| - Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], - "from_limbs", - [], - [] - |), - [ M.read (| limbs |) ] - |) - |))). + "from_limbs", + [], + [] + |), + [ M.read (| limbs |) ] + |) + |))). Global Instance AssociatedConstant_value_MAX : forall (BITS LIMBS : Value.t), - M.IsAssociatedConstant.Trait (Self BITS LIMBS) "value_MAX" (value_MAX BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "MAX" (value_MAX BITS LIMBS). Admitted. Global Typeclasses Opaque value_MAX. @@ -492,7 +536,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_as_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_limbs" (as_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_limbs" (as_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque as_limbs. @@ -535,7 +579,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_as_limbs_mut : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "as_limbs_mut" (as_limbs_mut BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "as_limbs_mut" (as_limbs_mut BITS LIMBS). Admitted. Global Typeclasses Opaque as_limbs_mut. @@ -561,7 +605,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_into_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "into_limbs" (into_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "into_limbs" (into_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque into_limbs. @@ -601,13 +645,21 @@ Module Impl_ruint_Uint_BITS_LIMBS. (M.alloc (| LogicalOp.and (| BinOp.gt (| - M.read (| M.get_constant "ruint::BITS" |), + M.read (| get_constant (| "ruint::BITS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic (BinOp.ne (| - M.read (| M.get_constant "ruint::MASK" |), - M.read (| M.get_constant "core::num::MAX" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |), + M.read (| + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) |))) |) |)) in @@ -628,12 +680,27 @@ Module Impl_ruint_Uint_BITS_LIMBS. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::LIMBS'1" |), + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |) |) |)) in @@ -689,7 +756,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_from_limbs : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_limbs" (from_limbs BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_limbs" (from_limbs BITS LIMBS). Admitted. Global Typeclasses Opaque from_limbs. @@ -780,7 +847,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_from_limbs_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_limbs_slice" (from_limbs_slice BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_limbs_slice" (from_limbs_slice BITS LIMBS). Admitted. Global Typeclasses Opaque from_limbs_slice. @@ -844,7 +911,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_checked_from_limbs_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_from_limbs_slice" (checked_from_limbs_slice BITS LIMBS). @@ -889,7 +956,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_wrapping_from_limbs_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_from_limbs_slice" (wrapping_from_limbs_slice BITS LIMBS). @@ -947,7 +1014,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| slice |) |) |) ] |), - M.read (| M.get_constant "ruint::LIMBS" |) + M.read (| get_constant (| "ruint::LIMBS", Ty.path "usize" |) |) |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in @@ -1057,7 +1124,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. |), [ M.borrow (| Pointer.Kind.Ref, M.deref (| M.read (| slice |) |) |); - M.read (| M.get_constant "ruint::LIMBS" |) + M.read (| get_constant (| "ruint::LIMBS", Ty.path "usize" |) |) ] |) |), @@ -1170,7 +1237,9 @@ Module Impl_ruint_Uint_BITS_LIMBS. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "ruint::LIMBS" |), + M.read (| + get_constant (| "ruint::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1191,12 +1260,26 @@ Module Impl_ruint_Uint_BITS_LIMBS. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::LIMBS" |), + M.read (| + get_constant (| + "ruint::LIMBS", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "MASK", + Ty.path "u64" + |) + |) |)) |) |) in @@ -1206,7 +1289,9 @@ Module Impl_ruint_Uint_BITS_LIMBS. M.SubPointer.get_array_field (| limbs, BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::LIMBS" |), + M.read (| + get_constant (| "ruint::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -1214,7 +1299,13 @@ Module Impl_ruint_Uint_BITS_LIMBS. β, BinOp.bit_and (M.read (| β |)) - (M.read (| M.get_constant "ruint::MASK" |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.Tuple [] |))); @@ -1247,7 +1338,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_overflowing_from_limbs_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_from_limbs_slice" (overflowing_from_limbs_slice BITS LIMBS). @@ -1301,7 +1392,11 @@ Module Impl_ruint_Uint_BITS_LIMBS. (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.Bool true |) in - M.get_constant "ruint::MAX")) + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -1310,7 +1405,7 @@ Module Impl_ruint_Uint_BITS_LIMBS. Global Instance AssociatedFunction_saturating_from_limbs_slice : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_from_limbs_slice" (saturating_from_limbs_slice BITS LIMBS). @@ -1335,7 +1430,15 @@ Module Impl_core_default_Default_for_ruint_Uint_BITS_LIMBS. : M := let Self : Ty.t := Self BITS LIMBS in match ε, τ, α with - | [], [], [] => ltac:(M.monadic (M.read (| M.get_constant "ruint::ZERO" |))) + | [], [], [] => + ltac:(M.monadic + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |))) | _, _, _ => M.impossible "wrong number of arguments" end. @@ -1366,7 +1469,7 @@ Definition nlimbs (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M : | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_nlimbs : M.IsFunction.Trait "ruint::nlimbs" nlimbs. +Global Instance Instance_IsFunction_nlimbs : M.IsFunction.C "ruint::nlimbs" nlimbs. Admitted. Global Typeclasses Opaque nlimbs. @@ -1428,7 +1531,7 @@ Definition mask (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := BinOp.eq (| M.read (| bits |), Value.Integer IntegerKind.Usize 0 |) |)) in let _ := M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in - M.get_constant "core::num::MAX")); + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |))); fun γ => ltac:(M.monadic (M.alloc (| @@ -1444,6 +1547,6 @@ Definition mask (ε : list Value.t) (τ : list Ty.t) (α : list Value.t) : M := | _, _, _ => M.impossible "wrong number of arguments" end. -Global Instance Instance_IsFunction_mask : M.IsFunction.Trait "ruint::mask" mask. +Global Instance Instance_IsFunction_mask : M.IsFunction.C "ruint::mask" mask. Admitted. Global Typeclasses Opaque mask. diff --git a/CoqOfRust/ruint/links/lib.v b/CoqOfRust/ruint/links/lib.v index 78ef4ad94..35d002a1f 100644 --- a/CoqOfRust/ruint/links/lib.v +++ b/CoqOfRust/ruint/links/lib.v @@ -4,13 +4,16 @@ Require Import core.links.array. Require Import ruint.lib. Module Uint. - Parameter t : Usize.t -> Usize.t -> Set. - - Parameter to_value : forall {BITS LIMBS : Usize.t}, t BITS LIMBS -> Value.t. + Record t {BITS LIMBS : Usize.t} : Set := { + limbs : array.t U64.t LIMBS; + }. + Arguments t : clear implicits. - Global Instance IsLink : forall {BITS LIMBS : Usize.t}, Link (t BITS LIMBS) := { + Global Instance IsLink {BITS LIMBS : Usize.t} : Link (t BITS LIMBS) := { Φ := Ty.apply (Ty.path "ruint::Uint") [ φ BITS; φ LIMBS ] []; - φ := to_value; + φ x := Value.StructRecord "ruint::Uint" [ + ("limbs", φ x.(limbs)) + ]; }. Definition of_ty (BITS' LIMBS' : Value.t) (BITS LIMBS : Usize.t) : @@ -22,15 +25,35 @@ Module Uint. End Uint. Module Impl_Uint. - Parameter ZERO : forall (BITS LIMBS : Usize.t), Uint.t BITS LIMBS. + Definition Self (BITS LIMBS : Usize.t) : Set := + Uint.t BITS LIMBS. - (* pub const ZERO: Self *) - Lemma ZERO_eq (BITS LIMBS : Usize.t) : - M.get_constant "ruint::ZERO" = - φ (Ref.immediate Pointer.Kind.Raw (ZERO BITS LIMBS)). + (* pub const fn from_limbs(limbs: [u64; LIMBS]) -> Self *) + Instance run_from_limbs (BITS LIMBS : Usize.t) (limbs : array.t U64.t LIMBS) : + Run.Trait + (Impl_ruint_Uint_BITS_LIMBS.from_limbs (φ BITS) (φ LIMBS)) [] [] [ φ limbs ] + (Self BITS LIMBS). Proof. + constructor. + run_symbolic. Admitted. - Global Hint Rewrite ZERO_eq : run_constant. + + (* pub const ZERO: Self *) + Instance run_ZERO (BITS LIMBS : Usize.t) : + Run.Trait + (Impl_ruint_Uint_BITS_LIMBS.value_ZERO (φ BITS) (φ LIMBS)) [] [] [] + (Ref.t Pointer.Kind.Raw (Self BITS LIMBS)). + Proof. + constructor. + run_symbolic. + constructor. + eapply Run.Rewrite. { + change (Value.Integer IntegerKind.U64 0) with (φ (A := U64.t) {| Integer.value := 0 |}). + rewrite array.repeat_nat_φ_eq. + reflexivity. + } + apply Run.run_f. + Defined. (* pub const fn as_limbs(&self) -> &[u64; LIMBS] *) Instance run_as_limbs diff --git a/CoqOfRust/ruint/log.v b/CoqOfRust/ruint/log.v index 3a70e0d31..8f3b47583 100644 --- a/CoqOfRust/ruint/log.v +++ b/CoqOfRust/ruint/log.v @@ -86,7 +86,11 @@ Module log. M.borrow (| Pointer.Kind.Ref, self |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |))) @@ -127,7 +131,7 @@ Module log. Global Instance AssociatedFunction_checked_log : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_log" (checked_log BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_log" (checked_log BITS LIMBS). Admitted. Global Typeclasses Opaque checked_log. @@ -174,7 +178,7 @@ Module log. Global Instance AssociatedFunction_checked_log10 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_log10" (checked_log10 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_log10" (checked_log10 BITS LIMBS). Admitted. Global Typeclasses Opaque checked_log10. @@ -221,7 +225,7 @@ Module log. Global Instance AssociatedFunction_checked_log2 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_log2" (checked_log2 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_log2" (checked_log2 BITS LIMBS). Admitted. Global Typeclasses Opaque checked_log2. @@ -311,7 +315,14 @@ Module log. |), [ M.borrow (| Pointer.Kind.Ref, self |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |) @@ -711,7 +722,17 @@ Module log. |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) |) ] |) @@ -1019,7 +1040,7 @@ Module log. Global Instance AssociatedFunction_log : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "log" (log BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "log" (log BITS LIMBS). Admitted. Global Typeclasses Opaque log. @@ -1066,7 +1087,7 @@ Module log. Global Instance AssociatedFunction_log10 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "log10" (log10 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "log10" (log10 BITS LIMBS). Admitted. Global Typeclasses Opaque log10. @@ -1113,7 +1134,7 @@ Module log. Global Instance AssociatedFunction_log2 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "log2" (log2 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "log2" (log2 BITS LIMBS). Admitted. Global Typeclasses Opaque log2. @@ -1156,7 +1177,7 @@ Module log. Global Instance AssociatedFunction_approx_log : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "approx_log" (approx_log BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "approx_log" (approx_log BITS LIMBS). Admitted. Global Typeclasses Opaque approx_log. @@ -1228,7 +1249,7 @@ Module log. Global Instance AssociatedFunction_approx_log2 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "approx_log2" (approx_log2 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "approx_log2" (approx_log2 BITS LIMBS). Admitted. Global Typeclasses Opaque approx_log2. @@ -1259,14 +1280,14 @@ Module log. |), [ M.read (| self |) ] |), - M.read (| M.get_constant "core::f64::consts::LOG2_10" |) + M.read (| get_constant (| "core::f64::consts::LOG2_10", Ty.path "f64" |) |) |))) | _, _, _ => M.impossible "wrong number of arguments" end. Global Instance AssociatedFunction_approx_log10 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "approx_log10" (approx_log10 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "approx_log10" (approx_log10 BITS LIMBS). Admitted. Global Typeclasses Opaque approx_log10. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/modular.v b/CoqOfRust/ruint/modular.v index b70a8b758..474dd0377 100644 --- a/CoqOfRust/ruint/modular.v +++ b/CoqOfRust/ruint/modular.v @@ -55,7 +55,14 @@ Module modular. |), [ M.borrow (| Pointer.Kind.Ref, modulus |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -63,7 +70,17 @@ Module modular. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -126,7 +143,7 @@ Module modular. Global Instance AssociatedFunction_reduce_mod : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "reduce_mod" (reduce_mod BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "reduce_mod" (reduce_mod BITS LIMBS). Admitted. Global Typeclasses Opaque reduce_mod. @@ -273,7 +290,7 @@ Module modular. Global Instance AssociatedFunction_add_mod : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "add_mod" (add_mod BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "add_mod" (add_mod BITS LIMBS). Admitted. Global Typeclasses Opaque add_mod. @@ -343,7 +360,14 @@ Module modular. |), [ M.borrow (| Pointer.Kind.Ref, modulus |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -351,7 +375,17 @@ Module modular. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -384,7 +418,7 @@ Module modular. [ BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, - M.read (| M.get_constant "ruint::modular::BITS" |) + M.read (| get_constant (| "ruint::modular::BITS", Ty.path "usize" |) |) |) ] |) @@ -413,7 +447,12 @@ Module modular. BinOp.ge (| BinOp.Wrap.mul (| Value.Integer IntegerKind.Usize 2, - M.read (| M.get_constant "ruint::modular::LIMBS" |) + M.read (| + get_constant (| + "ruint::modular::LIMBS", + Ty.path "usize" + |) + |) |), M.read (| product_len |) |) @@ -635,7 +674,7 @@ Module modular. Global Instance AssociatedFunction_mul_mod : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "mul_mod" (mul_mod BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "mul_mod" (mul_mod BITS LIMBS). Admitted. Global Typeclasses Opaque mul_mod. @@ -701,7 +740,14 @@ Module modular. |), [ M.borrow (| Pointer.Kind.Ref, modulus |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |), ltac:(M.monadic @@ -741,7 +787,17 @@ Module modular. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -788,7 +844,11 @@ Module modular. M.borrow (| Pointer.Kind.Ref, exp |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |) @@ -916,7 +976,7 @@ Module modular. Global Instance AssociatedFunction_pow_mod : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "pow_mod" (pow_mod BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "pow_mod" (pow_mod BITS LIMBS). Admitted. Global Typeclasses Opaque pow_mod. @@ -950,7 +1010,7 @@ Module modular. Global Instance AssociatedFunction_inv_mod : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "inv_mod" (inv_mod BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "inv_mod" (inv_mod BITS LIMBS). Admitted. Global Typeclasses Opaque inv_mod. @@ -1000,7 +1060,9 @@ Module modular. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::modular::BITS" |), + M.read (| + get_constant (| "ruint::modular::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1008,7 +1070,17 @@ Module modular. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1047,7 +1119,10 @@ Module modular. |) |) |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "core::num::MAX" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| Ty.path "u64", "MAX", Ty.path "u64" |) + |) ] |), [ @@ -1126,7 +1201,13 @@ Module modular. ] |) in let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -1277,7 +1358,7 @@ Module modular. Global Instance AssociatedFunction_mul_redc : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "mul_redc" (mul_redc BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "mul_redc" (mul_redc BITS LIMBS). Admitted. Global Typeclasses Opaque mul_redc. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/mul.v b/CoqOfRust/ruint/mul.v index 603ff75a2..92e75da5a 100644 --- a/CoqOfRust/ruint/mul.v +++ b/CoqOfRust/ruint/mul.v @@ -66,7 +66,7 @@ Module mul. Global Instance AssociatedFunction_checked_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_mul" (checked_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_mul" (checked_mul BITS LIMBS). Admitted. Global Typeclasses Opaque checked_mul. @@ -95,7 +95,13 @@ Module mul. let rhs := M.alloc (| rhs |) in M.read (| let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ overflow : Ty.path "bool" := M.alloc (| M.call_closure (| @@ -161,7 +167,7 @@ Module mul. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "ruint::mul::BITS" |), + M.read (| get_constant (| "ruint::mul::BITS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -182,12 +188,20 @@ Module mul. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::mul::LIMBS" |), + M.read (| + get_constant (| "ruint::mul::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |) |)) |) |) in @@ -201,7 +215,9 @@ Module mul. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::mul::LIMBS" |), + M.read (| + get_constant (| "ruint::mul::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -209,7 +225,13 @@ Module mul. β, BinOp.bit_and (M.read (| β |)) - (M.read (| M.get_constant "ruint::MASK" |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.Tuple [] |))); @@ -223,7 +245,7 @@ Module mul. Global Instance AssociatedFunction_overflowing_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_mul" (overflowing_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_mul" (overflowing_mul BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_mul. @@ -271,7 +293,13 @@ Module mul. let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool false |) in value)); - fun γ => ltac:(M.monadic (M.get_constant "ruint::MAX")) + fun γ => + ltac:(M.monadic + (get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -280,7 +308,7 @@ Module mul. Global Instance AssociatedFunction_saturating_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_mul" (saturating_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_mul" (saturating_mul BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_mul. @@ -308,7 +336,13 @@ Module mul. let rhs := M.alloc (| rhs |) in M.read (| let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.call_closure (| @@ -374,7 +408,7 @@ Module mul. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "ruint::mul::BITS" |), + M.read (| get_constant (| "ruint::mul::BITS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -389,7 +423,9 @@ Module mul. "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::mul::LIMBS" |), + M.read (| + get_constant (| "ruint::mul::LIMBS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 1 |) |) in @@ -397,7 +433,13 @@ Module mul. β, BinOp.bit_and (M.read (| β |)) - (M.read (| M.get_constant "ruint::MASK" |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.Tuple [] |))); @@ -411,7 +453,7 @@ Module mul. Global Instance AssociatedFunction_wrapping_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_mul" (wrapping_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_mul" (wrapping_mul BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_mul. @@ -473,7 +515,9 @@ Module mul. (M.alloc (| LogicalOp.or (| BinOp.eq (| - M.read (| M.get_constant "ruint::mul::BITS" |), + M.read (| + get_constant (| "ruint::mul::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |), ltac:(M.monadic @@ -507,7 +551,13 @@ Module mul. ] |) in let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) in let~ _ : Ty.tuple [] := M.alloc (| M.write (| @@ -590,10 +640,26 @@ Module mul. |), [ M.read (| n |); - M.read (| M.get_constant "ruint::mul::inv_ring::W3" |) + M.read (| + get_constant (| + "ruint::mul::inv_ring::W3", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) + |) ] |); - M.read (| M.get_constant "ruint::mul::inv_ring::W2" |) + M.read (| + get_constant (| + "ruint::mul::inv_ring::W2", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) + |) ] |) |) in @@ -643,7 +709,15 @@ Module mul. [] |), [ - M.read (| M.get_constant "ruint::mul::inv_ring::W2" |); + M.read (| + get_constant (| + "ruint::mul::inv_ring::W2", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) + |); M.call_closure (| Ty.apply (Ty.path "core::num::wrapping::Wrapping") @@ -719,7 +793,15 @@ Module mul. [] |), [ - M.read (| M.get_constant "ruint::mul::inv_ring::W2" |); + M.read (| + get_constant (| + "ruint::mul::inv_ring::W2", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) + |); M.call_closure (| Ty.apply (Ty.path "core::num::wrapping::Wrapping") @@ -795,7 +877,15 @@ Module mul. [] |), [ - M.read (| M.get_constant "ruint::mul::inv_ring::W2" |); + M.read (| + get_constant (| + "ruint::mul::inv_ring::W2", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) + |); M.call_closure (| Ty.apply (Ty.path "core::num::wrapping::Wrapping") @@ -871,7 +961,15 @@ Module mul. [] |), [ - M.read (| M.get_constant "ruint::mul::inv_ring::W2" |); + M.read (| + get_constant (| + "ruint::mul::inv_ring::W2", + Ty.apply + (Ty.path "core::num::wrapping::Wrapping") + [] + [ Ty.path "u64" ] + |) + |); M.call_closure (| Ty.apply (Ty.path "core::num::wrapping::Wrapping") @@ -1075,7 +1173,9 @@ Module mul. (M.alloc (| BinOp.lt (| M.read (| correct_limbs |), - M.read (| M.get_constant "ruint::mul::LIMBS" |) + M.read (| + get_constant (| "ruint::mul::LIMBS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -1173,13 +1273,21 @@ Module mul. M.SubPointer.get_array_field (| M.SubPointer.get_struct_record_field (| result, "ruint::Uint", "limbs" |), BinOp.Wrap.sub (| - M.read (| M.get_constant "ruint::mul::LIMBS" |), + M.read (| get_constant (| "ruint::mul::LIMBS", Ty.path "usize" |) |), Value.Integer IntegerKind.Usize 1 |) |) in M.write (| β, - BinOp.bit_and (M.read (| β |)) (M.read (| M.get_constant "ruint::MASK" |)) + BinOp.bit_and + (M.read (| β |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MASK", + Ty.path "u64" + |) + |)) |) |) in M.alloc (| Value.StructTuple "core::option::Option::Some" [ M.read (| result |) ] |) @@ -1190,7 +1298,7 @@ Module mul. Global Instance AssociatedFunction_inv_ring : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "inv_ring" (inv_ring BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "inv_ring" (inv_ring BITS LIMBS). Admitted. Global Typeclasses Opaque inv_ring. @@ -1236,14 +1344,19 @@ Module mul. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::mul::widening_mul::BITS_RES" + get_constant (| "ruint::mul::widening_mul::BITS_RES", Ty.path "usize" |) |); M.borrow (| Pointer.Kind.Ref, M.alloc (| BinOp.Wrap.add (| - M.read (| M.get_constant "ruint::mul::BITS" |), - M.read (| M.get_constant "ruint::mul::widening_mul::BITS_RHS" |) + M.read (| get_constant (| "ruint::mul::BITS", Ty.path "usize" |) |), + M.read (| + get_constant (| + "ruint::mul::widening_mul::BITS_RHS", + Ty.path "usize" + |) + |) |) |) |) @@ -1332,7 +1445,7 @@ Module mul. [ M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::mul::widening_mul::LIMBS_RES" + get_constant (| "ruint::mul::widening_mul::LIMBS_RES", Ty.path "usize" |) |); M.borrow (| Pointer.Kind.Ref, @@ -1340,7 +1453,14 @@ Module mul. M.call_closure (| Ty.path "usize", M.get_function (| "ruint::nlimbs", [], [] |), - [ M.read (| M.get_constant "ruint::mul::widening_mul::BITS_RES" |) ] + [ + M.read (| + get_constant (| + "ruint::mul::widening_mul::BITS_RES", + Ty.path "usize" + |) + |) + ] |) |) |) @@ -1422,7 +1542,13 @@ Module mul. ] |) in let~ result : Ty.apply (Ty.path "ruint::Uint") [ BITS_RES; LIMBS_RES ] [] := - M.copy (| M.get_constant "ruint::ZERO" |) in + M.copy (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS_RES; LIMBS_RES ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS_RES; LIMBS_RES ] [] + |) + |) in let~ _ : Ty.path "bool" := M.alloc (| M.call_closure (| @@ -1488,7 +1614,12 @@ Module mul. M.use (M.alloc (| BinOp.gt (| - M.read (| M.get_constant "ruint::mul::widening_mul::LIMBS_RES" |), + M.read (| + get_constant (| + "ruint::mul::widening_mul::LIMBS_RES", + Ty.path "usize" + |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1527,14 +1658,25 @@ Module mul. |), BinOp.Wrap.sub (| M.read (| - M.get_constant - "ruint::mul::widening_mul::LIMBS_RES" + get_constant (| + "ruint::mul::widening_mul::LIMBS_RES", + Ty.path "usize" + |) |), Value.Integer IntegerKind.Usize 1 |) |) |), - M.read (| M.get_constant "ruint::MASK" |) + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS_RES; LIMBS_RES ] + [], + "MASK", + Ty.path "u64" + |) + |) |) |) |)) in @@ -1578,7 +1720,7 @@ Module mul. Global Instance AssociatedFunction_widening_mul : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "widening_mul" (widening_mul BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "widening_mul" (widening_mul BITS LIMBS). Admitted. Global Typeclasses Opaque widening_mul. End Impl_ruint_Uint_BITS_LIMBS. @@ -1623,7 +1765,9 @@ Module mul. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::mul::BITS" |), + M.read (| + get_constant (| "ruint::mul::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1631,7 +1775,17 @@ Module mul. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -1733,7 +1887,9 @@ Module mul. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::mul::BITS" |), + M.read (| + get_constant (| "ruint::mul::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -1741,7 +1897,17 @@ Module mul. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) diff --git a/CoqOfRust/ruint/pow.v b/CoqOfRust/ruint/pow.v index 0508cdc4d..a9cae5ade 100644 --- a/CoqOfRust/ruint/pow.v +++ b/CoqOfRust/ruint/pow.v @@ -71,7 +71,7 @@ Module pow. Global Instance AssociatedFunction_checked_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "checked_pow" (checked_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_pow" (checked_pow BITS LIMBS). Admitted. Global Typeclasses Opaque checked_pow. @@ -128,7 +128,9 @@ Module pow. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::pow::BITS" |), + M.read (| + get_constant (| "ruint::pow::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -187,7 +189,11 @@ Module pow. M.borrow (| Pointer.Kind.Ref, exp |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |) @@ -362,7 +368,7 @@ Module pow. Global Instance AssociatedFunction_overflowing_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "overflowing_pow" (overflowing_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "overflowing_pow" (overflowing_pow BITS LIMBS). Admitted. Global Typeclasses Opaque overflowing_pow. @@ -398,7 +404,7 @@ Module pow. Global Instance AssociatedFunction_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "pow" (pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "pow" (pow BITS LIMBS). Admitted. Global Typeclasses Opaque pow. @@ -452,7 +458,11 @@ Module pow. let γ0_1 := M.SubPointer.get_tuple_field (| γ, 1 |) in let _ := M.is_constant_or_break_match (| M.read (| γ0_1 |), Value.Bool true |) in - M.get_constant "ruint::MAX")) + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "MAX", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |))) ] |) |))) @@ -461,7 +471,7 @@ Module pow. Global Instance AssociatedFunction_saturating_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "saturating_pow" (saturating_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "saturating_pow" (saturating_pow BITS LIMBS). Admitted. Global Typeclasses Opaque saturating_pow. @@ -512,7 +522,9 @@ Module pow. M.use (M.alloc (| BinOp.eq (| - M.read (| M.get_constant "ruint::pow::BITS" |), + M.read (| + get_constant (| "ruint::pow::BITS", Ty.path "usize" |) + |), Value.Integer IntegerKind.Usize 0 |) |)) in @@ -565,7 +577,11 @@ Module pow. M.borrow (| Pointer.Kind.Ref, exp |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |) @@ -690,7 +706,7 @@ Module pow. Global Instance AssociatedFunction_wrapping_pow : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "wrapping_pow" (wrapping_pow BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "wrapping_pow" (wrapping_pow BITS LIMBS). Admitted. Global Typeclasses Opaque wrapping_pow. @@ -763,7 +779,12 @@ Module pow. (M.alloc (| BinOp.lt (| M.read (| exp |), - M.read (| M.get_constant "ruint::pow::approx_pow2::LN2_1P5" |) + M.read (| + get_constant (| + "ruint::pow::approx_pow2::LN2_1P5", + Ty.path "f64" + |) + |) |) |)) in let _ := @@ -797,7 +818,21 @@ Module pow. M.return_ (| Value.StructTuple "core::option::Option::Some" - [ M.read (| M.get_constant "ruint::ZERO" |) ] + [ + M.read (| + get_associated_constant (| + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [], + "ZERO", + Ty.apply + (Ty.path "ruint::Uint") + [ BITS; LIMBS ] + [] + |) + |) + ] |) |) |) @@ -873,7 +908,13 @@ Module pow. M.read (| exp |), M.cast (Ty.path "f64") - (M.read (| M.get_constant "ruint::BITS'1" |)) + (M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BITS", + Ty.path "usize" + |) + |)) |) |)) in let _ := @@ -916,7 +957,9 @@ Module pow. M.get_associated_function (| Ty.path "f64", "exp2", [], [] |), [ M.read (| fract |) ] |), - M.read (| M.get_constant "ruint::pow::approx_pow2::EXP2_63" |) + M.read (| + get_constant (| "ruint::pow::approx_pow2::EXP2_63", Ty.path "f64" |) + |) |)) |) in M.match_operator (| @@ -1319,7 +1362,7 @@ Module pow. Global Instance AssociatedFunction_approx_pow2 : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "approx_pow2" (approx_pow2 BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "approx_pow2" (approx_pow2 BITS LIMBS). Admitted. Global Typeclasses Opaque approx_pow2. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/root.v b/CoqOfRust/ruint/root.v index c9869fb1e..1bbaf5b86 100644 --- a/CoqOfRust/ruint/root.v +++ b/CoqOfRust/ruint/root.v @@ -162,7 +162,14 @@ Module root. |), [ M.borrow (| Pointer.Kind.Ref, self |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -170,7 +177,17 @@ Module root. M.is_constant_or_break_match (| M.read (| γ |), Value.Bool true |) in M.alloc (| M.never_to_any (| - M.read (| M.return_ (| M.read (| M.get_constant "ruint::ZERO" |) |) |) + M.read (| + M.return_ (| + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) + |) + |) |) |))); fun γ => ltac:(M.monadic (M.alloc (| Value.Tuple [] |))) @@ -188,7 +205,13 @@ Module root. (M.alloc (| BinOp.ge (| M.read (| degree |), - M.read (| M.get_constant "ruint::BITS'1" |) + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "BITS", + Ty.path "usize" + |) + |) |) |)) in let _ := @@ -331,7 +354,13 @@ Module root. |), [ M.read (| result |); M.read (| deg_m1 |) ] |); - M.read (| M.get_constant "ruint::ZERO" |); + M.read (| + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |); M.closure (fun γ => ltac:(M.monadic @@ -562,7 +591,7 @@ Module root. Global Instance AssociatedFunction_root : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "root" (root BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "root" (root BITS LIMBS). Admitted. Global Typeclasses Opaque root. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/special.v b/CoqOfRust/ruint/special.v index e77a9bcf2..829781606 100644 --- a/CoqOfRust/ruint/special.v +++ b/CoqOfRust/ruint/special.v @@ -40,7 +40,7 @@ Module special. Global Instance AssociatedFunction_is_power_of_two : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "is_power_of_two" (is_power_of_two BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "is_power_of_two" (is_power_of_two BITS LIMBS). Admitted. Global Typeclasses Opaque is_power_of_two. @@ -92,10 +92,7 @@ Module special. Global Instance AssociatedFunction_next_power_of_two : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "next_power_of_two" - (next_power_of_two BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "next_power_of_two" (next_power_of_two BITS LIMBS). Admitted. Global Typeclasses Opaque next_power_of_two. @@ -187,7 +184,9 @@ Module special. (M.alloc (| BinOp.ge (| M.read (| exp |), - M.read (| M.get_constant "ruint::special::BITS" |) + M.read (| + get_constant (| "ruint::special::BITS", Ty.path "usize" |) + |) |) |)) in let _ := @@ -240,7 +239,7 @@ Module special. Global Instance AssociatedFunction_checked_next_power_of_two : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_next_power_of_two" (checked_next_power_of_two BITS LIMBS). @@ -310,10 +309,7 @@ Module special. Global Instance AssociatedFunction_next_multiple_of : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait - (Self BITS LIMBS) - "next_multiple_of" - (next_multiple_of BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "next_multiple_of" (next_multiple_of BITS LIMBS). Admitted. Global Typeclasses Opaque next_multiple_of. @@ -368,7 +364,14 @@ Module special. |), [ M.borrow (| Pointer.Kind.Ref, rhs |); - M.borrow (| Pointer.Kind.Ref, M.get_constant "ruint::ZERO" |) + M.borrow (| + Pointer.Kind.Ref, + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) + |) ] |) |)) in @@ -434,7 +437,11 @@ Module special. M.borrow (| Pointer.Kind.Ref, r |); M.borrow (| Pointer.Kind.Ref, - M.get_constant "ruint::ZERO" + get_associated_constant (| + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [], + "ZERO", + Ty.apply (Ty.path "ruint::Uint") [ BITS; LIMBS ] [] + |) |) ] |) @@ -604,7 +611,7 @@ Module special. Global Instance AssociatedFunction_checked_next_multiple_of : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait + M.IsAssociatedFunction.C (Self BITS LIMBS) "checked_next_multiple_of" (checked_next_multiple_of BITS LIMBS). diff --git a/CoqOfRust/ruint/string.v b/CoqOfRust/ruint/string.v index f934e0169..e4a7ee783 100644 --- a/CoqOfRust/ruint/string.v +++ b/CoqOfRust/ruint/string.v @@ -1644,7 +1644,7 @@ Module string. Global Instance AssociatedFunction_from_str_radix : forall (BITS LIMBS : Value.t), - M.IsAssociatedFunction.Trait (Self BITS LIMBS) "from_str_radix" (from_str_radix BITS LIMBS). + M.IsAssociatedFunction.C (Self BITS LIMBS) "from_str_radix" (from_str_radix BITS LIMBS). Admitted. Global Typeclasses Opaque from_str_radix. End Impl_ruint_Uint_BITS_LIMBS. diff --git a/CoqOfRust/ruint/utils.v b/CoqOfRust/ruint/utils.v index f4c9b9759..bda77c9ab 100644 --- a/CoqOfRust/ruint/utils.v +++ b/CoqOfRust/ruint/utils.v @@ -41,7 +41,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_rem_up : M.IsFunction.Trait "ruint::utils::rem_up" rem_up. + Global Instance Instance_IsFunction_rem_up : M.IsFunction.C "ruint::utils::rem_up" rem_up. Admitted. Global Typeclasses Opaque rem_up. @@ -157,8 +157,7 @@ Module utils. | _, _, _ => M.impossible "wrong number of arguments" end. - Global Instance Instance_IsFunction_last_idx : - M.IsFunction.Trait "ruint::utils::last_idx" last_idx. + Global Instance Instance_IsFunction_last_idx : M.IsFunction.C "ruint::utils::last_idx" last_idx. Admitted. Global Typeclasses Opaque last_idx. @@ -215,7 +214,7 @@ Module utils. end. Global Instance Instance_IsFunction_trim_end_slice : - M.IsFunction.Trait "ruint::utils::trim_end_slice" trim_end_slice. + M.IsFunction.C "ruint::utils::trim_end_slice" trim_end_slice. Admitted. Global Typeclasses Opaque trim_end_slice. @@ -280,7 +279,7 @@ Module utils. end. Global Instance Instance_IsFunction_trim_end_vec : - M.IsFunction.Trait "ruint::utils::trim_end_vec" trim_end_vec. + M.IsFunction.C "ruint::utils::trim_end_vec" trim_end_vec. Admitted. Global Typeclasses Opaque trim_end_vec. End utils. diff --git a/lib/src/coq.rs b/lib/src/coq.rs index b053791fc..e02d516f0 100644 --- a/lib/src/coq.rs +++ b/lib/src/coq.rs @@ -1204,4 +1204,30 @@ impl ArgDecl { }), ] } + + pub(crate) fn polymorphic_function_params() -> Vec> { + vec![ + ArgDecl::new( + Rc::new(ArgDeclVar::Simple { + idents: vec!["ε".to_string()], + ty: Some(Expression::just_name("list Value.t")), + }), + ArgSpecKind::Explicit, + ), + ArgDecl::new( + Rc::new(ArgDeclVar::Simple { + idents: vec!["τ".to_string()], + ty: Some(Expression::just_name("list Ty.t")), + }), + ArgSpecKind::Explicit, + ), + ArgDecl::new( + Rc::new(ArgDeclVar::Simple { + idents: vec!["α".to_string()], + ty: Some(Expression::just_name("list Value.t")), + }), + ArgSpecKind::Explicit, + ), + ] + } } diff --git a/lib/src/expression.rs b/lib/src/expression.rs index 3a6bac755..013303ad6 100644 --- a/lib/src/expression.rs +++ b/lib/src/expression.rs @@ -69,7 +69,15 @@ pub(crate) enum LambdaForm { #[derive(Debug, Eq, PartialEq, Serialize)] pub(crate) enum Expr { LocalVar(String), - GetConst(Rc), + GetConstant { + path: Rc, + return_ty: Rc, + }, + GetAssociatedConstant { + ty: Rc, + constant: String, + return_ty: Rc, + }, GetFunction { func: Rc, generic_consts: Vec>, @@ -248,7 +256,8 @@ impl Expr { pub(crate) fn has_return(&self) -> bool { match self { Expr::LocalVar(_) => false, - Expr::GetConst(_) => false, + Expr::GetConstant { .. } => false, + Expr::GetAssociatedConstant { .. } => false, Expr::GetFunction { .. } => false, Expr::GetTraitMethod { .. } => false, Expr::GetAssociatedFunction { .. } => false, @@ -458,8 +467,20 @@ impl Expr { pub(crate) fn to_coq(&self) -> Rc { match self { Expr::LocalVar(ref name) => coq::Expression::just_name(name), - Expr::GetConst(path) => coq::Expression::just_name("M.get_constant") - .apply(Rc::new(coq::Expression::String(path.to_string()))), + Expr::GetConstant { path, return_ty } => coq::Expression::just_name("get_constant") + .monadic_apply_many(&[ + Rc::new(coq::Expression::String(path.to_string())), + return_ty.to_coq(), + ]), + Expr::GetAssociatedConstant { + ty, + constant, + return_ty, + } => coq::Expression::just_name("get_associated_constant").monadic_apply_many(&[ + ty.to_coq(), + Rc::new(coq::Expression::String(constant.to_string())), + return_ty.to_coq(), + ]), Expr::GetFunction { func, generic_consts, diff --git a/lib/src/thir_expression.rs b/lib/src/thir_expression.rs index e339734d4..57ff48387 100644 --- a/lib/src/thir_expression.rs +++ b/lib/src/thir_expression.rs @@ -815,7 +815,12 @@ pub(crate) fn compile_expr<'a>( Rc::new(Expr::Return(value)) } thir::ExprKind::ConstBlock { did, .. } => { - Rc::new(Expr::GetConst(compile_def_id(env, *did))) + let return_ty = compile_type(env, &expr.span, generics, &expr.ty); + + Rc::new(Expr::GetConstant { + path: compile_def_id(env, *did), + return_ty, + }) } thir::ExprKind::Repeat { value, count } => { let func = Expr::local_var("repeat"); @@ -1176,23 +1181,42 @@ pub(crate) fn compile_expr<'a>( } } } - thir::ExprKind::NamedConst { def_id, .. } => { + thir::ExprKind::NamedConst { def_id, args, .. } => { let path = compile_def_id(env, *def_id); - let expr = Rc::new(Expr::GetConst(path)); + let symbol = env.tcx.def_key(*def_id).get_opt_name(); let parent = env.tcx.opt_parent(*def_id).unwrap(); let parent_kind = env.tcx.def_kind(parent); - - if matches!(parent_kind, DefKind::Variant) { - return expr.alloc(); + let return_ty = compile_type(env, &expr.span, generics, &expr.ty); + + match parent_kind { + DefKind::Variant => Rc::new(Expr::GetConstant { path, return_ty }), + DefKind::Impl { .. } => { + let parent_type = env.tcx.type_of(parent).instantiate(env.tcx, args); + let ty = compile_type(env, &expr.span, generics, &parent_type); + Rc::new(Expr::GetAssociatedConstant { + ty, + constant: symbol.unwrap().to_string(), + return_ty, + }) + } + _ => Rc::new(Expr::GetConstant { path, return_ty }), } - - expr } thir::ExprKind::ConstParam { def_id, .. } => { - Rc::new(Expr::GetConst(compile_def_id(env, *def_id))) + let return_ty = compile_type(env, &expr.span, generics, &expr.ty); + + Rc::new(Expr::GetConstant { + path: compile_def_id(env, *def_id), + return_ty, + }) } thir::ExprKind::StaticRef { def_id, .. } => { - Rc::new(Expr::GetConst(compile_def_id(env, *def_id))) + let return_ty = compile_type(env, &expr.span, generics, &expr.ty); + + Rc::new(Expr::GetConstant { + path: compile_def_id(env, *def_id), + return_ty, + }) } thir::ExprKind::InlineAsm(_) => Rc::new(Expr::LocalVar("InlineAssembly".to_string())), thir::ExprKind::OffsetOf { .. } => { @@ -1203,7 +1227,12 @@ pub(crate) fn compile_expr<'a>( Rc::new(Expr::Comment(error_message.to_string(), Expr::tt())) } thir::ExprKind::ThreadLocalRef(def_id) => { - Rc::new(Expr::GetConst(compile_def_id(env, *def_id))) + let return_ty = compile_type(env, &expr.span, generics, &expr.ty); + + Rc::new(Expr::GetConstant { + path: compile_def_id(env, *def_id), + return_ty, + }) } thir::ExprKind::Yield { value } => { let func = Expr::local_var("yield"); @@ -1317,7 +1346,9 @@ pub(crate) fn compile_const(env: &Env, span: &rustc_span::Span, const_: &Const) Rc::new(Expr::Call { func: Expr::local_var("M.unevaluated_const"), - args: vec![Rc::new(Expr::GetConst(path))], + args: vec![Rc::new(Expr::Literal(Rc::new(Literal::String( + path.to_name().as_str().to_string(), + ))))], kind: CallKind::Pure, }) } diff --git a/lib/src/top_level.rs b/lib/src/top_level.rs index 4f30ff193..bb3a01197 100644 --- a/lib/src/top_level.rs +++ b/lib/src/top_level.rs @@ -113,6 +113,7 @@ struct Snippet(Vec); #[derive(Debug, Serialize)] struct ImplItem { name: String, + source_name: String, snippet: Option>, kind: Rc, } @@ -846,7 +847,8 @@ fn compile_impl_item<'a>(env: &Env<'a>, item: &'a rustc_hir::ImplItem) -> Rc IsValue::Yes, rustc_hir::ImplItemKind::Type(..) => IsValue::No, }; - let name = to_valid_coq_name(is_value, item.ident.name.as_str()); + let source_name = item.ident.name.as_str().to_string(); + let name = to_valid_coq_name(is_value, source_name.as_str()); let snippet = Snippet::of_span(env, &item.span); let kind = match &item.kind { rustc_hir::ImplItemKind::Const(ty, body_id) => { @@ -876,6 +878,7 @@ fn compile_impl_item<'a>(env: &Env<'a>, item: &'a rustc_hir::ImplItem) -> Rc { - let body = coq::Expression::just_name("M.run") - .apply(coq::Expression::monadic(body.to_coq())); + let body = coq::Expression::monadic(body.to_coq()); Rc::new(coq::TopLevelItem::Definition(coq::Definition::new( &definition_name, Rc::new(coq::DefinitionKind::Alias { - args: coq::ArgDecl::of_const_ty_params( - &generic_consts, - &generic_tys, - coq::ArgSpecKind::Explicit, - ), - ty: Some(coq::Expression::just_name("Value.t")), + args: [ + coq::ArgDecl::of_const_ty_params( + &generic_consts, + &generic_tys, + coq::ArgSpecKind::Explicit, + ), + coq::ArgDecl::polymorphic_function_params(), + ] + .concat(), + ty: Some(coq::Expression::just_name("M")), body: if !generics.is_empty() { Rc::new(coq::Expression::Let { name: Some("Self".to_string()), @@ -1768,35 +1741,38 @@ impl TopLevelItem { None => Rc::new(coq::TopLevelItem::Definition(coq::Definition::new( name, Rc::new(coq::DefinitionKind::Assumption { - ty: coq::Expression::just_name("Value.t"), + ty: coq::Expression::just_name("PolymorphicFunction.t"), }), ))), Some(value) => Rc::new(coq::TopLevelItem::Definition(coq::Definition::new( name, Rc::new(coq::DefinitionKind::Alias { - args: vec![], - ty: Some(coq::Expression::just_name("Value.t")), - body: coq::Expression::just_name("M.run_constant") - .apply(coq::Expression::monadic(value.to_coq())), + args: coq::ArgDecl::polymorphic_function_params(), + ty: Some(coq::Expression::just_name("M")), + body: coq::Expression::monadic(value.to_coq()), }), ))), }, Rc::new(coq::TopLevelItem::Line), Rc::new(coq::TopLevelItem::Definition(coq::Definition::new( - &format!("Constant_{name}"), - Rc::new(coq::DefinitionKind::Axiom { - ty: Rc::new(coq::Expression::Equality { - lhs: coq::Expression::just_name("M.get_constant") - .apply(Rc::new(coq::Expression::String(path.to_string()))), - rhs: coq::Expression::just_name(name), - }), + &format!("Instance_IsConstant_{name}"), + Rc::new(coq::DefinitionKind::AdmittedInstance { + locality: "Global".to_string(), + ty: coq::Expression::just_name("M.IsFunction.C").apply_many(&[ + Rc::new(coq::Expression::String(path.to_string())), + coq::Expression::just_name(name), + ]), }), ))), - Rc::new(coq::TopLevelItem::Hint { - kind: "Global Hint Rewrite".to_string(), - name: format!("Constant_{name}"), - database: Some("constant_rewrites".to_string()), - }), + if value.is_some() { + Rc::new(coq::TopLevelItem::Hint { + kind: "Global Typeclasses Opaque".to_string(), + name: name.to_string(), + database: None, + }) + } else { + Rc::new(coq::TopLevelItem::Empty) + }, ], TopLevelItem::Definition { name, @@ -1811,7 +1787,7 @@ impl TopLevelItem { &format!("Instance_IsFunction_{name}"), Rc::new(coq::DefinitionKind::AdmittedInstance { locality: "Global".to_string(), - ty: coq::Expression::just_name("M.IsFunction.Trait").apply_many(&[ + ty: coq::Expression::just_name("M.IsFunction.C").apply_many(&[ Rc::new(coq::Expression::String(path.to_string())), coq::Expression::just_name(name), ]), @@ -2004,6 +1980,7 @@ impl TopLevelItem { .flat_map(|item| { let ImplItem { name, + source_name, snippet, kind, } = item.as_ref(); @@ -2040,10 +2017,10 @@ impl TopLevelItem { image: coq::Expression::just_name( match kind.as_ref() { ImplItemKind::Const { .. } => { - "M.IsAssociatedConstant.Trait" + "M.IsAssociatedFunction.C" } ImplItemKind::Definition { .. } => { - "M.IsAssociatedFunction.Trait" + "M.IsAssociatedFunction.C" } ImplItemKind::Type { .. } => { "M.IsAssociatedType.Trait" @@ -2059,7 +2036,9 @@ impl TopLevelItem { }) .collect_vec(), ), - Rc::new(coq::Expression::String(name.to_string())), + Rc::new(coq::Expression::String( + source_name.to_string(), + )), coq::Expression::just_name(name).apply_many( &generics .iter() @@ -2228,7 +2207,7 @@ impl TopLevelItem { Rc::new(coq::Expression::Tuple(vec![ Rc::new(coq::Expression::String(item.name.to_string())), coq::Expression::just_name(match kind { - ImplItemKind::Const { .. } => "InstanceField.Constant", + ImplItemKind::Const { .. } => "InstanceField.Method", ImplItemKind::Definition { .. } => "InstanceField.Method", ImplItemKind::Type { .. } => "InstanceField.Ty", })