diff --git a/stage0/src/CMakeLists.txt b/stage0/src/CMakeLists.txt index 56a8384320..98b8c47a0c 100644 --- a/stage0/src/CMakeLists.txt +++ b/stage0/src/CMakeLists.txt @@ -761,6 +761,7 @@ install(DIRECTORY "${CMAKE_BINARY_DIR}/lib/" DESTINATION lib PATTERN "*.export" PATTERN "*.hash" PATTERN "*.trace" + PATTERN "*.rsp" EXCLUDE) # symlink source into expected installation location for go-to-definition, if file system allows it diff --git a/stage0/src/include/lean/lean.h b/stage0/src/include/lean/lean.h index 5a28c3b745..a921bd70c8 100644 --- a/stage0/src/include/lean/lean.h +++ b/stage0/src/include/lean/lean.h @@ -2723,6 +2723,13 @@ static inline bool lean_io_result_is_ok(b_lean_obj_arg r) { return lean_ptr_tag( static inline bool lean_io_result_is_error(b_lean_obj_arg r) { return lean_ptr_tag(r) == 1; } static inline b_lean_obj_res lean_io_result_get_value(b_lean_obj_arg r) { assert(lean_io_result_is_ok(r)); return lean_ctor_get(r, 0); } static inline b_lean_obj_res lean_io_result_get_error(b_lean_obj_arg r) { assert(lean_io_result_is_error(r)); return lean_ctor_get(r, 0); } +static inline lean_obj_res lean_io_result_take_value(lean_obj_arg r) { + assert(lean_io_result_is_ok(r)); + lean_object* v = lean_ctor_get(r, 0); + lean_inc(v); + lean_dec(r); + return v; +} LEAN_EXPORT void lean_io_result_show_error(b_lean_obj_arg r); LEAN_EXPORT void lean_io_mark_end_initialization(void); static inline lean_obj_res lean_io_result_mk_ok(lean_obj_arg a) { diff --git a/stage0/src/runtime/CMakeLists.txt b/stage0/src/runtime/CMakeLists.txt index 6fab1878da..7d4a9fbaab 100644 --- a/stage0/src/runtime/CMakeLists.txt +++ b/stage0/src/runtime/CMakeLists.txt @@ -3,7 +3,7 @@ object.cpp apply.cpp exception.cpp interrupt.cpp memory.cpp stackinfo.cpp compact.cpp init_module.cpp io.cpp hash.cpp platform.cpp alloc.cpp allocprof.cpp sharecommon.cpp stack_overflow.cpp process.cpp object_ref.cpp mpn.cpp mutex.cpp libuv.cpp uv/net_addr.cpp uv/event_loop.cpp -uv/timer.cpp) +uv/timer.cpp uv/tcp.cpp) add_library(leanrt_initial-exec STATIC ${RUNTIME_OBJS}) set_target_properties(leanrt_initial-exec PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) diff --git a/stage0/src/runtime/libuv.cpp b/stage0/src/runtime/libuv.cpp index f625c11595..58fffa4006 100644 --- a/stage0/src/runtime/libuv.cpp +++ b/stage0/src/runtime/libuv.cpp @@ -15,6 +15,7 @@ namespace lean { extern "C" void initialize_libuv() { initialize_libuv_timer(); + initialize_libuv_tcp_socket(); initialize_libuv_loop(); lthread([]() { event_loop_run_loop(&global_ev); }); diff --git a/stage0/src/runtime/libuv.h b/stage0/src/runtime/libuv.h index ce974f37e8..f158ce024c 100644 --- a/stage0/src/runtime/libuv.h +++ b/stage0/src/runtime/libuv.h @@ -8,6 +8,7 @@ Author: Markus Himmel, Sofia Rodrigues #include #include "runtime/uv/event_loop.h" #include "runtime/uv/timer.h" +#include "runtime/uv/tcp.h" #include "runtime/alloc.h" #include "runtime/io.h" #include "runtime/utf8.h" diff --git a/stage0/src/runtime/object.cpp b/stage0/src/runtime/object.cpp index 1594b8244e..eb0e32bb3d 100644 --- a/stage0/src/runtime/object.cpp +++ b/stage0/src/runtime/object.cpp @@ -926,6 +926,12 @@ public: } void deactivate_task(lean_task_object * t) { + if (object * v = t->m_value) { + lean_assert(t->m_imp == nullptr); + lean_dec(v); + free_task(t); + return; + } unique_lock lock(m_mutex); if (object * v = t->m_value) { lean_assert(t->m_imp == nullptr); @@ -1152,7 +1158,7 @@ extern "C" LEAN_EXPORT b_obj_res lean_io_wait_any_core(b_obj_arg task_list) { return g_task_manager->wait_any(task_list); } -extern "C" LEAN_EXPORT obj_res lean_io_promise_new(obj_arg) { +obj_res lean_promise_new() { lean_always_assert(g_task_manager); bool keep_alive = false; @@ -1167,11 +1173,20 @@ extern "C" LEAN_EXPORT obj_res lean_io_promise_new(obj_arg) { lean_set_st_header((lean_object *)o, LeanPromise, 0); o->m_result = t; // the promise takes ownership of one task token - return io_result_mk_ok((lean_object *) o); + return (lean_object *) o; +} + +void lean_promise_resolve(obj_arg value, b_obj_arg promise) { + g_task_manager->resolve(lean_to_promise(promise)->m_result, mk_option_some(value)); +} + +extern "C" LEAN_EXPORT obj_res lean_io_promise_new(obj_arg) { + lean_object * o = lean_promise_new(); + return io_result_mk_ok(o); } extern "C" LEAN_EXPORT obj_res lean_io_promise_resolve(obj_arg value, b_obj_arg promise, obj_arg) { - g_task_manager->resolve(lean_to_promise(promise)->m_result, mk_option_some(value)); + lean_promise_resolve(value, promise); return io_result_mk_ok(box(0)); } diff --git a/stage0/src/runtime/object.h b/stage0/src/runtime/object.h index 370d9131f6..577c92e2f4 100644 --- a/stage0/src/runtime/object.h +++ b/stage0/src/runtime/object.h @@ -302,6 +302,12 @@ inline void * external_data(object * o) { return lean_get_external_data(o); } inline obj_res mk_option_none() { return box(0); } inline obj_res mk_option_some(obj_arg v) { obj_res r = alloc_cnstr(1, 1, 0); cnstr_set(r, 0, v); return r; } +// ======================================= +// Except + +inline obj_res mk_except_ok(obj_arg v) { obj_res r = alloc_cnstr(1, 1, 0); cnstr_set(r, 0, v); return r; } +inline obj_res mk_except_err(obj_arg v) { obj_res r = alloc_cnstr(0, 1, 0); cnstr_set(r, 0, v); return r; } + // ======================================= // Natural numbers @@ -467,6 +473,8 @@ inline obj_res st_ref_set(b_obj_arg r, obj_arg v, obj_arg w) { return lean_st_re inline obj_res st_ref_reset(b_obj_arg r, obj_arg w) { return lean_st_ref_reset(r, w); } inline obj_res st_ref_swap(b_obj_arg r, obj_arg v, obj_arg w) { return lean_st_ref_swap(r, v, w); } +obj_res lean_promise_new(); +void lean_promise_resolve(obj_arg value, b_obj_arg promise); extern "C" LEAN_EXPORT obj_res lean_io_promise_new(obj_arg); extern "C" LEAN_EXPORT obj_res lean_io_promise_resolve(obj_arg value, b_obj_arg promise, obj_arg); diff --git a/stage0/src/runtime/uv/event_loop.cpp b/stage0/src/runtime/uv/event_loop.cpp index 1e20f1f934..2614b08668 100644 --- a/stage0/src/runtime/uv/event_loop.cpp +++ b/stage0/src/runtime/uv/event_loop.cpp @@ -23,6 +23,16 @@ using namespace std; event_loop_t global_ev; +// Helpers + +void lean_promise_resolve_with_code(int status, obj_arg promise) { + obj_arg res = status == 0 + ? mk_except_ok(lean_box(0)) + : mk_except_err(lean_decode_uv_error(status, nullptr)); + + lean_promise_resolve(res, promise); +} + // Utility function for error checking. This function is only used inside the // initializition of the event loop. static void check_uv(int result, const char * msg) { diff --git a/stage0/src/runtime/uv/event_loop.h b/stage0/src/runtime/uv/event_loop.h index 42dba397e3..75835d79aa 100644 --- a/stage0/src/runtime/uv/event_loop.h +++ b/stage0/src/runtime/uv/event_loop.h @@ -44,4 +44,8 @@ void event_loop_run_loop(event_loop_t *event_loop); extern "C" LEAN_EXPORT lean_obj_res lean_uv_event_loop_configure(b_obj_arg options, obj_arg /* w */ ); extern "C" LEAN_EXPORT lean_obj_res lean_uv_event_loop_alive(obj_arg /* w */ ); +// Helpers + +void lean_promise_resolve_with_code(int status, obj_arg promise); + } diff --git a/stage0/src/runtime/uv/net_addr.cpp b/stage0/src/runtime/uv/net_addr.cpp index f06a078f68..fc2c4361ca 100644 --- a/stage0/src/runtime/uv/net_addr.cpp +++ b/stage0/src/runtime/uv/net_addr.cpp @@ -28,6 +28,32 @@ void lean_ipv6_addr_to_in6_addr(b_obj_arg ipv6_addr, in6_addr* out) { } } +void lean_socket_address_to_sockaddr_storage(b_obj_arg ip_addr, sockaddr_storage* out) { + memset(out, 0, sizeof(*out)); + + lean_object* socket_addr_obj = lean_ctor_get(ip_addr, 0); + lean_object* ip_addr_obj = lean_ctor_get(socket_addr_obj, 0); + uint16_t port_obj = lean_ctor_get_uint16(socket_addr_obj, sizeof(void*)*1); + + if (lean_ptr_tag(ip_addr) == 0) { + sockaddr_in* cast = (sockaddr_in*)out; + lean_ipv4_addr_to_in_addr(ip_addr_obj, &cast->sin_addr); + cast->sin_family = AF_INET; +#ifdef SIN6_LEN + cast->sin_len = sizeof(*cast); +#endif + cast->sin_port = htons(port_obj); + } else { + sockaddr_in6* cast = (sockaddr_in6*)out; + lean_ipv6_addr_to_in6_addr(ip_addr_obj, (in6_addr*)&cast->sin6_addr); + cast->sin6_family = AF_INET6; +#ifdef SIN6_LEN + cast->sin6_len = sizeof(*cast); +#endif + cast->sin6_port = htons(port_obj); + } +} + lean_obj_res lean_in_addr_to_ipv4_addr(const in_addr* ipv4_addr) { obj_res ret = alloc_array(0, 4); uint32_t hostaddr = ntohl(ipv4_addr->s_addr); @@ -55,6 +81,42 @@ lean_obj_res lean_in6_addr_to_ipv6_addr(const in6_addr* ipv6_addr) { return ret; } +lean_obj_res lean_mk_socketaddress(lean_obj_res ip_addr, uint16_t port) { + lean_obj_res socket_addr = lean_alloc_ctor(0, 1, 2); + lean_ctor_set(socket_addr, 0, ip_addr); + lean_ctor_set_uint16(socket_addr, sizeof(void*)*1, port); + return socket_addr; +} + +lean_obj_res lean_sockaddr_to_socketaddress(const struct sockaddr* sockaddr) { + lean_object* part = nullptr; + int tag; + + if (sockaddr->sa_family == AF_INET) { + const struct sockaddr_in* addr_in = (const struct sockaddr_in*)sockaddr; + const in_addr* ipv4_addr = &addr_in->sin_addr; + lean_obj_res lean_ipv4 = lean_in_addr_to_ipv4_addr(ipv4_addr); + uint16_t port = ntohs(addr_in->sin_port); + part = lean_mk_socketaddress(lean_ipv4, port); + tag = 0; + } else if (sockaddr->sa_family == AF_INET6) { + const struct sockaddr_in6* addr_in6 = (const struct sockaddr_in6*)sockaddr; + const in6_addr* ipv6_addr = &addr_in6->sin6_addr; + lean_obj_res lean_ipv6 = lean_in6_addr_to_ipv6_addr(ipv6_addr); + uint16_t port = ntohs(addr_in6->sin6_port); + part = lean_mk_socketaddress(lean_ipv6, port); + tag = 1; + } else { + lean_unreachable(); + } + + lean_object* ctor = lean_alloc_ctor(tag, 1, 0); + lean_ctor_set(ctor, 0, part); + + return ctor; +} + + /* Std.Net.IPV4Addr.ofString (s : @&String) : Option IPV4Addr */ extern "C" LEAN_EXPORT lean_obj_res lean_uv_pton_v4(b_obj_arg str_obj) { const char* str = string_cstr(str_obj); diff --git a/stage0/src/runtime/uv/net_addr.h b/stage0/src/runtime/uv/net_addr.h index ceaea59367..11bcb0b999 100644 --- a/stage0/src/runtime/uv/net_addr.h +++ b/stage0/src/runtime/uv/net_addr.h @@ -14,8 +14,11 @@ namespace lean { void lean_ipv4_addr_to_in_addr(b_obj_arg ipv4_addr, struct in_addr* out); void lean_ipv6_addr_to_in6_addr(b_obj_arg ipv6_addr, struct in6_addr* out); +void lean_socket_address_to_sockaddr_storage(b_obj_arg ip_addr, struct sockaddr_storage* out); + lean_obj_res lean_in_addr_to_ipv4_addr(const struct in_addr* ipv4_addr); lean_obj_res lean_in6_addr_to_ipv6_addr(const struct in6_addr* ipv6_addr); +lean_obj_res lean_sockaddr_to_socketaddress(const struct sockaddr* sockaddr); #endif diff --git a/stage0/src/runtime/uv/tcp.cpp b/stage0/src/runtime/uv/tcp.cpp new file mode 100644 index 0000000000..459375da45 --- /dev/null +++ b/stage0/src/runtime/uv/tcp.cpp @@ -0,0 +1,616 @@ +/* +Copyright (c) 2025 Lean FRO, LLC. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Author: Sofia Rodrigues +*/ + +#include "runtime/uv/tcp.h" +#include + +namespace lean { + +#ifndef LEAN_EMSCRIPTEN + +// Stores all the things needed to connect to a TCP socket. +typedef struct { + lean_object* promise; + lean_object* socket; +} tcp_connect_data; + +// Stores all the things needed to send data to a TCP socket. +typedef struct { + lean_object* promise; + lean_object* data; + lean_object* socket; +} tcp_send_data; + +// ======================================= +// TCP socket object manipulation functions. + +void lean_uv_tcp_socket_finalizer(void* ptr) { + lean_uv_tcp_socket_object* tcp_socket = (lean_uv_tcp_socket_object*)ptr; + + lean_always_assert(tcp_socket->m_promise_shutdown == nullptr); + lean_always_assert(tcp_socket->m_promise_accept == nullptr); + lean_always_assert(tcp_socket->m_promise_read == nullptr); + lean_always_assert(tcp_socket->m_byte_array == nullptr); + + /// It's changing here because the object is being freed in the finalizer, and we need the data + /// inside of it. + tcp_socket->m_uv_tcp->data = ptr; + + event_loop_lock(&global_ev); + + uv_close((uv_handle_t*)tcp_socket->m_uv_tcp, [](uv_handle_t* handle) { + lean_uv_tcp_socket_object* tcp_socket = (lean_uv_tcp_socket_object*)handle->data; + free(tcp_socket->m_uv_tcp); + free(tcp_socket); + }); + + event_loop_unlock(&global_ev); +} + +void initialize_libuv_tcp_socket() { + g_uv_tcp_socket_external_class = lean_register_external_class(lean_uv_tcp_socket_finalizer, [](void* obj, lean_object* f) { + lean_uv_tcp_socket_object* tcp_socket = (lean_uv_tcp_socket_object*)obj; + + if (tcp_socket->m_promise_accept != nullptr) { + lean_inc(f); + lean_apply_1(f, tcp_socket->m_promise_accept); + } + + if (tcp_socket->m_promise_shutdown != nullptr) { + lean_inc(f); + lean_apply_1(f, tcp_socket->m_promise_shutdown); + } + + if (tcp_socket->m_promise_read != nullptr) { + lean_inc(f); + lean_apply_1(f, tcp_socket->m_promise_read); + } + + if (tcp_socket->m_byte_array != nullptr) { + lean_inc(f); + lean_apply_1(f, tcp_socket->m_byte_array); + } + }); +} + +// ======================================= +// TCP Socket Operations + +/* Std.Internal.UV.TCP.Socket.new : IO Socket */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_new(obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = (lean_uv_tcp_socket_object*)malloc(sizeof(lean_uv_tcp_socket_object)); + + tcp_socket->m_promise_accept = nullptr; + tcp_socket->m_promise_shutdown = nullptr; + tcp_socket->m_promise_read = nullptr; + tcp_socket->m_byte_array = nullptr; + tcp_socket->m_client = nullptr; + + uv_tcp_t* uv_tcp = (uv_tcp_t*)malloc(sizeof(uv_tcp_t)); + + event_loop_lock(&global_ev); + int result = uv_tcp_init(global_ev.loop, uv_tcp); + event_loop_unlock(&global_ev); + + if (result != 0) { + free(uv_tcp); + free(tcp_socket); + + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + tcp_socket->m_uv_tcp = uv_tcp; + + lean_object* obj = lean_uv_tcp_socket_new(tcp_socket); + lean_mark_mt(obj); + + tcp_socket->m_uv_tcp->data = obj; + + return lean_io_result_mk_ok(obj); +} + +/* Std.Internal.UV.TCP.Socket.connect (socket : @& Socket) (addr : @& SocketAddress) : IO (IO.Promise (Except IO.Error Unit)) */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_connect(b_obj_arg socket, b_obj_arg addr, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + lean_object* promise = lean_promise_new(); + mark_mt(promise); + + sockaddr_storage addr_struct; + lean_socket_address_to_sockaddr_storage(addr, &addr_struct); + + uv_connect_t* uv_connect = (uv_connect_t*)malloc(sizeof(uv_connect_t)); + tcp_connect_data* connect_data = (tcp_connect_data*)malloc(sizeof(tcp_connect_data)); + + connect_data->promise = promise; + connect_data->socket = socket; + + uv_connect->data = connect_data; + + // The event loop owns the socket. + lean_inc(socket); + lean_inc(promise); + + event_loop_lock(&global_ev); + + int result = uv_tcp_connect(uv_connect, tcp_socket->m_uv_tcp, (sockaddr*)&addr_struct, [](uv_connect_t* req, int status) { + tcp_connect_data* tup = (tcp_connect_data*) req->data; + lean_promise_resolve_with_code(status, tup->promise); + + // The event loop does not own the object anymore. + lean_dec(tup->socket); + lean_dec(tup->promise); + + free(req->data); + free(req); + }); + + event_loop_unlock(&global_ev); + + if (result < 0) { + lean_dec(promise); // The structure does not own it. + lean_dec(promise); // We are not going to return it. + lean_dec(socket); + + free(uv_connect->data); + free(uv_connect); + + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + return lean_io_result_mk_ok(promise); +} + +/* Std.Internal.UV.TCP.Socket.send (socket : @& Socket) (data : ByteArray) : IO (IO.Promise (Except IO.Error Unit)) */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_send(b_obj_arg socket, obj_arg data, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + size_t data_len = lean_sarray_size(data); + char* data_str = (char*)lean_sarray_cptr(data); + + uv_buf_t buf = uv_buf_init(data_str, data_len); + + lean_object* promise = lean_promise_new(); + mark_mt(promise); + + uv_write_t* write_uv = (uv_write_t*)malloc(sizeof(uv_write_t)); + write_uv->data = (tcp_send_data*)malloc(sizeof(tcp_send_data)); + + tcp_send_data* send_data = (tcp_send_data*)write_uv->data; + send_data->promise = promise; + send_data->data = data; + send_data->socket = socket; + + // These objects are going to enter the loop and be owned by it + lean_inc(promise); + lean_inc(socket); + + event_loop_lock(&global_ev); + + int result = uv_write(write_uv, (uv_stream_t*)tcp_socket->m_uv_tcp, &buf, 1, [](uv_write_t* req, int status) { + tcp_send_data* tup = (tcp_send_data*) req->data; + + lean_promise_resolve_with_code(status, tup->promise); + + lean_dec(tup->promise); + lean_dec(tup->data); + lean_dec(tup->socket); + + free(req->data); + free(req); + }); + + event_loop_unlock(&global_ev); + + if (result < 0) { + lean_dec(promise); // The structure does not own it. + lean_dec(promise); // We are not going to return it. + lean_dec(socket); + lean_dec(data); + + free(write_uv->data); + free(write_uv); + + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + return lean_io_result_mk_ok(promise); +} + +/* Std.Internal.UV.TCP.Socket.recv? (socket : @& Socket) (size : UInt64) : IO (IO.Promise (Except IO.Error (Option ByteArray))) */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_recv(b_obj_arg socket, uint64_t buffer_size, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + // Locking early prevents potential parallelism issues setting the byte_array. + event_loop_lock(&global_ev); + + if (tcp_socket->m_byte_array != nullptr) { + event_loop_unlock(&global_ev); + return lean_io_result_mk_error(lean_decode_uv_error(UV_EALREADY, nullptr)); + } + + lean_object* byte_array = lean_alloc_sarray(1, 0, buffer_size); + tcp_socket->m_byte_array = byte_array; + + lean_object* promise = lean_promise_new(); + mark_mt(promise); + + tcp_socket->m_promise_read = promise; + + // The event loop owns the socket. + lean_inc(socket); + lean_inc(promise); + + int result = uv_read_start((uv_stream_t*)tcp_socket->m_uv_tcp, [](uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket((lean_object*)handle->data); + + buf->base = (char*)lean_sarray_cptr(tcp_socket->m_byte_array); + buf->len = lean_sarray_capacity(tcp_socket->m_byte_array); + }, [](uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { + uv_read_stop(stream); + + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket((lean_object*)stream->data); + lean_object* promise = tcp_socket->m_promise_read; + lean_object* byte_array = tcp_socket->m_byte_array; + + tcp_socket->m_promise_read = nullptr; + tcp_socket->m_byte_array = nullptr; + + if (nread >= 0) { + lean_sarray_set_size(byte_array, nread); + lean_promise_resolve(mk_except_ok(lean::mk_option_some(byte_array)), promise); + } else if (nread == UV_EOF) { + lean_dec(byte_array); + lean_promise_resolve(mk_except_ok(lean::mk_option_none()), promise); + } else if (nread < 0) { + lean_dec(byte_array); + lean_promise_resolve(mk_except_err(lean_decode_uv_error(nread, nullptr)), promise); + } + + lean_dec(promise); + + // The event loop does not own the object anymore. + lean_dec((lean_object*)stream->data); + }); + + if (result < 0) { + tcp_socket->m_byte_array = nullptr; + tcp_socket->m_promise_read = nullptr; + + event_loop_unlock(&global_ev); + + lean_dec(byte_array); + lean_dec(promise); // The structure does not own it. + lean_dec(promise); // We are not going to return it. + lean_dec(socket); + + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + event_loop_unlock(&global_ev); + + return lean_io_result_mk_ok(promise); +} + +/* Std.Internal.UV.TCP.Socket.bind (socket : @& Socket) (addr : @& SocketAddress) : IO Unit */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_bind(b_obj_arg socket, b_obj_arg addr, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + sockaddr_storage addr_ptr; + lean_socket_address_to_sockaddr_storage(addr, &addr_ptr); + + event_loop_lock(&global_ev); + int result = uv_tcp_bind(tcp_socket->m_uv_tcp, (sockaddr*)&addr_ptr, 0); + event_loop_unlock(&global_ev); + + if (result < 0) { + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + return lean_io_result_mk_ok(lean_box(0)); +} + +/* Std.Internal.UV.TCP.Socket.listen (socket : @& Socket) (backlog : Int32) : IO Unit */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_listen(b_obj_arg socket, int32_t backlog, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + event_loop_lock(&global_ev); + + int result = uv_listen((uv_stream_t*)tcp_socket->m_uv_tcp, backlog, [](uv_stream_t* stream, int status) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket((lean_object*)stream->data); + + if (tcp_socket->m_promise_accept == nullptr) { + return; + } + + lean_object* promise = tcp_socket->m_promise_accept; + + if (status < 0) { + lean_promise_resolve_with_code(status, promise); + lean_dec(promise); + tcp_socket->m_promise_accept = nullptr; + return; + } + + lean_object* client = tcp_socket->m_client; + lean_uv_tcp_socket_object* client_socket = lean_to_uv_tcp_socket(client); + + int result = uv_accept((uv_stream_t*)tcp_socket->m_uv_tcp, (uv_stream_t*)client_socket->m_uv_tcp); + + tcp_socket->m_promise_accept = nullptr; + tcp_socket->m_client = nullptr; + + if (result < 0) { + lean_dec(client); + lean_promise_resolve_with_code(result, promise); + lean_dec(promise); + return; + } + + lean_promise_resolve(mk_except_ok(client), promise); + lean_dec(promise); + + // The accept increases the count and then the listen decreases + lean_dec((lean_object*)stream->data); + }); + + event_loop_unlock(&global_ev); + + if (result < 0) { + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + return lean_io_result_mk_ok(lean_box(0)); +} + +/* Std.Internal.UV.TCP.Socket.accept (socket : @& Socket) : IO (IO.Promise (Except IO.Error Socket)) */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_accept(b_obj_arg socket, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + // Locking early prevents potential parallelism issues setting m_promise_accept. + event_loop_lock(&global_ev); + + if (tcp_socket->m_promise_accept != nullptr) { + return lean_io_result_mk_error(lean_decode_uv_error(UV_EALREADY, mk_string("parallel accept is not allowed! consider binding multiple sockets to the same address and accepting on them instead"))); + } + + lean_object* promise = lean_promise_new(); + mark_mt(promise); + + lean_object* client = lean_io_result_take_value(lean_uv_tcp_new(lean_box(0))); + + lean_uv_tcp_socket_object* client_socket = lean_to_uv_tcp_socket(client); + + int result = uv_accept((uv_stream_t*)tcp_socket->m_uv_tcp, (uv_stream_t*)client_socket->m_uv_tcp); + + if (result < 0 && result != UV_EAGAIN) { + event_loop_unlock(&global_ev); + lean_dec(client); + lean_promise_resolve_with_code(result, promise); + } else if (result >= 0) { + event_loop_unlock(&global_ev); + lean_promise_resolve(mk_except_ok(client), promise); + } else { + // The event loop owns the object. It will be released in the listen + lean_inc(socket); + lean_inc(promise); + + tcp_socket->m_promise_accept = promise; + tcp_socket->m_client = client; + + event_loop_unlock(&global_ev); + } + + return lean_io_result_mk_ok(promise); +} + +/* Std.Internal.UV.TCP.Socket.shutdown (socket : @& Socket) : IO (IO.Promise (Except IO.Error Unit)) */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_shutdown(b_obj_arg socket, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + // Locking early prevents potential parallelism issues setting the m_promise_shutdown. + event_loop_lock(&global_ev); + + if (tcp_socket->m_promise_shutdown != nullptr) { + event_loop_unlock(&global_ev); + return lean_io_result_mk_error(lean_decode_uv_error(UV_EALREADY, mk_string("shutdown already in progress"))); + } + + lean_object* promise = lean_promise_new(); + mark_mt(promise); + + tcp_socket->m_promise_shutdown = promise; + lean_inc(promise); + + + uv_shutdown_t* shutdown_req = (uv_shutdown_t*)malloc(sizeof(uv_shutdown_t)); + shutdown_req->data = (void*)socket; + + lean_inc(socket); + + int result = uv_shutdown(shutdown_req, (uv_stream_t*)tcp_socket->m_uv_tcp, [](uv_shutdown_t* req, int status) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket((lean_object*)req->data); + + if (status < 0) { + lean_promise_resolve_with_code(status, tcp_socket->m_promise_shutdown); + } else { + lean_promise_resolve(mk_except_ok(lean_box(0)), tcp_socket->m_promise_shutdown); + } + + lean_dec(tcp_socket->m_promise_shutdown); + + tcp_socket->m_promise_shutdown = nullptr; + + lean_dec((lean_object*)req->data); + free(req); + }); + + + if (result < 0) { + free(shutdown_req); + lean_dec(tcp_socket->m_promise_shutdown); + tcp_socket->m_promise_shutdown = nullptr; + event_loop_unlock(&global_ev); + + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + event_loop_unlock(&global_ev); + + return lean_io_result_mk_ok(promise); +} + +/* Std.Internal.UV.TCP.Socket.getPeerName (socket : @& Socket) : IO SocketAddress */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_getpeername(b_obj_arg socket, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + sockaddr_storage addr_storage; + int addr_len = sizeof(addr_storage); + + event_loop_lock(&global_ev); + int result = uv_tcp_getpeername(tcp_socket->m_uv_tcp, (struct sockaddr*)&addr_storage, &addr_len); + event_loop_unlock(&global_ev); + + if (result < 0) { + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + lean_object* lean_addr = lean_sockaddr_to_socketaddress((struct sockaddr*)&addr_storage); + + return lean_io_result_mk_ok(lean_addr); +} + +/* Std.Internal.UV.TCP.Socket.getSockName (socket : @& Socket) : IO SocketAddress */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_getsockname(b_obj_arg socket, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + struct sockaddr_storage addr_storage; + int addr_len = sizeof(addr_storage); + + event_loop_lock(&global_ev); + int result = uv_tcp_getsockname(tcp_socket->m_uv_tcp, (struct sockaddr*)&addr_storage, &addr_len); + event_loop_unlock(&global_ev); + + if (result < 0) { + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + lean_object* lean_addr = lean_sockaddr_to_socketaddress((struct sockaddr*)&addr_storage); + return lean_io_result_mk_ok(lean_addr); +} + +/* Std.Internal.UV.TCP.Socket.noDelay (socket : @& Socket) : IO Unit */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_nodelay(b_obj_arg socket, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + event_loop_lock(&global_ev); + int result = uv_tcp_nodelay(tcp_socket->m_uv_tcp, 1); + event_loop_unlock(&global_ev); + + if (result < 0) { + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + return lean_io_result_mk_ok(lean_box(0)); +} + +/* Std.Internal.UV.TCP.Socket.keepAlive (socket : @& Socket) (enable : Int8) (delay : UInt32) : IO Unit */ +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_keepalive(b_obj_arg socket, int32_t enable, uint32_t delay, obj_arg /* w */) { + lean_uv_tcp_socket_object* tcp_socket = lean_to_uv_tcp_socket(socket); + + event_loop_lock(&global_ev); + int result = uv_tcp_keepalive(tcp_socket->m_uv_tcp, enable, delay); + event_loop_unlock(&global_ev); + + if (result < 0) { + return lean_io_result_mk_error(lean_decode_uv_error(result, nullptr)); + } + + return lean_io_result_mk_ok(lean_box(0)); +} +#else + +// ======================================= +// TCP Socket Operations + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_new(obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_connect(b_obj_arg socket, b_obj_arg addr, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_send(b_obj_arg socket, obj_arg data, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_recv(b_obj_arg socket, uint64_t buffer_size, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_bind(b_obj_arg socket, b_obj_arg addr, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_listen(b_obj_arg socket, int32_t backlog, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_accept(b_obj_arg socket, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_shutdown(b_obj_arg socket, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + + +// ======================================= +// TCP Socket Utility Functions + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_getpeername(b_obj_arg socket, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_getsockname(b_obj_arg socket, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_nodelay(b_obj_arg socket, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_keepalive(b_obj_arg socket, int32_t enable, uint32_t delay, obj_arg /* w */) { + lean_always_assert( + false && ("Please build a version of Lean4 with libuv to invoke this.") + ); +} + +#endif +} diff --git a/stage0/src/runtime/uv/tcp.h b/stage0/src/runtime/uv/tcp.h new file mode 100644 index 0000000000..1fe176d62d --- /dev/null +++ b/stage0/src/runtime/uv/tcp.h @@ -0,0 +1,58 @@ +/* +Copyright (c) 2025 Lean FRO, LLC. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Author: Sofia Rodrigues +*/ +#pragma once +#include +#include "runtime/uv/event_loop.h" +#include "runtime/uv/net_addr.h" +#include "runtime/object_ref.h" + +namespace lean { + +static lean_external_class* g_uv_tcp_socket_external_class = NULL; +void initialize_libuv_tcp_socket(); + +#ifndef LEAN_EMSCRIPTEN +#include + +// Structure for managing a single TCP socket object, including promise handling, +// connection state, and read/write buffers. +typedef struct { + uv_tcp_t* m_uv_tcp; // LibUV TCP handle. + lean_object* m_promise_accept; // The associated promise for asynchronous results for accepting new sockets. + lean_object* m_promise_read; // The associated promise for asynchronous results for reading from the socket. + lean_object* m_promise_shutdown; // The associated promise for asynchronous results to shutdown the socket. + lean_object* m_client; // Cached client that is going to be used in the next accept. + lean_object* m_byte_array; // Buffer for storing data received via `recv_start`. +} lean_uv_tcp_socket_object; + +// ======================================= +// Tcp socket object manipulation functions. +static inline lean_object* lean_uv_tcp_socket_new(lean_uv_tcp_socket_object* s) { return lean_alloc_external(g_uv_tcp_socket_external_class, s); } +static inline lean_uv_tcp_socket_object* lean_to_uv_tcp_socket(lean_object* o) { return (lean_uv_tcp_socket_object*)(lean_get_external_data(o)); } + +#endif + +// ======================================= +// TCP Socket Operations + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_new(obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_connect(b_obj_arg socket, b_obj_arg addr, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_send(b_obj_arg socket, obj_arg data, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_recv(b_obj_arg socket, uint64_t buffer_size, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_bind(b_obj_arg socket, b_obj_arg addr, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_listen(b_obj_arg socket, int32_t backlog, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_accept(b_obj_arg socket, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_shutdown(b_obj_arg socket, obj_arg /* w */); + +// ======================================= +// TCP Socket Utility Functions + +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_getpeername(b_obj_arg socket, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_getsockname(b_obj_arg socket, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_nodelay(b_obj_arg socket, obj_arg /* w */); +extern "C" LEAN_EXPORT lean_obj_res lean_uv_tcp_keepalive(b_obj_arg socket, int32_t enable, uint32_t delay, obj_arg /* w */); + +} diff --git a/stage0/stdlib/Init/Data/Nat/Bitwise/Lemmas.c b/stage0/stdlib/Init/Data/Nat/Bitwise/Lemmas.c index 1b7d377ae2..0761f1e397 100644 --- a/stage0/stdlib/Init/Data/Nat/Bitwise/Lemmas.c +++ b/stage0/stdlib/Init/Data/Nat/Bitwise/Lemmas.c @@ -14,15 +14,16 @@ extern "C" { #endif static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__5; -LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3111_; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__10; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__6; lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3116_; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__17; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__13; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__14; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__11; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__18; +LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3034_; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__12; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__3; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); @@ -32,7 +33,6 @@ static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____c static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__4; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__15; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__1; -LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3029_; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__2; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__19; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__7; @@ -40,9 +40,9 @@ static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____c static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__9; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__22; -LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3370_; static lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__8; lean_object* l_Array_emptyWithCapacity(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3375_; static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__1() { _start: { @@ -278,7 +278,7 @@ x_1 = l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__22; return x_1; } } -static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3029_() { +static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3034_() { _start: { lean_object* x_1; @@ -286,7 +286,7 @@ x_1 = l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__22; return x_1; } } -static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3111_() { +static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3116_() { _start: { lean_object* x_1; @@ -294,7 +294,7 @@ x_1 = l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__22; return x_1; } } -static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3370_() { +static lean_object* _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3375_() { _start: { lean_object* x_1; @@ -381,12 +381,12 @@ l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__22 = _init_l_ lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447____closed__22); l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447_(); lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_1447_); -l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3029_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3029_(); -lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3029_); -l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3111_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3111_(); -lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3111_); -l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3370_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3370_(); -lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3370_); +l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3034_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3034_(); +lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3034_); +l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3116_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3116_(); +lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3116_); +l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3375_ = _init_l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3375_(); +lean_mark_persistent(l___auto____x40_Init_Data_Nat_Bitwise_Lemmas___hyg_3375_); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lake/Build/Actions.c b/stage0/stdlib/Lake/Build/Actions.c index 9cf16eafd0..49e46848cf 100644 --- a/stage0/stdlib/Lake/Build/Actions.c +++ b/stage0/stdlib/Lake/Build/Actions.c @@ -17,11 +17,15 @@ static lean_object* l_Lake_tar___closed__1; static lean_object* l_Lake_compileLeanModule___lambda__4___closed__2; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_compileO(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_tar___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_compileLeanModule___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_Lake_compileSharedLib___closed__1; static lean_object* l_Lake_tar___lambda__1___closed__5; +lean_object* lean_io_prim_handle_put_str(lean_object*, lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__1; lean_object* lean_io_remove_file(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_download___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_compileLeanModule___lambda__5___closed__1; @@ -55,19 +59,21 @@ lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_compileLeanModule___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_compileExe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_compileExe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_createDirAll(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_String_foldlAux___at_Lake_mkArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv(lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_compileLeanModule___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lake_compileSharedLib___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_download___lambda__1___closed__4; static lean_object* l_Lake_tar___lambda__1___closed__3; static lean_object* l_Lake_compileLeanModule___closed__2; uint8_t l_instDecidableNot___rarg(uint8_t); lean_object* l_String_split___at_Lean_stringToMessageData___spec__1(lean_object*); lean_object* l_Lake_createParentDirs(lean_object*, lean_object*); +lean_object* lean_string_utf8_next(lean_object*, lean_object*); static lean_object* l_Lake_tar___closed__4; +LEAN_EXPORT lean_object* l_Lake_compileStaticLib___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_untar___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lake_tar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -75,19 +81,25 @@ LEAN_EXPORT lean_object* l_Lake_download___boxed(lean_object*, lean_object*, lea lean_object* l_Lake_mkCmdLog(lean_object*); static lean_object* l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__6; LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_mkArgs(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_tar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_logSerialMessage___at_Lake_compileLeanModule___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lake_LogLevel_ofMessageSeverity(uint8_t); +lean_object* l_System_FilePath_addExtension(lean_object*, lean_object*); lean_object* l_IO_Process_output(lean_object*, lean_object*); +static lean_object* l_Lake_compileStaticLib___closed__5; static lean_object* l_Lake_tar___closed__2; LEAN_EXPORT lean_object* l_Lake_untar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_untar___lambda__1___closed__2; +static lean_object* l_Lake_compileStaticLib___closed__3; LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_compileLeanModule___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_io_prim_handle_mk(lean_object*, uint8_t, lean_object*); static lean_object* l_Lake_untar___closed__2; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_compileLeanModule___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_untar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_download___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -110,6 +122,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_System_SearchPath_toString(lean_object*); static lean_object* l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_String_foldlAux___at_Lake_mkArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); @@ -117,7 +130,6 @@ static lean_object* l_Lake_compileLeanModule___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lake_tar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_compileLeanModule___lambda__3___closed__1; LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_compileLeanModule___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_compileExe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_compileLeanModule___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_tar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_download___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -127,14 +139,18 @@ lean_object* l_Lake_proc(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lake_logSerialMessage___at_Lake_compileLeanModule___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_compileLeanModule___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_compileStaticLib___closed__4; size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lake_mkArgs___closed__2; static lean_object* l_Lake_compileLeanModule___closed__1; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_tar___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_compileStaticLib(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_compileStaticLib(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__2; +static lean_object* l_Lake_mkArgs___closed__1; static lean_object* l_Lake_tar___closed__3; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lake_compileLeanModule___spec__2___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); @@ -143,9 +159,11 @@ lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lake_compileLeanModule___lambda__4___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lake_compileStaticLib___closed__2; LEAN_EXPORT lean_object* l_List_foldlM___at_Lake_compileLeanModule___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_compileLeanModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint8_t l_System_Platform_isWindows; LEAN_EXPORT lean_object* l_Lake_compileLeanModule___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_compileLeanModule___lambda__2___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -2881,6 +2899,558 @@ lean_dec(x_3); return x_7; } } +LEAN_EXPORT lean_object* l_String_foldlAux___at_Lake_mkArgs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_6; uint32_t x_7; uint32_t x_8; uint8_t x_9; +x_6 = lean_string_utf8_next(x_1, x_3); +x_7 = lean_string_utf8_get(x_1, x_3); +lean_dec(x_3); +x_8 = 92; +x_9 = lean_uint32_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +uint32_t x_10; uint8_t x_11; +x_10 = 34; +x_11 = lean_uint32_dec_eq(x_7, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_string_push(x_4, x_7); +x_3 = x_6; +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_string_push(x_4, x_8); +x_15 = lean_string_push(x_14, x_7); +x_3 = x_6; +x_4 = x_15; +goto _start; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_string_push(x_4, x_8); +x_18 = lean_string_push(x_17, x_7); +x_3 = x_6; +x_4 = x_18; +goto _start; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\"", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\"\n", 2, 2); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_eq(x_3, x_4); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +x_9 = lean_array_uget(x_2, x_3); +x_10 = lean_string_utf8_byte_size(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lake_logSerialMessage___at_Lake_compileLeanModule___spec__3___closed__1; +x_13 = l_String_foldlAux___at_Lake_mkArgs___spec__1(x_9, x_10, x_11, x_12); +lean_dec(x_10); +lean_dec(x_9); +x_14 = l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__1; +x_15 = lean_string_append(x_14, x_13); +lean_dec(x_13); +x_16 = l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__2; +x_17 = lean_string_append(x_15, x_16); +x_18 = lean_io_prim_handle_put_str(x_1, x_17, x_7); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = 1; +x_22 = lean_usize_add(x_3, x_21); +x_3 = x_22; +x_5 = x_19; +x_7 = x_20; +goto _start; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = lean_ctor_get(x_18, 0); +x_26 = lean_io_error_to_string(x_25); +x_27 = 3; +x_28 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); +x_29 = lean_array_get_size(x_6); +x_30 = lean_array_push(x_6, x_28); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set_tag(x_18, 0); +lean_ctor_set(x_18, 0, x_31); +return x_18; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_32 = lean_ctor_get(x_18, 0); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_18); +x_34 = lean_io_error_to_string(x_32); +x_35 = 3; +x_36 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_35); +x_37 = lean_array_get_size(x_6); +x_38 = lean_array_push(x_6, x_36); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_33); +return x_40; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_5); +lean_ctor_set(x_41, 1, x_6); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_7); +return x_42; +} +} +} +static lean_object* _init_l_Lake_mkArgs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("rsp", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lake_mkArgs___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("@", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lake_mkArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = l_System_Platform_isWindows; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_39; lean_object* x_40; uint8_t x_79; lean_object* x_80; +x_8 = l_Lake_mkArgs___closed__1; +x_9 = l_System_FilePath_addExtension(x_1, x_8); +x_79 = 1; +x_80 = lean_io_prim_handle_mk(x_9, x_79, x_4); +if (lean_obj_tag(x_80) == 0) +{ +uint8_t x_81; +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_80, 1); +lean_ctor_set(x_80, 1, x_3); +x_39 = x_80; +x_40 = x_82; +goto block_78; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_80, 0); +x_84 = lean_ctor_get(x_80, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_80); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_3); +x_39 = x_85; +x_40 = x_84; +goto block_78; +} +} +else +{ +uint8_t x_86; +x_86 = !lean_is_exclusive(x_80); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_87 = lean_ctor_get(x_80, 0); +x_88 = lean_ctor_get(x_80, 1); +x_89 = lean_io_error_to_string(x_87); +x_90 = 3; +x_91 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set_uint8(x_91, sizeof(void*)*1, x_90); +x_92 = lean_array_get_size(x_3); +x_93 = lean_array_push(x_3, x_91); +lean_ctor_set(x_80, 1, x_93); +lean_ctor_set(x_80, 0, x_92); +x_39 = x_80; +x_40 = x_88; +goto block_78; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_94 = lean_ctor_get(x_80, 0); +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_80); +x_96 = lean_io_error_to_string(x_94); +x_97 = 3; +x_98 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set_uint8(x_98, sizeof(void*)*1, x_97); +x_99 = lean_array_get_size(x_3); +x_100 = lean_array_push(x_3, x_98); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_39 = x_101; +x_40 = x_95; +goto block_78; +} +} +block_38: +{ +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = l_Lake_mkArgs___closed__2; +x_15 = lean_string_append(x_14, x_9); +lean_dec(x_9); +x_16 = l_Lake_logSerialMessage___at_Lake_compileLeanModule___spec__3___closed__1; +x_17 = lean_string_append(x_15, x_16); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_array_mk(x_19); +lean_ctor_set(x_10, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_10); +lean_ctor_set(x_21, 1, x_11); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_Lake_mkArgs___closed__2; +x_24 = lean_string_append(x_23, x_9); +lean_dec(x_9); +x_25 = l_Lake_logSerialMessage___at_Lake_compileLeanModule___spec__3___closed__1; +x_26 = lean_string_append(x_24, x_25); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_array_mk(x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_22); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_11); +return x_31; +} +} +else +{ +uint8_t x_32; +lean_dec(x_9); +x_32 = !lean_is_exclusive(x_10); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_10); +lean_ctor_set(x_33, 1, x_11); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_10, 0); +x_35 = lean_ctor_get(x_10, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_10); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_11); +return x_37; +} +} +} +block_78: +{ +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_39); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_39, 0); +x_43 = lean_ctor_get(x_39, 1); +x_44 = lean_array_get_size(x_2); +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_nat_dec_lt(x_45, x_44); +if (x_46 == 0) +{ +lean_object* x_47; +lean_dec(x_44); +lean_dec(x_42); +lean_dec(x_2); +x_47 = lean_box(0); +lean_ctor_set(x_39, 0, x_47); +x_10 = x_39; +x_11 = x_40; +goto block_38; +} +else +{ +uint8_t x_48; +x_48 = lean_nat_dec_le(x_44, x_44); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_44); +lean_dec(x_42); +lean_dec(x_2); +x_49 = lean_box(0); +lean_ctor_set(x_39, 0, x_49); +x_10 = x_39; +x_11 = x_40; +goto block_38; +} +else +{ +size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_free_object(x_39); +x_50 = 0; +x_51 = lean_usize_of_nat(x_44); +lean_dec(x_44); +x_52 = lean_box(0); +x_53 = l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2(x_42, x_2, x_50, x_51, x_52, x_43, x_40); +lean_dec(x_2); +lean_dec(x_42); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_10 = x_54; +x_11 = x_55; +goto block_38; +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_39, 0); +x_57 = lean_ctor_get(x_39, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_39); +x_58 = lean_array_get_size(x_2); +x_59 = lean_unsigned_to_nat(0u); +x_60 = lean_nat_dec_lt(x_59, x_58); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_58); +lean_dec(x_56); +lean_dec(x_2); +x_61 = lean_box(0); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_57); +x_10 = x_62; +x_11 = x_40; +goto block_38; +} +else +{ +uint8_t x_63; +x_63 = lean_nat_dec_le(x_58, x_58); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_58); +lean_dec(x_56); +lean_dec(x_2); +x_64 = lean_box(0); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_57); +x_10 = x_65; +x_11 = x_40; +goto block_38; +} +else +{ +size_t x_66; size_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = 0; +x_67 = lean_usize_of_nat(x_58); +lean_dec(x_58); +x_68 = lean_box(0); +x_69 = l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2(x_56, x_2, x_66, x_67, x_68, x_57, x_40); +lean_dec(x_2); +lean_dec(x_56); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_10 = x_70; +x_11 = x_71; +goto block_38; +} +} +} +} +else +{ +uint8_t x_72; +lean_dec(x_9); +lean_dec(x_2); +x_72 = !lean_is_exclusive(x_39); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_39); +lean_ctor_set(x_73, 1, x_40); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_39, 0); +x_75 = lean_ctor_get(x_39, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_39); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_40); +return x_77; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_String_foldlAux___at_Lake_mkArgs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_String_foldlAux___at_Lake_mkArgs___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { @@ -2913,92 +3483,365 @@ x_1 = lean_mk_string_unchecked("rcs", 3, 3); return x_1; } } -LEAN_EXPORT lean_object* l_Lake_compileStaticLib(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +static lean_object* _init_l_Lake_compileStaticLib___closed__2() { _start: { -lean_object* x_6; -x_6 = l_Lake_createParentDirs(x_1, x_5); -if (lean_obj_tag(x_6) == 0) +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lake_compileStaticLib___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lake_compileStaticLib___closed__3() { +_start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_8); -x_10 = l_Lake_compileStaticLib___closed__1; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -x_12 = lean_array_mk(x_11); -x_13 = lean_array_size(x_2); -x_14 = 0; -x_15 = l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(x_13, x_14, x_2); -x_16 = l_Array_append___rarg(x_12, x_15); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = l_Lake_compileLeanModule___lambda__4___closed__2; -x_19 = l_Lake_compileO___closed__1; -x_20 = 0; -x_21 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_3); -lean_ctor_set(x_21, 2, x_16); -lean_ctor_set(x_21, 3, x_17); -lean_ctor_set(x_21, 4, x_19); -lean_ctor_set_uint8(x_21, sizeof(void*)*5, x_20); -x_22 = l_Lake_proc(x_21, x_20, x_4, x_7); -return x_22; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lake_compileStaticLib___closed__2; +x_2 = lean_array_mk(x_1); +return x_2; +} +} +static lean_object* _init_l_Lake_compileStaticLib___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("--thin", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lake_compileStaticLib___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_compileStaticLib___closed__3; +x_2 = l_Lake_compileStaticLib___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_compileStaticLib(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_72; +x_72 = l_Lake_createParentDirs(x_1, x_6); +if (lean_obj_tag(x_72) == 0) +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_72, 1); +lean_ctor_set(x_72, 1, x_5); +x_7 = x_72; +x_8 = x_74; +goto block_71; } else { -uint8_t x_23; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_72, 0); +x_76 = lean_ctor_get(x_72, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_72); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_5); +x_7 = x_77; +x_8 = x_76; +goto block_71; +} +} +else +{ +uint8_t x_78; +x_78 = !lean_is_exclusive(x_72); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_79 = lean_ctor_get(x_72, 0); +x_80 = lean_ctor_get(x_72, 1); +x_81 = lean_io_error_to_string(x_79); +x_82 = 3; +x_83 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set_uint8(x_83, sizeof(void*)*1, x_82); +x_84 = lean_array_get_size(x_5); +x_85 = lean_array_push(x_5, x_83); +lean_ctor_set(x_72, 1, x_85); +lean_ctor_set(x_72, 0, x_84); +x_7 = x_72; +x_8 = x_80; +goto block_71; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_72, 0); +x_87 = lean_ctor_get(x_72, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_72); +x_88 = lean_io_error_to_string(x_86); +x_89 = 3; +x_90 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set_uint8(x_90, sizeof(void*)*1, x_89); +x_91 = lean_array_get_size(x_5); +x_92 = lean_array_push(x_5, x_90); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_7 = x_93; +x_8 = x_87; +goto block_71; +} +} +block_71: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_array_size(x_2); +x_11 = 0; +x_12 = l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(x_10, x_11, x_2); +if (x_4 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_13 = l_Lake_mkArgs(x_1, x_12, x_9, x_8); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l_Lake_compileStaticLib___closed__3; +x_19 = lean_array_push(x_18, x_1); +x_20 = l_Array_append___rarg(x_19, x_16); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = l_Lake_compileLeanModule___lambda__4___closed__2; +x_23 = l_Lake_compileO___closed__1; +x_24 = 0; +x_25 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_3); +lean_ctor_set(x_25, 2, x_20); +lean_ctor_set(x_25, 3, x_21); +lean_ctor_set(x_25, 4, x_23); +lean_ctor_set_uint8(x_25, sizeof(void*)*5, x_24); +x_26 = l_Lake_proc(x_25, x_24, x_17, x_15); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_3); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_13); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_13, 0); +lean_dec(x_28); +x_29 = !lean_is_exclusive(x_14); +if (x_29 == 0) +{ +return x_13; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_14, 0); +x_31 = lean_ctor_get(x_14, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_14); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_13, 0, x_32); +return x_13; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_13, 1); +lean_inc(x_33); +lean_dec(x_13); +x_34 = lean_ctor_get(x_14, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_36 = x_14; +} else { + lean_dec_ref(x_14); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(1, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_33); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; +lean_inc(x_1); +x_39 = l_Lake_mkArgs(x_1, x_12, x_9, x_8); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_44 = l_Lake_compileStaticLib___closed__5; +x_45 = lean_array_push(x_44, x_1); +x_46 = l_Array_append___rarg(x_45, x_42); +lean_dec(x_42); +x_47 = lean_box(0); +x_48 = l_Lake_compileLeanModule___lambda__4___closed__2; +x_49 = l_Lake_compileO___closed__1; +x_50 = 0; +x_51 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_3); +lean_ctor_set(x_51, 2, x_46); +lean_ctor_set(x_51, 3, x_47); +lean_ctor_set(x_51, 4, x_49); +lean_ctor_set_uint8(x_51, sizeof(void*)*5, x_50); +x_52 = l_Lake_proc(x_51, x_50, x_43, x_41); +return x_52; +} +else +{ +uint8_t x_53; +lean_dec(x_3); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_39); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_39, 0); +lean_dec(x_54); +x_55 = !lean_is_exclusive(x_40); +if (x_55 == 0) +{ +return x_39; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_40, 0); +x_57 = lean_ctor_get(x_40, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_40); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_39, 0, x_58); +return x_39; +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_59 = lean_ctor_get(x_39, 1); +lean_inc(x_59); +lean_dec(x_39); +x_60 = lean_ctor_get(x_40, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_40, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_62 = x_40; +} else { + lean_dec_ref(x_40); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +return x_64; +} +} +} +} +else +{ +uint8_t x_65; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = !lean_is_exclusive(x_6); -if (x_23 == 0) +x_65 = !lean_is_exclusive(x_7); +if (x_65 == 0) { -lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_24 = lean_ctor_get(x_6, 0); -x_25 = lean_io_error_to_string(x_24); -x_26 = 3; -x_27 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26); -x_28 = lean_array_get_size(x_4); -x_29 = lean_array_push(x_4, x_27); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set_tag(x_6, 0); -lean_ctor_set(x_6, 0, x_30); -return x_6; +lean_object* x_66; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_7); +lean_ctor_set(x_66, 1, x_8); +return x_66; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_31 = lean_ctor_get(x_6, 0); -x_32 = lean_ctor_get(x_6, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_6); -x_33 = lean_io_error_to_string(x_31); -x_34 = 3; -x_35 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_34); -x_36 = lean_array_get_size(x_4); -x_37 = lean_array_push(x_4, x_35); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_32); -return x_39; +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_7, 0); +x_68 = lean_ctor_get(x_7, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_7); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_8); +return x_70; +} } } } @@ -3015,6 +3858,16 @@ x_6 = l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(x_4, x_5, x_3) return x_6; } } +LEAN_EXPORT lean_object* l_Lake_compileStaticLib___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_4); +lean_dec(x_4); +x_8 = l_Lake_compileStaticLib(x_1, x_2, x_3, x_7, x_5, x_6); +return x_8; +} +} static lean_object* _init_l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__1() { _start: { @@ -3188,279 +4041,422 @@ return x_1; LEAN_EXPORT lean_object* l_Lake_compileSharedLib(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; -x_6 = l_Lake_createParentDirs(x_1, x_5); +lean_object* x_6; lean_object* x_7; lean_object* x_53; +x_53 = l_Lake_createParentDirs(x_1, x_5); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_53, 1); +lean_ctor_set(x_53, 1, x_4); +x_6 = x_53; +x_7 = x_55; +goto block_52; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_53, 0); +x_57 = lean_ctor_get(x_53, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_53); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_4); +x_6 = x_58; +x_7 = x_57; +goto block_52; +} +} +else +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_53); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_60 = lean_ctor_get(x_53, 0); +x_61 = lean_ctor_get(x_53, 1); +x_62 = lean_io_error_to_string(x_60); +x_63 = 3; +x_64 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_63); +x_65 = lean_array_get_size(x_4); +x_66 = lean_array_push(x_4, x_64); +lean_ctor_set(x_53, 1, x_66); +lean_ctor_set(x_53, 0, x_65); +x_6 = x_53; +x_7 = x_61; +goto block_52; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_67 = lean_ctor_get(x_53, 0); +x_68 = lean_ctor_get(x_53, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_53); +x_69 = lean_io_error_to_string(x_67); +x_70 = 3; +x_71 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set_uint8(x_71, sizeof(void*)*1, x_70); +x_72 = lean_array_get_size(x_4); +x_73 = lean_array_push(x_4, x_71); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_6 = x_74; +x_7 = x_68; +goto block_52; +} +} +block_52: +{ if (lean_obj_tag(x_6) == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); lean_dec(x_6); -x_8 = l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv(x_7); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_1); +x_9 = l_Lake_mkArgs(x_1, x_2, x_8, x_7); +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lake_compileLeanModule___closed__2; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lake_compileSharedLib___closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_array_mk(x_16); -x_18 = l_Array_append___rarg(x_17, x_2); -x_19 = lean_box(0); -x_20 = l_Lake_compileLeanModule___lambda__4___closed__2; -x_21 = 0; -x_22 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_3); -lean_ctor_set(x_22, 2, x_18); -lean_ctor_set(x_22, 3, x_19); -lean_ctor_set(x_22, 4, x_9); -lean_ctor_set_uint8(x_22, sizeof(void*)*5, x_21); -x_23 = l_Lake_proc(x_22, x_21, x_4, x_10); -return x_23; -} -else -{ -uint8_t x_24; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_8); -if (x_24 == 0) -{ -return x_8; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_8, 0); -x_26 = lean_ctor_get(x_8, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_8); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -else -{ -uint8_t x_28; -lean_dec(x_3); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_6); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = lean_ctor_get(x_6, 0); -x_30 = lean_io_error_to_string(x_29); -x_31 = 3; -x_32 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_31); -x_33 = lean_array_get_size(x_4); -x_34 = lean_array_push(x_4, x_32); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set_tag(x_6, 0); -lean_ctor_set(x_6, 0, x_35); -return x_6; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_36 = lean_ctor_get(x_6, 0); -x_37 = lean_ctor_get(x_6, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_6); -x_38 = lean_io_error_to_string(x_36); -x_39 = 3; -x_40 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set_uint8(x_40, sizeof(void*)*1, x_39); -x_41 = lean_array_get_size(x_4); -x_42 = lean_array_push(x_4, x_40); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_37); -return x_44; -} -} -} -} -LEAN_EXPORT lean_object* l_Lake_compileSharedLib___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lake_compileSharedLib(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lake_compileExe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_39; -x_39 = l_Lake_createParentDirs(x_1, x_6); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_39, 1); -lean_ctor_set(x_39, 1, x_5); -x_7 = x_39; -x_8 = x_41; -goto block_38; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_39, 0); -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_39); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_5); -x_7 = x_44; -x_8 = x_43; -goto block_38; -} -} -else -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_39); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_46 = lean_ctor_get(x_39, 0); -x_47 = lean_ctor_get(x_39, 1); -x_48 = lean_io_error_to_string(x_46); -x_49 = 3; -x_50 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_49); -x_51 = lean_array_get_size(x_5); -x_52 = lean_array_push(x_5, x_50); -lean_ctor_set(x_39, 1, x_52); -lean_ctor_set(x_39, 0, x_51); -x_7 = x_39; -x_8 = x_47; -goto block_38; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_39); -x_55 = lean_io_error_to_string(x_53); -x_56 = 3; -x_57 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56); -x_58 = lean_array_get_size(x_5); -x_59 = lean_array_push(x_5, x_57); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_7 = x_60; -x_8 = x_54; -goto block_38; -} -} -block_38: -{ -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv(x_8); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); lean_inc(x_12); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); lean_dec(x_10); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_1); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lake_compileLeanModule___closed__2; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_array_mk(x_16); -x_18 = lean_array_size(x_2); -x_19 = 0; -x_20 = l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(x_18, x_19, x_2); -x_21 = l_Array_append___rarg(x_17, x_20); -lean_dec(x_20); -x_22 = l_Array_append___rarg(x_21, x_3); +x_14 = l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv(x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lake_compileLeanModule___closed__2; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l_Lake_compileSharedLib___closed__1; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_array_mk(x_22); +x_24 = l_Array_append___rarg(x_23, x_12); +lean_dec(x_12); +x_25 = lean_box(0); +x_26 = l_Lake_compileLeanModule___lambda__4___closed__2; +x_27 = 0; +x_28 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_24); +lean_ctor_set(x_28, 3, x_25); +lean_ctor_set(x_28, 4, x_15); +lean_ctor_set_uint8(x_28, sizeof(void*)*5, x_27); +x_29 = l_Lake_proc(x_28, x_27, x_13, x_16); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_3); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) +{ +return x_14; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_14, 0); +x_32 = lean_ctor_get(x_14, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_14); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_3); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_9); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_9, 0); +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_10); +if (x_36 == 0) +{ +return x_9; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_10, 0); +x_38 = lean_ctor_get(x_10, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_10); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_9, 0, x_39); +return x_9; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_9, 1); +lean_inc(x_40); +lean_dec(x_9); +x_41 = lean_ctor_get(x_10, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_10, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_43 = x_10; +} else { + lean_dec_ref(x_10); + x_43 = lean_box(0); +} +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(1, 2, 0); +} else { + x_44 = x_43; +} +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_40); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_6); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_6); +lean_ctor_set(x_47, 1, x_7); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_6, 0); +x_49 = lean_ctor_get(x_6, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_6); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_7); +return x_51; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lake_compileExe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_51; +x_51 = l_Lake_createParentDirs(x_1, x_5); +if (lean_obj_tag(x_51) == 0) +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 1); +lean_ctor_set(x_51, 1, x_4); +x_6 = x_51; +x_7 = x_53; +goto block_50; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_51, 0); +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_51); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_4); +x_6 = x_56; +x_7 = x_55; +goto block_50; +} +} +else +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_51); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_58 = lean_ctor_get(x_51, 0); +x_59 = lean_ctor_get(x_51, 1); +x_60 = lean_io_error_to_string(x_58); +x_61 = 3; +x_62 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set_uint8(x_62, sizeof(void*)*1, x_61); +x_63 = lean_array_get_size(x_4); +x_64 = lean_array_push(x_4, x_62); +lean_ctor_set(x_51, 1, x_64); +lean_ctor_set(x_51, 0, x_63); +x_6 = x_51; +x_7 = x_59; +goto block_50; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_65 = lean_ctor_get(x_51, 0); +x_66 = lean_ctor_get(x_51, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_51); +x_67 = lean_io_error_to_string(x_65); +x_68 = 3; +x_69 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set_uint8(x_69, sizeof(void*)*1, x_68); +x_70 = lean_array_get_size(x_4); +x_71 = lean_array_push(x_4, x_69); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_6 = x_72; +x_7 = x_66; +goto block_50; +} +} +block_50: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +lean_inc(x_1); +x_9 = l_Lake_mkArgs(x_1, x_2, x_8, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv(x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lake_compileLeanModule___closed__2; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_array_mk(x_20); +x_22 = l_Array_append___rarg(x_21, x_12); +lean_dec(x_12); x_23 = lean_box(0); x_24 = l_Lake_compileLeanModule___lambda__4___closed__2; x_25 = 0; x_26 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_4); +lean_ctor_set(x_26, 1, x_3); lean_ctor_set(x_26, 2, x_22); lean_ctor_set(x_26, 3, x_23); -lean_ctor_set(x_26, 4, x_11); +lean_ctor_set(x_26, 4, x_15); lean_ctor_set_uint8(x_26, sizeof(void*)*5, x_25); -x_27 = l_Lake_proc(x_26, x_25, x_9, x_12); +x_27 = l_Lake_proc(x_26, x_25, x_13, x_16); return x_27; } else { uint8_t x_28; -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_3); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_10); +x_28 = !lean_is_exclusive(x_14); if (x_28 == 0) { -return x_10; +return x_14; } else { lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_10, 0); -x_30 = lean_ctor_get(x_10, 1); +x_29 = lean_ctor_get(x_14, 0); +x_30 = lean_ctor_get(x_14, 1); lean_inc(x_30); lean_inc(x_29); -lean_dec(x_10); +lean_dec(x_14); x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -3471,45 +4467,99 @@ return x_31; else { uint8_t x_32; -lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_3); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_7); +x_32 = !lean_is_exclusive(x_9); if (x_32 == 0) { -lean_object* x_33; -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_7); -lean_ctor_set(x_33, 1, x_8); -return x_33; +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_9, 0); +lean_dec(x_33); +x_34 = !lean_is_exclusive(x_10); +if (x_34 == 0) +{ +return x_9; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_7, 0); -x_35 = lean_ctor_get(x_7, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_10, 0); +x_36 = lean_ctor_get(x_10, 1); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_7); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_8); -return x_37; +lean_dec(x_10); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_9, 0, x_37); +return x_9; } } -} -} -} -LEAN_EXPORT lean_object* l_Lake_compileExe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { -lean_object* x_7; -x_7 = l_Lake_compileExe(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_38 = lean_ctor_get(x_9, 1); +lean_inc(x_38); +lean_dec(x_9); +x_39 = lean_ctor_get(x_10, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_10, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_41 = x_10; +} else { + lean_dec_ref(x_10); + x_41 = lean_box(0); +} +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_41; +} +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_40); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_38); +return x_43; +} +} +} +else +{ +uint8_t x_44; lean_dec(x_3); -return x_7; +lean_dec(x_2); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_6); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_6); +lean_ctor_set(x_45, 1, x_7); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_6, 0); +x_47 = lean_ctor_get(x_6, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_6); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_7); +return x_49; +} +} +} } } static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lake_download___spec__1___closed__1() { @@ -4853,8 +5903,24 @@ l_Lake_compileLeanModule___closed__2 = _init_l_Lake_compileLeanModule___closed__ lean_mark_persistent(l_Lake_compileLeanModule___closed__2); l_Lake_compileO___closed__1 = _init_l_Lake_compileO___closed__1(); lean_mark_persistent(l_Lake_compileO___closed__1); +l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__1); +l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lake_mkArgs___spec__2___closed__2); +l_Lake_mkArgs___closed__1 = _init_l_Lake_mkArgs___closed__1(); +lean_mark_persistent(l_Lake_mkArgs___closed__1); +l_Lake_mkArgs___closed__2 = _init_l_Lake_mkArgs___closed__2(); +lean_mark_persistent(l_Lake_mkArgs___closed__2); l_Lake_compileStaticLib___closed__1 = _init_l_Lake_compileStaticLib___closed__1(); lean_mark_persistent(l_Lake_compileStaticLib___closed__1); +l_Lake_compileStaticLib___closed__2 = _init_l_Lake_compileStaticLib___closed__2(); +lean_mark_persistent(l_Lake_compileStaticLib___closed__2); +l_Lake_compileStaticLib___closed__3 = _init_l_Lake_compileStaticLib___closed__3(); +lean_mark_persistent(l_Lake_compileStaticLib___closed__3); +l_Lake_compileStaticLib___closed__4 = _init_l_Lake_compileStaticLib___closed__4(); +lean_mark_persistent(l_Lake_compileStaticLib___closed__4); +l_Lake_compileStaticLib___closed__5 = _init_l_Lake_compileStaticLib___closed__5(); +lean_mark_persistent(l_Lake_compileStaticLib___closed__5); l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__1 = _init_l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__1(); lean_mark_persistent(l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__1); l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__2 = _init_l___private_Lake_Build_Actions_0__Lake_getMacOSXDeploymentEnv___closed__2(); diff --git a/stage0/stdlib/Lake/Build/Common.c b/stage0/stdlib/Lake/Build/Common.c index f3b8d87048..e75efb0815 100644 --- a/stage0/stdlib/Lake/Build/Common.c +++ b/stage0/stdlib/Lake/Build/Common.c @@ -62,7 +62,7 @@ LEAN_EXPORT lean_object* l_Lake_buildLeanO___lambda__5___boxed(lean_object*, lea uint8_t l_Ord_instDecidableRelLt___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_addPureTrace(lean_object*); LEAN_EXPORT lean_object* l_Lake_buildUnlessUpToDate_x3f_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_inputBinFile___closed__1; static uint64_t l_Lake_platformTrace___closed__1; lean_object* l_Lake_MTime_checkUpToDate___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,21 +80,21 @@ static lean_object* l_Lake_BuildMetadata_fromJson_x3f___closed__6; LEAN_EXPORT lean_object* l_Lake_fetchFileTrace(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdin___at_Lake_inputBinFile___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___at_Lake_buildFileUnlessUpToDate_x27___spec__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_buildUnlessUpToDate_x3f___rarg___closed__6; lean_object* l_Lake_Hash_ofString_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lake_buildLeanSharedLibOfStatic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_buildFileUnlessUpToDate_x27(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lake_instBEqHash; lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_buildStaticLib(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_buildStaticLib(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_buildUnlessUpToDate_x3f___at_Lake_buildFileUnlessUpToDate_x27___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_buildUnlessUpToDate_x3f___at_Lake_buildFileUnlessUpToDate_x27___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_readTraceFile_x3f(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lake_BuildTrace_mix(lean_object*, lean_object*); uint8_t lean_string_validate_utf8(lean_object*); -lean_object* l_Lake_compileExe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lake_compileExe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_inputFile___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_buildFileUnlessUpToDate_x27___closed__1; static lean_object* l_Lake_buildUnlessUpToDate_x3f___rarg___closed__3; @@ -149,7 +149,7 @@ LEAN_EXPORT lean_object* l_Lake_EquipT_bind___at_Lake_buildFileUnlessUpToDate_x2 LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_buildFileUnlessUpToDate_x27___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_buildLeanO___lambda__6___closed__1; -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_String_fromUTF8_x21___spec__1(lean_object*); static lean_object* l_Lake_buildUnlessUpToDate_x3f___rarg___closed__1; static lean_object* l_Lake_buildUnlessUpToDate_x3f___rarg___closed__5; @@ -166,7 +166,7 @@ static lean_object* l_Lake_addPlatformTrace___rarg___closed__2; LEAN_EXPORT lean_object* l_Lake_addPlatformTrace___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_inputBinFile___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_computeDynlibOfShared___lambda__1___closed__5; lean_object* l_Lake_EquipT_instMonad___rarg(lean_object*); extern lean_object* l_instMonadBaseIO; @@ -273,7 +273,7 @@ LEAN_EXPORT lean_object* l_Lake_buildLeanSharedLib___lambda__1(lean_object*, lea lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lake_compileStaticLib(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lake_compileStaticLib(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Common_0__Lake_toJsonBuildMetadata____x40_Lake_Build_Common___hyg_96____closed__3; lean_object* lean_io_error_to_string(lean_object*); static lean_object* l_Lake_buildUnlessUpToDate_x3f___rarg___closed__4; @@ -311,8 +311,9 @@ LEAN_EXPORT lean_object* l_Lake_buildFileUnlessUpToDate(lean_object*, lean_objec static lean_object* l___private_Lake_Build_Common_0__Lake_toJsonBuildMetadata____x40_Lake_Build_Common___hyg_96____closed__2; LEAN_EXPORT lean_object* l_Lake_checkHashUpToDate___at_Lake_buildFileUnlessUpToDate_x27___spec__4___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_clearFileHash(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_computeDynlibOfShared___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_BuildTrace_compute___at_Lake_inputBinFile___spec__1(lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); static lean_object* l_Lake_buildLeanO___lambda__6___closed__2; @@ -17600,252 +17601,252 @@ lean_inc(x_2); return x_2; } } -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_8); -if (x_10 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_8, 0); -x_12 = l_Lake_compileStaticLib(x_1, x_2, x_3, x_11, x_9); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_9, 0); +x_13 = l_Lake_compileStaticLib(x_1, x_2, x_4, x_3, x_12, x_10); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) { -lean_object* x_17; -x_17 = lean_ctor_get(x_13, 1); -lean_ctor_set(x_8, 0, x_17); -lean_ctor_set(x_13, 1, x_8); -return x_12; +lean_object* x_18; +x_18 = lean_ctor_get(x_14, 1); +lean_ctor_set(x_9, 0, x_18); +lean_ctor_set(x_14, 1, x_9); +return x_13; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_13, 0); -x_19 = lean_ctor_get(x_13, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_13); -lean_ctor_set(x_8, 0, x_19); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_8); -lean_ctor_set(x_12, 0, x_20); -return x_12; +lean_dec(x_14); +lean_ctor_set(x_9, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_9); +lean_ctor_set(x_13, 0, x_21); +return x_13; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_12, 1); -lean_inc(x_21); -lean_dec(x_12); -x_22 = lean_ctor_get(x_13, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = lean_ctor_get(x_13, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_24 = x_13; -} else { - lean_dec_ref(x_13); - x_24 = lean_box(0); -} -lean_ctor_set(x_8, 0, x_23); -if (lean_is_scalar(x_24)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_24; -} -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_8); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; -} -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_12); -if (x_27 == 0) -{ -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_12, 0); -lean_dec(x_28); -x_29 = !lean_is_exclusive(x_13); -if (x_29 == 0) -{ -lean_object* x_30; -x_30 = lean_ctor_get(x_13, 1); -lean_ctor_set(x_8, 0, x_30); -lean_ctor_set(x_13, 1, x_8); -return x_12; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_13, 0); -x_32 = lean_ctor_get(x_13, 1); -lean_inc(x_32); -lean_inc(x_31); lean_dec(x_13); -lean_ctor_set(x_8, 0, x_32); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_8); -lean_ctor_set(x_12, 0, x_33); -return x_12; +x_23 = lean_ctor_get(x_14, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_25 = x_14; +} else { + lean_dec_ref(x_14); + x_25 = lean_box(0); +} +lean_ctor_set(x_9, 0, x_24); +if (lean_is_scalar(x_25)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_25; +} +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_9); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_22); +return x_27; } } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_34 = lean_ctor_get(x_12, 1); -lean_inc(x_34); -lean_dec(x_12); -x_35 = lean_ctor_get(x_13, 0); +uint8_t x_28; +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_13, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_14, 1); +lean_ctor_set(x_9, 0, x_31); +lean_ctor_set(x_14, 1, x_9); +return x_13; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_14, 0); +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_14); +lean_ctor_set(x_9, 0, x_33); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_9); +lean_ctor_set(x_13, 0, x_34); +return x_13; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_13, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_13, 1); +lean_dec(x_13); +x_36 = lean_ctor_get(x_14, 0); lean_inc(x_36); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_37 = x_13; +x_37 = lean_ctor_get(x_14, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_38 = x_14; } else { - lean_dec_ref(x_13); - x_37 = lean_box(0); + lean_dec_ref(x_14); + x_38 = lean_box(0); } -lean_ctor_set(x_8, 0, x_36); -if (lean_is_scalar(x_37)) { - x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_37); +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 2, 0); } else { - x_38 = x_37; + x_39 = x_38; } -lean_ctor_set(x_38, 0, x_35); -lean_ctor_set(x_38, 1, x_8); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_34); -return x_39; +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_9); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_35); +return x_40; } } } else { -lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_8, 0); -x_41 = lean_ctor_get_uint8(x_8, sizeof(void*)*2); -x_42 = lean_ctor_get(x_8, 1); -lean_inc(x_42); -lean_inc(x_40); -lean_dec(x_8); -x_43 = l_Lake_compileStaticLib(x_1, x_2, x_3, x_40, x_9); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_45 = lean_ctor_get(x_43, 1); +lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_41 = lean_ctor_get(x_9, 0); +x_42 = lean_ctor_get_uint8(x_9, sizeof(void*)*2); +x_43 = lean_ctor_get(x_9, 1); +lean_inc(x_43); +lean_inc(x_41); +lean_dec(x_9); +x_44 = l_Lake_compileStaticLib(x_1, x_2, x_4, x_3, x_41, x_10); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_46 = x_43; -} else { - lean_dec_ref(x_43); - x_46 = lean_box(0); -} -x_47 = lean_ctor_get(x_44, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); if (lean_is_exclusive(x_44)) { lean_ctor_release(x_44, 0); lean_ctor_release(x_44, 1); - x_49 = x_44; + x_47 = x_44; } else { lean_dec_ref(x_44); - x_49 = lean_box(0); + x_47 = lean_box(0); } -x_50 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_42); -lean_ctor_set_uint8(x_50, sizeof(void*)*2, x_41); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 2, 0); +x_48 = lean_ctor_get(x_45, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_50 = x_45; } else { - x_51 = x_49; + lean_dec_ref(x_45); + x_50 = lean_box(0); } -lean_ctor_set(x_51, 0, x_47); -lean_ctor_set(x_51, 1, x_50); -if (lean_is_scalar(x_46)) { +x_51 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_43); +lean_ctor_set_uint8(x_51, sizeof(void*)*2, x_42); +if (lean_is_scalar(x_50)) { x_52 = lean_alloc_ctor(0, 2, 0); } else { - x_52 = x_46; + x_52 = x_50; } -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_45); -return x_52; +lean_ctor_set(x_52, 0, x_48); +lean_ctor_set(x_52, 1, x_51); +if (lean_is_scalar(x_47)) { + x_53 = lean_alloc_ctor(0, 2, 0); +} else { + x_53 = x_47; +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_46); +return x_53; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_53 = lean_ctor_get(x_43, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_54 = x_43; -} else { - lean_dec_ref(x_43); - x_54 = lean_box(0); -} -x_55 = lean_ctor_get(x_44, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_44, 1); -lean_inc(x_56); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_54 = lean_ctor_get(x_44, 1); +lean_inc(x_54); if (lean_is_exclusive(x_44)) { lean_ctor_release(x_44, 0); lean_ctor_release(x_44, 1); - x_57 = x_44; + x_55 = x_44; } else { lean_dec_ref(x_44); - x_57 = lean_box(0); + x_55 = lean_box(0); } -x_58 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_42); -lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_41); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(1, 2, 0); +x_56 = lean_ctor_get(x_45, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_45, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_58 = x_45; } else { - x_59 = x_57; + lean_dec_ref(x_45); + x_58 = lean_box(0); } -lean_ctor_set(x_59, 0, x_55); -lean_ctor_set(x_59, 1, x_58); -if (lean_is_scalar(x_54)) { - x_60 = lean_alloc_ctor(0, 2, 0); +x_59 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_43); +lean_ctor_set_uint8(x_59, sizeof(void*)*2, x_42); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(1, 2, 0); } else { - x_60 = x_54; + x_60 = x_58; } -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_53); -return x_60; +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_59); +if (lean_is_scalar(x_55)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_55; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_54); +return x_61; } } } @@ -17870,184 +17871,188 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_10 = lean_box(x_2); lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lake_buildStaticLib___lambda__2___boxed), 9, 2); -lean_closure_set(x_9, 0, x_1); -lean_closure_set(x_9, 1, x_2); -x_10 = l_Lake_buildStaticLib___lambda__3___closed__2; -x_11 = lean_alloc_closure((void*)(l_Lake_EquipT_bind___at_Lake_buildFileUnlessUpToDate_x27___spec__1___rarg), 8, 2); -lean_closure_set(x_11, 0, x_10); -lean_closure_set(x_11, 1, x_9); -x_12 = 0; +x_11 = lean_alloc_closure((void*)(l_Lake_buildStaticLib___lambda__2___boxed), 10, 3); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_3); +lean_closure_set(x_11, 2, x_10); +x_12 = l_Lake_buildStaticLib___lambda__3___closed__2; +x_13 = lean_alloc_closure((void*)(l_Lake_EquipT_bind___at_Lake_buildFileUnlessUpToDate_x27___spec__1___rarg), 8, 2); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_11); +x_14 = 0; lean_inc(x_1); -x_13 = l_Lake_buildFileUnlessUpToDate_x27(x_1, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_13) == 0) +x_15 = l_Lake_buildFileUnlessUpToDate_x27(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_13, 0); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_14); +uint8_t x_17; +x_17 = !lean_is_exclusive(x_15); if (x_17 == 0) { -lean_object* x_18; -x_18 = lean_ctor_get(x_14, 0); +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_15, 0); lean_dec(x_18); -lean_ctor_set(x_14, 0, x_1); -return x_13; +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_16, 0); +lean_dec(x_20); +lean_ctor_set(x_16, 0, x_1); +return x_15; } else { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_13, 0, x_20); -return x_13; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_13, 1); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); -lean_dec(x_13); -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_23 = x_14; -} else { - lean_dec_ref(x_14); - x_23 = lean_box(0); -} -if (lean_is_scalar(x_23)) { - x_24 = lean_alloc_ctor(0, 2, 0); -} else { - x_24 = x_23; -} -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_21); -return x_25; +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_15, 0, x_22); +return x_15; } } else { -uint8_t x_26; -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_13); -if (x_26 == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_25 = x_16; +} else { + lean_dec_ref(x_16); + x_25 = lean_box(0); +} +if (lean_is_scalar(x_25)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_25; +} +lean_ctor_set(x_26, 0, x_1); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +else { -lean_object* x_27; uint8_t x_28; -x_27 = lean_ctor_get(x_13, 0); -lean_dec(x_27); -x_28 = !lean_is_exclusive(x_14); +uint8_t x_28; +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_15); if (x_28 == 0) { -return x_13; +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_15, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_15; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_14); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_13, 0, x_31); -return x_13; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = lean_ctor_get(x_13, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); lean_inc(x_32); -lean_dec(x_13); -x_33 = lean_ctor_get(x_14, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_14, 1); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_15, 0, x_33); +return x_15; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_15, 1); lean_inc(x_34); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_35 = x_14; +lean_dec(x_15); +x_35 = lean_ctor_get(x_16, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_37 = x_16; } else { - lean_dec_ref(x_14); - x_35 = lean_box(0); + lean_dec_ref(x_16); + x_37 = lean_box(0); } -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_36 = x_35; + x_38 = x_37; } -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_32); -return x_37; +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_34); +return x_39; } } } else { -uint8_t x_38; +uint8_t x_40; lean_dec(x_1); -x_38 = !lean_is_exclusive(x_13); -if (x_38 == 0) +x_40 = !lean_is_exclusive(x_15); +if (x_40 == 0) { -return x_13; +return x_15; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_13, 0); -x_40 = lean_ctor_get(x_13, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_13); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_15, 0); +x_42 = lean_ctor_get(x_15, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_15); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } } -LEAN_EXPORT lean_object* l_Lake_buildStaticLib(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lake_buildStaticLib(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_9 = l_Lake_Job_collectArray___rarg(x_2); -x_10 = lean_alloc_closure((void*)(l_Lake_buildStaticLib___lambda__3), 8, 1); -lean_closure_set(x_10, 0, x_1); -x_11 = l_Task_Priority_default; -x_12 = 0; -x_13 = l_Lake_Job_mapM___rarg(x_9, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8); -return x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_10 = l_Lake_Job_collectArray___rarg(x_2); +x_11 = lean_box(x_3); +x_12 = lean_alloc_closure((void*)(l_Lake_buildStaticLib___lambda__3___boxed), 9, 2); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_11); +x_13 = l_Task_Priority_default; +x_14 = 0; +x_15 = l_Lake_Job_mapM___rarg(x_10, x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; } } LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__1___boxed(lean_object* x_1) { @@ -18059,25 +18064,39 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lake_buildStaticLib___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_3); +lean_dec(x_3); +x_12 = l_Lake_buildStaticLib___lambda__2(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_10; +return x_12; } } -LEAN_EXPORT lean_object* l_Lake_buildStaticLib___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lake_buildStaticLib(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); lean_dec(x_2); -return x_9; +x_11 = l_Lake_buildStaticLib___lambda__3(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lake_buildStaticLib___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lake_buildStaticLib(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_11; } } LEAN_EXPORT lean_object* l_Lake_buildLeanSharedLib___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -18103,7 +18122,6 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_10, 0); x_22 = lean_ctor_get(x_10, 1); x_23 = l_Lake_compileSharedLib(x_4, x_18, x_19, x_21, x_11); -lean_dec(x_18); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; @@ -18277,7 +18295,6 @@ lean_inc(x_57); lean_inc(x_55); lean_dec(x_10); x_58 = l_Lake_compileSharedLib(x_4, x_18, x_19, x_55, x_11); -lean_dec(x_18); if (lean_obj_tag(x_58) == 0) { lean_object* x_59; @@ -18684,321 +18701,323 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = l_Array_append___rarg(x_1, x_2); -x_14 = l_Lake_LeanInstall_ccLinkFlags(x_3, x_6); -x_15 = l_Array_append___rarg(x_13, x_14); -lean_dec(x_14); -x_16 = lean_ctor_get(x_6, 12); -lean_inc(x_16); +size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_13 = lean_array_size(x_1); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lake_compileStaticLib___spec__1(x_13, x_14, x_1); +x_16 = l_Array_append___rarg(x_15, x_2); +x_17 = l_Array_append___rarg(x_16, x_3); +x_18 = l_Lake_LeanInstall_ccLinkFlags(x_4, x_6); +x_19 = l_Array_append___rarg(x_17, x_18); +lean_dec(x_18); +x_20 = lean_ctor_get(x_6, 12); +lean_inc(x_20); lean_dec(x_6); -x_17 = !lean_is_exclusive(x_11); -if (x_17 == 0) +x_21 = !lean_is_exclusive(x_11); +if (x_21 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); -x_20 = l_Lake_compileExe(x_4, x_5, x_15, x_16, x_18, x_12); -lean_dec(x_15); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_20, 0); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_21); -if (x_24 == 0) +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_11, 0); +x_23 = lean_ctor_get(x_11, 1); +x_24 = l_Lake_compileExe(x_5, x_19, x_20, x_22, x_12); +if (lean_obj_tag(x_24) == 0) { lean_object* x_25; -x_25 = lean_ctor_get(x_21, 1); -lean_ctor_set(x_11, 0, x_25); -lean_ctor_set(x_21, 1, x_11); -return x_20; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_24, 0); +lean_dec(x_27); +x_28 = !lean_is_exclusive(x_25); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_25, 1); +lean_ctor_set(x_11, 0, x_29); +lean_ctor_set(x_25, 1, x_11); +return x_24; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_21, 0); -x_27 = lean_ctor_get(x_21, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_21); -lean_ctor_set(x_11, 0, x_27); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_11); -lean_ctor_set(x_20, 0, x_28); -return x_20; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_dec(x_20); -x_30 = lean_ctor_get(x_21, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_21, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_25, 0); +x_31 = lean_ctor_get(x_25, 1); lean_inc(x_31); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_32 = x_21; -} else { - lean_dec_ref(x_21); - x_32 = lean_box(0); -} +lean_inc(x_30); +lean_dec(x_25); lean_ctor_set(x_11, 0, x_31); -if (lean_is_scalar(x_32)) { - x_33 = lean_alloc_ctor(0, 2, 0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_11); +lean_ctor_set(x_24, 0, x_32); +return x_24; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_dec(x_24); +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_36 = x_25; } else { - x_33 = x_32; + lean_dec_ref(x_25); + x_36 = lean_box(0); } -lean_ctor_set(x_33, 0, x_30); -lean_ctor_set(x_33, 1, x_11); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_29); -return x_34; +lean_ctor_set(x_11, 0, x_35); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_11); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_33); +return x_38; } } else { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) +uint8_t x_39; +x_39 = !lean_is_exclusive(x_24); +if (x_39 == 0) { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_20, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_21); -if (x_37 == 0) +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_24, 0); +lean_dec(x_40); +x_41 = !lean_is_exclusive(x_25); +if (x_41 == 0) { -lean_object* x_38; -x_38 = lean_ctor_get(x_21, 1); -lean_ctor_set(x_11, 0, x_38); -lean_ctor_set(x_21, 1, x_11); -return x_20; +lean_object* x_42; +x_42 = lean_ctor_get(x_25, 1); +lean_ctor_set(x_11, 0, x_42); +lean_ctor_set(x_25, 1, x_11); +return x_24; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_21, 0); -x_40 = lean_ctor_get(x_21, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_21); -lean_ctor_set(x_11, 0, x_40); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_11); -lean_ctor_set(x_20, 0, x_41); -return x_20; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_42 = lean_ctor_get(x_20, 1); -lean_inc(x_42); -lean_dec(x_20); -x_43 = lean_ctor_get(x_21, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_21, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_25, 0); +x_44 = lean_ctor_get(x_25, 1); lean_inc(x_44); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_45 = x_21; -} else { - lean_dec_ref(x_21); - x_45 = lean_box(0); -} +lean_inc(x_43); +lean_dec(x_25); lean_ctor_set(x_11, 0, x_44); -if (lean_is_scalar(x_45)) { - x_46 = lean_alloc_ctor(1, 2, 0); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_11); +lean_ctor_set(x_24, 0, x_45); +return x_24; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_46 = lean_ctor_get(x_24, 1); +lean_inc(x_46); +lean_dec(x_24); +x_47 = lean_ctor_get(x_25, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_25, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_49 = x_25; } else { - x_46 = x_45; + lean_dec_ref(x_25); + x_49 = lean_box(0); } -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_11); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_42); -return x_47; +lean_ctor_set(x_11, 0, x_48); +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; } -} -} -else -{ -uint8_t x_48; -lean_free_object(x_11); -lean_dec(x_19); -x_48 = !lean_is_exclusive(x_20); -if (x_48 == 0) -{ -return x_20; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_20, 0); -x_50 = lean_ctor_get(x_20, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_20); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_11); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_46); return x_51; } } } else { -lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; -x_52 = lean_ctor_get(x_11, 0); -x_53 = lean_ctor_get_uint8(x_11, sizeof(void*)*2); -x_54 = lean_ctor_get(x_11, 1); +uint8_t x_52; +lean_free_object(x_11); +lean_dec(x_23); +x_52 = !lean_is_exclusive(x_24); +if (x_52 == 0) +{ +return x_24; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_24, 0); +x_54 = lean_ctor_get(x_24, 1); lean_inc(x_54); -lean_inc(x_52); -lean_dec(x_11); -x_55 = l_Lake_compileExe(x_4, x_5, x_15, x_16, x_52, x_12); -lean_dec(x_15); -if (lean_obj_tag(x_55) == 0) +lean_inc(x_53); +lean_dec(x_24); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else { -lean_object* x_56; -x_56 = lean_ctor_get(x_55, 0); +lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_11, 0); +x_57 = lean_ctor_get_uint8(x_11, sizeof(void*)*2); +x_58 = lean_ctor_get(x_11, 1); +lean_inc(x_58); lean_inc(x_56); -if (lean_obj_tag(x_56) == 0) +lean_dec(x_11); +x_59 = l_Lake_compileExe(x_5, x_19, x_20, x_56, x_12); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_58 = x_55; -} else { - lean_dec_ref(x_55); - x_58 = lean_box(0); -} -x_59 = lean_ctor_get(x_56, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_56, 1); +lean_object* x_60; +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_61 = x_56; +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_62 = x_59; } else { - lean_dec_ref(x_56); - x_61 = lean_box(0); + lean_dec_ref(x_59); + x_62 = lean_box(0); } -x_62 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_54); -lean_ctor_set_uint8(x_62, sizeof(void*)*2, x_53); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); +x_63 = lean_ctor_get(x_60, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_65 = x_60; } else { - x_63 = x_61; + lean_dec_ref(x_60); + x_65 = lean_box(0); } -lean_ctor_set(x_63, 0, x_59); -lean_ctor_set(x_63, 1, x_62); -if (lean_is_scalar(x_58)) { - x_64 = lean_alloc_ctor(0, 2, 0); +x_66 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_58); +lean_ctor_set_uint8(x_66, sizeof(void*)*2, x_57); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_64 = x_58; + x_67 = x_65; } -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_57); -return x_64; +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_66); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_61); +return x_68; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_65 = lean_ctor_get(x_55, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_66 = x_55; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_69 = lean_ctor_get(x_59, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_70 = x_59; } else { - lean_dec_ref(x_55); - x_66 = lean_box(0); + lean_dec_ref(x_59); + x_70 = lean_box(0); } -x_67 = lean_ctor_get(x_56, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_56, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_69 = x_56; +x_71 = lean_ctor_get(x_60, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_60, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_73 = x_60; } else { - lean_dec_ref(x_56); - x_69 = lean_box(0); + lean_dec_ref(x_60); + x_73 = lean_box(0); } -x_70 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_54); -lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_53); -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(1, 2, 0); +x_74 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_58); +lean_ctor_set_uint8(x_74, sizeof(void*)*2, x_57); +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(1, 2, 0); } else { - x_71 = x_69; + x_75 = x_73; } -lean_ctor_set(x_71, 0, x_67); -lean_ctor_set(x_71, 1, x_70); -if (lean_is_scalar(x_66)) { - x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_71); +lean_ctor_set(x_75, 1, x_74); +if (lean_is_scalar(x_70)) { + x_76 = lean_alloc_ctor(0, 2, 0); } else { - x_72 = x_66; + x_76 = x_70; } -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_65); -return x_72; -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_54); -x_73 = lean_ctor_get(x_55, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_55, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_75 = x_55; -} else { - lean_dec_ref(x_55); - x_75 = lean_box(0); -} -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(1, 2, 0); -} else { - x_76 = x_75; -} -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_69); return x_76; } } +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_58); +x_77 = lean_ctor_get(x_59, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_59, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_79 = x_59; +} else { + lean_dec_ref(x_59); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; +} +} } } LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -19028,11 +19047,11 @@ x_21 = lean_box(x_3); lean_inc(x_4); lean_inc(x_1); x_22 = lean_alloc_closure((void*)(l_Lake_buildLeanExe___lambda__1___boxed), 12, 5); -lean_closure_set(x_22, 0, x_2); -lean_closure_set(x_22, 1, x_1); -lean_closure_set(x_22, 2, x_21); -lean_closure_set(x_22, 3, x_4); -lean_closure_set(x_22, 4, x_5); +lean_closure_set(x_22, 0, x_5); +lean_closure_set(x_22, 1, x_2); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_21); +lean_closure_set(x_22, 4, x_4); x_23 = l_Lake_buildLeanO___lambda__6___closed__7; x_24 = lean_alloc_closure((void*)(l_Lake_EquipT_bind___at_Lake_buildFileUnlessUpToDate_x27___spec__1___rarg), 8, 2); lean_closure_set(x_24, 0, x_23); @@ -19268,13 +19287,14 @@ LEAN_EXPORT lean_object* l_Lake_buildLeanExe___lambda__1___boxed(lean_object* x_ _start: { uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -lean_dec(x_3); -x_14 = l_Lake_buildLeanExe___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = lean_unbox(x_4); +lean_dec(x_4); +x_14 = l_Lake_buildLeanExe___lambda__1(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_3); lean_dec(x_2); return x_14; } @@ -19369,7 +19389,6 @@ x_24 = l_Array_append___rarg(x_23, x_3); x_25 = l_Array_append___rarg(x_24, x_12); lean_dec(x_12); x_26 = l_Lake_compileSharedLib(x_4, x_25, x_13, x_15, x_11); -lean_dec(x_25); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; @@ -19551,7 +19570,6 @@ x_66 = l_Array_append___rarg(x_65, x_3); x_67 = l_Array_append___rarg(x_66, x_12); lean_dec(x_12); x_68 = l_Lake_compileSharedLib(x_4, x_67, x_13, x_15, x_11); -lean_dec(x_67); if (lean_obj_tag(x_68) == 0) { lean_object* x_69; @@ -19743,7 +19761,6 @@ x_110 = l_Array_append___rarg(x_109, x_3); x_111 = l_Array_append___rarg(x_110, x_12); lean_dec(x_12); x_112 = l_Lake_compileSharedLib(x_4, x_111, x_13, x_100, x_11); -lean_dec(x_111); if (lean_obj_tag(x_112) == 0) { lean_object* x_113; @@ -19884,7 +19901,6 @@ x_142 = l_Array_append___rarg(x_141, x_3); x_143 = l_Array_append___rarg(x_142, x_12); lean_dec(x_12); x_144 = l_Lake_compileSharedLib(x_4, x_143, x_13, x_100, x_11); -lean_dec(x_143); if (lean_obj_tag(x_144) == 0) { lean_object* x_145; diff --git a/stage0/stdlib/Lake/Build/Library.c b/stage0/stdlib/Lake/Build/Library.c index 759d7a021c..2bb47fd234 100644 --- a/stage0/stdlib/Lake/Build/Library.c +++ b/stage0/stdlib/Lake/Build/Library.c @@ -61,7 +61,7 @@ lean_object* l_Lake_ensureJob___rarg(lean_object*, lean_object*, lean_object*, l static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_LeanLib_recBuildLean___spec__1___closed__2; extern lean_object* l_Lake_OrdHashSet_empty___at_Lake_OrdPackageSet_empty___spec__1; static lean_object* l_Lake_LeanLib_staticExportFacetConfig___closed__3; -lean_object* l_Lake_buildStaticLib(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lake_buildStaticLib(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_LeanLib_recBuildShared___spec__8___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lake_stdFormat___at_Lake_LeanLib_modulesFacetConfig___elambda__1___spec__1___closed__4; @@ -5746,7 +5746,7 @@ lean_dec(x_25); x_27 = l_System_FilePath_join(x_23, x_26); lean_dec(x_26); x_28 = l_Lake_BuildTrace_nil; -x_29 = l_Lake_buildStaticLib(x_27, x_15, x_6, x_7, x_8, x_9, x_28, x_13); +x_29 = l_Lake_buildStaticLib(x_27, x_15, x_1, x_6, x_7, x_8, x_9, x_28, x_13); lean_dec(x_15); if (lean_obj_tag(x_29) == 0) { @@ -5835,7 +5835,7 @@ lean_dec(x_49); x_51 = l_System_FilePath_join(x_47, x_50); lean_dec(x_50); x_52 = l_Lake_BuildTrace_nil; -x_53 = l_Lake_buildStaticLib(x_51, x_39, x_6, x_7, x_8, x_9, x_52, x_13); +x_53 = l_Lake_buildStaticLib(x_51, x_39, x_1, x_6, x_7, x_8, x_9, x_52, x_13); lean_dec(x_39); if (lean_obj_tag(x_53) == 0) { @@ -5929,7 +5929,7 @@ x_77 = l_System_FilePath_addExtension(x_75, x_76); x_78 = l_System_FilePath_join(x_72, x_77); lean_dec(x_77); x_79 = l_Lake_BuildTrace_nil; -x_80 = l_Lake_buildStaticLib(x_78, x_64, x_6, x_7, x_8, x_9, x_79, x_13); +x_80 = l_Lake_buildStaticLib(x_78, x_64, x_1, x_6, x_7, x_8, x_9, x_79, x_13); lean_dec(x_64); if (lean_obj_tag(x_80) == 0) { @@ -6020,7 +6020,7 @@ x_103 = l_System_FilePath_addExtension(x_101, x_102); x_104 = l_System_FilePath_join(x_98, x_103); lean_dec(x_103); x_105 = l_Lake_BuildTrace_nil; -x_106 = l_Lake_buildStaticLib(x_104, x_90, x_6, x_7, x_8, x_9, x_105, x_13); +x_106 = l_Lake_buildStaticLib(x_104, x_90, x_1, x_6, x_7, x_8, x_9, x_105, x_13); lean_dec(x_90); if (lean_obj_tag(x_106) == 0) { diff --git a/stage0/stdlib/Lake/Build/Module.c b/stage0/stdlib/Lake/Build/Module.c index a0d6180c3e..6a5e497226 100644 --- a/stage0/stdlib/Lake/Build/Module.c +++ b/stage0/stdlib/Lake/Build/Module.c @@ -26379,7 +26379,6 @@ x_28 = l_Array_append___rarg(x_27, x_6); x_29 = l_Array_append___rarg(x_28, x_22); lean_dec(x_22); x_30 = l_Lake_compileSharedLib(x_7, x_29, x_23, x_25, x_16); -lean_dec(x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; @@ -26558,7 +26557,6 @@ x_66 = l_Array_append___rarg(x_65, x_6); x_67 = l_Array_append___rarg(x_66, x_22); lean_dec(x_22); x_68 = l_Lake_compileSharedLib(x_7, x_67, x_23, x_62, x_16); -lean_dec(x_67); if (lean_obj_tag(x_68) == 0) { lean_object* x_69; @@ -26707,7 +26705,6 @@ x_100 = l_Array_append___rarg(x_99, x_6); x_101 = l_Array_append___rarg(x_100, x_90); lean_dec(x_90); x_102 = l_Lake_compileSharedLib(x_7, x_101, x_91, x_93, x_16); -lean_dec(x_101); if (lean_obj_tag(x_102) == 0) { lean_object* x_103; @@ -26891,7 +26888,6 @@ x_142 = l_Array_append___rarg(x_141, x_6); x_143 = l_Array_append___rarg(x_142, x_90); lean_dec(x_90); x_144 = l_Lake_compileSharedLib(x_7, x_143, x_91, x_134, x_16); -lean_dec(x_143); if (lean_obj_tag(x_144) == 0) { lean_object* x_145; diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Model.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Model.c index 3cdd9972b7..aecd0522cb 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Model.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Model.c @@ -14,72 +14,103 @@ extern "C" { #endif lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_registerParent___spec__7(lean_object*, lean_object*); -static uint64_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___closed__2; +static uint64_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1; lean_object* l_instBEqOfDecidableEq___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___lambda__1___boxed(lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getNatValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isDIte(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__2; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); uint64_t lean_uint64_lor(uint64_t, uint64_t); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(lean_object*, size_t, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__9; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__19; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__3___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__4(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___closed__1; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__14; lean_object* l_Lean_Meta_Grind_Goal_getENodes(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___closed__1; uint8_t l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__4(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); +static double l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1; lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); +lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__7; static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__2(lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__17; +lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Meta_getIntValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___closed__2; uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__4; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__5; lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__2; lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__3; +lean_object* l_Lean_MessageData_ofFormat(lean_object*); +lean_object* l_ReaderT_instMonadLift(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_quoteIfNotAtom(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__6; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__11; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__3; lean_object* l_Lean_Meta_Grind_isIntNum(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Expr_hash(lean_object*); +static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___closed__1; +static lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__5; uint8_t l_Lean_Meta_Grind_isSameExpr_unsafe__1(lean_object*, lean_object*); @@ -87,93 +118,135 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isIte(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__6; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__2; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3; lean_object* lean_usize_to_nat(size_t); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4; +double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___lambda__1(lean_object*); +static lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq___spec__1(lean_object*, lean_object*); uint8_t lean_expr_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_nat_abs(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__16; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Int_instDecidableEq___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Int_mkType; static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__10; -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__3; +lean_object* l_Lean_Meta_Grind_isNatNum(lean_object*); +lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__15; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__3___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__5(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Id_instMonad; +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); uint8_t lean_int_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Goal_getRoot_x3f(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___closed__3; +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(lean_object*); uint64_t lean_uint64_shift_left(uint64_t, uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Nat_mkType; lean_object* l___private_Init_Data_Array_QSort_0__Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__2; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1; LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__1(lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__1; size_t lean_usize_sub(size_t, size_t); lean_object* lean_array_mk(lean_object*); lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm(lean_object*); uint64_t l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Internal_instInhabitedRat; +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__2___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__20; lean_object* lean_int_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(lean_object*, lean_object*); +lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__18; uint8_t lean_int_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__5; static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__1; +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__2; uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__10; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1___boxed(lean_object*, lean_object*); uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__11; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__8; lean_object* l_Lean_Meta_Grind_Goal_getEqc(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__4; +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); +static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__13; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static uint64_t _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1() { +static uint64_t _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1() { _start: { uint8_t x_1; uint64_t x_2; @@ -182,7 +255,7 @@ x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -207,7 +280,7 @@ lean_ctor_set_uint8(x_7, 9, x_13); x_14 = 2; x_15 = lean_uint64_shift_right(x_10, x_14); x_16 = lean_uint64_shift_left(x_15, x_14); -x_17 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1; +x_17 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1; x_18 = lean_uint64_lor(x_16, x_17); lean_ctor_set_uint64(x_2, sizeof(void*)*7, x_18); lean_inc(x_5); @@ -224,401 +297,653 @@ x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); x_22 = l_Lean_Int_mkType; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_20); x_23 = l_Lean_Meta_isExprDefEq(x_20, x_22, x_2, x_3, x_4, x_5, x_21); if (lean_obj_tag(x_23) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_unbox(x_24); +if (x_25 == 0) { -return x_23; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_24); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); -lean_inc(x_25); lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} +x_27 = l_Lean_Nat_mkType; +x_28 = l_Lean_Meta_isExprDefEq(x_20, x_27, x_2, x_3, x_4, x_5, x_26); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +return x_28; } else { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_23); -if (x_28 == 0) -{ -return x_23; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_23, 0); -x_30 = lean_ctor_get(x_23, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_23); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_dec(x_28); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) +{ +return x_28; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_28, 0); +x_35 = lean_ctor_get(x_28, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_28); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -uint8_t x_32; +uint8_t x_37; +lean_dec(x_20); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_32 = !lean_is_exclusive(x_19); -if (x_32 == 0) +x_37 = !lean_is_exclusive(x_23); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_23, 0); +lean_dec(x_38); +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_23, 1); +lean_inc(x_39); +lean_dec(x_23); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_24); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_41 = !lean_is_exclusive(x_23); +if (x_41 == 0) +{ +return x_23; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_23, 0); +x_43 = lean_ctor_get(x_23, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_23); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = !lean_is_exclusive(x_19); +if (x_45 == 0) { return x_19; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_19, 0); -x_34 = lean_ctor_get(x_19, 1); -lean_inc(x_34); -lean_inc(x_33); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_19, 0); +x_47 = lean_ctor_get(x_19, 1); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_19); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; uint8_t x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; uint64_t x_55; uint64_t x_56; uint64_t x_57; uint64_t x_58; uint64_t x_59; lean_object* x_60; -x_36 = lean_ctor_get_uint8(x_7, 0); -x_37 = lean_ctor_get_uint8(x_7, 1); -x_38 = lean_ctor_get_uint8(x_7, 2); -x_39 = lean_ctor_get_uint8(x_7, 3); -x_40 = lean_ctor_get_uint8(x_7, 4); -x_41 = lean_ctor_get_uint8(x_7, 5); -x_42 = lean_ctor_get_uint8(x_7, 6); -x_43 = lean_ctor_get_uint8(x_7, 7); -x_44 = lean_ctor_get_uint8(x_7, 8); -x_45 = lean_ctor_get_uint8(x_7, 10); -x_46 = lean_ctor_get_uint8(x_7, 11); -x_47 = lean_ctor_get_uint8(x_7, 12); -x_48 = lean_ctor_get_uint8(x_7, 13); -x_49 = lean_ctor_get_uint8(x_7, 14); -x_50 = lean_ctor_get_uint8(x_7, 15); -x_51 = lean_ctor_get_uint8(x_7, 16); -x_52 = lean_ctor_get_uint8(x_7, 17); +uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; uint64_t x_68; uint64_t x_69; uint64_t x_70; uint64_t x_71; uint64_t x_72; lean_object* x_73; +x_49 = lean_ctor_get_uint8(x_7, 0); +x_50 = lean_ctor_get_uint8(x_7, 1); +x_51 = lean_ctor_get_uint8(x_7, 2); +x_52 = lean_ctor_get_uint8(x_7, 3); +x_53 = lean_ctor_get_uint8(x_7, 4); +x_54 = lean_ctor_get_uint8(x_7, 5); +x_55 = lean_ctor_get_uint8(x_7, 6); +x_56 = lean_ctor_get_uint8(x_7, 7); +x_57 = lean_ctor_get_uint8(x_7, 8); +x_58 = lean_ctor_get_uint8(x_7, 10); +x_59 = lean_ctor_get_uint8(x_7, 11); +x_60 = lean_ctor_get_uint8(x_7, 12); +x_61 = lean_ctor_get_uint8(x_7, 13); +x_62 = lean_ctor_get_uint8(x_7, 14); +x_63 = lean_ctor_get_uint8(x_7, 15); +x_64 = lean_ctor_get_uint8(x_7, 16); +x_65 = lean_ctor_get_uint8(x_7, 17); lean_dec(x_7); -x_53 = 1; -x_54 = lean_alloc_ctor(0, 0, 18); -lean_ctor_set_uint8(x_54, 0, x_36); -lean_ctor_set_uint8(x_54, 1, x_37); -lean_ctor_set_uint8(x_54, 2, x_38); -lean_ctor_set_uint8(x_54, 3, x_39); -lean_ctor_set_uint8(x_54, 4, x_40); -lean_ctor_set_uint8(x_54, 5, x_41); -lean_ctor_set_uint8(x_54, 6, x_42); -lean_ctor_set_uint8(x_54, 7, x_43); -lean_ctor_set_uint8(x_54, 8, x_44); -lean_ctor_set_uint8(x_54, 9, x_53); -lean_ctor_set_uint8(x_54, 10, x_45); -lean_ctor_set_uint8(x_54, 11, x_46); -lean_ctor_set_uint8(x_54, 12, x_47); -lean_ctor_set_uint8(x_54, 13, x_48); -lean_ctor_set_uint8(x_54, 14, x_49); -lean_ctor_set_uint8(x_54, 15, x_50); -lean_ctor_set_uint8(x_54, 16, x_51); -lean_ctor_set_uint8(x_54, 17, x_52); -x_55 = 2; -x_56 = lean_uint64_shift_right(x_10, x_55); -x_57 = lean_uint64_shift_left(x_56, x_55); -x_58 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1; -x_59 = lean_uint64_lor(x_57, x_58); -lean_ctor_set(x_2, 0, x_54); -lean_ctor_set_uint64(x_2, sizeof(void*)*7, x_59); +x_66 = 1; +x_67 = lean_alloc_ctor(0, 0, 18); +lean_ctor_set_uint8(x_67, 0, x_49); +lean_ctor_set_uint8(x_67, 1, x_50); +lean_ctor_set_uint8(x_67, 2, x_51); +lean_ctor_set_uint8(x_67, 3, x_52); +lean_ctor_set_uint8(x_67, 4, x_53); +lean_ctor_set_uint8(x_67, 5, x_54); +lean_ctor_set_uint8(x_67, 6, x_55); +lean_ctor_set_uint8(x_67, 7, x_56); +lean_ctor_set_uint8(x_67, 8, x_57); +lean_ctor_set_uint8(x_67, 9, x_66); +lean_ctor_set_uint8(x_67, 10, x_58); +lean_ctor_set_uint8(x_67, 11, x_59); +lean_ctor_set_uint8(x_67, 12, x_60); +lean_ctor_set_uint8(x_67, 13, x_61); +lean_ctor_set_uint8(x_67, 14, x_62); +lean_ctor_set_uint8(x_67, 15, x_63); +lean_ctor_set_uint8(x_67, 16, x_64); +lean_ctor_set_uint8(x_67, 17, x_65); +x_68 = 2; +x_69 = lean_uint64_shift_right(x_10, x_68); +x_70 = lean_uint64_shift_left(x_69, x_68); +x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1; +x_72 = lean_uint64_lor(x_70, x_71); +lean_ctor_set(x_2, 0, x_67); +lean_ctor_set_uint64(x_2, sizeof(void*)*7, x_72); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_60 = lean_infer_type(x_8, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_60) == 0) +x_73 = lean_infer_type(x_8, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l_Lean_Int_mkType; -x_64 = l_Lean_Meta_isExprDefEq(x_61, x_63, x_2, x_3, x_4, x_5, x_62); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_67 = x_64; -} else { - lean_dec_ref(x_64); - x_67 = lean_box(0); -} -if (lean_is_scalar(x_67)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_67; -} -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_66); -return x_68; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_64, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_71 = x_64; -} else { - lean_dec_ref(x_64); - x_71 = lean_box(0); -} -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(1, 2, 0); -} else { - x_72 = x_71; -} -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_70); -return x_72; -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_2); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_73 = lean_ctor_get(x_60, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_60, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_75 = x_60; -} else { - lean_dec_ref(x_60); - x_75 = lean_box(0); -} -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(1, 2, 0); -} else { - x_76 = x_75; -} -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_74); -return x_76; -} -} -} -else -{ -uint64_t x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; uint64_t x_107; uint64_t x_108; uint64_t x_109; uint64_t x_110; uint64_t x_111; lean_object* x_112; lean_object* x_113; -x_77 = lean_ctor_get_uint64(x_2, sizeof(void*)*7); -x_78 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 8); -x_79 = lean_ctor_get(x_2, 1); -x_80 = lean_ctor_get(x_2, 2); -x_81 = lean_ctor_get(x_2, 3); -x_82 = lean_ctor_get(x_2, 4); -x_83 = lean_ctor_get(x_2, 5); -x_84 = lean_ctor_get(x_2, 6); -x_85 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 9); -x_86 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 10); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_2); -x_87 = lean_ctor_get_uint8(x_7, 0); -x_88 = lean_ctor_get_uint8(x_7, 1); -x_89 = lean_ctor_get_uint8(x_7, 2); -x_90 = lean_ctor_get_uint8(x_7, 3); -x_91 = lean_ctor_get_uint8(x_7, 4); -x_92 = lean_ctor_get_uint8(x_7, 5); -x_93 = lean_ctor_get_uint8(x_7, 6); -x_94 = lean_ctor_get_uint8(x_7, 7); -x_95 = lean_ctor_get_uint8(x_7, 8); -x_96 = lean_ctor_get_uint8(x_7, 10); -x_97 = lean_ctor_get_uint8(x_7, 11); -x_98 = lean_ctor_get_uint8(x_7, 12); -x_99 = lean_ctor_get_uint8(x_7, 13); -x_100 = lean_ctor_get_uint8(x_7, 14); -x_101 = lean_ctor_get_uint8(x_7, 15); -x_102 = lean_ctor_get_uint8(x_7, 16); -x_103 = lean_ctor_get_uint8(x_7, 17); -if (lean_is_exclusive(x_7)) { - x_104 = x_7; -} else { - lean_dec_ref(x_7); - x_104 = lean_box(0); -} -x_105 = 1; -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 0, 18); -} else { - x_106 = x_104; -} -lean_ctor_set_uint8(x_106, 0, x_87); -lean_ctor_set_uint8(x_106, 1, x_88); -lean_ctor_set_uint8(x_106, 2, x_89); -lean_ctor_set_uint8(x_106, 3, x_90); -lean_ctor_set_uint8(x_106, 4, x_91); -lean_ctor_set_uint8(x_106, 5, x_92); -lean_ctor_set_uint8(x_106, 6, x_93); -lean_ctor_set_uint8(x_106, 7, x_94); -lean_ctor_set_uint8(x_106, 8, x_95); -lean_ctor_set_uint8(x_106, 9, x_105); -lean_ctor_set_uint8(x_106, 10, x_96); -lean_ctor_set_uint8(x_106, 11, x_97); -lean_ctor_set_uint8(x_106, 12, x_98); -lean_ctor_set_uint8(x_106, 13, x_99); -lean_ctor_set_uint8(x_106, 14, x_100); -lean_ctor_set_uint8(x_106, 15, x_101); -lean_ctor_set_uint8(x_106, 16, x_102); -lean_ctor_set_uint8(x_106, 17, x_103); -x_107 = 2; -x_108 = lean_uint64_shift_right(x_77, x_107); -x_109 = lean_uint64_shift_left(x_108, x_107); -x_110 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1; -x_111 = lean_uint64_lor(x_109, x_110); -x_112 = lean_alloc_ctor(0, 7, 11); -lean_ctor_set(x_112, 0, x_106); -lean_ctor_set(x_112, 1, x_79); -lean_ctor_set(x_112, 2, x_80); -lean_ctor_set(x_112, 3, x_81); -lean_ctor_set(x_112, 4, x_82); -lean_ctor_set(x_112, 5, x_83); -lean_ctor_set(x_112, 6, x_84); -lean_ctor_set_uint64(x_112, sizeof(void*)*7, x_111); -lean_ctor_set_uint8(x_112, sizeof(void*)*7 + 8, x_78); -lean_ctor_set_uint8(x_112, sizeof(void*)*7 + 9, x_85); -lean_ctor_set_uint8(x_112, sizeof(void*)*7 + 10, x_86); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Int_mkType; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_112); -x_113 = lean_infer_type(x_8, x_112, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_113) == 0) +lean_inc(x_2); +lean_inc(x_74); +x_77 = l_Lean_Meta_isExprDefEq(x_74, x_76, x_2, x_3, x_4, x_5, x_75); +if (lean_obj_tag(x_77) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l_Lean_Int_mkType; -x_117 = l_Lean_Meta_isExprDefEq(x_114, x_116, x_112, x_3, x_4, x_5, x_115); -if (lean_obj_tag(x_117) == 0) +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_unbox(x_78); +if (x_79 == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_120 = x_117; +lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_78); +x_80 = lean_ctor_get(x_77, 1); +lean_inc(x_80); +lean_dec(x_77); +x_81 = l_Lean_Nat_mkType; +x_82 = l_Lean_Meta_isExprDefEq(x_74, x_81, x_2, x_3, x_4, x_5, x_80); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_85 = x_82; } else { - lean_dec_ref(x_117); - x_120 = lean_box(0); + lean_dec_ref(x_82); + x_85 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(0, 2, 0); } else { - x_121 = x_120; + x_86 = x_85; } -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -return x_121; +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_84); +return x_86; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_122 = lean_ctor_get(x_117, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_117, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_124 = x_117; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_82, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_82, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_89 = x_82; } else { - lean_dec_ref(x_117); - x_124 = lean_box(0); + lean_dec_ref(x_82); + x_89 = lean_box(0); } -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(1, 2, 0); } else { - x_125 = x_124; + x_90 = x_89; } -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_123); -return x_125; +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_88); +return x_90; } } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_112); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_74); +lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_126 = lean_ctor_get(x_113, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_113, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_128 = x_113; +x_91 = lean_ctor_get(x_77, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_92 = x_77; } else { - lean_dec_ref(x_113); - x_128 = lean_box(0); + lean_dec_ref(x_77); + x_92 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 2, 0); } else { - x_129 = x_128; + x_93 = x_92; } -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_93, 0, x_78); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_74); +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_94 = lean_ctor_get(x_77, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_77, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_96 = x_77; +} else { + lean_dec_ref(x_77); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_98 = lean_ctor_get(x_73, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_73, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_100 = x_73; +} else { + lean_dec_ref(x_73); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(1, 2, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_99); +return x_101; +} +} +} +else +{ +uint64_t x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; uint8_t x_116; uint8_t x_117; uint8_t x_118; uint8_t x_119; uint8_t x_120; uint8_t x_121; uint8_t x_122; uint8_t x_123; uint8_t x_124; uint8_t x_125; uint8_t x_126; uint8_t x_127; uint8_t x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; uint64_t x_132; uint64_t x_133; uint64_t x_134; uint64_t x_135; uint64_t x_136; lean_object* x_137; lean_object* x_138; +x_102 = lean_ctor_get_uint64(x_2, sizeof(void*)*7); +x_103 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 8); +x_104 = lean_ctor_get(x_2, 1); +x_105 = lean_ctor_get(x_2, 2); +x_106 = lean_ctor_get(x_2, 3); +x_107 = lean_ctor_get(x_2, 4); +x_108 = lean_ctor_get(x_2, 5); +x_109 = lean_ctor_get(x_2, 6); +x_110 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 9); +x_111 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 10); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_2); +x_112 = lean_ctor_get_uint8(x_7, 0); +x_113 = lean_ctor_get_uint8(x_7, 1); +x_114 = lean_ctor_get_uint8(x_7, 2); +x_115 = lean_ctor_get_uint8(x_7, 3); +x_116 = lean_ctor_get_uint8(x_7, 4); +x_117 = lean_ctor_get_uint8(x_7, 5); +x_118 = lean_ctor_get_uint8(x_7, 6); +x_119 = lean_ctor_get_uint8(x_7, 7); +x_120 = lean_ctor_get_uint8(x_7, 8); +x_121 = lean_ctor_get_uint8(x_7, 10); +x_122 = lean_ctor_get_uint8(x_7, 11); +x_123 = lean_ctor_get_uint8(x_7, 12); +x_124 = lean_ctor_get_uint8(x_7, 13); +x_125 = lean_ctor_get_uint8(x_7, 14); +x_126 = lean_ctor_get_uint8(x_7, 15); +x_127 = lean_ctor_get_uint8(x_7, 16); +x_128 = lean_ctor_get_uint8(x_7, 17); +if (lean_is_exclusive(x_7)) { + x_129 = x_7; +} else { + lean_dec_ref(x_7); + x_129 = lean_box(0); +} +x_130 = 1; +if (lean_is_scalar(x_129)) { + x_131 = lean_alloc_ctor(0, 0, 18); +} else { + x_131 = x_129; +} +lean_ctor_set_uint8(x_131, 0, x_112); +lean_ctor_set_uint8(x_131, 1, x_113); +lean_ctor_set_uint8(x_131, 2, x_114); +lean_ctor_set_uint8(x_131, 3, x_115); +lean_ctor_set_uint8(x_131, 4, x_116); +lean_ctor_set_uint8(x_131, 5, x_117); +lean_ctor_set_uint8(x_131, 6, x_118); +lean_ctor_set_uint8(x_131, 7, x_119); +lean_ctor_set_uint8(x_131, 8, x_120); +lean_ctor_set_uint8(x_131, 9, x_130); +lean_ctor_set_uint8(x_131, 10, x_121); +lean_ctor_set_uint8(x_131, 11, x_122); +lean_ctor_set_uint8(x_131, 12, x_123); +lean_ctor_set_uint8(x_131, 13, x_124); +lean_ctor_set_uint8(x_131, 14, x_125); +lean_ctor_set_uint8(x_131, 15, x_126); +lean_ctor_set_uint8(x_131, 16, x_127); +lean_ctor_set_uint8(x_131, 17, x_128); +x_132 = 2; +x_133 = lean_uint64_shift_right(x_102, x_132); +x_134 = lean_uint64_shift_left(x_133, x_132); +x_135 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1; +x_136 = lean_uint64_lor(x_134, x_135); +x_137 = lean_alloc_ctor(0, 7, 11); +lean_ctor_set(x_137, 0, x_131); +lean_ctor_set(x_137, 1, x_104); +lean_ctor_set(x_137, 2, x_105); +lean_ctor_set(x_137, 3, x_106); +lean_ctor_set(x_137, 4, x_107); +lean_ctor_set(x_137, 5, x_108); +lean_ctor_set(x_137, 6, x_109); +lean_ctor_set_uint64(x_137, sizeof(void*)*7, x_136); +lean_ctor_set_uint8(x_137, sizeof(void*)*7 + 8, x_103); +lean_ctor_set_uint8(x_137, sizeof(void*)*7 + 9, x_110); +lean_ctor_set_uint8(x_137, sizeof(void*)*7 + 10, x_111); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_137); +x_138 = lean_infer_type(x_8, x_137, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); +lean_dec(x_138); +x_141 = l_Lean_Int_mkType; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_137); +lean_inc(x_139); +x_142 = l_Lean_Meta_isExprDefEq(x_139, x_141, x_137, x_3, x_4, x_5, x_140); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; uint8_t x_144; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_unbox(x_143); +if (x_144 == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_143); +x_145 = lean_ctor_get(x_142, 1); +lean_inc(x_145); +lean_dec(x_142); +x_146 = l_Lean_Nat_mkType; +x_147 = l_Lean_Meta_isExprDefEq(x_139, x_146, x_137, x_3, x_4, x_5, x_145); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_150 = x_147; +} else { + lean_dec_ref(x_147); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +return x_151; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_152 = lean_ctor_get(x_147, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_147, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_154 = x_147; +} else { + lean_dec_ref(x_147); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_152); +lean_ctor_set(x_155, 1, x_153); +return x_155; +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_139); +lean_dec(x_137); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_156 = lean_ctor_get(x_142, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_157 = x_142; +} else { + lean_dec_ref(x_142); + x_157 = lean_box(0); +} +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(0, 2, 0); +} else { + x_158 = x_157; +} +lean_ctor_set(x_158, 0, x_143); +lean_ctor_set(x_158, 1, x_156); +return x_158; +} +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_139); +lean_dec(x_137); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_159 = lean_ctor_get(x_142, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_142, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_161 = x_142; +} else { + lean_dec_ref(x_142); + x_161 = lean_box(0); +} +if (lean_is_scalar(x_161)) { + x_162 = lean_alloc_ctor(1, 2, 0); +} else { + x_162 = x_161; +} +lean_ctor_set(x_162, 0, x_159); +lean_ctor_set(x_162, 1, x_160); +return x_162; +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_137); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_163 = lean_ctor_get(x_138, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_138, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_165 = x_138; +} else { + lean_dec_ref(x_138); + x_165 = lean_box(0); +} +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); +} else { + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_163); +lean_ctor_set(x_166, 1, x_164); +return x_166; } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Id_instMonad; +x_3 = l_instInhabitedOfMonad___rarg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___closed__1; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -660,7 +985,7 @@ return x_15; } } } -static size_t _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__1() { +static size_t _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__1() { _start: { size_t x_1; size_t x_2; size_t x_3; @@ -670,17 +995,17 @@ x_3 = lean_usize_shift_left(x_1, x_2); return x_3; } } -static size_t _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__2() { +static size_t _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__2() { _start: { size_t x_1; size_t x_2; size_t x_3; x_1 = 1; -x_2 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__1; +x_2 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__1; x_3 = lean_usize_sub(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -692,7 +1017,7 @@ if (x_4 == 0) lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_5 = lean_ctor_get(x_1, 0); x_6 = 5; -x_7 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__2; +x_7 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__2; x_8 = lean_usize_land(x_2, x_7); x_9 = lean_usize_to_nat(x_8); x_10 = lean_box(2); @@ -753,7 +1078,7 @@ x_20 = lean_ctor_get(x_1, 0); lean_inc(x_20); lean_dec(x_1); x_21 = 5; -x_22 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__2; +x_22 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__2; x_23 = lean_usize_land(x_2, x_22); x_24 = lean_usize_to_nat(x_23); x_25 = lean_box(2); @@ -815,152 +1140,222 @@ x_37 = lean_ctor_get(x_1, 1); lean_inc(x_37); lean_dec(x_1); x_38 = lean_unsigned_to_nat(0u); -x_39 = l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(x_36, x_37, lean_box(0), x_38, x_3); +x_39 = l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__4(x_36, x_37, lean_box(0), x_38, x_3); lean_dec(x_37); lean_dec(x_36); return x_39; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(lean_object* x_1, lean_object* x_2) { _start: { uint64_t x_3; size_t x_4; lean_object* x_5; x_3 = l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(x_2); x_4 = lean_uint64_to_usize(x_3); -x_5 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(x_1, x_4, x_2); +x_5 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(x_1, x_4, x_2); return x_5; } } +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("assertion violation: ", 21, 21); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isSameExpr node.self node.root\n ", 33, 33); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Tactic.Grind.Arith.Cutsat.Model", 41, 41); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private.Lean.Meta.Tactic.Grind.Arith.Cutsat.Model.0.Lean.Meta.Grind.Arith.Cutsat.getCutsatAssignment\?", 102, 102); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__5; +x_3 = lean_unsigned_to_nat(19u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; -x_3 = lean_ctor_get(x_2, 11); -if (lean_obj_tag(x_3) == 0) +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 2); +x_5 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_3, x_4); +if (x_5 == 0) { -lean_object* x_4; +lean_object* x_6; lean_object* x_7; lean_dec(x_1); -x_4 = lean_box(0); -return x_4; +x_6 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__6; +x_7 = l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(x_6); +return x_7; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_1, 13); -lean_inc(x_6); +lean_object* x_8; +x_8 = lean_ctor_get(x_2, 11); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_dec(x_1); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -x_9 = l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(x_8, x_5); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; -lean_dec(x_7); -x_10 = lean_box(0); -return x_10; -} -else -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_9, 0); -x_13 = lean_ctor_get(x_7, 11); -lean_inc(x_13); -lean_dec(x_7); -x_14 = lean_ctor_get(x_13, 2); -lean_inc(x_14); -x_15 = lean_nat_dec_lt(x_12, x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_13); -lean_free_object(x_9); -lean_dec(x_12); -x_16 = lean_box(0); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = l_Std_Internal_instInhabitedRat; -x_18 = l_Lean_PersistentArray_get_x21___rarg(x_17, x_13, x_12); -lean_dec(x_12); -lean_ctor_set(x_9, 0, x_18); +x_9 = lean_box(0); return x_9; } +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_1, 13); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +x_14 = l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(x_13, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_dec(x_12); +x_15 = lean_box(0); +return x_15; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_9, 0); +uint8_t x_16; +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_14, 0); +x_18 = lean_ctor_get(x_12, 11); +lean_inc(x_18); +lean_dec(x_12); +x_19 = lean_ctor_get(x_18, 2); lean_inc(x_19); -lean_dec(x_9); -x_20 = lean_ctor_get(x_7, 11); -lean_inc(x_20); -lean_dec(x_7); -x_21 = lean_ctor_get(x_20, 2); -lean_inc(x_21); -x_22 = lean_nat_dec_lt(x_19, x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -lean_dec(x_20); +x_20 = lean_nat_dec_lt(x_17, x_19); lean_dec(x_19); -x_23 = lean_box(0); -return x_23; +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_18); +lean_free_object(x_14); +lean_dec(x_17); +x_21 = lean_box(0); +return x_21; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = l_Std_Internal_instInhabitedRat; -x_25 = l_Lean_PersistentArray_get_x21___rarg(x_24, x_20, x_19); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -return x_26; +lean_object* x_22; lean_object* x_23; +x_22 = l_Std_Internal_instInhabitedRat; +x_23 = l_Lean_PersistentArray_get_x21___rarg(x_22, x_18, x_17); +lean_dec(x_17); +lean_ctor_set(x_14, 0, x_23); +return x_14; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_14, 0); +lean_inc(x_24); +lean_dec(x_14); +x_25 = lean_ctor_get(x_12, 11); +lean_inc(x_25); +lean_dec(x_12); +x_26 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +x_27 = lean_nat_dec_lt(x_24, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_25); +lean_dec(x_24); +x_28 = lean_box(0); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_Std_Internal_instInhabitedRat; +x_30 = l_Lean_PersistentArray_get_x21___rarg(x_29, x_25, x_24); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; } } } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__4(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; lean_object* x_5; x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_5 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(x_1, x_4, x_3); +x_5 = l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3(x_1, x_4, x_3); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1(x_1, x_2); +x_3 = l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2(x_1, x_2); lean_dec(x_2); return x_3; } @@ -2100,6 +2495,441 @@ lean_dec(x_3); return x_6; } } +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("HAdd", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hAdd", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("HMul", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hMul", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__4; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__5; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("HSub", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hSub", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__7; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__8; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Neg", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("neg", 3, 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__10; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__11; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("HDiv", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hDiv", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__13; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__14; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("HMod", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hMod", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__16; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__17; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("NatCast", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("natCast", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__19; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__20; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +lean_inc(x_1); +x_2 = l_Lean_Meta_Grind_isNatNum(x_1); +x_3 = lean_unbox(x_2); +lean_dec(x_2); +if (x_3 == 0) +{ +lean_object* x_4; uint8_t x_5; +lean_inc(x_1); +x_4 = l_Lean_Meta_Grind_isIntNum(x_1); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__3; +x_7 = l_Lean_Expr_isAppOf(x_1, x_6); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; +x_8 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__6; +x_9 = l_Lean_Expr_isAppOf(x_1, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__9; +x_11 = l_Lean_Expr_isAppOf(x_1, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12; +x_13 = l_Lean_Expr_isAppOf(x_1, x_12); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__15; +x_15 = l_Lean_Expr_isAppOf(x_1, x_14); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__18; +x_17 = l_Lean_Expr_isAppOf(x_1, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21; +x_19 = l_Lean_Expr_isAppOf(x_1, x_18); +if (x_19 == 0) +{ +uint8_t x_20; +x_20 = l_Lean_Expr_isIte(x_1); +if (x_20 == 0) +{ +uint8_t x_21; +x_21 = l_Lean_Expr_isDIte(x_1); +lean_dec(x_1); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_1); +x_22 = 1; +return x_22; +} +} +else +{ +uint8_t x_23; +lean_dec(x_1); +x_23 = 1; +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_1); +x_24 = 1; +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_1); +x_25 = 1; +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = 1; +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_1); +x_27 = 1; +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_1); +x_28 = 1; +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_1); +x_29 = 1; +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_1); +x_30 = 1; +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_1); +x_31 = 1; +return x_31; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("instNatCastInt", 14, 14); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l_Lean_Expr_cleanupAnnotations(x_1); +x_3 = l_Lean_Expr_isApp(x_2); +if (x_3 == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_box(0); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = l_Lean_Expr_appArg(x_2, lean_box(0)); +x_6 = l_Lean_Expr_appFnCleanup(x_2, lean_box(0)); +x_7 = l_Lean_Expr_isApp(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = l_Lean_Expr_appArg(x_6, lean_box(0)); +x_10 = l_Lean_Expr_appFnCleanup(x_6, lean_box(0)); +x_11 = l_Lean_Expr_isApp(x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +x_12 = lean_box(0); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_Expr_appFnCleanup(x_10, lean_box(0)); +x_14 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21; +x_15 = l_Lean_Expr_isConstOf(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_9); +lean_dec(x_5); +x_16 = lean_box(0); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_Expr_cleanupAnnotations(x_9); +x_18 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__2; +x_19 = l_Lean_Expr_isConstOf(x_17, x_18); +lean_dec(x_17); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_5); +x_20 = lean_box(0); +return x_20; +} +else +{ +lean_object* x_21; +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_5); +return x_21; +} +} +} +} +} +} +} LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -2537,181 +3367,353 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__1() { +static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("HAdd", 4, 4); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___boxed), 5, 1); +lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__2() { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1___closed__1; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("hAdd", 4, 4); +x_1 = lean_mk_string_unchecked("_private.Lean.Meta.Tactic.Grind.Arith.Cutsat.Model.0.Lean.Meta.Grind.Arith.Cutsat.getAssignment\?", 96, 96); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__1; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__2; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4; +x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__1; +x_3 = lean_unsigned_to_nat(73u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__4() { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("HMul", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__5() { -_start: +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +x_10 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_8, x_9); +lean_dec(x_9); +if (x_10 == 0) { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("hMul", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__4; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__5; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("HSub", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("hSub", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__7; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__8; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Neg", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("neg", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__10; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__11; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; -lean_inc(x_1); -x_2 = l_Lean_Meta_Grind_isIntNum(x_1); -x_3 = lean_unbox(x_2); +lean_object* x_11; lean_object* x_12; +lean_dec(x_8); lean_dec(x_2); -if (x_3 == 0) -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__3; -x_5 = l_Lean_Expr_isAppOf(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__6; -x_7 = l_Lean_Expr_isAppOf(x_1, x_6); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; -x_8 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__9; -x_9 = l_Lean_Expr_isAppOf(x_1, x_8); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12; -x_11 = l_Lean_Expr_isAppOf(x_1, x_10); lean_dec(x_1); -return x_11; -} -else -{ -uint8_t x_12; -lean_dec(x_1); -x_12 = 1; +x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__2; +x_12 = l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1(x_11, x_3, x_4, x_5, x_6, x_7); return x_12; } +else +{ +lean_object* x_13; +x_13 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f(x_1, x_2); +lean_dec(x_2); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_8); +x_14 = l_Lean_Meta_getIntValue_x3f(x_8, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_getNatValue_x3f(x_8, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_8); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_17, 0, x_21); +return x_17; } else { -uint8_t x_13; -lean_dec(x_1); -x_13 = 1; -return x_13; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } } else { -uint8_t x_14; -lean_dec(x_1); -x_14 = 1; +uint8_t x_25; +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_17, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_18); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_nat_to_int(x_28); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_18, 0, x_31); +return x_17; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_nat_to_int(x_32); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_17, 0, x_36); +return x_17; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_37 = lean_ctor_get(x_17, 1); +lean_inc(x_37); +lean_dec(x_17); +x_38 = lean_ctor_get(x_18, 0); +lean_inc(x_38); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_39 = x_18; +} else { + lean_dec_ref(x_18); + x_39 = lean_box(0); +} +x_40 = lean_nat_to_int(x_38); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +if (lean_is_scalar(x_39)) { + x_43 = lean_alloc_ctor(1, 1, 0); +} else { + x_43 = x_39; +} +lean_ctor_set(x_43, 0, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_37); +return x_44; +} +} +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_17); +if (x_45 == 0) +{ +return x_17; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_17, 0); +x_47 = lean_ctor_get(x_17, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_17); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_49 = !lean_is_exclusive(x_14); +if (x_49 == 0) +{ +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_14, 0); +lean_dec(x_50); +x_51 = !lean_is_exclusive(x_15); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_15, 0); +x_53 = lean_unsigned_to_nat(1u); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_15, 0, x_54); +return x_14; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_15, 0); +lean_inc(x_55); +lean_dec(x_15); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_14, 0, x_58); return x_14; } } else { -uint8_t x_15; -lean_dec(x_1); -x_15 = 1; -return x_15; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_59 = lean_ctor_get(x_14, 1); +lean_inc(x_59); +lean_dec(x_14); +x_60 = lean_ctor_get(x_15, 0); +lean_inc(x_60); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + x_61 = x_15; +} else { + lean_dec_ref(x_15); + x_61 = lean_box(0); +} +x_62 = lean_unsigned_to_nat(1u); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_62); +if (lean_is_scalar(x_61)) { + x_64 = lean_alloc_ctor(1, 1, 0); +} else { + x_64 = x_61; +} +lean_ctor_set(x_64, 0, x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_59); +return x_65; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___boxed(lean_object* x_1) { -_start: +else { -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm(x_1); -x_3 = lean_box(x_2); -return x_3; +uint8_t x_66; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_66 = !lean_is_exclusive(x_14); +if (x_66 == 0) +{ +return x_14; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_14, 0); +x_68 = lean_ctor_get(x_14, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_14); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_70 = !lean_is_exclusive(x_13); +if (x_70 == 0) +{ +lean_object* x_71; +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_13); +lean_ctor_set(x_71, 1, x_7); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_13, 0); +lean_inc(x_72); +lean_dec(x_13); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_7); +return x_74; +} +} +} } } LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -2995,6 +3997,22 @@ x_8 = l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_Meta_Grind_Arith_Cut return x_8; } } +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(x_1, x_2, x_3, x_4); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_5); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +return x_15; +} +} LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -3015,20 +4033,14 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_24; x_16 = lean_array_uget(x_5, x_7); -x_24 = lean_ctor_get(x_8, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_8, 1); -lean_inc(x_25); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_26 = x_8; -} else { - lean_dec_ref(x_8); - x_26 = lean_box(0); -} +x_24 = !lean_is_exclusive(x_8); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_25 = lean_ctor_get(x_8, 0); +x_26 = lean_ctor_get(x_8, 1); x_27 = lean_ctor_get(x_16, 2); lean_inc(x_27); x_28 = lean_ctor_get(x_16, 0); @@ -3037,134 +4049,121 @@ x_29 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_27, x_28); lean_dec(x_27); if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; +lean_object* x_30; lean_dec(x_28); lean_dec(x_16); -if (lean_is_scalar(x_26)) { - x_30 = lean_alloc_ctor(0, 2, 0); -} else { - x_30 = x_26; -} -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_25); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_17 = x_31; +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_8); +x_17 = x_30; x_18 = x_13; goto block_23; } else { -lean_object* x_32; +lean_object* x_31; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_16); -x_32 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode(x_16, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_32) == 0) +x_31 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode(x_16, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_34; lean_object* x_35; lean_dec(x_28); lean_dec(x_16); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -if (lean_is_scalar(x_26)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_26; -} -lean_ctor_set(x_36, 0, x_24); -lean_ctor_set(x_36, 1, x_25); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_17 = x_37; -x_18 = x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_8); +x_17 = x_35; +x_18 = x_34; goto block_23; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); -lean_dec(x_32); -lean_inc(x_1); -x_39 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f(x_1, x_16); -lean_dec(x_16); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_28); -x_40 = l_Lean_Meta_getIntValue_x3f(x_28, x_9, x_10, x_11, x_12, x_38); -if (lean_obj_tag(x_40) == 0) +lean_inc(x_1); +x_37 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f(x_1, x_16, x_9, x_10, x_11, x_12, x_36); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_object* x_39; lean_object* x_40; lean_dec(x_28); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -if (lean_is_scalar(x_26)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_26; -} -lean_ctor_set(x_43, 0, x_24); -lean_ctor_set(x_43, 1, x_25); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_17 = x_44; -x_18 = x_42; +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_8); +x_17 = x_40; +x_18 = x_39; goto block_23; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint64_t x_55; uint64_t x_56; size_t x_57; size_t x_58; size_t x_59; uint64_t x_60; lean_object* x_90; uint8_t x_91; -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_dec(x_40); -x_46 = lean_ctor_get(x_41, 0); -lean_inc(x_46); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - x_47 = x_41; -} else { - lean_dec_ref(x_41); - x_47 = lean_box(0); -} -x_48 = lean_unsigned_to_nat(1u); -lean_inc(x_46); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_46); -lean_ctor_set(x_49, 1, x_48); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_free_object(x_8); +x_41 = lean_ctor_get(x_38, 0); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_dec(x_37); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_nat_dec_eq(x_44, x_45); +lean_dec(x_44); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_43); +x_47 = lean_box(0); lean_inc(x_1); -x_50 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(x_1, x_28, x_49, x_24); -x_51 = lean_ctor_get(x_25, 0); +x_48 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_28, x_41, x_25, x_26, x_47, x_9, x_10, x_11, x_12, x_42); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_17 = x_49; +x_18 = x_50; +goto block_23; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint64_t x_55; uint64_t x_56; size_t x_57; size_t x_58; size_t x_59; uint64_t x_60; lean_object* x_94; uint8_t x_95; +x_51 = lean_ctor_get(x_26, 0); lean_inc(x_51); -x_52 = lean_ctor_get(x_25, 1); +x_52 = lean_ctor_get(x_26, 1); lean_inc(x_52); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_53 = x_25; +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_53 = x_26; } else { - lean_dec_ref(x_25); + lean_dec_ref(x_26); x_53 = lean_box(0); } x_54 = lean_array_get_size(x_52); @@ -3174,37 +4173,37 @@ x_57 = lean_usize_of_nat(x_54); lean_dec(x_54); x_58 = 1; x_59 = lean_usize_sub(x_57, x_58); -x_90 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; -x_91 = lean_int_dec_lt(x_46, x_90); -if (x_91 == 0) +x_94 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_95 = lean_int_dec_lt(x_43, x_94); +if (x_95 == 0) { -lean_object* x_92; lean_object* x_93; lean_object* x_94; uint64_t x_95; -x_92 = lean_nat_abs(x_46); -x_93 = lean_unsigned_to_nat(2u); -x_94 = lean_nat_mul(x_93, x_92); -lean_dec(x_92); -x_95 = lean_uint64_of_nat(x_94); -lean_dec(x_94); -x_60 = x_95; -goto block_89; +lean_object* x_96; lean_object* x_97; lean_object* x_98; uint64_t x_99; +x_96 = lean_nat_abs(x_43); +x_97 = lean_unsigned_to_nat(2u); +x_98 = lean_nat_mul(x_97, x_96); +lean_dec(x_96); +x_99 = lean_uint64_of_nat(x_98); +lean_dec(x_98); +x_60 = x_99; +goto block_93; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint64_t x_101; -x_96 = lean_nat_abs(x_46); -x_97 = lean_nat_sub(x_96, x_48); -lean_dec(x_96); -x_98 = lean_unsigned_to_nat(2u); -x_99 = lean_nat_mul(x_98, x_97); -lean_dec(x_97); -x_100 = lean_nat_add(x_99, x_48); -lean_dec(x_99); -x_101 = lean_uint64_of_nat(x_100); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint64_t x_105; +x_100 = lean_nat_abs(x_43); +x_101 = lean_nat_sub(x_100, x_45); lean_dec(x_100); -x_60 = x_101; -goto block_89; +x_102 = lean_unsigned_to_nat(2u); +x_103 = lean_nat_mul(x_102, x_101); +lean_dec(x_101); +x_104 = lean_nat_add(x_103, x_45); +lean_dec(x_103); +x_105 = lean_uint64_of_nat(x_104); +lean_dec(x_104); +x_60 = x_105; +goto block_93; } -block_89: +block_93: { uint64_t x_61; uint64_t x_62; uint64_t x_63; uint64_t x_64; size_t x_65; size_t x_66; lean_object* x_67; uint8_t x_68; x_61 = lean_uint64_shift_right(x_60, x_55); @@ -3214,15 +4213,15 @@ x_64 = lean_uint64_xor(x_62, x_63); x_65 = lean_uint64_to_usize(x_64); x_66 = lean_usize_land(x_65, x_59); x_67 = lean_array_uget(x_52, x_66); -x_68 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(x_46, x_67); +x_68 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(x_43, x_67); if (x_68 == 0) { lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_69 = lean_nat_add(x_51, x_48); +x_69 = lean_nat_add(x_51, x_45); lean_dec(x_51); x_70 = lean_box(0); x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_46); +lean_ctor_set(x_71, 0, x_43); lean_ctor_set(x_71, 1, x_70); lean_ctor_set(x_71, 2, x_67); x_72 = lean_array_uset(x_52, x_66, x_71); @@ -3237,7 +4236,7 @@ lean_dec(x_77); lean_dec(x_76); if (x_78 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; x_79 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__1(x_72); if (lean_is_scalar(x_53)) { x_80 = lean_alloc_ctor(0, 2, 0); @@ -3246,362 +4245,481 @@ if (lean_is_scalar(x_53)) { } lean_ctor_set(x_80, 0, x_69); lean_ctor_set(x_80, 1, x_79); -if (lean_is_scalar(x_26)) { - x_81 = lean_alloc_ctor(0, 2, 0); -} else { - x_81 = x_26; -} -lean_ctor_set(x_81, 0, x_50); -lean_ctor_set(x_81, 1, x_80); -if (lean_is_scalar(x_47)) { - x_82 = lean_alloc_ctor(1, 1, 0); -} else { - x_82 = x_47; -} -lean_ctor_set(x_82, 0, x_81); +lean_inc(x_1); +x_81 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_28, x_41, x_25, x_80, x_70, x_9, x_10, x_11, x_12, x_42); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); x_17 = x_82; -x_18 = x_45; +x_18 = x_83; goto block_23; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; if (lean_is_scalar(x_53)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_53; -} -lean_ctor_set(x_83, 0, x_69); -lean_ctor_set(x_83, 1, x_72); -if (lean_is_scalar(x_26)) { x_84 = lean_alloc_ctor(0, 2, 0); } else { - x_84 = x_26; + x_84 = x_53; } -lean_ctor_set(x_84, 0, x_50); -lean_ctor_set(x_84, 1, x_83); -if (lean_is_scalar(x_47)) { - x_85 = lean_alloc_ctor(1, 1, 0); -} else { - x_85 = x_47; -} -lean_ctor_set(x_85, 0, x_84); -x_17 = x_85; -x_18 = x_45; +lean_ctor_set(x_84, 0, x_69); +lean_ctor_set(x_84, 1, x_72); +lean_inc(x_1); +x_85 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_28, x_41, x_25, x_84, x_70, x_9, x_10, x_11, x_12, x_42); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_17 = x_86; +x_18 = x_87; goto block_23; } } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_dec(x_67); -lean_dec(x_46); +lean_dec(x_43); if (lean_is_scalar(x_53)) { - x_86 = lean_alloc_ctor(0, 2, 0); + x_88 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_53; + x_88 = x_53; } -lean_ctor_set(x_86, 0, x_51); -lean_ctor_set(x_86, 1, x_52); -if (lean_is_scalar(x_26)) { - x_87 = lean_alloc_ctor(0, 2, 0); -} else { - x_87 = x_26; -} -lean_ctor_set(x_87, 0, x_50); -lean_ctor_set(x_87, 1, x_86); -if (lean_is_scalar(x_47)) { - x_88 = lean_alloc_ctor(1, 1, 0); -} else { - x_88 = x_47; -} -lean_ctor_set(x_88, 0, x_87); -x_17 = x_88; -x_18 = x_45; +lean_ctor_set(x_88, 0, x_51); +lean_ctor_set(x_88, 1, x_52); +x_89 = lean_box(0); +lean_inc(x_1); +x_90 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_28, x_41, x_25, x_88, x_89, x_9, x_10, x_11, x_12, x_42); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_17 = x_91; +x_18 = x_92; goto block_23; } } } } +} else { -uint8_t x_102; +uint8_t x_106; lean_dec(x_28); +lean_free_object(x_8); lean_dec(x_26); lean_dec(x_25); -lean_dec(x_24); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_102 = !lean_is_exclusive(x_40); -if (x_102 == 0) +x_106 = !lean_is_exclusive(x_37); +if (x_106 == 0) { -return x_40; +return x_37; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_40, 0); -x_104 = lean_ctor_get(x_40, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_40); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_106 = lean_ctor_get(x_39, 0); -lean_inc(x_106); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - x_107 = x_39; -} else { - lean_dec_ref(x_39); - x_107 = lean_box(0); -} -lean_inc(x_106); -lean_inc(x_1); -x_108 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(x_1, x_28, x_106, x_24); -x_109 = lean_ctor_get(x_106, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_106, 1); -lean_inc(x_110); -lean_dec(x_106); -x_111 = lean_unsigned_to_nat(1u); -x_112 = lean_nat_dec_eq(x_110, x_111); -lean_dec(x_110); -if (x_112 == 0) -{ -lean_object* x_113; lean_object* x_114; -lean_dec(x_109); -if (lean_is_scalar(x_26)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_26; -} -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_25); -if (lean_is_scalar(x_107)) { - x_114 = lean_alloc_ctor(1, 1, 0); -} else { - x_114 = x_107; -} -lean_ctor_set(x_114, 0, x_113); -x_17 = x_114; -x_18 = x_38; -goto block_23; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint64_t x_119; uint64_t x_120; size_t x_121; size_t x_122; size_t x_123; uint64_t x_124; lean_object* x_154; uint8_t x_155; -x_115 = lean_ctor_get(x_25, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_25, 1); -lean_inc(x_116); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_117 = x_25; -} else { - lean_dec_ref(x_25); - x_117 = lean_box(0); -} -x_118 = lean_array_get_size(x_116); -x_119 = 32; -x_120 = 16; -x_121 = lean_usize_of_nat(x_118); -lean_dec(x_118); -x_122 = 1; -x_123 = lean_usize_sub(x_121, x_122); -x_154 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; -x_155 = lean_int_dec_lt(x_109, x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; uint64_t x_159; -x_156 = lean_nat_abs(x_109); -x_157 = lean_unsigned_to_nat(2u); -x_158 = lean_nat_mul(x_157, x_156); -lean_dec(x_156); -x_159 = lean_uint64_of_nat(x_158); -lean_dec(x_158); -x_124 = x_159; -goto block_153; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint64_t x_165; -x_160 = lean_nat_abs(x_109); -x_161 = lean_nat_sub(x_160, x_111); -lean_dec(x_160); -x_162 = lean_unsigned_to_nat(2u); -x_163 = lean_nat_mul(x_162, x_161); -lean_dec(x_161); -x_164 = lean_nat_add(x_163, x_111); -lean_dec(x_163); -x_165 = lean_uint64_of_nat(x_164); -lean_dec(x_164); -x_124 = x_165; -goto block_153; -} -block_153: -{ -uint64_t x_125; uint64_t x_126; uint64_t x_127; uint64_t x_128; size_t x_129; size_t x_130; lean_object* x_131; uint8_t x_132; -x_125 = lean_uint64_shift_right(x_124, x_119); -x_126 = lean_uint64_xor(x_124, x_125); -x_127 = lean_uint64_shift_right(x_126, x_120); -x_128 = lean_uint64_xor(x_126, x_127); -x_129 = lean_uint64_to_usize(x_128); -x_130 = lean_usize_land(x_129, x_123); -x_131 = lean_array_uget(x_116, x_130); -x_132 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(x_109, x_131); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_133 = lean_nat_add(x_115, x_111); -lean_dec(x_115); -x_134 = lean_box(0); -x_135 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_135, 0, x_109); -lean_ctor_set(x_135, 1, x_134); -lean_ctor_set(x_135, 2, x_131); -x_136 = lean_array_uset(x_116, x_130, x_135); -x_137 = lean_unsigned_to_nat(4u); -x_138 = lean_nat_mul(x_133, x_137); -x_139 = lean_unsigned_to_nat(3u); -x_140 = lean_nat_div(x_138, x_139); -lean_dec(x_138); -x_141 = lean_array_get_size(x_136); -x_142 = lean_nat_dec_le(x_140, x_141); -lean_dec(x_141); -lean_dec(x_140); -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_143 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__1(x_136); -if (lean_is_scalar(x_117)) { - x_144 = lean_alloc_ctor(0, 2, 0); -} else { - x_144 = x_117; -} -lean_ctor_set(x_144, 0, x_133); -lean_ctor_set(x_144, 1, x_143); -if (lean_is_scalar(x_26)) { - x_145 = lean_alloc_ctor(0, 2, 0); -} else { - x_145 = x_26; -} -lean_ctor_set(x_145, 0, x_108); -lean_ctor_set(x_145, 1, x_144); -if (lean_is_scalar(x_107)) { - x_146 = lean_alloc_ctor(1, 1, 0); -} else { - x_146 = x_107; -} -lean_ctor_set(x_146, 0, x_145); -x_17 = x_146; -x_18 = x_38; -goto block_23; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; -if (lean_is_scalar(x_117)) { - x_147 = lean_alloc_ctor(0, 2, 0); -} else { - x_147 = x_117; -} -lean_ctor_set(x_147, 0, x_133); -lean_ctor_set(x_147, 1, x_136); -if (lean_is_scalar(x_26)) { - x_148 = lean_alloc_ctor(0, 2, 0); -} else { - x_148 = x_26; -} -lean_ctor_set(x_148, 0, x_108); -lean_ctor_set(x_148, 1, x_147); -if (lean_is_scalar(x_107)) { - x_149 = lean_alloc_ctor(1, 1, 0); -} else { - x_149 = x_107; -} -lean_ctor_set(x_149, 0, x_148); -x_17 = x_149; -x_18 = x_38; -goto block_23; -} -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_131); -lean_dec(x_109); -if (lean_is_scalar(x_117)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_117; -} -lean_ctor_set(x_150, 0, x_115); -lean_ctor_set(x_150, 1, x_116); -if (lean_is_scalar(x_26)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_26; -} -lean_ctor_set(x_151, 0, x_108); -lean_ctor_set(x_151, 1, x_150); -if (lean_is_scalar(x_107)) { - x_152 = lean_alloc_ctor(1, 1, 0); -} else { - x_152 = x_107; -} -lean_ctor_set(x_152, 0, x_151); -x_17 = x_152; -x_18 = x_38; -goto block_23; -} -} +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_37, 0); +x_108 = lean_ctor_get(x_37, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_37); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } } else { -uint8_t x_166; +uint8_t x_110; lean_dec(x_28); +lean_free_object(x_8); lean_dec(x_26); lean_dec(x_25); -lean_dec(x_24); lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_166 = !lean_is_exclusive(x_32); -if (x_166 == 0) +x_110 = !lean_is_exclusive(x_31); +if (x_110 == 0) { -return x_32; +return x_31; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_32, 0); -x_168 = lean_ctor_get(x_32, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_32); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -return x_169; +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_31, 0); +x_112 = lean_ctor_get(x_31, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_31); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; +} +} +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; +x_114 = lean_ctor_get(x_8, 0); +x_115 = lean_ctor_get(x_8, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_8); +x_116 = lean_ctor_get(x_16, 2); +lean_inc(x_116); +x_117 = lean_ctor_get(x_16, 0); +lean_inc(x_117); +x_118 = l_Lean_Meta_Grind_isSameExpr_unsafe__1(x_116, x_117); +lean_dec(x_116); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; +lean_dec(x_117); +lean_dec(x_16); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_114); +lean_ctor_set(x_119, 1, x_115); +x_120 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_120, 0, x_119); +x_17 = x_120; +x_18 = x_13; +goto block_23; +} +else +{ +lean_object* x_121; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_16); +x_121 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode(x_16, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; uint8_t x_123; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_unbox(x_122); +lean_dec(x_122); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_117); +lean_dec(x_16); +x_124 = lean_ctor_get(x_121, 1); +lean_inc(x_124); +lean_dec(x_121); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_114); +lean_ctor_set(x_125, 1, x_115); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_17 = x_126; +x_18 = x_124; +goto block_23; +} +else +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_121, 1); +lean_inc(x_127); +lean_dec(x_121); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_128 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f(x_1, x_16, x_9, x_10, x_11, x_12, x_127); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_117); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_114); +lean_ctor_set(x_131, 1, x_115); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_17 = x_132; +x_18 = x_130; +goto block_23; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +lean_dec(x_129); +x_134 = lean_ctor_get(x_128, 1); +lean_inc(x_134); +lean_dec(x_128); +x_135 = lean_ctor_get(x_133, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_133, 1); +lean_inc(x_136); +x_137 = lean_unsigned_to_nat(1u); +x_138 = lean_nat_dec_eq(x_136, x_137); +lean_dec(x_136); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_135); +x_139 = lean_box(0); +lean_inc(x_1); +x_140 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_117, x_133, x_114, x_115, x_139, x_9, x_10, x_11, x_12, x_134); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +lean_dec(x_140); +x_17 = x_141; +x_18 = x_142; +goto block_23; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint64_t x_147; uint64_t x_148; size_t x_149; size_t x_150; size_t x_151; uint64_t x_152; lean_object* x_186; uint8_t x_187; +x_143 = lean_ctor_get(x_115, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_115, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_145 = x_115; +} else { + lean_dec_ref(x_115); + x_145 = lean_box(0); +} +x_146 = lean_array_get_size(x_144); +x_147 = 32; +x_148 = 16; +x_149 = lean_usize_of_nat(x_146); +lean_dec(x_146); +x_150 = 1; +x_151 = lean_usize_sub(x_149, x_150); +x_186 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_187 = lean_int_dec_lt(x_135, x_186); +if (x_187 == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; uint64_t x_191; +x_188 = lean_nat_abs(x_135); +x_189 = lean_unsigned_to_nat(2u); +x_190 = lean_nat_mul(x_189, x_188); +lean_dec(x_188); +x_191 = lean_uint64_of_nat(x_190); +lean_dec(x_190); +x_152 = x_191; +goto block_185; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint64_t x_197; +x_192 = lean_nat_abs(x_135); +x_193 = lean_nat_sub(x_192, x_137); +lean_dec(x_192); +x_194 = lean_unsigned_to_nat(2u); +x_195 = lean_nat_mul(x_194, x_193); +lean_dec(x_193); +x_196 = lean_nat_add(x_195, x_137); +lean_dec(x_195); +x_197 = lean_uint64_of_nat(x_196); +lean_dec(x_196); +x_152 = x_197; +goto block_185; +} +block_185: +{ +uint64_t x_153; uint64_t x_154; uint64_t x_155; uint64_t x_156; size_t x_157; size_t x_158; lean_object* x_159; uint8_t x_160; +x_153 = lean_uint64_shift_right(x_152, x_147); +x_154 = lean_uint64_xor(x_152, x_153); +x_155 = lean_uint64_shift_right(x_154, x_148); +x_156 = lean_uint64_xor(x_154, x_155); +x_157 = lean_uint64_to_usize(x_156); +x_158 = lean_usize_land(x_157, x_151); +x_159 = lean_array_uget(x_144, x_158); +x_160 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(x_135, x_159); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; +x_161 = lean_nat_add(x_143, x_137); +lean_dec(x_143); +x_162 = lean_box(0); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_135); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_163, 2, x_159); +x_164 = lean_array_uset(x_144, x_158, x_163); +x_165 = lean_unsigned_to_nat(4u); +x_166 = lean_nat_mul(x_161, x_165); +x_167 = lean_unsigned_to_nat(3u); +x_168 = lean_nat_div(x_166, x_167); +lean_dec(x_166); +x_169 = lean_array_get_size(x_164); +x_170 = lean_nat_dec_le(x_168, x_169); +lean_dec(x_169); +lean_dec(x_168); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_171 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__1(x_164); +if (lean_is_scalar(x_145)) { + x_172 = lean_alloc_ctor(0, 2, 0); +} else { + x_172 = x_145; +} +lean_ctor_set(x_172, 0, x_161); +lean_ctor_set(x_172, 1, x_171); +lean_inc(x_1); +x_173 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_117, x_133, x_114, x_172, x_162, x_9, x_10, x_11, x_12, x_134); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +x_17 = x_174; +x_18 = x_175; +goto block_23; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +if (lean_is_scalar(x_145)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_145; +} +lean_ctor_set(x_176, 0, x_161); +lean_ctor_set(x_176, 1, x_164); +lean_inc(x_1); +x_177 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_117, x_133, x_114, x_176, x_162, x_9, x_10, x_11, x_12, x_134); +x_178 = lean_ctor_get(x_177, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_177, 1); +lean_inc(x_179); +lean_dec(x_177); +x_17 = x_178; +x_18 = x_179; +goto block_23; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_159); +lean_dec(x_135); +if (lean_is_scalar(x_145)) { + x_180 = lean_alloc_ctor(0, 2, 0); +} else { + x_180 = x_145; +} +lean_ctor_set(x_180, 0, x_143); +lean_ctor_set(x_180, 1, x_144); +x_181 = lean_box(0); +lean_inc(x_1); +x_182 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_117, x_133, x_114, x_180, x_181, x_9, x_10, x_11, x_12, x_134); +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_17 = x_183; +x_18 = x_184; +goto block_23; +} +} +} +} +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_117); +lean_dec(x_115); +lean_dec(x_114); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_1); +x_198 = lean_ctor_get(x_128, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_128, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_200 = x_128; +} else { + lean_dec_ref(x_128); + x_200 = lean_box(0); +} +if (lean_is_scalar(x_200)) { + x_201 = lean_alloc_ctor(1, 2, 0); +} else { + x_201 = x_200; +} +lean_ctor_set(x_201, 0, x_198); +lean_ctor_set(x_201, 1, x_199); +return x_201; +} +} +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_117); +lean_dec(x_115); +lean_dec(x_114); +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_1); +x_202 = lean_ctor_get(x_121, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_121, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_204 = x_121; +} else { + lean_dec_ref(x_121); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; } } } @@ -3621,7 +4739,116 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_6, x_5); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_uget(x_4, x_6); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +lean_inc(x_16); +x_17 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f(x_16); +if (lean_obj_tag(x_17) == 0) +{ +size_t x_18; size_t x_19; +lean_dec(x_16); +x_18 = 1; +x_19 = lean_usize_add(x_6, x_18); +x_6 = x_19; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; uint64_t x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; size_t x_31; size_t x_32; size_t x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_ctor_get(x_7, 1); +lean_inc(x_22); +x_23 = lean_array_get_size(x_22); +x_24 = l_Lean_Expr_hash(x_21); +x_25 = 32; +x_26 = lean_uint64_shift_right(x_24, x_25); +x_27 = lean_uint64_xor(x_24, x_26); +x_28 = 16; +x_29 = lean_uint64_shift_right(x_27, x_28); +x_30 = lean_uint64_xor(x_27, x_29); +x_31 = lean_uint64_to_usize(x_30); +x_32 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_33 = 1; +x_34 = lean_usize_sub(x_32, x_33); +x_35 = lean_usize_land(x_31, x_34); +x_36 = lean_array_uget(x_22, x_35); +x_37 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq___spec__1(x_21, x_36); +lean_dec(x_36); +if (lean_obj_tag(x_37) == 0) +{ +uint64_t x_38; uint64_t x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; size_t x_43; size_t x_44; lean_object* x_45; lean_object* x_46; +x_38 = l_Lean_Expr_hash(x_16); +x_39 = lean_uint64_shift_right(x_38, x_25); +x_40 = lean_uint64_xor(x_38, x_39); +x_41 = lean_uint64_shift_right(x_40, x_28); +x_42 = lean_uint64_xor(x_40, x_41); +x_43 = lean_uint64_to_usize(x_42); +x_44 = lean_usize_land(x_43, x_34); +x_45 = lean_array_uget(x_22, x_44); +lean_dec(x_22); +x_46 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq___spec__1(x_16, x_45); +lean_dec(x_45); +lean_dec(x_16); +if (lean_obj_tag(x_46) == 0) +{ +size_t x_47; +lean_dec(x_21); +x_47 = lean_usize_add(x_6, x_33); +x_6 = x_47; +goto _start; +} +else +{ +lean_object* x_49; lean_object* x_50; size_t x_51; +x_49 = lean_ctor_get(x_46, 0); +lean_inc(x_49); +lean_dec(x_46); +lean_inc(x_1); +x_50 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(x_1, x_21, x_49, x_7); +x_51 = lean_usize_add(x_6, x_33); +x_6 = x_51; +x_7 = x_50; +goto _start; +} +} +else +{ +size_t x_53; +lean_dec(x_37); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_16); +x_53 = lean_usize_add(x_6, x_33); +x_6 = x_53; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -3687,8 +4914,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_17); -x_33 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode(x_17, x_10, x_11, x_12, x_13, x_14); +x_33 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode(x_17, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; uint8_t x_35; @@ -3700,7 +4926,6 @@ if (x_35 == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_29); -lean_dec(x_17); x_36 = lean_ctor_get(x_33, 1); lean_inc(x_36); lean_dec(x_33); @@ -3719,354 +4944,268 @@ goto block_24; } else { -lean_object* x_39; lean_object* x_40; +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; uint64_t x_46; uint64_t x_47; uint64_t x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; size_t x_53; lean_object* x_54; lean_object* x_55; x_39 = lean_ctor_get(x_33, 1); lean_inc(x_39); lean_dec(x_33); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_29); -x_40 = l_Lean_Meta_getIntValue_x3f(x_29, x_10, x_11, x_12, x_13, x_39); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); +x_40 = lean_ctor_get(x_25, 1); +lean_inc(x_40); +x_41 = lean_array_get_size(x_40); +x_42 = l_Lean_Expr_hash(x_29); +x_43 = 32; +x_44 = lean_uint64_shift_right(x_42, x_43); +x_45 = lean_uint64_xor(x_42, x_44); +x_46 = 16; +x_47 = lean_uint64_shift_right(x_45, x_46); +x_48 = lean_uint64_xor(x_45, x_47); +x_49 = lean_uint64_to_usize(x_48); +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = 1; +x_52 = lean_usize_sub(x_50, x_51); +x_53 = lean_usize_land(x_49, x_52); +x_54 = lean_array_uget(x_40, x_53); lean_dec(x_40); -lean_inc(x_1); -x_43 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f(x_1, x_17); -lean_dec(x_17); -if (lean_obj_tag(x_43) == 0) +x_55 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs_checkDiseq___spec__1(x_29, x_54); +lean_dec(x_54); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint64_t x_52; uint64_t x_53; size_t x_54; size_t x_55; size_t x_56; uint64_t x_57; lean_object* x_87; uint8_t x_88; +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; uint64_t x_66; lean_object* x_96; uint8_t x_97; lean_inc(x_3); lean_inc(x_25); lean_inc(x_1); -x_44 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go(x_1, x_25, x_29, x_26, x_3); -x_45 = lean_unsigned_to_nat(1u); -lean_inc(x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); +x_56 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go(x_1, x_25, x_29, x_26, x_3); +x_57 = lean_unsigned_to_nat(1u); +lean_inc(x_56); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); lean_inc(x_1); -x_47 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(x_1, x_29, x_46, x_25); -x_48 = lean_ctor_get(x_26, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_26, 1); -lean_inc(x_49); +x_59 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_assignEqc(x_1, x_29, x_58, x_25); +x_60 = lean_ctor_get(x_26, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_26, 1); +lean_inc(x_61); if (lean_is_exclusive(x_26)) { lean_ctor_release(x_26, 0); lean_ctor_release(x_26, 1); - x_50 = x_26; + x_62 = x_26; } else { lean_dec_ref(x_26); - x_50 = lean_box(0); + x_62 = lean_box(0); } -x_51 = lean_array_get_size(x_49); -x_52 = 32; -x_53 = 16; -x_54 = lean_usize_of_nat(x_51); -lean_dec(x_51); -x_55 = 1; -x_56 = lean_usize_sub(x_54, x_55); -x_87 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; -x_88 = lean_int_dec_lt(x_44, x_87); -if (x_88 == 0) +x_63 = lean_array_get_size(x_61); +x_64 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_65 = lean_usize_sub(x_64, x_51); +x_96 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_97 = lean_int_dec_lt(x_56, x_96); +if (x_97 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint64_t x_92; -x_89 = lean_nat_abs(x_44); -x_90 = lean_unsigned_to_nat(2u); -x_91 = lean_nat_mul(x_90, x_89); -lean_dec(x_89); -x_92 = lean_uint64_of_nat(x_91); -lean_dec(x_91); -x_57 = x_92; -goto block_86; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint64_t x_98; -x_93 = lean_nat_abs(x_44); -x_94 = lean_nat_sub(x_93, x_45); -lean_dec(x_93); -x_95 = lean_unsigned_to_nat(2u); -x_96 = lean_nat_mul(x_95, x_94); -lean_dec(x_94); -x_97 = lean_nat_add(x_96, x_45); -lean_dec(x_96); -x_98 = lean_uint64_of_nat(x_97); -lean_dec(x_97); -x_57 = x_98; -goto block_86; -} -block_86: -{ -uint64_t x_58; uint64_t x_59; uint64_t x_60; uint64_t x_61; size_t x_62; size_t x_63; lean_object* x_64; uint8_t x_65; -x_58 = lean_uint64_shift_right(x_57, x_52); -x_59 = lean_uint64_xor(x_57, x_58); -x_60 = lean_uint64_shift_right(x_59, x_53); -x_61 = lean_uint64_xor(x_59, x_60); -x_62 = lean_uint64_to_usize(x_61); -x_63 = lean_usize_land(x_62, x_56); -x_64 = lean_array_uget(x_49, x_63); -x_65 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(x_44, x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_66 = lean_nat_add(x_48, x_45); -lean_dec(x_48); -x_67 = lean_box(0); -x_68 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_68, 0, x_44); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_64); -x_69 = lean_array_uset(x_49, x_63, x_68); -x_70 = lean_unsigned_to_nat(4u); -x_71 = lean_nat_mul(x_66, x_70); -x_72 = lean_unsigned_to_nat(3u); -x_73 = lean_nat_div(x_71, x_72); -lean_dec(x_71); -x_74 = lean_array_get_size(x_69); -x_75 = lean_nat_dec_le(x_73, x_74); -lean_dec(x_74); -lean_dec(x_73); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_76 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__1(x_69); -if (lean_is_scalar(x_50)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_50; -} -lean_ctor_set(x_77, 0, x_66); -lean_ctor_set(x_77, 1, x_76); -if (lean_is_scalar(x_27)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_27; -} -lean_ctor_set(x_78, 0, x_47); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_78); -x_18 = x_79; -x_19 = x_42; -goto block_24; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -if (lean_is_scalar(x_50)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_50; -} -lean_ctor_set(x_80, 0, x_66); -lean_ctor_set(x_80, 1, x_69); -if (lean_is_scalar(x_27)) { - x_81 = lean_alloc_ctor(0, 2, 0); -} else { - x_81 = x_27; -} -lean_ctor_set(x_81, 0, x_47); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_81); -x_18 = x_82; -x_19 = x_42; -goto block_24; -} -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_64); -lean_dec(x_44); -if (lean_is_scalar(x_50)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_50; -} -lean_ctor_set(x_83, 0, x_48); -lean_ctor_set(x_83, 1, x_49); -if (lean_is_scalar(x_27)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_27; -} -lean_ctor_set(x_84, 0, x_47); -lean_ctor_set(x_84, 1, x_83); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_18 = x_85; -x_19 = x_42; -goto block_24; -} -} -} -else -{ -uint8_t x_99; -lean_dec(x_29); -x_99 = !lean_is_exclusive(x_43); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_43, 0); +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint64_t x_101; +x_98 = lean_nat_abs(x_56); +x_99 = lean_unsigned_to_nat(2u); +x_100 = lean_nat_mul(x_99, x_98); +lean_dec(x_98); +x_101 = lean_uint64_of_nat(x_100); lean_dec(x_100); -if (lean_is_scalar(x_27)) { - x_101 = lean_alloc_ctor(0, 2, 0); -} else { - x_101 = x_27; -} -lean_ctor_set(x_101, 0, x_25); -lean_ctor_set(x_101, 1, x_26); -lean_ctor_set(x_43, 0, x_101); -x_18 = x_43; -x_19 = x_42; -goto block_24; +x_66 = x_101; +goto block_95; } else { -lean_object* x_102; lean_object* x_103; -lean_dec(x_43); -if (lean_is_scalar(x_27)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_27; -} -lean_ctor_set(x_102, 0, x_25); -lean_ctor_set(x_102, 1, x_26); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); -x_18 = x_103; -x_19 = x_42; -goto block_24; -} -} -} -else -{ -uint8_t x_104; -lean_dec(x_29); -lean_dec(x_17); -x_104 = !lean_is_exclusive(x_41); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_41, 0); +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint64_t x_107; +x_102 = lean_nat_abs(x_56); +x_103 = lean_nat_sub(x_102, x_57); +lean_dec(x_102); +x_104 = lean_unsigned_to_nat(2u); +x_105 = lean_nat_mul(x_104, x_103); +lean_dec(x_103); +x_106 = lean_nat_add(x_105, x_57); lean_dec(x_105); -x_106 = lean_ctor_get(x_40, 1); -lean_inc(x_106); -lean_dec(x_40); -if (lean_is_scalar(x_27)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_27; +x_107 = lean_uint64_of_nat(x_106); +lean_dec(x_106); +x_66 = x_107; +goto block_95; } -lean_ctor_set(x_107, 0, x_25); -lean_ctor_set(x_107, 1, x_26); -lean_ctor_set(x_41, 0, x_107); -x_18 = x_41; -x_19 = x_106; +block_95: +{ +uint64_t x_67; uint64_t x_68; uint64_t x_69; uint64_t x_70; size_t x_71; size_t x_72; lean_object* x_73; uint8_t x_74; +x_67 = lean_uint64_shift_right(x_66, x_43); +x_68 = lean_uint64_xor(x_66, x_67); +x_69 = lean_uint64_shift_right(x_68, x_46); +x_70 = lean_uint64_xor(x_68, x_69); +x_71 = lean_uint64_to_usize(x_70); +x_72 = lean_usize_land(x_71, x_65); +x_73 = lean_array_uget(x_61, x_72); +x_74 = l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___spec__1(x_56, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_75 = lean_nat_add(x_60, x_57); +lean_dec(x_60); +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_56); +lean_ctor_set(x_77, 1, x_76); +lean_ctor_set(x_77, 2, x_73); +x_78 = lean_array_uset(x_61, x_72, x_77); +x_79 = lean_unsigned_to_nat(4u); +x_80 = lean_nat_mul(x_75, x_79); +x_81 = lean_unsigned_to_nat(3u); +x_82 = lean_nat_div(x_80, x_81); +lean_dec(x_80); +x_83 = lean_array_get_size(x_78); +x_84 = lean_nat_dec_le(x_82, x_83); +lean_dec(x_83); +lean_dec(x_82); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__1(x_78); +if (lean_is_scalar(x_62)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_62; +} +lean_ctor_set(x_86, 0, x_75); +lean_ctor_set(x_86, 1, x_85); +if (lean_is_scalar(x_27)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_27; +} +lean_ctor_set(x_87, 0, x_59); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_18 = x_88; +x_19 = x_39; goto block_24; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -lean_dec(x_41); -x_108 = lean_ctor_get(x_40, 1); -lean_inc(x_108); -lean_dec(x_40); -if (lean_is_scalar(x_27)) { - x_109 = lean_alloc_ctor(0, 2, 0); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +if (lean_is_scalar(x_62)) { + x_89 = lean_alloc_ctor(0, 2, 0); } else { - x_109 = x_27; + x_89 = x_62; } -lean_ctor_set(x_109, 0, x_25); -lean_ctor_set(x_109, 1, x_26); -x_110 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_110, 0, x_109); -x_18 = x_110; -x_19 = x_108; +lean_ctor_set(x_89, 0, x_75); +lean_ctor_set(x_89, 1, x_78); +if (lean_is_scalar(x_27)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_27; +} +lean_ctor_set(x_90, 0, x_59); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_18 = x_91; +x_19 = x_39; +goto block_24; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_73); +lean_dec(x_56); +if (lean_is_scalar(x_62)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_62; +} +lean_ctor_set(x_92, 0, x_60); +lean_ctor_set(x_92, 1, x_61); +if (lean_is_scalar(x_27)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_27; +} +lean_ctor_set(x_93, 0, x_59); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_18 = x_94; +x_19 = x_39; goto block_24; } } } else { -uint8_t x_111; +uint8_t x_108; lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -lean_dec(x_1); -x_111 = !lean_is_exclusive(x_40); -if (x_111 == 0) +x_108 = !lean_is_exclusive(x_55); +if (x_108 == 0) { -return x_40; +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_55, 0); +lean_dec(x_109); +if (lean_is_scalar(x_27)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_27; +} +lean_ctor_set(x_110, 0, x_25); +lean_ctor_set(x_110, 1, x_26); +lean_ctor_set(x_55, 0, x_110); +x_18 = x_55; +x_19 = x_39; +goto block_24; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_40, 0); -x_113 = lean_ctor_get(x_40, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_40); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_object* x_111; lean_object* x_112; +lean_dec(x_55); +if (lean_is_scalar(x_27)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_27; +} +lean_ctor_set(x_111, 0, x_25); +lean_ctor_set(x_111, 1, x_26); +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_111); +x_18 = x_112; +x_19 = x_39; +goto block_24; } } } } else { -uint8_t x_115; +uint8_t x_113; lean_dec(x_29); lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); -lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_115 = !lean_is_exclusive(x_33); -if (x_115 == 0) +x_113 = !lean_is_exclusive(x_33); +if (x_113 == 0) { return x_33; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_33, 0); -x_117 = lean_ctor_get(x_33, 1); -lean_inc(x_117); -lean_inc(x_116); +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_33, 0); +x_115 = lean_ctor_get(x_33, 1); +lean_inc(x_115); +lean_inc(x_114); lean_dec(x_33); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } } @@ -4086,7 +5225,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4132,7 +5271,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4149,7 +5288,7 @@ else { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; x_14 = lean_array_uget(x_3, x_5); -x_15 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(x_14, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(x_14, x_6, x_7, x_8, x_9, x_10, x_11); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -4167,7 +5306,895 @@ goto _start; } } } -LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___lambda__1(lean_object* x_1, lean_object* x_2) { +static double _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; double x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = 0; +x_3 = l_Float_ofScientific(x_1, x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_array_mk(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_8 = lean_ctor_get(x_5, 5); +x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_3, x_4, x_5, x_6, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_take(x_6, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_12, 1); +x_17 = lean_ctor_get(x_12, 0); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_13, 3); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +lean_object* x_21; double x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_21 = lean_ctor_get(x_14, 0); +x_22 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1; +x_23 = 0; +x_24 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_25 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set_float(x_25, sizeof(void*)*2, x_22); +lean_ctor_set_float(x_25, sizeof(void*)*2 + 8, x_22); +lean_ctor_set_uint8(x_25, sizeof(void*)*2 + 16, x_23); +x_26 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +x_27 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_10); +lean_ctor_set(x_27, 2, x_26); +lean_inc(x_8); +lean_ctor_set(x_12, 1, x_27); +lean_ctor_set(x_12, 0, x_8); +x_28 = l_Lean_PersistentArray_push___rarg(x_21, x_12); +lean_ctor_set(x_14, 0, x_28); +x_29 = lean_st_ref_set(x_6, x_13, x_16); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +uint64_t x_36; lean_object* x_37; double x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_36 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_37 = lean_ctor_get(x_14, 0); +lean_inc(x_37); +lean_dec(x_14); +x_38 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1; +x_39 = 0; +x_40 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_41 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_41, 0, x_1); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set_float(x_41, sizeof(void*)*2, x_38); +lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 16, x_39); +x_42 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +x_43 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_10); +lean_ctor_set(x_43, 2, x_42); +lean_inc(x_8); +lean_ctor_set(x_12, 1, x_43); +lean_ctor_set(x_12, 0, x_8); +x_44 = l_Lean_PersistentArray_push___rarg(x_37, x_12); +x_45 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set_uint64(x_45, sizeof(void*)*1, x_36); +lean_ctor_set(x_13, 3, x_45); +x_46 = lean_st_ref_set(x_6, x_13, x_16); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_48 = x_46; +} else { + lean_dec_ref(x_46); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint64_t x_58; lean_object* x_59; lean_object* x_60; double x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_51 = lean_ctor_get(x_13, 0); +x_52 = lean_ctor_get(x_13, 1); +x_53 = lean_ctor_get(x_13, 2); +x_54 = lean_ctor_get(x_13, 4); +x_55 = lean_ctor_get(x_13, 5); +x_56 = lean_ctor_get(x_13, 6); +x_57 = lean_ctor_get(x_13, 7); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_13); +x_58 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_59 = lean_ctor_get(x_14, 0); +lean_inc(x_59); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_60 = x_14; +} else { + lean_dec_ref(x_14); + x_60 = lean_box(0); +} +x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1; +x_62 = 0; +x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_64 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_64, 0, x_1); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set_float(x_64, sizeof(void*)*2, x_61); +lean_ctor_set_float(x_64, sizeof(void*)*2 + 8, x_61); +lean_ctor_set_uint8(x_64, sizeof(void*)*2 + 16, x_62); +x_65 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +x_66 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_10); +lean_ctor_set(x_66, 2, x_65); +lean_inc(x_8); +lean_ctor_set(x_12, 1, x_66); +lean_ctor_set(x_12, 0, x_8); +x_67 = l_Lean_PersistentArray_push___rarg(x_59, x_12); +if (lean_is_scalar(x_60)) { + x_68 = lean_alloc_ctor(0, 1, 8); +} else { + x_68 = x_60; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set_uint64(x_68, sizeof(void*)*1, x_58); +x_69 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_69, 0, x_51); +lean_ctor_set(x_69, 1, x_52); +lean_ctor_set(x_69, 2, x_53); +lean_ctor_set(x_69, 3, x_68); +lean_ctor_set(x_69, 4, x_54); +lean_ctor_set(x_69, 5, x_55); +lean_ctor_set(x_69, 6, x_56); +lean_ctor_set(x_69, 7, x_57); +x_70 = lean_st_ref_set(x_6, x_69, x_16); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_72 = x_70; +} else { + lean_dec_ref(x_70); + x_72 = lean_box(0); +} +x_73 = lean_box(0); +if (lean_is_scalar(x_72)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_72; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint64_t x_84; lean_object* x_85; lean_object* x_86; double x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_75 = lean_ctor_get(x_12, 1); +lean_inc(x_75); +lean_dec(x_12); +x_76 = lean_ctor_get(x_13, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_13, 1); +lean_inc(x_77); +x_78 = lean_ctor_get(x_13, 2); +lean_inc(x_78); +x_79 = lean_ctor_get(x_13, 4); +lean_inc(x_79); +x_80 = lean_ctor_get(x_13, 5); +lean_inc(x_80); +x_81 = lean_ctor_get(x_13, 6); +lean_inc(x_81); +x_82 = lean_ctor_get(x_13, 7); +lean_inc(x_82); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + lean_ctor_release(x_13, 3); + lean_ctor_release(x_13, 4); + lean_ctor_release(x_13, 5); + lean_ctor_release(x_13, 6); + lean_ctor_release(x_13, 7); + x_83 = x_13; +} else { + lean_dec_ref(x_13); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_85 = lean_ctor_get(x_14, 0); +lean_inc(x_85); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_86 = x_14; +} else { + lean_dec_ref(x_14); + x_86 = lean_box(0); +} +x_87 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1; +x_88 = 0; +x_89 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_90 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_90, 0, x_1); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set_float(x_90, sizeof(void*)*2, x_87); +lean_ctor_set_float(x_90, sizeof(void*)*2 + 8, x_87); +lean_ctor_set_uint8(x_90, sizeof(void*)*2 + 16, x_88); +x_91 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +x_92 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_10); +lean_ctor_set(x_92, 2, x_91); +lean_inc(x_8); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_8); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_PersistentArray_push___rarg(x_85, x_93); +if (lean_is_scalar(x_86)) { + x_95 = lean_alloc_ctor(0, 1, 8); +} else { + x_95 = x_86; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set_uint64(x_95, sizeof(void*)*1, x_84); +if (lean_is_scalar(x_83)) { + x_96 = lean_alloc_ctor(0, 8, 0); +} else { + x_96 = x_83; +} +lean_ctor_set(x_96, 0, x_76); +lean_ctor_set(x_96, 1, x_77); +lean_ctor_set(x_96, 2, x_78); +lean_ctor_set(x_96, 3, x_95); +lean_ctor_set(x_96, 4, x_79); +lean_ctor_set(x_96, 5, x_80); +lean_ctor_set(x_96, 6, x_81); +lean_ctor_set(x_96, 7, x_82); +x_97 = lean_st_ref_set(x_6, x_96, x_75); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_99 = x_97; +} else { + lean_dec_ref(x_97); + x_99 = lean_box(0); +} +x_100 = lean_box(0); +if (lean_is_scalar(x_99)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_99; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_98); +return x_101; +} +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" := ", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("/", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("-", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_8, x_7); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_3); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_25; +lean_dec(x_9); +x_17 = lean_array_uget(x_6, x_8); +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_3); +x_28 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_3, x_10, x_11, x_12, x_13, x_14); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_17); +lean_dec(x_27); +lean_dec(x_26); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1; +x_18 = x_32; +x_19 = x_31; +goto block_24; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_34 = lean_ctor_get(x_28, 1); +x_35 = lean_ctor_get(x_28, 0); +lean_dec(x_35); +x_36 = l_Lean_quoteIfNotAtom(x_26); +x_37 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2; +lean_ctor_set_tag(x_28, 7); +lean_ctor_set(x_28, 1, x_36); +lean_ctor_set(x_28, 0, x_37); +x_38 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4; +lean_ctor_set_tag(x_17, 7); +lean_ctor_set(x_17, 1, x_38); +lean_ctor_set(x_17, 0, x_28); +x_48 = lean_ctor_get(x_27, 1); +lean_inc(x_48); +x_49 = lean_unsigned_to_nat(1u); +x_50 = lean_nat_dec_eq(x_48, x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_ctor_get(x_27, 0); +lean_inc(x_51); +lean_dec(x_27); +x_52 = l___private_Init_Data_Repr_0__Nat_reprFast(x_48); +x_53 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_54 = lean_int_dec_lt(x_51, x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_55 = lean_nat_abs(x_51); +lean_dec(x_51); +x_56 = l___private_Init_Data_Repr_0__Nat_reprFast(x_55); +x_57 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_58 = lean_string_append(x_57, x_56); +lean_dec(x_56); +x_59 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +x_60 = lean_string_append(x_58, x_59); +x_61 = lean_string_append(x_60, x_52); +lean_dec(x_52); +x_62 = lean_string_append(x_61, x_57); +x_39 = x_62; +goto block_47; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_63 = lean_nat_abs(x_51); +lean_dec(x_51); +x_64 = lean_nat_sub(x_63, x_49); +lean_dec(x_63); +x_65 = lean_nat_add(x_64, x_49); +lean_dec(x_64); +x_66 = l___private_Init_Data_Repr_0__Nat_reprFast(x_65); +x_67 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +x_68 = lean_string_append(x_67, x_66); +lean_dec(x_66); +x_69 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_70 = lean_string_append(x_69, x_68); +lean_dec(x_68); +x_71 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +x_72 = lean_string_append(x_70, x_71); +x_73 = lean_string_append(x_72, x_52); +lean_dec(x_52); +x_74 = lean_string_append(x_73, x_69); +x_39 = x_74; +goto block_47; +} +} +else +{ +lean_object* x_75; lean_object* x_76; uint8_t x_77; +lean_dec(x_48); +x_75 = lean_ctor_get(x_27, 0); +lean_inc(x_75); +lean_dec(x_27); +x_76 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_77 = lean_int_dec_lt(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_nat_abs(x_75); +lean_dec(x_75); +x_79 = l___private_Init_Data_Repr_0__Nat_reprFast(x_78); +x_39 = x_79; +goto block_47; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = lean_nat_abs(x_75); +lean_dec(x_75); +x_81 = lean_nat_sub(x_80, x_49); +lean_dec(x_80); +x_82 = lean_nat_add(x_81, x_49); +lean_dec(x_81); +x_83 = l___private_Init_Data_Repr_0__Nat_reprFast(x_82); +x_84 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +x_85 = lean_string_append(x_84, x_83); +lean_dec(x_83); +x_39 = x_85; +goto block_47; +} +} +block_47: +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_40 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = l_Lean_MessageData_ofFormat(x_40); +x_42 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_42, 0, x_17); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_37); +lean_inc(x_3); +x_44 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10(x_3, x_43, x_10, x_11, x_12, x_13, x_34); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1; +x_18 = x_46; +x_19 = x_45; +goto block_24; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_86 = lean_ctor_get(x_28, 1); +lean_inc(x_86); +lean_dec(x_28); +x_87 = l_Lean_quoteIfNotAtom(x_26); +x_88 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4; +lean_ctor_set_tag(x_17, 7); +lean_ctor_set(x_17, 1, x_90); +lean_ctor_set(x_17, 0, x_89); +x_100 = lean_ctor_get(x_27, 1); +lean_inc(x_100); +x_101 = lean_unsigned_to_nat(1u); +x_102 = lean_nat_dec_eq(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_103 = lean_ctor_get(x_27, 0); +lean_inc(x_103); +lean_dec(x_27); +x_104 = l___private_Init_Data_Repr_0__Nat_reprFast(x_100); +x_105 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_106 = lean_int_dec_lt(x_103, x_105); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_nat_abs(x_103); +lean_dec(x_103); +x_108 = l___private_Init_Data_Repr_0__Nat_reprFast(x_107); +x_109 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_110 = lean_string_append(x_109, x_108); +lean_dec(x_108); +x_111 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +x_112 = lean_string_append(x_110, x_111); +x_113 = lean_string_append(x_112, x_104); +lean_dec(x_104); +x_114 = lean_string_append(x_113, x_109); +x_91 = x_114; +goto block_99; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_115 = lean_nat_abs(x_103); +lean_dec(x_103); +x_116 = lean_nat_sub(x_115, x_101); +lean_dec(x_115); +x_117 = lean_nat_add(x_116, x_101); +lean_dec(x_116); +x_118 = l___private_Init_Data_Repr_0__Nat_reprFast(x_117); +x_119 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +x_120 = lean_string_append(x_119, x_118); +lean_dec(x_118); +x_121 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_122 = lean_string_append(x_121, x_120); +lean_dec(x_120); +x_123 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +x_124 = lean_string_append(x_122, x_123); +x_125 = lean_string_append(x_124, x_104); +lean_dec(x_104); +x_126 = lean_string_append(x_125, x_121); +x_91 = x_126; +goto block_99; +} +} +else +{ +lean_object* x_127; lean_object* x_128; uint8_t x_129; +lean_dec(x_100); +x_127 = lean_ctor_get(x_27, 0); +lean_inc(x_127); +lean_dec(x_27); +x_128 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_129 = lean_int_dec_lt(x_127, x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; +x_130 = lean_nat_abs(x_127); +lean_dec(x_127); +x_131 = l___private_Init_Data_Repr_0__Nat_reprFast(x_130); +x_91 = x_131; +goto block_99; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_132 = lean_nat_abs(x_127); +lean_dec(x_127); +x_133 = lean_nat_sub(x_132, x_101); +lean_dec(x_132); +x_134 = lean_nat_add(x_133, x_101); +lean_dec(x_133); +x_135 = l___private_Init_Data_Repr_0__Nat_reprFast(x_134); +x_136 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +x_137 = lean_string_append(x_136, x_135); +lean_dec(x_135); +x_91 = x_137; +goto block_99; +} +} +block_99: +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_92 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_92, 0, x_91); +x_93 = l_Lean_MessageData_ofFormat(x_92); +x_94 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_94, 0, x_17); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_88); +lean_inc(x_3); +x_96 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10(x_3, x_95, x_10, x_11, x_12, x_13, x_86); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1; +x_18 = x_98; +x_19 = x_97; +goto block_24; +} +} +} +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_138 = lean_ctor_get(x_17, 0); +x_139 = lean_ctor_get(x_17, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_17); +lean_inc(x_3); +x_140 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_3, x_10, x_11, x_12, x_13, x_14); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +lean_dec(x_141); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; +lean_dec(x_139); +lean_dec(x_138); +x_143 = lean_ctor_get(x_140, 1); +lean_inc(x_143); +lean_dec(x_140); +x_144 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1; +x_18 = x_144; +x_19 = x_143; +goto block_24; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_161; lean_object* x_162; uint8_t x_163; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_146 = x_140; +} else { + lean_dec_ref(x_140); + x_146 = lean_box(0); +} +x_147 = l_Lean_quoteIfNotAtom(x_138); +x_148 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2; +if (lean_is_scalar(x_146)) { + x_149 = lean_alloc_ctor(7, 2, 0); +} else { + x_149 = x_146; + lean_ctor_set_tag(x_149, 7); +} +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +x_150 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4; +x_151 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +x_161 = lean_ctor_get(x_139, 1); +lean_inc(x_161); +x_162 = lean_unsigned_to_nat(1u); +x_163 = lean_nat_dec_eq(x_161, x_162); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; +x_164 = lean_ctor_get(x_139, 0); +lean_inc(x_164); +lean_dec(x_139); +x_165 = l___private_Init_Data_Repr_0__Nat_reprFast(x_161); +x_166 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_167 = lean_int_dec_lt(x_164, x_166); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_168 = lean_nat_abs(x_164); +lean_dec(x_164); +x_169 = l___private_Init_Data_Repr_0__Nat_reprFast(x_168); +x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_171 = lean_string_append(x_170, x_169); +lean_dec(x_169); +x_172 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +x_173 = lean_string_append(x_171, x_172); +x_174 = lean_string_append(x_173, x_165); +lean_dec(x_165); +x_175 = lean_string_append(x_174, x_170); +x_152 = x_175; +goto block_160; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_176 = lean_nat_abs(x_164); +lean_dec(x_164); +x_177 = lean_nat_sub(x_176, x_162); +lean_dec(x_176); +x_178 = lean_nat_add(x_177, x_162); +lean_dec(x_177); +x_179 = l___private_Init_Data_Repr_0__Nat_reprFast(x_178); +x_180 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +x_181 = lean_string_append(x_180, x_179); +lean_dec(x_179); +x_182 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2; +x_183 = lean_string_append(x_182, x_181); +lean_dec(x_181); +x_184 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5; +x_185 = lean_string_append(x_183, x_184); +x_186 = lean_string_append(x_185, x_165); +lean_dec(x_165); +x_187 = lean_string_append(x_186, x_182); +x_152 = x_187; +goto block_160; +} +} +else +{ +lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_dec(x_161); +x_188 = lean_ctor_get(x_139, 0); +lean_inc(x_188); +lean_dec(x_139); +x_189 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +x_190 = lean_int_dec_lt(x_188, x_189); +if (x_190 == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = lean_nat_abs(x_188); +lean_dec(x_188); +x_192 = l___private_Init_Data_Repr_0__Nat_reprFast(x_191); +x_152 = x_192; +goto block_160; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_193 = lean_nat_abs(x_188); +lean_dec(x_188); +x_194 = lean_nat_sub(x_193, x_162); +lean_dec(x_193); +x_195 = lean_nat_add(x_194, x_162); +lean_dec(x_194); +x_196 = l___private_Init_Data_Repr_0__Nat_reprFast(x_195); +x_197 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6; +x_198 = lean_string_append(x_197, x_196); +lean_dec(x_196); +x_152 = x_198; +goto block_160; +} +} +block_160: +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_153 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_153, 0, x_152); +x_154 = l_Lean_MessageData_ofFormat(x_153); +x_155 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_155, 0, x_151); +lean_ctor_set(x_155, 1, x_154); +x_156 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_148); +lean_inc(x_3); +x_157 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10(x_3, x_156, x_10, x_11, x_12, x_13, x_145); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +lean_dec(x_157); +x_159 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1; +x_18 = x_159; +x_19 = x_158; +goto block_24; +} +} +} +block_24: +{ +lean_object* x_20; size_t x_21; size_t x_22; +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = 1; +x_22 = lean_usize_add(x_8, x_21); +x_8 = x_22; +x_9 = x_20; +x_14 = x_19; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -4177,15 +6204,15 @@ x_5 = lean_expr_lt(x_3, x_4); return x_5; } } -static lean_object* _init_l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___closed__1() { +static lean_object* _init_l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___lambda__1___boxed), 2, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -4198,7 +6225,7 @@ return x_2; else { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_8 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___closed__1; +x_8 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___closed__1; lean_inc(x_3); x_9 = l___private_Init_Data_Array_QSort_0__Array_qpartition___rarg(x_1, x_2, x_8, x_3, x_4, lean_box(0), lean_box(0)); x_10 = lean_ctor_get(x_9, 0); @@ -4210,7 +6237,7 @@ x_12 = lean_nat_dec_le(x_4, x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_1, x_11, x_3, x_10, lean_box(0), lean_box(0)); +x_13 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(x_1, x_11, x_3, x_10, lean_box(0), lean_box(0)); x_14 = lean_unsigned_to_nat(1u); x_15 = lean_nat_add(x_10, x_14); lean_dec(x_10); @@ -4229,6 +6256,16 @@ return x_11; } } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__1() { _start: { @@ -4293,10 +6330,57 @@ return x_2; static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_array_mk(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLift), 3, 2); +lean_closure_set(x_1, 0, lean_box(0)); +lean_closure_set(x_1, 1, lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_lift), 4, 3); +lean_closure_set(x_1, 0, lean_box(0)); +lean_closure_set(x_1, 1, lean_box(0)); +lean_closure_set(x_1, 2, lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("grind", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cutsat", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("model", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__9; +x_2 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__10; +x_3 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__11; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -4326,325 +6410,446 @@ lean_dec(x_13); x_16 = !lean_is_exclusive(x_14); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(x_1, x_11, x_17, x_7, x_8, x_7, x_9, x_10, x_14, x_2, x_3, x_4, x_5, x_15); -lean_dec(x_7); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_1); +x_18 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(x_1, x_7, x_8, x_7, x_9, x_10, x_17, x_2, x_3, x_4, x_5, x_15); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_array_size(x_22); -x_24 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7; -x_25 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(x_8, x_22, x_22, x_23, x_10, x_24, x_2, x_3, x_4, x_5, x_20); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_ctor_set(x_14, 0, x_19); +x_21 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_22 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(x_1, x_11, x_21, x_7, x_8, x_7, x_9, x_10, x_14, x_2, x_3, x_4, x_5, x_20); +lean_dec(x_7); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_array_get_size(x_27); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_sub(x_28, x_29); -x_31 = lean_unsigned_to_nat(0u); -x_32 = lean_nat_dec_eq(x_28, x_31); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_nat_dec_le(x_31, x_30); -if (x_33 == 0) -{ -lean_object* x_34; -lean_inc(x_30); -x_34 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_28, x_27, x_30, x_30, lean_box(0), lean_box(0)); -lean_dec(x_30); -lean_dec(x_28); -lean_ctor_set(x_25, 0, x_34); -return x_25; -} -else -{ -lean_object* x_35; -x_35 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_28, x_27, x_31, x_30, lean_box(0), lean_box(0)); -lean_dec(x_30); -lean_dec(x_28); -lean_ctor_set(x_25, 0, x_35); -return x_25; -} -} -else -{ -lean_dec(x_30); -lean_dec(x_28); -return x_25; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_36 = lean_ctor_get(x_25, 0); -x_37 = lean_ctor_get(x_25, 1); -lean_inc(x_37); -lean_inc(x_36); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); lean_dec(x_25); -x_38 = lean_array_get_size(x_36); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_sub(x_38, x_39); -x_41 = lean_unsigned_to_nat(0u); -x_42 = lean_nat_dec_eq(x_38, x_41); -if (x_42 == 0) +x_27 = lean_array_size(x_26); +x_28 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +x_29 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_8, x_26, x_26, x_27, x_10, x_28, x_2, x_3, x_4, x_5, x_24); +lean_dec(x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; +} else { + lean_dec_ref(x_29); + x_32 = lean_box(0); +} +x_33 = lean_array_get_size(x_30); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_nat_sub(x_33, x_34); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_nat_dec_eq(x_33, x_36); +x_38 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12; +x_39 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_38, x_2, x_3, x_4, x_5, x_31); +if (x_37 == 0) { -uint8_t x_43; -x_43 = lean_nat_dec_le(x_41, x_40); -if (x_43 == 0) +uint8_t x_54; +x_54 = lean_nat_dec_le(x_36, x_35); +if (x_54 == 0) { -lean_object* x_44; lean_object* x_45; -lean_inc(x_40); -x_44 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_38, x_36, x_40, x_40, lean_box(0), lean_box(0)); -lean_dec(x_40); -lean_dec(x_38); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_37); -return x_45; +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = lean_ctor_get(x_39, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_39, 1); +lean_inc(x_56); +lean_dec(x_39); +lean_inc(x_35); +x_57 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(x_33, x_30, x_35, x_35, lean_box(0), lean_box(0)); +lean_dec(x_35); +lean_dec(x_33); +x_58 = lean_unbox(x_55); +lean_dec(x_55); +x_40 = x_57; +x_41 = x_58; +x_42 = x_56; +goto block_53; } else { -lean_object* x_46; lean_object* x_47; -x_46 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_38, x_36, x_41, x_40, lean_box(0), lean_box(0)); -lean_dec(x_40); -lean_dec(x_38); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_37); -return x_47; +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_39, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_39, 1); +lean_inc(x_60); +lean_dec(x_39); +x_61 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(x_33, x_30, x_36, x_35, lean_box(0), lean_box(0)); +lean_dec(x_35); +lean_dec(x_33); +x_62 = lean_unbox(x_59); +lean_dec(x_59); +x_40 = x_61; +x_41 = x_62; +x_42 = x_60; +goto block_53; } } else { -lean_object* x_48; -lean_dec(x_40); -lean_dec(x_38); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_37); -return x_48; +lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_dec(x_35); +lean_dec(x_33); +x_63 = lean_ctor_get(x_39, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_39, 1); +lean_inc(x_64); +lean_dec(x_39); +x_65 = lean_unbox(x_63); +lean_dec(x_63); +x_40 = x_30; +x_41 = x_65; +x_42 = x_64; +goto block_53; } -} -} -else +block_53: { -uint8_t x_49; +if (x_41 == 0) +{ +lean_object* x_43; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_49 = !lean_is_exclusive(x_18); +if (lean_is_scalar(x_32)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_32; +} +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +else +{ +size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_dec(x_32); +x_44 = lean_array_size(x_40); +x_45 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7; +x_46 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8; +x_47 = lean_box(0); +x_48 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11(x_45, x_46, x_38, x_40, x_8, x_40, x_44, x_10, x_47, x_2, x_3, x_4, x_5, x_42); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_49 = !lean_is_exclusive(x_48); if (x_49 == 0) { -return x_18; +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +lean_ctor_set(x_48, 0, x_40); +return x_48; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_18, 0); -x_51 = lean_ctor_get(x_18, 1); +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 1); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_18); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_40); lean_ctor_set(x_52, 1, x_51); return x_52; } } } +} else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_53 = lean_ctor_get(x_14, 0); -x_54 = lean_ctor_get(x_14, 1); -lean_inc(x_54); -lean_inc(x_53); +uint8_t x_66; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_66 = !lean_is_exclusive(x_22); +if (x_66 == 0) +{ +return x_22; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_22, 0); +x_68 = lean_ctor_get(x_22, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_22); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_70 = lean_ctor_get(x_14, 0); +x_71 = lean_ctor_get(x_14, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_14); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; +lean_inc(x_1); +x_72 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(x_1, x_7, x_8, x_7, x_9, x_10, x_70, x_2, x_3, x_4, x_5, x_15); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_71); +x_76 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_pickUnusedValue_go___closed__1; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_57 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(x_1, x_11, x_56, x_7, x_8, x_7, x_9, x_10, x_55, x_2, x_3, x_4, x_5, x_15); +x_77 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(x_1, x_11, x_76, x_7, x_8, x_7, x_9, x_10, x_75, x_2, x_3, x_4, x_5, x_74); lean_dec(x_7); -if (lean_obj_tag(x_57) == 0) +if (lean_obj_tag(x_77) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_58, 0); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_array_size(x_61); -x_63 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7; -x_64 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(x_8, x_61, x_61, x_62, x_10, x_63, x_2, x_3, x_4, x_5, x_59); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_61); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_67 = x_64; -} else { - lean_dec_ref(x_64); - x_67 = lean_box(0); -} -x_68 = lean_array_get_size(x_65); -x_69 = lean_unsigned_to_nat(1u); -x_70 = lean_nat_sub(x_68, x_69); -x_71 = lean_unsigned_to_nat(0u); -x_72 = lean_nat_dec_eq(x_68, x_71); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = lean_nat_dec_le(x_71, x_70); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -lean_inc(x_70); -x_74 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_68, x_65, x_70, x_70, lean_box(0), lean_box(0)); -lean_dec(x_70); -lean_dec(x_68); -if (lean_is_scalar(x_67)) { - x_75 = lean_alloc_ctor(0, 2, 0); -} else { - x_75 = x_67; -} -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_66); -return x_75; -} -else -{ -lean_object* x_76; lean_object* x_77; -x_76 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_68, x_65, x_71, x_70, lean_box(0), lean_box(0)); -lean_dec(x_70); -lean_dec(x_68); -if (lean_is_scalar(x_67)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_67; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_66); -return x_77; -} -} -else -{ -lean_object* x_78; -lean_dec(x_70); -lean_dec(x_68); -if (lean_is_scalar(x_67)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_67; -} -lean_ctor_set(x_78, 0, x_65); -lean_ctor_set(x_78, 1, x_66); -return x_78; -} -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_79 = lean_ctor_get(x_57, 0); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_57, 1); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 0); lean_inc(x_80); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_81 = x_57; +lean_dec(x_78); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = lean_array_size(x_81); +x_83 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3; +x_84 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_8, x_81, x_81, x_82, x_10, x_83, x_2, x_3, x_4, x_5, x_79); +lean_dec(x_81); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; } else { - lean_dec_ref(x_57); - x_81 = lean_box(0); + lean_dec_ref(x_84); + x_87 = lean_box(0); } -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(1, 2, 0); +x_88 = lean_array_get_size(x_85); +x_89 = lean_unsigned_to_nat(1u); +x_90 = lean_nat_sub(x_88, x_89); +x_91 = lean_unsigned_to_nat(0u); +x_92 = lean_nat_dec_eq(x_88, x_91); +x_93 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12; +x_94 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_93, x_2, x_3, x_4, x_5, x_86); +if (x_92 == 0) +{ +uint8_t x_108; +x_108 = lean_nat_dec_le(x_91, x_90); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = lean_ctor_get(x_94, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_94, 1); +lean_inc(x_110); +lean_dec(x_94); +lean_inc(x_90); +x_111 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(x_88, x_85, x_90, x_90, lean_box(0), lean_box(0)); +lean_dec(x_90); +lean_dec(x_88); +x_112 = lean_unbox(x_109); +lean_dec(x_109); +x_95 = x_111; +x_96 = x_112; +x_97 = x_110; +goto block_107; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_94, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_94, 1); +lean_inc(x_114); +lean_dec(x_94); +x_115 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(x_88, x_85, x_91, x_90, lean_box(0), lean_box(0)); +lean_dec(x_90); +lean_dec(x_88); +x_116 = lean_unbox(x_113); +lean_dec(x_113); +x_95 = x_115; +x_96 = x_116; +x_97 = x_114; +goto block_107; +} +} +else +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_90); +lean_dec(x_88); +x_117 = lean_ctor_get(x_94, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_94, 1); +lean_inc(x_118); +lean_dec(x_94); +x_119 = lean_unbox(x_117); +lean_dec(x_117); +x_95 = x_85; +x_96 = x_119; +x_97 = x_118; +goto block_107; +} +block_107: +{ +if (x_96 == 0) +{ +lean_object* x_98; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_87)) { + x_98 = lean_alloc_ctor(0, 2, 0); } else { - x_82 = x_81; + x_98 = x_87; } -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_80); -return x_82; +lean_ctor_set(x_98, 0, x_95); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +else +{ +size_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_87); +x_99 = lean_array_size(x_95); +x_100 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7; +x_101 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8; +x_102 = lean_box(0); +x_103 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11(x_100, x_101, x_93, x_95, x_8, x_95, x_99, x_10, x_102, x_2, x_3, x_4, x_5, x_97); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(0, 2, 0); +} else { + x_106 = x_105; +} +lean_ctor_set(x_106, 0, x_95); +lean_ctor_set(x_106, 1, x_104); +return x_106; } } } else { -uint8_t x_83; +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_120 = lean_ctor_get(x_77, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_77, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_122 = x_77; +} else { + lean_dec_ref(x_77); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +else +{ +uint8_t x_124; lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_83 = !lean_is_exclusive(x_13); -if (x_83 == 0) +x_124 = !lean_is_exclusive(x_13); +if (x_124 == 0) { return x_13; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_13, 0); -x_85 = lean_ctor_get(x_13, 1); -lean_inc(x_85); -lean_inc(x_84); +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_13, 0); +x_126 = lean_ctor_get(x_13, 1); +lean_inc(x_126); +lean_inc(x_125); lean_dec(x_13); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } } +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_12; +} +} LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -4661,7 +6866,26 @@ lean_dec(x_2); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_14 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(x_1, x_2, x_3, x_4, x_13, x_14, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -4669,7 +6893,7 @@ x_15 = lean_unbox_usize(x_7); lean_dec(x_7); x_16 = lean_unbox_usize(x_8); lean_dec(x_8); -x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -4677,11 +6901,11 @@ lean_dec(x_2); return x_17; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Std_DHashMap_Internal_AssocList_forInStep_go___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -4689,7 +6913,7 @@ lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -4697,7 +6921,7 @@ x_12 = lean_unbox_usize(x_4); lean_dec(x_4); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); -x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__8(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4708,27 +6932,73 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_16 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___lambda__1(x_1, x_2); +x_3 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___lambda__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_1); return x_7; } } +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} lean_object* initialize_Lean_Meta_Tactic_Grind_Types(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model(uint8_t builtin, lean_object* w) { @@ -4738,9 +7008,23 @@ _G_initialized = true; res = initialize_Lean_Meta_Tactic_Grind_Types(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntENode___closed__1(); -l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__1(); -l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__2___closed__2(); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isIntNatENode___closed__1(); +l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___closed__1 = _init_l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___closed__1(); +lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__1___closed__1); +l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__1(); +l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___spec__3___closed__2(); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__1); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__2); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__3); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__4); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__5 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__5); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__6 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getCutsatAssignment_x3f___closed__6); l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__1); l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_forInStep___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_satisfyDiseqs___spec__1___lambda__1___closed__2(); @@ -4789,8 +7073,53 @@ l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_C lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__11); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__12); -l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___closed__1 = _init_l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___closed__1(); -lean_mark_persistent(l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__9___closed__1); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__13 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__13); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__14 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__14(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__14); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__15 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__15(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__15); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__16 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__16(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__16); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__17 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__17(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__17); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__18 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__18(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__18); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__19 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__19(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__19); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__20 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__20(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__20); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_isInterpretedTerm___closed__21); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__1); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_natCast_x3f___closed__2); +l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1___closed__1 = _init_l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1___closed__1(); +lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___spec__1___closed__1); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__1); +l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model_0__Lean_Meta_Grind_Arith_Cutsat_getAssignment_x3f___closed__2); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__1(); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__2); +l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3 = _init_l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__10___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__1); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__2); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__3(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__3); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__4); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__5); +l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6(); +lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__11___closed__6); +l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___closed__1 = _init_l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___closed__1(); +lean_mark_persistent(l_Array_qsort_sort___at_Lean_Meta_Grind_Arith_Cutsat_mkModel___spec__12___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__1 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__1(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__1); l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__2 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__2(); @@ -4805,6 +7134,16 @@ l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__6 = _init_l_Lean_Meta_Grind_Ari lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__6); l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7(); lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__7); +l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__8); +l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__9 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__9(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__9); +l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__10 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__10(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__10); +l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__11 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__11(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__11); +l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12 = _init_l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12(); +lean_mark_persistent(l_Lean_Meta_Grind_Arith_Cutsat_mkModel___closed__12); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c index a1feb8d523..1ffd7488e3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c @@ -128,7 +128,6 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__6___closed__5; LEAN_EXPORT lean_object* l_Lean_RBTree_toArray___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__3(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___lambda__2(lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveDvdConflict___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -179,7 +178,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2___clos LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_Cutsat_processVar___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_Cutsat_mkCase___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_split___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,7 +230,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___closed__5; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__5___closed__4; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Grind_Arith_Cutsat_mkModel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -262,7 +259,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveRealLowerUpperCon static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___closed__1; static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_findCase___spec__2___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findIntVal(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_split___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -310,7 +306,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_tightUsingDvd___closed__1; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__8___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchQLiaAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,7 +339,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7___clos LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_findDiseq_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_ge___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__4; uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_18_(uint8_t, uint8_t); uint8_t l_Std_Internal_Rat_lt(lean_object*, lean_object*); @@ -377,7 +371,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_tightUsingDvd___lambda__3___c LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_resetDecisionStack___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_union___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__3; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__6___closed__1; static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__4___lambda__2___closed__20; @@ -407,7 +400,6 @@ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_split___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdSolution_ge(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -491,7 +483,6 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_ static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__4___closed__3; static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___closed__4; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___spec__9(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestUpper_x3f___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveCooperPred___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -586,7 +577,6 @@ lean_object* l_Int_Linear_Poly_combine_x27(lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___lambda__4___closed__4; lean_object* l_Lean_Meta_Grind_Arith_Cutsat_LeCnstr_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -615,7 +605,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_findRatDiseq_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__5___boxed(lean_object**); static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_resolveConflict___lambda__10___closed__4; -static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Grind_Arith_Cutsat_resolveRatDiseq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___boxed(lean_object**); @@ -650,7 +639,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_DvdCnstr_getSolutions_x3 static lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__3___closed__12; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_substCore___spec__5(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static double l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Arith_Cutsat_getBestLower_x3f___spec__3___lambda__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_Cutsat_DiseqCnstr_split___spec__1___boxed(lean_object*, lean_object*); @@ -33139,1156 +33127,6 @@ x_13 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind return x_13; } } -static double _init_l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1() { -_start: -{ -lean_object* x_1; uint8_t x_2; double x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = 0; -x_3 = l_Float_ofScientific(x_1, x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_12 = lean_ctor_get(x_9, 5); -x_13 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_st_ref_take(x_10, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_16, 1); -x_21 = lean_ctor_get(x_16, 0); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_17); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_17, 3); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) -{ -lean_object* x_25; double x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_25 = lean_ctor_get(x_18, 0); -x_26 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; -x_27 = 0; -x_28 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_29 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set_float(x_29, sizeof(void*)*2, x_26); -lean_ctor_set_float(x_29, sizeof(void*)*2 + 8, x_26); -lean_ctor_set_uint8(x_29, sizeof(void*)*2 + 16, x_27); -x_30 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_31 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_14); -lean_ctor_set(x_31, 2, x_30); -lean_inc(x_12); -lean_ctor_set(x_16, 1, x_31); -lean_ctor_set(x_16, 0, x_12); -x_32 = l_Lean_PersistentArray_push___rarg(x_25, x_16); -lean_ctor_set(x_18, 0, x_32); -x_33 = lean_st_ref_set(x_10, x_17, x_20); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -x_36 = lean_box(0); -lean_ctor_set(x_33, 0, x_36); -return x_33; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); -lean_dec(x_33); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; -} -} -else -{ -uint64_t x_40; lean_object* x_41; double x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_40 = lean_ctor_get_uint64(x_18, sizeof(void*)*1); -x_41 = lean_ctor_get(x_18, 0); -lean_inc(x_41); -lean_dec(x_18); -x_42 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; -x_43 = 0; -x_44 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_45 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set_float(x_45, sizeof(void*)*2, x_42); -lean_ctor_set_float(x_45, sizeof(void*)*2 + 8, x_42); -lean_ctor_set_uint8(x_45, sizeof(void*)*2 + 16, x_43); -x_46 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_47 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_14); -lean_ctor_set(x_47, 2, x_46); -lean_inc(x_12); -lean_ctor_set(x_16, 1, x_47); -lean_ctor_set(x_16, 0, x_12); -x_48 = l_Lean_PersistentArray_push___rarg(x_41, x_16); -x_49 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set_uint64(x_49, sizeof(void*)*1, x_40); -lean_ctor_set(x_17, 3, x_49); -x_50 = lean_st_ref_set(x_10, x_17, x_20); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_52 = x_50; -} else { - lean_dec_ref(x_50); - x_52 = lean_box(0); -} -x_53 = lean_box(0); -if (lean_is_scalar(x_52)) { - x_54 = lean_alloc_ctor(0, 2, 0); -} else { - x_54 = x_52; -} -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_51); -return x_54; -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint64_t x_62; lean_object* x_63; lean_object* x_64; double x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_55 = lean_ctor_get(x_17, 0); -x_56 = lean_ctor_get(x_17, 1); -x_57 = lean_ctor_get(x_17, 2); -x_58 = lean_ctor_get(x_17, 4); -x_59 = lean_ctor_get(x_17, 5); -x_60 = lean_ctor_get(x_17, 6); -x_61 = lean_ctor_get(x_17, 7); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_17); -x_62 = lean_ctor_get_uint64(x_18, sizeof(void*)*1); -x_63 = lean_ctor_get(x_18, 0); -lean_inc(x_63); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - x_64 = x_18; -} else { - lean_dec_ref(x_18); - x_64 = lean_box(0); -} -x_65 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; -x_66 = 0; -x_67 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_68 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_68, 0, x_1); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set_float(x_68, sizeof(void*)*2, x_65); -lean_ctor_set_float(x_68, sizeof(void*)*2 + 8, x_65); -lean_ctor_set_uint8(x_68, sizeof(void*)*2 + 16, x_66); -x_69 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_70 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_14); -lean_ctor_set(x_70, 2, x_69); -lean_inc(x_12); -lean_ctor_set(x_16, 1, x_70); -lean_ctor_set(x_16, 0, x_12); -x_71 = l_Lean_PersistentArray_push___rarg(x_63, x_16); -if (lean_is_scalar(x_64)) { - x_72 = lean_alloc_ctor(0, 1, 8); -} else { - x_72 = x_64; -} -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set_uint64(x_72, sizeof(void*)*1, x_62); -x_73 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_73, 0, x_55); -lean_ctor_set(x_73, 1, x_56); -lean_ctor_set(x_73, 2, x_57); -lean_ctor_set(x_73, 3, x_72); -lean_ctor_set(x_73, 4, x_58); -lean_ctor_set(x_73, 5, x_59); -lean_ctor_set(x_73, 6, x_60); -lean_ctor_set(x_73, 7, x_61); -x_74 = lean_st_ref_set(x_10, x_73, x_20); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_76 = x_74; -} else { - lean_dec_ref(x_74); - x_76 = lean_box(0); -} -x_77 = lean_box(0); -if (lean_is_scalar(x_76)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_76; -} -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_75); -return x_78; -} -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint64_t x_88; lean_object* x_89; lean_object* x_90; double x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_79 = lean_ctor_get(x_16, 1); -lean_inc(x_79); -lean_dec(x_16); -x_80 = lean_ctor_get(x_17, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_17, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_17, 2); -lean_inc(x_82); -x_83 = lean_ctor_get(x_17, 4); -lean_inc(x_83); -x_84 = lean_ctor_get(x_17, 5); -lean_inc(x_84); -x_85 = lean_ctor_get(x_17, 6); -lean_inc(x_85); -x_86 = lean_ctor_get(x_17, 7); -lean_inc(x_86); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - lean_ctor_release(x_17, 3); - lean_ctor_release(x_17, 4); - lean_ctor_release(x_17, 5); - lean_ctor_release(x_17, 6); - lean_ctor_release(x_17, 7); - x_87 = x_17; -} else { - lean_dec_ref(x_17); - x_87 = lean_box(0); -} -x_88 = lean_ctor_get_uint64(x_18, sizeof(void*)*1); -x_89 = lean_ctor_get(x_18, 0); -lean_inc(x_89); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - x_90 = x_18; -} else { - lean_dec_ref(x_18); - x_90 = lean_box(0); -} -x_91 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1; -x_92 = 0; -x_93 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_94 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_94, 0, x_1); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set_float(x_94, sizeof(void*)*2, x_91); -lean_ctor_set_float(x_94, sizeof(void*)*2 + 8, x_91); -lean_ctor_set_uint8(x_94, sizeof(void*)*2 + 16, x_92); -x_95 = l_Lean_Meta_Grind_Arith_Cutsat_getDiseqValues___closed__1; -x_96 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_14); -lean_ctor_set(x_96, 2, x_95); -lean_inc(x_12); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_12); -lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lean_PersistentArray_push___rarg(x_89, x_97); -if (lean_is_scalar(x_90)) { - x_99 = lean_alloc_ctor(0, 1, 8); -} else { - x_99 = x_90; -} -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set_uint64(x_99, sizeof(void*)*1, x_88); -if (lean_is_scalar(x_87)) { - x_100 = lean_alloc_ctor(0, 8, 0); -} else { - x_100 = x_87; -} -lean_ctor_set(x_100, 0, x_80); -lean_ctor_set(x_100, 1, x_81); -lean_ctor_set(x_100, 2, x_82); -lean_ctor_set(x_100, 3, x_99); -lean_ctor_set(x_100, 4, x_83); -lean_ctor_set(x_100, 5, x_84); -lean_ctor_set(x_100, 6, x_85); -lean_ctor_set(x_100, 7, x_86); -x_101 = lean_st_ref_set(x_10, x_100, x_79); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_103 = x_101; -} else { - lean_dec_ref(x_101); - x_103 = lean_box(0); -} -x_104 = lean_box(0); -if (lean_is_scalar(x_103)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_103; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_102); -return x_105; -} -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_6, x_5); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_7); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_27; -lean_dec(x_7); -x_19 = lean_array_uget(x_4, x_6); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_19, 0); -x_29 = lean_ctor_get(x_19, 1); -lean_inc(x_1); -x_30 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_unbox(x_31); -lean_dec(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_free_object(x_19); -lean_dec(x_29); -lean_dec(x_28); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_34; -x_21 = x_33; -goto block_26; -} -else -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_30); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_36 = lean_ctor_get(x_30, 1); -x_37 = lean_ctor_get(x_30, 0); -lean_dec(x_37); -x_38 = l_Lean_quoteIfNotAtom(x_28); -x_39 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; -lean_ctor_set_tag(x_30, 7); -lean_ctor_set(x_30, 1, x_38); -lean_ctor_set(x_30, 0, x_39); -x_40 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; -lean_ctor_set_tag(x_19, 7); -lean_ctor_set(x_19, 1, x_40); -lean_ctor_set(x_19, 0, x_30); -x_41 = lean_ctor_get(x_29, 1); -lean_inc(x_41); -x_42 = lean_unsigned_to_nat(1u); -x_43 = lean_nat_dec_eq(x_41, x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_44 = lean_ctor_get(x_29, 0); -lean_inc(x_44); -lean_dec(x_29); -x_45 = l___private_Init_Data_Repr_0__Nat_reprFast(x_41); -x_46 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_47 = lean_int_dec_lt(x_44, x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_48 = lean_nat_abs(x_44); -lean_dec(x_44); -x_49 = l___private_Init_Data_Repr_0__Nat_reprFast(x_48); -x_50 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_51 = lean_string_append(x_50, x_49); -lean_dec(x_49); -x_52 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_53 = lean_string_append(x_51, x_52); -x_54 = lean_string_append(x_53, x_45); -lean_dec(x_45); -x_55 = lean_string_append(x_54, x_50); -x_56 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_57 = l_Lean_MessageData_ofFormat(x_56); -x_58 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_58, 0, x_19); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_39); -lean_inc(x_1); -x_60 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_59, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_36); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_62; -x_21 = x_61; -goto block_26; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_63 = lean_nat_abs(x_44); -lean_dec(x_44); -x_64 = lean_nat_sub(x_63, x_42); -lean_dec(x_63); -x_65 = lean_nat_add(x_64, x_42); -lean_dec(x_64); -x_66 = l___private_Init_Data_Repr_0__Nat_reprFast(x_65); -x_67 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; -x_68 = lean_string_append(x_67, x_66); -lean_dec(x_66); -x_69 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_70 = lean_string_append(x_69, x_68); -lean_dec(x_68); -x_71 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_72 = lean_string_append(x_70, x_71); -x_73 = lean_string_append(x_72, x_45); -lean_dec(x_45); -x_74 = lean_string_append(x_73, x_69); -x_75 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = l_Lean_MessageData_ofFormat(x_75); -x_77 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_77, 0, x_19); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_39); -lean_inc(x_1); -x_79 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_78, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_36); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_81; -x_21 = x_80; -goto block_26; -} -} -else -{ -lean_object* x_82; lean_object* x_83; uint8_t x_84; -lean_dec(x_41); -x_82 = lean_ctor_get(x_29, 0); -lean_inc(x_82); -lean_dec(x_29); -x_83 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_84 = lean_int_dec_lt(x_82, x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_85 = lean_nat_abs(x_82); -lean_dec(x_82); -x_86 = l___private_Init_Data_Repr_0__Nat_reprFast(x_85); -x_87 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_87, 0, x_86); -x_88 = l_Lean_MessageData_ofFormat(x_87); -x_89 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_89, 0, x_19); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_39); -lean_inc(x_1); -x_91 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_36); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_93; -x_21 = x_92; -goto block_26; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_94 = lean_nat_abs(x_82); -lean_dec(x_82); -x_95 = lean_nat_sub(x_94, x_42); -lean_dec(x_94); -x_96 = lean_nat_add(x_95, x_42); -lean_dec(x_95); -x_97 = l___private_Init_Data_Repr_0__Nat_reprFast(x_96); -x_98 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; -x_99 = lean_string_append(x_98, x_97); -lean_dec(x_97); -x_100 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_100, 0, x_99); -x_101 = l_Lean_MessageData_ofFormat(x_100); -x_102 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_102, 0, x_19); -lean_ctor_set(x_102, 1, x_101); -x_103 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_39); -lean_inc(x_1); -x_104 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_103, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_36); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_106 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_106; -x_21 = x_105; -goto block_26; -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_107 = lean_ctor_get(x_30, 1); -lean_inc(x_107); -lean_dec(x_30); -x_108 = l_Lean_quoteIfNotAtom(x_28); -x_109 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; -x_110 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -x_111 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; -lean_ctor_set_tag(x_19, 7); -lean_ctor_set(x_19, 1, x_111); -lean_ctor_set(x_19, 0, x_110); -x_112 = lean_ctor_get(x_29, 1); -lean_inc(x_112); -x_113 = lean_unsigned_to_nat(1u); -x_114 = lean_nat_dec_eq(x_112, x_113); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = lean_ctor_get(x_29, 0); -lean_inc(x_115); -lean_dec(x_29); -x_116 = l___private_Init_Data_Repr_0__Nat_reprFast(x_112); -x_117 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_118 = lean_int_dec_lt(x_115, x_117); -if (x_118 == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_119 = lean_nat_abs(x_115); -lean_dec(x_115); -x_120 = l___private_Init_Data_Repr_0__Nat_reprFast(x_119); -x_121 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_122 = lean_string_append(x_121, x_120); -lean_dec(x_120); -x_123 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_124 = lean_string_append(x_122, x_123); -x_125 = lean_string_append(x_124, x_116); -lean_dec(x_116); -x_126 = lean_string_append(x_125, x_121); -x_127 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_128 = l_Lean_MessageData_ofFormat(x_127); -x_129 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_129, 0, x_19); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_109); -lean_inc(x_1); -x_131 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_130, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_133 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_133; -x_21 = x_132; -goto block_26; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_134 = lean_nat_abs(x_115); -lean_dec(x_115); -x_135 = lean_nat_sub(x_134, x_113); -lean_dec(x_134); -x_136 = lean_nat_add(x_135, x_113); -lean_dec(x_135); -x_137 = l___private_Init_Data_Repr_0__Nat_reprFast(x_136); -x_138 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; -x_139 = lean_string_append(x_138, x_137); -lean_dec(x_137); -x_140 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_141 = lean_string_append(x_140, x_139); -lean_dec(x_139); -x_142 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_143 = lean_string_append(x_141, x_142); -x_144 = lean_string_append(x_143, x_116); -lean_dec(x_116); -x_145 = lean_string_append(x_144, x_140); -x_146 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_146, 0, x_145); -x_147 = l_Lean_MessageData_ofFormat(x_146); -x_148 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_148, 0, x_19); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_109); -lean_inc(x_1); -x_150 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_149, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_152; -x_21 = x_151; -goto block_26; -} -} -else -{ -lean_object* x_153; lean_object* x_154; uint8_t x_155; -lean_dec(x_112); -x_153 = lean_ctor_get(x_29, 0); -lean_inc(x_153); -lean_dec(x_29); -x_154 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_155 = lean_int_dec_lt(x_153, x_154); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_156 = lean_nat_abs(x_153); -lean_dec(x_153); -x_157 = l___private_Init_Data_Repr_0__Nat_reprFast(x_156); -x_158 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_158, 0, x_157); -x_159 = l_Lean_MessageData_ofFormat(x_158); -x_160 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_160, 0, x_19); -lean_ctor_set(x_160, 1, x_159); -x_161 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_109); -lean_inc(x_1); -x_162 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_161, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -lean_dec(x_162); -x_164 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_164; -x_21 = x_163; -goto block_26; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_165 = lean_nat_abs(x_153); -lean_dec(x_153); -x_166 = lean_nat_sub(x_165, x_113); -lean_dec(x_165); -x_167 = lean_nat_add(x_166, x_113); -lean_dec(x_166); -x_168 = l___private_Init_Data_Repr_0__Nat_reprFast(x_167); -x_169 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; -x_170 = lean_string_append(x_169, x_168); -lean_dec(x_168); -x_171 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_171, 0, x_170); -x_172 = l_Lean_MessageData_ofFormat(x_171); -x_173 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_173, 0, x_19); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_109); -lean_inc(x_1); -x_175 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_174, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -lean_dec(x_175); -x_177 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_177; -x_21 = x_176; -goto block_26; -} -} -} -} -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_178 = lean_ctor_get(x_19, 0); -x_179 = lean_ctor_get(x_19, 1); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_19); -lean_inc(x_1); -x_180 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_unbox(x_181); -lean_dec(x_181); -if (x_182 == 0) -{ -lean_object* x_183; lean_object* x_184; -lean_dec(x_179); -lean_dec(x_178); -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_dec(x_180); -x_184 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_184; -x_21 = x_183; -goto block_26; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -x_185 = lean_ctor_get(x_180, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_186 = x_180; -} else { - lean_dec_ref(x_180); - x_186 = lean_box(0); -} -x_187 = l_Lean_quoteIfNotAtom(x_178); -x_188 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__4; -if (lean_is_scalar(x_186)) { - x_189 = lean_alloc_ctor(7, 2, 0); -} else { - x_189 = x_186; - lean_ctor_set_tag(x_189, 7); -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__4; -x_191 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_ctor_get(x_179, 1); -lean_inc(x_192); -x_193 = lean_unsigned_to_nat(1u); -x_194 = lean_nat_dec_eq(x_192, x_193); -if (x_194 == 0) -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; -x_195 = lean_ctor_get(x_179, 0); -lean_inc(x_195); -lean_dec(x_179); -x_196 = l___private_Init_Data_Repr_0__Nat_reprFast(x_192); -x_197 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_198 = lean_int_dec_lt(x_195, x_197); -if (x_198 == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_199 = lean_nat_abs(x_195); -lean_dec(x_195); -x_200 = l___private_Init_Data_Repr_0__Nat_reprFast(x_199); -x_201 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_202 = lean_string_append(x_201, x_200); -lean_dec(x_200); -x_203 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_204 = lean_string_append(x_202, x_203); -x_205 = lean_string_append(x_204, x_196); -lean_dec(x_196); -x_206 = lean_string_append(x_205, x_201); -x_207 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_207, 0, x_206); -x_208 = l_Lean_MessageData_ofFormat(x_207); -x_209 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_209, 0, x_191); -lean_ctor_set(x_209, 1, x_208); -x_210 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_188); -lean_inc(x_1); -x_211 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_210, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_185); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_213 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_213; -x_21 = x_212; -goto block_26; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_214 = lean_nat_abs(x_195); -lean_dec(x_195); -x_215 = lean_nat_sub(x_214, x_193); -lean_dec(x_214); -x_216 = lean_nat_add(x_215, x_193); -lean_dec(x_215); -x_217 = l___private_Init_Data_Repr_0__Nat_reprFast(x_216); -x_218 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; -x_219 = lean_string_append(x_218, x_217); -lean_dec(x_217); -x_220 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___lambda__2___closed__3; -x_221 = lean_string_append(x_220, x_219); -lean_dec(x_219); -x_222 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__6; -x_223 = lean_string_append(x_221, x_222); -x_224 = lean_string_append(x_223, x_196); -lean_dec(x_196); -x_225 = lean_string_append(x_224, x_220); -x_226 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_226, 0, x_225); -x_227 = l_Lean_MessageData_ofFormat(x_226); -x_228 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_228, 0, x_191); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_188); -lean_inc(x_1); -x_230 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_229, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_185); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -lean_dec(x_230); -x_232 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_232; -x_21 = x_231; -goto block_26; -} -} -else -{ -lean_object* x_233; lean_object* x_234; uint8_t x_235; -lean_dec(x_192); -x_233 = lean_ctor_get(x_179, 0); -lean_inc(x_233); -lean_dec(x_179); -x_234 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__5; -x_235 = lean_int_dec_lt(x_233, x_234); -if (x_235 == 0) -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_236 = lean_nat_abs(x_233); -lean_dec(x_233); -x_237 = l___private_Init_Data_Repr_0__Nat_reprFast(x_236); -x_238 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_238, 0, x_237); -x_239 = l_Lean_MessageData_ofFormat(x_238); -x_240 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_240, 0, x_191); -lean_ctor_set(x_240, 1, x_239); -x_241 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_188); -lean_inc(x_1); -x_242 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_241, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_185); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_244 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_244; -x_21 = x_243; -goto block_26; -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_245 = lean_nat_abs(x_233); -lean_dec(x_233); -x_246 = lean_nat_sub(x_245, x_193); -lean_dec(x_245); -x_247 = lean_nat_add(x_246, x_193); -lean_dec(x_246); -x_248 = l___private_Init_Data_Repr_0__Nat_reprFast(x_247); -x_249 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceAssignment___closed__7; -x_250 = lean_string_append(x_249, x_248); -lean_dec(x_248); -x_251 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_251, 0, x_250); -x_252 = l_Lean_MessageData_ofFormat(x_251); -x_253 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_253, 0, x_191); -lean_ctor_set(x_253, 1, x_252); -x_254 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_188); -lean_inc(x_1); -x_255 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_254, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_185); -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -lean_dec(x_255); -x_257 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1; -x_20 = x_257; -x_21 = x_256; -goto block_26; -} -} -} -} -block_26: -{ -lean_object* x_22; size_t x_23; size_t x_24; -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -lean_dec(x_20); -x_23 = 1; -x_24 = lean_usize_add(x_6, x_23); -x_6 = x_24; -x_7 = x_22; -x_16 = x_21; -goto _start; -} -} -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("model", 5, 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__1; -x_2 = l_Lean_Meta_Grind_Arith_Cutsat_CooperSplit_assert___closed__3; -x_3 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2; -x_11 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Grind_updateLastTag___spec__1(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_unbox(x_12); -lean_dec(x_12); -if (x_13 == 0) -{ -uint8_t x_14; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_14 = !lean_is_exclusive(x_11); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_11, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_11, 0, x_16); -return x_11; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_st_ref_get(x_1, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_24 = l_Lean_Meta_Grind_Arith_Cutsat_mkModel(x_22, x_5, x_6, x_7, x_8, x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_box(0); -x_28 = lean_array_size(x_25); -x_29 = 0; -x_30 = lean_box(0); -x_31 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2(x_10, x_25, x_27, x_25, x_28, x_29, x_30, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_25); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_30); -return x_31; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -return x_24; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_24, 0); -x_38 = lean_ctor_get(x_24, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_24); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2(x_1, x_2, x_3, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_19; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_resetDecisionStack___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -35215,59 +34053,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda _start: { lean_object* x_11; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_11 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_assignElimVars(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_13; -} -else -{ -uint8_t x_14; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_14 = !lean_is_exclusive(x_11); -if (x_14 == 0) -{ return x_11; } -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_Cutsat_searchAssigment___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: @@ -36861,13 +35649,6 @@ l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search lean_mark_persistent(l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___closed__1); l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___closed__2 = _init_l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___closed__2(); lean_mark_persistent(l_Lean_Loop_forIn_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchAssigmentMain___spec__3___closed__2); -l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__1___closed__1(); -l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___spec__2___closed__1); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__1); -l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_traceModel___closed__2); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_resetDecisionStack___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_resetDecisionStack___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_resetDecisionStack___closed__1); l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchQLiaAssignment___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_Search_0__Lean_Meta_Grind_Arith_Cutsat_searchQLiaAssignment___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/PP.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/PP.c index d2373d6211..f987ed3ca4 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/PP.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/PP.c @@ -50,6 +50,7 @@ uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1___closed__1; static lean_object* l_Lean_Meta_Grind_Goal_ppENodeRef___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_goalToMessageData___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -239,6 +240,7 @@ lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_mkEMatchTheoremCore___spec__ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_goalToMessageData_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_ppENodeRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -285,6 +287,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__2; uint8_t l_Lean_Expr_isConst(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goal_ppENodeDecl___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_goalToMessageData___lambda__1___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5840,44 +5843,88 @@ return x_30; } } } +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_2, 13); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_Lean_PersistentArray_isEmpty___rarg(x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +lean_inc(x_2); +x_14 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__2(x_2, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_3); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_8); +return x_17; +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3___boxed), 8, 0); +return x_1; +} +} LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_ctor_get(x_1, 13); +x_8 = lean_ctor_get(x_5, 2); lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); +x_9 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___closed__1; +x_10 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goal_ppENodeDecl___lambda__2___closed__2; +x_11 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_8, x_10); lean_dec(x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_PersistentArray_isEmpty___rarg(x_10); -lean_dec(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -lean_inc(x_1); -x_13 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__2(x_1, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_2); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_7); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_2); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = lean_apply_8(x_9, x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_16; } } @@ -5927,6 +5974,15 @@ lean_dec(x_2); return x_10; } } +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_9; +} +} static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1___closed__1() { _start: { @@ -6287,7 +6343,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Gri _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Assignment satisfying integer contraints", 40, 40); +x_1 = lean_mk_string_unchecked("Assignment satisfying linear contraints", 39, 39); return x_1; } } @@ -8161,6 +8217,8 @@ l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___ lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__5); l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__6 = _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__6(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__6); +l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___closed__1); l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1___closed__1(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1___closed__1); l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1___closed__2(); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Basic.c b/stage0/stdlib/Std/Data/DTreeMap/Basic.c index 12c777848f..eb17811e08 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Basic.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Basic.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_partition___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Const_getD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_mergeBy___spec__2(lean_object*); @@ -23,13 +24,14 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGED___rarg___boxed(lean_ob static lean_object* l_Std_DTreeMap_instRepr___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__18; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_toList___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_max___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__2; static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGT_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instSingletonSigma___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_getEntryGE_x21___rarg___closed__3; @@ -39,30 +41,36 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_m LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_fromArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Const_getEntryLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntryD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_ofArray___spec__2(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__7; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_get_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_getKeyLE_x3f___spec__1(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_findD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Const_getEntryGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_getEntryGTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLE_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_getThenInsertIfNew_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instMembership___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__3; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGTD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKeyD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__20; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Const_getEntryGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_all___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_instForInSigma___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2; static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_getKeyGE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_ofArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -76,7 +84,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMa LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_entryAtIdxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD___at_Std_DTreeMap_keyAtIndexD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__17; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_mergeWith___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -87,6 +94,7 @@ static lean_object* l_Std_DTreeMap_instRepr___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___at_Std_DTreeMap_minKey___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instDecidableMem(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_any(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_getEntryGE_x21___rarg___closed__4; @@ -97,6 +105,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get_x21___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTreeMap_Const_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toList___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_find_x21(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__16; @@ -107,7 +116,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTr LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std_DTreeMap_Const_entryAtIdxD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_all___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_revFold___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max(lean_object*); @@ -115,21 +124,27 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_D LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_insertManyIfNewUnit___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLED(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_getEntryGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_fold___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_keyAtIndex_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntryD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__25; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_find_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_isEmpty___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_all___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_containsThenInsert___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_insert(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Const_getEntryGE_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_instDecidableMem___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_DTreeMap_getKey_x3f___spec__1(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__24; @@ -147,8 +162,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_ LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLT_x3f(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_any___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getD(lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6153_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTreeMap_Const_find_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_valuesArray___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldr___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx___at_Std_DTreeMap_Const_entryAtIdx___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -166,9 +184,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_insertMany___rarg___lambda__1(lean_objec LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_all___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_getEntryLE_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_DTreeMap_maxKey___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMap_Const_get___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_fromArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_isEmpty(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -193,14 +213,18 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTree LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_findD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_getThenInsertIfNew_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__5; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_fold___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_containsThenInsertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_unitOfArray___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___at_Std_DTreeMap_entryAtIdx___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_all___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLED(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_foldl___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_getEntryGT_x21___spec__1(lean_object*, lean_object*); @@ -210,7 +234,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx___rarg(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Std_DTreeMap_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_insertIfNew___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_instRepr___spec__1___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_forIn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -229,6 +252,9 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_minKey_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_toList___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_instDecidableMem___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -241,9 +267,10 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_C LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1___rarg___closed__1; -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_partition___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1___rarg___closed__1; @@ -258,45 +285,55 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_findD___rarg___boxed(lean_object*, LEAN_EXPORT uint8_t l_Std_DTreeMap_all___rarg___lambda__1(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__15; LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLE_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_balance___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_valuesArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGE_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter___at_Std_DTreeMap_alter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLE_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_minKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_all___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLE_x3f(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_mergeBy___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_find_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_entryAtIdxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_any___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_fromList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6666_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_keysArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_ofList(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_ofArray___rarg(lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__7; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLE_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toArray___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_getKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x3f___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6102_; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_keyAtIndex_x21___spec__1___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___at_Std_DTreeMap_entryAtIdx___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_minKeyD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Const_getEntryGE_x3f___spec__1(lean_object*); @@ -309,31 +346,31 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertMany___rarg(lean_object*, le LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_find_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_all___rarg___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_all___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGED(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_instForMSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_keyAtIndex_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_getEntryGE_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_getKeyD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get_x3f(lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_getThenInsertIfNew_x3f___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGT_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__6; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_getThenInsertIfNew_x3f___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_DTreeMap_maxKey_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_getKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_all___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_getEntryGTD___spec__1(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__10; +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_values(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_ofList___spec__1(lean_object*, lean_object*); @@ -341,9 +378,10 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_m LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLT_x3f___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x21___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x3f___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_maxKey_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_values___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey(lean_object*, lean_object*); @@ -352,14 +390,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_C LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_minKey_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_keys___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_DTreeMap_instRepr___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_get_x3f(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_any___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keysArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLE_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toArray___rarg___boxed(lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter___at_Std_DTreeMap_mergeBy___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_mergeWith(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___at_Std_DTreeMap_entryAtIdx___spec__1(lean_object*, lean_object*); @@ -371,6 +408,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeM LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Const_getEntryLTD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get___at_Std_DTreeMap_get___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter___at_Std_DTreeMap_alter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_containsThenInsert_size___rarg(lean_object*); @@ -389,20 +427,26 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTr static lean_object* l_Std_DTreeMap_any___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_getKeyLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertMany(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_insertManyIfNewUnit___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instForMSigma___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_insertIfNew___spec__1(lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__8; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_maxKey_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLED___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_unitOfArray___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1(lean_object*, lean_object*, lean_object*); @@ -416,12 +460,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get_x3f___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Const_toList___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_getEntryGE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_fromArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instRepr___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instInsertSigma___rarg(lean_object*, lean_object*, lean_object*); @@ -429,22 +474,27 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_ofList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_unitOfArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_getEntryGED___spec__1(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_getKeyGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Const_unitOfList___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_partition___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keysArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGT_x3f(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__10; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std_DTreeMap_Const_entryAtIdxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__22; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex___at_Std_DTreeMap_keyAtIndex___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1(lean_object*); @@ -454,16 +504,17 @@ LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Cons LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertManyIfNewUnit(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_size(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Const_getEntryGT_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_unitOfArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_get_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_fromArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_insertManyIfNewUnit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex___at_Std_DTreeMap_keyAtIndex___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_getD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLED(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6150_; LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_findD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Const_getEntryGED___spec__1(lean_object*); @@ -472,10 +523,10 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLED___rarg___boxed(lean_object*, l LEAN_EXPORT lean_object* l_Std_DTreeMap_insertMany(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toList___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_contains___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instMembership(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_keys___spec__1___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_unitOfList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,6 +536,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTr LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_getKeyLTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_getEntryGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_find_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6518_; LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndexD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_DTreeMap_getKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_DTreeMap_eraseMany___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -492,18 +544,23 @@ static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___cl LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_fold(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6017_; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_ofList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getThenInsertIfNew_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_minKey_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntryD___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__9; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_insert___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndexD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_keys___spec__1___rarg(lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -516,22 +573,24 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_keys___rarg(lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_instInsertSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_instRepr___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_partition___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instInhabited___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLT_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_filter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLTD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_DTreeMap_getKey_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_revFold___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_getThenInsertIfNew_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdx_x21(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_containsThenInsertIfNew___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__5; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_mergeWith___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Const_getEntryGED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keys___rarg___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_DTreeMap_maxKey___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instForMSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -540,34 +599,36 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_of LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_instForMSigma___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instForInSigma___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLT_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_insertIfNew___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx_x21(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_any___rarg___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_ofArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Const_getEntryGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Const_getEntryLT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_containsThenInsert(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_alter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey_x3f___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6002_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get___at_Std_DTreeMap_get___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5501_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter___at_Std_DTreeMap_alter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_findD___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_entryAtIdx_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_partition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_forIn___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instForInSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_any___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_mergeBy___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMap_Const_get___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_eraseMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get(lean_object*); @@ -575,16 +636,19 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_f LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_ofArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___at_Std_DTreeMap_minKey___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_ofArray___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DTreeMap_instRepr___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_instSingletonSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_getKeyGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instSingletonSigma(lean_object*, lean_object*); @@ -598,6 +662,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_mi LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_instForInSigma___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_toList___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_mergeWith___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -605,6 +670,7 @@ static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__ LEAN_EXPORT lean_object* l_Std_DTreeMap_instForInSigma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLT_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_eraseMany(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_findD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_findD(lean_object*); @@ -615,17 +681,24 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_getThenInsertIfNew_x3f___rarg(lean_objec LEAN_EXPORT lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_all(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter___at_Std_DTreeMap_mergeWith___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_forM(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68_; LEAN_EXPORT lean_object* l_Std_DTreeMap_any___rarg___lambda__1___boxed(lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldl___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_values___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__1(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Const_forInUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_keysArray___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min___rarg(lean_object*, lean_object*, lean_object*); @@ -635,20 +708,20 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTr LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Const_getEntryLT_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_find_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_unitOfList___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__4; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdxD(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DTreeMap_instRepr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_getEntryGED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldl(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_getKeyLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndexD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_any___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -656,7 +729,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLE_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_contains___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_link___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__19; @@ -668,12 +740,14 @@ static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___cl lean_object* lean_string_length(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_unitOfList(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_DTreeMap_erase___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_keyAtIndex_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_isEmpty___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx___at_Std_DTreeMap_Const_entryAtIdx___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_DTreeMap_Const_entryAtIdx_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -685,11 +759,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLED___rarg(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_getKeyLED___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_toArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toArray___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6714_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_DTreeMap_eraseMany___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_toArray___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_valuesArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertManyIfNewUnit___rarg___lambda__1(lean_object*, lean_object*, lean_object*); @@ -703,39 +779,47 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_empty___boxed(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_find_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Const_toList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_partition___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__11; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_entryAtIdxD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryGTD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_instForMSigma___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_DTreeMap_maxKey___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_maxView___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_instInsertSigma___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_foldl___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6198_; +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT uint8_t l_Std_DTreeMap_contains___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_values___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLT_x21(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__9; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_unitOfList___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_insertMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_foldr___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6618_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_containsThenInsertIfNew___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_keyAtIndex_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toList___rarg(lean_object*); extern lean_object* l_Id_instMonad; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instRepr___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std_DTreeMap_Const_entryAtIdxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntryD(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_ofArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_getEntryGE_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__2; @@ -757,7 +841,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___ lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_mergeBy(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_any___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_max(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_keyAtIndex_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -767,21 +850,20 @@ lean_object* l_Std_DTreeMap_Internal_Impl_minView___rarg(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdx_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_forM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instEmptyCollection(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_alter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_alter(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_maxKey_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_unitOfList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_insertMany___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_fromList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Const_findD___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTreeMap_Const_alter___spec__1(lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5637_; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_entryAtIdx_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Const_getEntryGTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Const_unitOfArray___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_entryAtIdxD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLT_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -789,9 +871,12 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_getKeyGED___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_find_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toList(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryGE_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instRepr___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_partition___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey_x3f___rarg(lean_object*, lean_object*); @@ -799,6 +884,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_DTreeMap_ static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_instInsertSigma(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minD(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_getKeyLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_ofArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x21(lean_object*, lean_object*); @@ -815,37 +901,40 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Const_unitOfLis LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_toList___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_size___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGT_x21___spec__1(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_maxKey_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_foldlM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_getEntryLE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_fromArray___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_ofArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_size___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_entryAtIdx_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Const_unitOfList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_containsThenInsert___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_modify___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntryD(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_keys(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxKey_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1(lean_object*, lean_object*); size_t lean_array_size(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_instRepr___spec__2___rarg___closed__4; static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLT_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_ofList(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instDecidableMem___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getThenInsertIfNew_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toList___rarg(lean_object*); @@ -855,11 +944,11 @@ static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed_ LEAN_EXPORT lean_object* l_Std_DTreeMap_findD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x3f(lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdx(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_keysArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTreeMap_Const_getThenInsertIfNew_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instInhabited(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_valuesArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Const_unitOfList___spec__3(lean_object*); @@ -871,18 +960,23 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_empty(lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_get_x21(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_ofList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_getKeyLT_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Const_findD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_containsThenInsert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__13; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_fold___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Const_forMUncurried___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_DTreeMap_Const_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Const_getEntryLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__11; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_fromList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_getKeyLE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_revFold___rarg(lean_object*, lean_object*, lean_object*); @@ -891,10 +985,14 @@ static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forMUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_DTreeMap_Const_alter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyLTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_minKey_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x3f___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_entryAtIdx_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_getD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_getEntryLTD(lean_object*); @@ -913,6 +1011,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter___at_Std_DTreeMap_filter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_instEmptyCollection___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___at_Std_DTreeMap_minKey___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_getThenInsertIfNew_x3f___spec__3(lean_object*, lean_object*); @@ -928,16 +1027,15 @@ static lean_object* l___auto____x40_Std_Data_DTreeMap_Basic___hyg_68____closed__ static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_any___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter___at_Std_DTreeMap_filter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_size___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Const_insertManyIfNewUnit___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_getKeyGT_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_DTreeMap_erase___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_any___spec__1___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_DTreeMap_Const_entryAtIdx_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_DTreeMap_maxKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_maxD___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -950,24 +1048,22 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_insertManyIfNewUnit___rarg(lean_ob LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_DTreeMap_getKey___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_getEntryLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_getKeyLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_forM___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_get_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_emptyWithCapacity(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKeyGE_x3f___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_forInUncurried___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_containsThenInsertIfNew___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_max___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_getKeyLT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_getEntryLE_x3f___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_mergeBy___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_getEntryLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -32868,7 +32964,7 @@ lean_dec(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -32903,11 +32999,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_minEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_minEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_minEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -32915,7 +33090,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x3f___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -32927,11 +33102,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_min_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_min_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -32947,7 +33122,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32972,11 +33147,80 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg(x_1, x_2, lean_box(0)); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_minEntry___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_minEntry___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_minEntry___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +x_3 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -32984,7 +33228,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_min___rarg(lean_object* x_1, lean_object _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg(x_1, x_2, lean_box(0)); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg(x_1, x_2, lean_box(0)); return x_4; } } @@ -32996,11 +33240,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_min___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min___at_Std_DTreeMap_min___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry___at_Std_DTreeMap_min___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -33016,15 +33260,15 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.min!", 31, 31); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.minEntry!", 36, 36); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; @@ -33032,20 +33276,20 @@ x_1 = lean_mk_string_unchecked("Map is empty", 12, 12); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__3() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(292u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -33074,17 +33318,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__3; +x_9 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_minEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_minEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33092,7 +33415,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_min_x21___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33104,11 +33427,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_min_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -33124,7 +33447,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -33156,11 +33479,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_minEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_minEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33168,7 +33569,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_minD___rarg(lean_object* x_1, lean_objec _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33180,11 +33581,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_minD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_minD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -33202,7 +33603,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -33237,11 +33638,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_maxEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_maxEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_maxEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -33249,7 +33729,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x3f___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -33261,11 +33741,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_max_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_max_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -33281,7 +33761,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33306,11 +33786,80 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg(x_1, x_2, lean_box(0)); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_maxEntry___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_maxEntry___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_maxEntry___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +x_3 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33318,7 +33867,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_max___rarg(lean_object* x_1, lean_object _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg(x_1, x_2, lean_box(0)); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg(x_1, x_2, lean_box(0)); return x_4; } } @@ -33330,11 +33879,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_max___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max___at_Std_DTreeMap_max___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry___at_Std_DTreeMap_max___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -33350,28 +33899,28 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.max!", 31, 31); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.maxEntry!", 36, 36); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(315u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -33400,17 +33949,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_maxEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_maxEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33418,7 +34046,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_max_x21___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33430,11 +34058,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_max_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -33450,7 +34078,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -33482,11 +34110,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_maxEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_maxEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33494,7 +34200,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_maxD___rarg(lean_object* x_1, lean_objec _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33506,11 +34212,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_maxD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -33682,7 +34388,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1__ x_2 = l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(338u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -33988,7 +34694,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1__ x_2 = l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_maxKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(361u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -41587,7 +42293,7 @@ lean_dec(x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -41623,11 +42329,91 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_minEntry_x3f___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_minEntry_x3f___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Const_minEntry_x3f___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = lean_box(0); +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg___boxed), 3, 0); return x_2; } } @@ -41635,7 +42421,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x3f___rarg(lean_object* x_1, l _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(x_1, lean_box(0), x_3); return x_4; } } @@ -41647,11 +42433,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_min_x3f___rarg___boxed), 3 return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Const_min_x3f___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -41667,7 +42453,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -41693,11 +42479,81 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg(x_1, lean_box(0), x_3, lean_box(0)); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_minEntry___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_minEntry___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Const_minEntry___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_3 = x_5; +x_4 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -41705,7 +42561,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min___rarg(lean_object* x_1, lean_ _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg(x_1, lean_box(0), x_3, lean_box(0)); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg(x_1, lean_box(0), x_3, lean_box(0)); return x_5; } } @@ -41717,11 +42573,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_min___rarg___boxed), 4, 0) return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_DTreeMap_Const_min___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_DTreeMap_Const_min___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; @@ -41737,28 +42593,28 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.min!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.minEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(741u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_4) == 0) @@ -41788,17 +42644,97 @@ return x_9; else { lean_object* x_10; lean_object* x_11; -x_10 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__2; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2; x_11 = l_panic___rarg(x_3, x_10); return x_11; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x21(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_minEntry_x21___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Const_minEntry_x21___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 3); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_4 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2; +x_11 = l_panic___rarg(x_3, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -41806,7 +42742,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_min_x21___rarg(lean_object* x_1, l _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -41818,11 +42754,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_min_x21___rarg___boxed), 4 return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_1); return x_5; @@ -41838,7 +42774,7 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -41871,11 +42807,90 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntryD(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_minEntryD___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minEntryD___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Const_minEntryD___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_3 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_inc(x_4); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -41883,7 +42898,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_minD___rarg(lean_object* x_1, lean _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -41895,11 +42910,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_minD___rarg___boxed), 4, 0 return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Const_minD___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Const_minD___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -41917,7 +42932,7 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -41953,11 +42968,91 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_maxEntry_x3f___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_maxEntry_x3f___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Const_maxEntry_x3f___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = lean_box(0); +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg___boxed), 3, 0); return x_2; } } @@ -41965,7 +43060,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x3f___rarg(lean_object* x_1, l _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(x_1, lean_box(0), x_3); return x_4; } } @@ -41977,11 +43072,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_max_x3f___rarg___boxed), 3 return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Const_max_x3f___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -41997,7 +43092,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -42023,11 +43118,81 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg(x_1, lean_box(0), x_3, lean_box(0)); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_maxEntry___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_maxEntry___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Const_maxEntry___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_3 = x_5; +x_4 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -42035,7 +43200,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max___rarg(lean_object* x_1, lean_ _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg(x_1, lean_box(0), x_3, lean_box(0)); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg(x_1, lean_box(0), x_3, lean_box(0)); return x_5; } } @@ -42047,11 +43212,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_max___rarg___boxed), 4, 0) return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_DTreeMap_Const_max___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_DTreeMap_Const_max___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; @@ -42067,28 +43232,28 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.max!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.maxEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(764u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_4) == 0) @@ -42118,17 +43283,97 @@ return x_9; else { lean_object* x_10; lean_object* x_11; -x_10 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__2; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2; x_11 = l_panic___rarg(x_3, x_10); return x_11; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x21(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_maxEntry_x21___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Const_maxEntry_x21___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 4); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_4 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2; +x_11 = l_panic___rarg(x_3, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -42136,7 +43381,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_max_x21___rarg(lean_object* x_1, l _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -42148,11 +43393,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_max_x21___rarg___boxed), 4 return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_1); return x_5; @@ -42168,7 +43413,7 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -42201,11 +43446,90 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntryD(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_maxEntryD___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxEntryD___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Const_maxEntryD___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_3 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_inc(x_4); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -42213,7 +43537,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Const_maxD___rarg(lean_object* x_1, lean _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -42225,11 +43549,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Const_maxD___rarg___boxed), 4, 0 return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Const_maxD___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -52437,7 +53761,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5501_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6017_() { _start: { lean_object* x_1; @@ -58912,7 +60236,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5637_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6153_() { _start: { lean_object* x_1; @@ -70660,7 +71984,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6002_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6518_() { _start: { lean_object* x_1; @@ -73941,7 +75265,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6102_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6618_() { _start: { lean_object* x_1; @@ -77155,7 +78479,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6150_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6666_() { _start: { lean_object* x_1; @@ -80438,7 +81762,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6198_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6714_() { _start: { lean_object* x_1; @@ -107070,16 +108394,16 @@ l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1__ lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1___rarg___closed__2(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_getKey_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__3(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_min_x21___spec__1___rarg___closed__3); -l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_max_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_minEntry_x21___spec__1___rarg___closed__3); +l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_maxEntry_x21___spec__1___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_minKey_x21___spec__1___rarg___closed__2(); @@ -107110,14 +108434,14 @@ l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spe lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1___rarg___closed__2(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Const_get_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Const_min_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Const_max_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Const_minEntry_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Const_maxEntry_x21___spec__1___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Const_entryAtIdx_x21___spec__1___rarg___closed__2(); @@ -107148,18 +108472,18 @@ l_Std_DTreeMap_all___rarg___closed__2 = _init_l_Std_DTreeMap_all___rarg___closed lean_mark_persistent(l_Std_DTreeMap_all___rarg___closed__2); l_Std_DTreeMap_keysArray___rarg___closed__1 = _init_l_Std_DTreeMap_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_keysArray___rarg___closed__1); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5501_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5501_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5501_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5637_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5637_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_5637_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6002_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6002_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6002_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6102_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6102_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6102_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6150_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6150_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6150_); -l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6198_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6198_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6198_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6017_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6017_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6017_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6153_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6153_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6153_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6518_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6518_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6518_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6618_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6618_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6618_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6666_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6666_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6666_); +l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6714_ = _init_l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6714_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Basic___hyg_6714_); l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1 = _init_l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1(); lean_mark_persistent(l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__1); l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__2 = _init_l_repr___at_Std_DTreeMap_instRepr___spec__3___rarg___closed__2(); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c b/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c index 801e131585..21cd17c0c3 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Internal/Lemmas.c @@ -130,6 +130,7 @@ lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__93; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__77; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__1; +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_read___at_Lean_Macro_instMonadRefMacroM___spec__1(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__7; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__13; @@ -184,10 +185,10 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__26; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__89; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__3___closed__9; -static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__128; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__1; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__10; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__10; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__23; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__1___closed__15; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__25; @@ -206,8 +207,8 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DTreeMap_Internal_Im static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__15___closed__3; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__109; -static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__130; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__44; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__4; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__18; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__119; static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__6; @@ -256,6 +257,7 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__18; lean_object* lean_nat_div(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__21; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__3; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__10; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__17; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__11; @@ -339,7 +341,6 @@ static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMa static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__35; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__111; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__99; -static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__129; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__75; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -522,6 +523,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Int static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__6___closed__3; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__9; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__14___closed__4; +static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__2; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__22; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__8; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__7; @@ -538,7 +540,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Std_DTreeMap_Internal_Im static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__100; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__16___closed__4; size_t lean_usize_add(size_t, size_t); -static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__126; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___spec__4(lean_object*, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__20; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__16___closed__2; @@ -562,7 +563,6 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5d static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__19; static lean_object* l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__6; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__127; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticSimp__to__model_x5b___x5dUsing____1___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__3___closed__4; static lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__108; @@ -2985,11 +2985,14 @@ return x_1; static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__9; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_helperLemmaNames___closed__11() { @@ -5827,6 +5830,90 @@ lean_ctor_set(x_22, 1, x_4); return x_22; } } +static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("minKey\?_of_perm", 15, 15); +return x_1; +} +} +static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1; +x_2 = l_String_toSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_3 = l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticEmpty__1___closed__18; +x_4 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__3; +x_8 = l_Lean_addMacroScope(x_6, x_7, x_5); +x_9 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__4; +lean_inc(x_1); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_1); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +x_12 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__2; +lean_inc(x_2); +x_13 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_13, 2, x_8); +lean_ctor_set(x_13, 3, x_11); +x_14 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__6___closed__10; +lean_inc(x_2); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +x_16 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__6___closed__9; +lean_inc(x_2); +x_17 = l_Lean_Syntax_node1(x_2, x_16, x_15); +x_18 = l_Std_DTreeMap_Internal_Impl___aux__Std__Data__DTreeMap__Internal__Lemmas______macroRules__Std__DTreeMap__Internal__Impl__tacticWf__trivial__1___closed__14; +lean_inc(x_2); +x_19 = l_Lean_Syntax_node1(x_2, x_18, x_17); +x_20 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__6___closed__3; +x_21 = l_Lean_Syntax_node2(x_2, x_20, x_13, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; +} +} static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__1() { _start: { @@ -7069,115 +7156,46 @@ return x_3; static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__122() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__121; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("minKey\?", 7, 7); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__123() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__115; +x_1 = lean_box(0); x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__122; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__124() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__109; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__123; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("minKey\?_eq_minKey\?", 18, 18); +return x_1; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__125() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__103; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__124; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__126() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__97; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__125; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__127() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__91; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__126; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__128() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__85; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__127; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__129() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__80; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__128; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__130() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__74; -x_2 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__129; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__2; +x_3 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__3; +x_4 = l_Std_DTreeMap_Internal_Impl_tacticWf__trivial___closed__4; +x_5 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__124; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; } } static lean_object* _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; x_1 = lean_box(0); x_2 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__4), 4, 1); lean_closure_set(x_2, 0, x_1); @@ -7418,60 +7436,115 @@ x_113 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_I x_114 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_114, 1, x_112); -x_115 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__130; -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); +x_115 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18), 4, 1); +lean_closure_set(x_115, 0, x_1); +x_116 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_116, 0, x_3); +lean_closure_set(x_116, 1, x_115); x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_106); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_98); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_90); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_82); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_74); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_66); -lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_1); +x_118 = lean_array_mk(x_117); +x_119 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__125; +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__123; +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_58); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_50); -lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_1); +x_124 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__121; x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_42); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_34); -lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__115; x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_26); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_18); -lean_ctor_set(x_128, 1, x_127); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__109; x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_10); -lean_ctor_set(x_129, 1, x_128); -x_130 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__15; +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__103; x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); -x_132 = lean_box(0); -x_133 = lean_box(0); -x_134 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__52; -lean_inc(x_131); -x_135 = l_List_forIn_x27_loop___at___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___spec__6(x_131, x_132, x_133, x_134, x_131, x_131, x_134, lean_box(0)); -lean_dec(x_131); -return x_135; +x_132 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__97; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__91; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +x_136 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__85; +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +x_138 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__80; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__74; +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_114); +lean_ctor_set(x_142, 1, x_141); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_106); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_98); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_90); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_82); +lean_ctor_set(x_146, 1, x_145); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_74); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_66); +lean_ctor_set(x_148, 1, x_147); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_58); +lean_ctor_set(x_149, 1, x_148); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_50); +lean_ctor_set(x_150, 1, x_149); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_42); +lean_ctor_set(x_151, 1, x_150); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_34); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_26); +lean_ctor_set(x_153, 1, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_18); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_10); +lean_ctor_set(x_155, 1, x_154); +x_156 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__15; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = lean_box(0); +x_159 = lean_box(0); +x_160 = l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_modifyMap___closed__52; +lean_inc(x_157); +x_161 = l_List_forIn_x27_loop___at___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___spec__6(x_157, x_158, x_159, x_160, x_157, x_157, x_160, lean_box(0)); +lean_dec(x_157); +return x_161; } } LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___spec__1___boxed(lean_object* x_1, lean_object* x_2) { @@ -10601,6 +10674,14 @@ l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_quer lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__17___closed__3); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__17___closed__4 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__17___closed__4(); lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__17___closed__4); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__1); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__2 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__2(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__2); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__3 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__3(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__3); +l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__4 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__4(); +lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___lambda__18___closed__4); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__1 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__1(); lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__1); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__2 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__2(); @@ -10851,16 +10932,6 @@ l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_quer lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__124); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__125 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__125(); lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__125); -l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__126 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__126(); -lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__126); -l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__127 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__127(); -lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__127); -l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__128 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__128(); -lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__128); -l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__129 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__129(); -lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__129); -l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__130 = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__130(); -lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap___closed__130); l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap = _init_l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap(); lean_mark_persistent(l___private_Std_Data_DTreeMap_Internal_Lemmas_0__Std_DTreeMap_Internal_Impl_queryMap); l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__1 = _init_l_Std_DTreeMap_Internal_Impl_tacticSimp__to__model_x5b___x5dUsing_____closed__1(); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Internal/Model.c b/stage0/stdlib/Std/Data/DTreeMap/Internal/Model.c index e2cbd05027..23479bba1f 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Internal/Model.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Internal/Model.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Std.Data.DTreeMap.Internal.Model -// Imports: Std.Data.DTreeMap.Internal.WF.Defs Std.Data.DTreeMap.Internal.Cell +// Imports: Std.Data.DTreeMap.Internal.WF.Defs Std.Data.DTreeMap.Internal.Cell Std.Data.Internal.Cut #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -20,13 +20,16 @@ LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains_x27___rarg(lean_object LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyCell(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_Const_get_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyCell_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_x27_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyCell___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_x27_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Cell_Const_get_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); @@ -39,19 +42,32 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTr LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_get_x3f_match__1_splitter(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_maxView_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minView_x21_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_Const_get_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_DTreeMap_Internal_Cell_contains___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__2_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_List_head_x3f___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains_u2098___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__2; +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains_u2098___rarg___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minView_match__2_splitter(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,6 +77,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTr LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains_u2098___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_x27_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_x27_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD_u2098___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Cell_get_x3f___rarg(lean_object*); @@ -74,12 +91,14 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTr LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_glue_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyCell___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_insert_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_get_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minView_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_updateCell_match__1_splitter(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Cell_getKey_x3f___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minView_x21_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Cell_Const_get_x3f___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21_u2098(lean_object*, lean_object*); @@ -88,6 +107,7 @@ lean_object* l_Std_DTreeMap_Internal_Cell_ofEq___rarg(lean_object*, lean_object* LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_updateCell_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_erase_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD_u2098___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_glue_x21_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -101,6 +121,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTr LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_erase_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_getKey_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_glue_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minView_x21_match__1_splitter(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition_go(lean_object*, lean_object*, lean_object*); @@ -115,8 +136,10 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTr LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_getKey_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_insert_match__2_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_getKey_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_link2_match__3_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_Const_get_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -128,14 +151,18 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_u2098___rarg(lea LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Cell_get_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f_u2098___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_toListModel___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_glue_x21_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyCell_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_contains_x27_match__2_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__1; @@ -156,6 +183,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTr LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_glue_x21_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f_u2098___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_maxView_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_applyPartition_go_match__1_splitter(lean_object*); @@ -1146,6 +1174,310 @@ lean_dec(x_4); return x_5; } } +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 4); +lean_inc(x_9); +lean_dec(x_5); +lean_inc(x_2); +lean_inc(x_6); +x_10 = lean_apply_1(x_2, x_6); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +switch (x_11) { +case 0: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Std_DTreeMap_Internal_Impl_toListModel___rarg(x_9); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_7); +lean_ctor_set(x_13, 2, x_12); +lean_inc(x_4); +x_14 = lean_apply_2(x_4, x_3, x_13); +x_3 = x_14; +x_5 = x_8; +goto _start; +} +case 1: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_2); +x_16 = l_Std_DTreeMap_Internal_Impl_toListModel___rarg(x_8); +lean_dec(x_8); +x_17 = l_Std_DTreeMap_Internal_Cell_ofEq___rarg(x_6, x_7, lean_box(0)); +x_18 = l_Std_DTreeMap_Internal_Impl_toListModel___rarg(x_9); +lean_dec(x_9); +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_apply_2(x_4, x_3, x_19); +return x_20; +} +default: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = l_Std_DTreeMap_Internal_Impl_toListModel___rarg(x_8); +lean_dec(x_8); +x_22 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_6); +lean_ctor_set(x_22, 2, x_7); +lean_inc(x_4); +x_23 = lean_apply_2(x_4, x_3, x_22); +x_3 = x_23; +x_5 = x_9; +goto _start; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_2); +x_25 = lean_box(0); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_25); +x_28 = lean_apply_2(x_4, x_3, x_27); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg___boxed), 5, 0); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__1(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = 0; +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_inc(x_3); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_2, 2); +x_8 = l_List_head_x3f___rarg(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_inc(x_1); +return x_1; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +} +} +} +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__2___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_box(0); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__2; +x_6 = l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg(x_1, x_4, x_3, x_5, x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Std_DTreeMap_Internal_Impl_explore___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__1(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___lambda__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(0); +lean_inc(x_3); +x_6 = l_Std_DTreeMap_Internal_Impl_applyPartition_go___rarg(x_1, x_2, x_3, x_4, x_5, x_3, lean_box(0), x_5); +lean_dec(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg___boxed), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_head_x3f___rarg(x_4); +return x_5; +} +} +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___lambda__1___boxed), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___closed__1; +x_5 = l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg(x_1, x_3, x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_applyPartition___at_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -1504,6 +1836,134 @@ lean_dec(x_3); return x_6; } } +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 4); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_5, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_5, 4); +lean_inc(x_14); +lean_dec(x_5); +x_15 = lean_apply_9(x_4, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 4); +lean_inc(x_19); +lean_dec(x_1); +x_20 = lean_apply_4(x_3, x_16, x_17, x_18, x_19); +return x_20; +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg___boxed), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_4(x_2, x_4, lean_box(0), x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 2); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_apply_3(x_3, x_8, x_9, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter___rarg), 3, 0); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27_match__1_splitter(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Model_0__Std_DTreeMap_Internal_Impl_minView_match__2_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -2142,6 +2602,7 @@ return x_6; } lean_object* initialize_Std_Data_DTreeMap_Internal_WF_Defs(uint8_t builtin, lean_object*); lean_object* initialize_Std_Data_DTreeMap_Internal_Cell(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Data_Internal_Cut(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Std_Data_DTreeMap_Internal_Model(uint8_t builtin, lean_object* w) { lean_object * res; @@ -2153,6 +2614,9 @@ lean_dec_ref(res); res = initialize_Std_Data_DTreeMap_Internal_Cell(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Std_Data_Internal_Cut(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Std_DTreeMap_Internal_Impl_contains_u2098___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_contains_u2098___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_contains_u2098___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_get_x3f_u2098___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_get_x3f_u2098___rarg___closed__1(); @@ -2167,6 +2631,12 @@ l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__4 = _init_l_Std_DTre lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__4); l_Std_DTreeMap_Internal_Impl_getKey_x3f_u2098___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_getKey_x3f_u2098___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x3f_u2098___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098_x27___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x3f_u2098___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x3f_u2098___rarg___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c b/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c index 59b3c85d64..e3f8f5cc68 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Internal/Queries.c @@ -18,31 +18,28 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD(lean_object*, lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_keysArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___rarg(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_values___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_instDecidableMem___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_min_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_toArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forM(lean_object*, lean_object*, lean_object*); uint8_t l_instDecidableEqOrdering(uint8_t, uint8_t); @@ -53,12 +50,15 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_toList(lean_object*, LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keys___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxKeyD_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_values___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_forM___spec__1(lean_object*, lean_object*, lean_object*); @@ -66,6 +66,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f(lean_object LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_forM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f(lean_object*, lean_object*); @@ -73,91 +74,91 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forIn(lean_object*, lean_o lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldr(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_isEmpty___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_min_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntryD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x21(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_toList___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keysArray___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keys___rarg___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_toList(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_contains_match__2_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_min_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLED(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___rarg___closed__3; +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntryD_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntryD_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___rarg___closed__1; lean_object* l_panic___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_foldr___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_instDecidableMem(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_min_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLED(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__1; +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___rarg___boxed(lean_object*, lean_object*); @@ -170,78 +171,89 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___rarg(lean_obj LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__4; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__3; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keysArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forM___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLTD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_Const_toList___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___rarg(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___rarg___closed__1; -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__1; +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_instMembershipOfOrd___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_Const_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxKeyD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_values___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go(lean_object*, lean_object*); @@ -253,13 +265,16 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_isEmpty(lean_object*, lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_toList___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_Const_toArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_toList___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keysArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_Const_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f(lean_object*, lean_object*); @@ -272,12 +287,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x21(lean_object static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_toArray___spec__1___rarg(lean_object*, lean_object*); @@ -285,20 +299,20 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___rarg___boxed( LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_valuesArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_toList___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_toList___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntryD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -307,38 +321,43 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f___rarg(lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_isEmpty___rarg(lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minKeyD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f(lean_object*, lean_object*); extern lean_object* l_Id_instMonad; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_Const_toList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forIn___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_toList___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntryD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_keys___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldr___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_forM___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_foldr___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___rarg___closed__2; lean_object* lean_array_mk(lean_object*); @@ -346,9 +365,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_valuesArray(lean_object*, LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_toList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_keys___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_keys___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_values(lean_object*, lean_object*); @@ -356,21 +377,23 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___rar LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keys(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__instCoeTypeForall__std(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_valuesArray___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntryD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntryD_match__1_splitter(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minKeyD_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_Const_toList___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,26 +402,25 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x21(lean_object*, static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__1; +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntryD_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_toArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Internal_Impl_values___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_instMembershipOfOrd(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_contains_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Internal_Impl_keysArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f(lean_object*, lean_object*); @@ -407,12 +429,14 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___rarg___boxed( LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_toArray___rarg___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_toArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_contains_match__1_splitter(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__instCoeTypeForall__std(lean_object* x_1) { @@ -2563,7 +2587,7 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2598,25 +2622,103 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min_x3f___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_min_x3f___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 4); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_5, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_5, 4); +lean_inc(x_14); +lean_dec(x_5); +x_15 = lean_apply_9(x_4, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 4); +lean_inc(x_19); +lean_dec(x_1); +x_20 = lean_apply_4(x_3, x_16, x_17, x_18, x_19); +return x_20; +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg___boxed), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_x3f_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -2641,25 +2743,25 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_min_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -2710,23 +2812,23 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_min_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_min_match__1_splitter___rarg), 4, 0); +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntry_match__1_splitter___rarg), 4, 0); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.min!", 31, 31); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.minEntry!", 36, 36); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2() { _start: { lean_object* x_1; @@ -2734,20 +2836,20 @@ x_1 = lean_mk_string_unchecked("Map is empty", 12, 12); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__3() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__1; x_3 = lean_unsigned_to_nat(292u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -2776,31 +2878,31 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__3; +x_9 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__3; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min_x21___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2832,26 +2934,97 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minD___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntryD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_minD___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntryD_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_apply_10(x_5, x_7, x_8, x_9, x_11, x_12, x_13, x_14, x_15, x_10, x_2); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 4); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_apply_5(x_4, x_17, x_18, x_19, x_20, x_2); +return x_21; +} +} +else +{ +lean_object* x_22; +lean_dec(x_5); +lean_dec(x_4); +x_22 = lean_apply_1(x_3, x_2); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntryD_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minEntryD_match__1_splitter___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2886,25 +3059,103 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max_x3f___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_max_x3f___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 4); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 3); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_5, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_5, 4); +lean_inc(x_14); +lean_dec(x_5); +x_15 = lean_apply_9(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 3); +lean_inc(x_19); +lean_dec(x_1); +x_20 = lean_apply_4(x_3, x_16, x_17, x_18, x_19); +return x_20; +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter___rarg___boxed), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntry_x3f_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -2929,46 +3180,46 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.max!", 31, 31); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.maxEntry!", 36, 36); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__1; x_3 = lean_unsigned_to_nat(315u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -2997,31 +3248,31 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max_x21___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max_x21___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3053,25 +3304,96 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxD___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntryD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_maxD___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntryD_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 4); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_apply_10(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_2); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 3); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_apply_5(x_4, x_17, x_18, x_19, x_20, x_2); +return x_21; +} +} +else +{ +lean_object* x_22; +lean_dec(x_5); +lean_dec(x_4); +x_22 = lean_apply_1(x_3, x_2); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntryD_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxEntryD_match__1_splitter___rarg), 5, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -3174,7 +3496,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; x_2 = l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__1; x_3 = lean_unsigned_to_nat(338u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -3273,6 +3595,77 @@ lean_dec(x_1); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minKeyD_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_apply_10(x_5, x_7, x_8, x_9, x_11, x_12, x_13, x_14, x_15, x_10, x_2); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 4); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_apply_5(x_4, x_17, x_18, x_19, x_20, x_2); +return x_21; +} +} +else +{ +lean_object* x_22; +lean_dec(x_5); +lean_dec(x_4); +x_22 = lean_apply_1(x_3, x_2); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minKeyD_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_minKeyD_match__1_splitter___rarg), 5, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -3375,7 +3768,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; x_2 = l_Std_DTreeMap_Internal_Impl_maxKey_x21___rarg___closed__1; x_3 = lean_unsigned_to_nat(361u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -3474,6 +3867,77 @@ lean_dec(x_1); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxKeyD_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 4); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_apply_10(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_2); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 3); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_apply_5(x_4, x_17, x_18, x_19, x_20, x_2); +return x_21; +} +} +else +{ +lean_object* x_22; +lean_dec(x_5); +lean_dec(x_4); +x_22 = lean_apply_1(x_3, x_2); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxKeyD_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_maxKeyD_match__1_splitter___rarg), 5, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -6235,7 +6699,7 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_getKeyLT___rarg), return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -6270,25 +6734,103 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x3f___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 3); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 4); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_5, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_5, 4); +lean_inc(x_14); +lean_dec(x_5); +x_15 = lean_apply_9(x_4, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 4); +lean_inc(x_19); +lean_dec(x_1); +x_20 = lean_apply_4(x_3, x_16, x_17, x_18, x_19); +return x_20; +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter___rarg___boxed), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_x3f_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -6313,25 +6855,25 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_min_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -6382,36 +6924,36 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_min_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_min_match__1_splitter___rarg), 4, 0); +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntry_match__1_splitter___rarg), 4, 0); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.min!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.minEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__1; x_3 = lean_unsigned_to_nat(741u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -6440,31 +6982,31 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -6496,26 +7038,97 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minD___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_minD___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntryD_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 3); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_apply_10(x_5, x_7, x_8, x_9, x_11, x_12, x_13, x_14, x_15, x_10, x_2); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 4); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_apply_5(x_4, x_17, x_18, x_19, x_20, x_2); +return x_21; +} +} +else +{ +lean_object* x_22; +lean_dec(x_5); +lean_dec(x_4); +x_22 = lean_apply_1(x_3, x_2); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntryD_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_minEntryD_match__1_splitter___rarg), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -6550,25 +7163,103 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x3f___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 4); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 3); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_5, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_5, 3); +lean_inc(x_13); +x_14 = lean_ctor_get(x_5, 4); +lean_inc(x_14); +lean_dec(x_5); +x_15 = lean_apply_9(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 3); +lean_inc(x_19); +lean_dec(x_1); +x_20 = lean_apply_4(x_3, x_16, x_17, x_18, x_19); +return x_20; +} +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter___rarg___boxed), 4, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f_match__1_splitter___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -6593,46 +7284,46 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.max!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.maxEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__1; x_3 = lean_unsigned_to_nat(764u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -6661,31 +7352,31 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -6717,25 +7408,96 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxD___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxD___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntryD_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 4); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 4); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_apply_10(x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_2); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_1, 3); +lean_inc(x_20); +lean_dec(x_1); +x_21 = lean_apply_5(x_4, x_17, x_18, x_19, x_20, x_2); +return x_21; +} +} +else +{ +lean_object* x_22; +lean_dec(x_5); +lean_dec(x_4); +x_22 = lean_apply_1(x_3, x_2); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntryD_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_DTreeMap_Internal_Queries_0__Std_DTreeMap_Internal_Impl_Const_maxEntryD_match__1_splitter___rarg), 5, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -8201,16 +8963,16 @@ l_Std_DTreeMap_Internal_Impl_Const_get_x21___rarg___closed__2 = _init_l_Std_DTre lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_keysArray___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_keysArray___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__3(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___rarg___closed__3); -l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_max_x21___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__3(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___rarg___closed__3); +l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___rarg___closed__2(); @@ -8237,14 +8999,14 @@ l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__3 = _init_l_Std_DTr lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__3); l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__4 = _init_l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__4(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__4); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___rarg___closed__2(); diff --git a/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c b/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c index 5414e64d56..c3da86d5e4 100644 --- a/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c +++ b/stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c @@ -23,8 +23,9 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_R LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__2___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_ofList___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_mergeWith___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_containsThenInsert___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -36,37 +37,46 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_Raw_get_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_mergeWith___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLED___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGT_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_getEntryGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instSingletonSigma___spec__2___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_ofArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forM(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_Raw_minKeyD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntryD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_contains___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_Raw_entryAtIdxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_ofArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_fromList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_get_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_ofList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5626_; LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_insertIfNew___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter_x21___at_Std_DTreeMap_Raw_mergeWith___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_instRepr___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_revFold___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__9___rarg(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_DTreeMap_Raw_getKey_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__5; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGED(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_Raw_getKeyGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,17 +98,15 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_find_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instInsertSigma(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__2___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGE_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_mergeBy(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_modify(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_insertMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5774_; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_Raw_getKeyGE_x21___spec__1(lean_object*, lean_object*); @@ -110,7 +118,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toArray___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGE_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__5___rarg(lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_forM___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Raw_contains___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_any___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_revFold___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -122,6 +134,8 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forM___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_mergeWith(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__5___rarg(lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x21(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__6___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_find_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_Const_insertMany___spec__1(lean_object*); @@ -134,16 +148,16 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLE_x21___rarg(lean_object*, LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__22; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_Raw_minKey_x3f___spec__1___rarg(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndex_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldr___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__2; static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_getEntryGT_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGTD___spec__1(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_size(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_get_x21(lean_object*); @@ -155,12 +169,17 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLT_x3f___rarg(lean_obj LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKeyD___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x3f(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_all(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_unitOfList___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__6; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_DTreeMap_Raw_Const_entryAtIdx_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -176,6 +195,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeM LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_Raw_getKeyLE_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_minView_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_Const_insertMany___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_instDecidableMem___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -184,12 +204,13 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertIfNew___spec__4___r LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_unitOfList(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_getEntryGED___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_Raw_modify___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_Raw_find_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_findD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_ofList___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_getEntryLE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_ofArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -198,27 +219,34 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_ofList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_DTreeMap_Raw_Const_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__4; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_Raw_entryAtIdx_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_Raw_getKeyGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__6___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntryD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x3f___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndex_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_ofArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_findD(lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6300_; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__2___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_Raw_entryAtIdx_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_max_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instRepr___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_alter___spec__2___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_Raw_entryAtIdx_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -230,16 +258,20 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGED(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLTD(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__6; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keys___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Raw_Basic_0__instCoeTypeForall__std(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_unitOfList___spec__2(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__2; LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_contains___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_findD___spec__1(lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instCoeWFWFInner(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -249,7 +281,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_R static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__6; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__4___rarg(lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -262,11 +293,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter_x21___at_Std_DTreeM LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_containsThenInsert___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_partition___spec__11(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLE_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_instSingletonSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instRepr___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdx_x3f(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_any___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__5(lean_object*, lean_object*); @@ -274,24 +305,27 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMa LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_alter(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Raw_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_insertMany(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_getD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_fromList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_keysArray___spec__1___rarg(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_instRepr___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_Raw_keyAtIndex_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_foldl___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldlM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_getD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keys(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLE_x3f___rarg(lean_object*, lean_object*, lean_object*); @@ -301,6 +335,8 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__8___rar LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLT_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_get_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertIfNew___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLE_x3f(lean_object*); @@ -309,12 +345,14 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_R LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_empty(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_ofList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertIfNew___spec__3(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Raw_all___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forM___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_Raw_getKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndex_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std_DTreeMap_Raw_Const_entryAtIdxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__12; @@ -325,6 +363,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_revFold(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toList___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter_x21___at_Std_DTreeMap_Raw_mergeWith___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__7___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__26; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__4___rarg(lean_object*); @@ -347,9 +386,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_any___boxed(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_Raw_keyAtIndex_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_alter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_ofList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__4(lean_object*, lean_object*); @@ -360,36 +401,33 @@ lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_fold(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_DTreeMap_Raw_maxKey_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__7; -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5369_; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_alter___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_instRepr___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_DTreeMap_Raw_maxKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMap_Raw_Const_get___spec__1(lean_object*); static lean_object* l_Std_DTreeMap_Raw_all___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_fromArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x3f___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__6(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__21; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_insertManyIfNewUnit(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_mergeBy___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_insertIfNew___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_ofArray___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_getEntryLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_keys___spec__1___rarg___boxed(lean_object*, lean_object*); @@ -407,6 +445,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__ lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_partition___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_any___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter_x21___at_Std_DTreeMap_Raw_filter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -414,7 +453,9 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKey_x3f(lean_object*, lean_object LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_instInsertSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__8; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_Raw_minKey_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__9; static lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_Raw_entryAtIdx_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_Raw_getKeyGED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -423,13 +464,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTreeMap_Raw_Const_get_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_toArray___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_DTreeMap_Raw_getKeyGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_Raw_findD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_Raw_entryAtIdxD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_fromArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndexD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_mergeWith(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldrM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x3f___at_Std_DTreeMap_Raw_keyAtIndex_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -441,7 +482,6 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__3___rar LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLT_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_fromList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_ofArray(lean_object*, lean_object*); @@ -455,7 +495,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGT_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__25; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_fromList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5908_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__2___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__24; @@ -470,7 +509,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toList___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_findD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_Const_toList___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__7; @@ -481,12 +519,11 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdxD___at_Std_DTreeMap_Raw_entryAtIdxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_toArray___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_keys___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_DTreeMap_Raw_maxKey_x3f___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__5(lean_object*, lean_object*); @@ -504,6 +541,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__9; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLT_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6166_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_insertIfNew___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_find_x21___spec__1(lean_object*, lean_object*); @@ -531,6 +569,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__3(lean_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_size___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_getEntryGTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_Raw_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_ofArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Raw_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forMUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -538,7 +577,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_get_x21(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keys___rarg___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instSingletonSigma___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_foldr___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -549,6 +587,7 @@ LEAN_EXPORT lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg( LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insertMany(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toArray___rarg(lean_object*); @@ -558,7 +597,6 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__7___rar LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_ofList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_find_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5727_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_instDecidableMem___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_DTreeMap_Raw_getKeyGT_x21___spec__1(lean_object*, lean_object*); @@ -571,7 +609,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instInsertSigma___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_eraseMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_all___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_mergeBy___spec__2(lean_object*, lean_object*); @@ -588,14 +625,17 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_DTreeMap_R LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minD(lean_object*); static lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_mergeBy___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getD___at_Std_DTreeMap_Raw_findD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1; static lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_Raw_maxKey_x21___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_toList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__7___rarg(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instCoeWFWFInner___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__1; @@ -611,6 +651,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_isEmpty___boxed(lean_object*, lean_o LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdxD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x3f___at_Std_DTreeMap_Raw_entryAtIdx_x3f___spec__1(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__15; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter_x21___at_Std_DTreeMap_Raw_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_all___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter_x21___at_Std_DTreeMap_Raw_alter___spec__1(lean_object*, lean_object*); @@ -619,13 +660,15 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__5 LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_getEntryGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_toArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_DTreeMap_Raw_Const_mergeBy___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_ofList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instEmptyCollection___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x21___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase_x21___at_Std_DTreeMap_Raw_erase___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_ofArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_DTreeMap_Raw_Const_unitOfList___spec__3(lean_object*); @@ -655,6 +698,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLTD(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndex_x21(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insertMany___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_fromArray___spec__2(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__23; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_ofArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -667,7 +711,6 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_values___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_DTreeMap_Raw_Const_entryAtIdx_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_DTreeMap_Raw_Const_entryAtIdx_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -681,7 +724,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase_x21___at_Std_DTreeMap_Raw_erase___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_Raw_maxKey_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x3f___rarg(lean_object*, lean_object*); @@ -700,8 +742,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_D LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_DTreeMap_Raw_getKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_partition___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5861_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_revFold___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_DTreeMap_Raw_Const_mergeWith___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg___closed__1; @@ -711,12 +751,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_valuesArray(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_all___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__7; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_values___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minD___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__9(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__11; @@ -728,34 +769,37 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_unitOfList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertIfNew___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_getEntryGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndex_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keyAtIndexD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_ofArray___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_find_x3f(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insertMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_values___rarg___boxed(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__18; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_revFold___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_containsThenInsert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_Raw_getKeyLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_getEntryLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_DTreeMap_Raw_getKey_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__5; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_values(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get___at_Std_DTreeMap_Raw_get___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_forIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -773,25 +817,30 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeM LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instSingletonSigma___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_any___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLE_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instEmptyCollection(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_instForInSigma___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_erase___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_Raw_getKeyLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_findD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x3f___at_Std_DTreeMap_Raw_find_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_containsThenInsertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__10; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instForMSigma___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_getEntryGE_x21___spec__1(lean_object*, lean_object*); extern lean_object* l_Id_instMonad; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -799,6 +848,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLE_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdx_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec__2(lean_object*, lean_object*); @@ -807,6 +857,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instForInSigma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_keysArray___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__10___rarg(lean_object*); @@ -821,6 +872,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instRepr(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGT_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_unitOfList___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_DTreeMap_Raw_Const_mergeWith___spec__1(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD___at_Std_DTreeMap_Raw_keyAtIndexD___spec__1(lean_object*, lean_object*); @@ -850,28 +902,31 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__5 LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_toList___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__6___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_DTreeMap_Raw_Const_findD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_modify(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_toArray___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5761_; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_unitOfList___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_containsThenInsertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5234_; static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__13; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insert(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_partition___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_get(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_instSingletonSigma(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_Raw_maxKey_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -887,14 +942,17 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_ofArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insert___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_fromArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_DTreeMap_Raw_maxKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__6___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLTD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x3f(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_DTreeMap_Raw_Const_get___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__9; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_max_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_DTreeMap_Raw_getKeyLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -912,10 +970,12 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_R LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instSingletonSigma___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_all___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_DTreeMap_Raw_instRepr___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__2___rarg(lean_object*); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLE_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_Raw_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -923,6 +983,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_instInsertSigma___spec__3 LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_instForInSigma___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_modify___at_Std_DTreeMap_Raw_modify___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdxD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase_x21___at_Std_DTreeMap_Raw_eraseMany___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_get_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -931,8 +992,8 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_D LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD___at_Std_DTreeMap_Raw_keyAtIndexD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxD___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__2(lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_get_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryLT_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGE_x3f(lean_object*, lean_object*); @@ -944,25 +1005,25 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTr lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryLE_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryGT_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__7___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__20; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsertIfNew___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__27; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_instSingletonSigma___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_mergeBy___spec__2(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_any___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_values___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_Const_ofArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_toList(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_any___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_alter_x21___at_Std_DTreeMap_Raw_alter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGTD(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertMany___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGED___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGT_x3f___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_fromList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insertIfNew___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_Const_forInUncurried___spec__1(lean_object*, lean_object*, lean_object*); @@ -972,17 +1033,19 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_toList(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keysArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_unitOfArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_insertManyIfNewUnit___spec__6(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6253_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_keysArray___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLT_x3f_go___at_Std_DTreeMap_Raw_getEntryLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_instForMSigma___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_forInUncurried(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_partition___spec__4(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1; static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__5; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_entryAtIdx_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_foldl___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x3f(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__2; LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertIfNew___spec__6___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_fold___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -991,9 +1054,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_D LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_Const_getEntryGED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryGE_x3f_go___at_Std_DTreeMap_Raw_getEntryGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_DTreeMap_Raw_instRepr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getEntryLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxD___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_all___spec__1___rarg___closed__1; @@ -1009,6 +1074,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_DTreeMap_Raw_fromArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_DTreeMap_Raw_minKey_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_DTreeMap_Raw_getKeyLE_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntryD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_Raw_keyAtIndex_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_filter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_DTreeMap_Raw_Const_unitOfArray___spec__1(lean_object*); @@ -1016,7 +1082,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGT_x21___rarg(lean_object*, le LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__2___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_Raw_keyAtIndex_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1___rarg___closed__2; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insertIfNew(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_instRepr___rarg___closed__1; @@ -1027,12 +1093,15 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyLT_x21(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_getThenInsertIfNew_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_findD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_entryAtIdx_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_insertMany___spec__3___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getEntryGT_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6119_; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntryD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_DTreeMap_Raw_Const_getThenInsertIfNew_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x3f___rarg(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__16; @@ -1044,31 +1113,33 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKeyGE_x3f___rarg(lean_object*, le LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldrM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_values___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_Const_forMUncurried___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_any(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_DTreeMap_Raw_minKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_entryAtIdx_x21___at_Std_DTreeMap_Raw_entryAtIdx_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_emptyWithCapacity(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_DTreeMap_Raw_Const_ofList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_containsThenInsert___spec__2___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_filter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_DTreeMap_Raw_keyAtIndex_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_DTreeMap_Raw_Const_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_isEmpty___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_insertMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_unitOfArray(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_DTreeMap_Raw_partition___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_Const_toList___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_69____closed__8; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_eraseMany___spec__4(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_erase___spec__9(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_DTreeMap_Raw_instRepr___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_getD(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_DTreeMap_Raw_all___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1085,6 +1156,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_foldlM___rarg(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getEntryLE_x3f_go___at_Std_DTreeMap_Raw_getEntryLE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_DTreeMap_Raw_Const_alter___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DTreeMap_Raw_Basic_0__instCoeTypeForall__std(lean_object* x_1) { _start: @@ -37396,7 +37468,7 @@ lean_dec(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37431,11 +37503,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_minEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_minEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Raw_minEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -37443,7 +37594,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x3f___rarg(lean_object* x_1, lea _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -37455,11 +37606,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_min_x3f___rarg___boxed), 2, return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_min_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_minEntry_x3f___at_Std_DTreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -37475,15 +37626,15 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.min!", 31, 31); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.minEntry!", 36, 36); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; @@ -37491,20 +37642,20 @@ x_1 = lean_mk_string_unchecked("Map is empty", 12, 12); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__3() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(292u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -37533,17 +37684,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__3; +x_9 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_minEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_minEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37551,7 +37781,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_min_x21___rarg(lean_object* x_1, lea _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37563,11 +37793,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_min_x21___rarg___boxed), 3, return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -37583,7 +37813,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37615,11 +37845,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_minEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_minEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37627,7 +37935,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_minD___rarg(lean_object* x_1, lean_o _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37639,11 +37947,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_minD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_minD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_minEntryD___at_Std_DTreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -37661,7 +37969,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37696,11 +38004,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_maxEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_maxEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Raw_maxEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -37708,7 +38095,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x3f___rarg(lean_object* x_1, lea _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -37720,11 +38107,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_max_x3f___rarg___boxed), 2, return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_max_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_maxEntry_x3f___at_Std_DTreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -37740,28 +38127,28 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.max!", 31, 31); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.maxEntry!", 36, 36); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(315u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -37790,17 +38177,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_maxEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_maxEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37808,7 +38274,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_max_x21___rarg(lean_object* x_1, lea _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37820,11 +38286,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_max_x21___rarg___boxed), 3, return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -37840,7 +38306,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37872,11 +38338,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_maxEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_maxEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37884,7 +38428,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_maxD___rarg(lean_object* x_1, lean_o _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37896,11 +38440,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_maxD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_maxD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_maxEntryD___at_Std_DTreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -38081,7 +38625,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec_ x_2 = l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(338u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -38250,7 +38794,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec_ x_2 = l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_DTreeMap_Raw_maxKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(361u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -46091,7 +46635,7 @@ lean_dec(x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -46127,11 +46671,91 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_minEntry_x3f___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_minEntry_x3f___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_Const_minEntry_x3f___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = lean_box(0); +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed), 3, 0); return x_2; } } @@ -46139,7 +46763,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x3f___rarg(lean_object* x_ _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(x_1, lean_box(0), x_3); return x_4; } } @@ -46151,11 +46775,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_min_x3f___rarg___boxed return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_DTreeMap_Raw_Const_min_x3f___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -46171,28 +46795,28 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.min!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.minEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(741u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_4) == 0) @@ -46222,17 +46846,97 @@ return x_9; else { lean_object* x_10; lean_object* x_11; -x_10 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2; x_11 = l_panic___rarg(x_3, x_10); return x_11; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x21(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_minEntry_x21___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Raw_Const_minEntry_x21___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 3); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_4 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2; +x_11 = l_panic___rarg(x_3, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -46240,7 +46944,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_min_x21___rarg(lean_object* x_ _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -46252,11 +46956,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_min_x21___rarg___boxed return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_1); return x_5; @@ -46272,7 +46976,7 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -46305,11 +47009,90 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntryD(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_minEntryD___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minEntryD___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Raw_Const_minEntryD___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_3 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_inc(x_4); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -46317,7 +47100,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_minD___rarg(lean_object* x_1, _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -46329,11 +47112,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_minD___rarg___boxed), return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_DTreeMap_Raw_Const_minD___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -46351,7 +47134,7 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -46387,11 +47170,91 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_maxEntry_x3f___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_maxEntry_x3f___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Raw_Const_maxEntry_x3f___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = lean_box(0); +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg___boxed), 3, 0); return x_2; } } @@ -46399,7 +47262,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_max_x3f___rarg(lean_object* x_ _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(x_1, lean_box(0), x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(x_1, lean_box(0), x_3); return x_4; } } @@ -46411,11 +47274,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_max_x3f___rarg___boxed return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_DTreeMap_Raw_Const_max_x3f___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -46431,28 +47294,28 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.max!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.maxEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_get_x21___at_Std_DTreeMap_Raw_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(764u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_4) == 0) @@ -46482,17 +47345,97 @@ return x_9; else { lean_object* x_10; lean_object* x_11; -x_10 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__2; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2; x_11 = l_panic___rarg(x_3, x_10); return x_11; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x21(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_maxEntry_x21___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Raw_Const_maxEntry_x21___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 4); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_4 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_ctor_get(x_4, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2; +x_11 = l_panic___rarg(x_3, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -46500,7 +47443,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_max_x21___rarg(lean_object* x_ _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -46512,11 +47455,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_max_x21___rarg___boxed return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_1); return x_5; @@ -46532,7 +47475,7 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -46565,11 +47508,90 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntryD(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_maxEntryD___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxEntryD___spec__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Raw_Const_maxEntryD___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_5) == 0) +{ +x_2 = lean_box(0); +x_3 = x_5; +goto _start; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); +lean_inc(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +else +{ +lean_inc(x_4); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg___boxed), 4, 0); return x_2; } } @@ -46577,7 +47599,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Raw_Const_maxD___rarg(lean_object* x_1, _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(x_1, lean_box(0), x_3, x_4); return x_5; } } @@ -46589,11 +47611,11 @@ x_2 = lean_alloc_closure((void*)(l_Std_DTreeMap_Raw_Const_maxD___rarg___boxed), return x_2; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_DTreeMap_Raw_Const_maxD___spec__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -57689,7 +58711,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5234_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5626_() { _start: { lean_object* x_1; @@ -64164,7 +65186,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5369_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5761_() { _start: { lean_object* x_1; @@ -76356,7 +77378,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5727_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6119_() { _start: { lean_object* x_1; @@ -79558,7 +80580,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5774_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6166_() { _start: { lean_object* x_1; @@ -82920,7 +83942,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5861_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6253_() { _start: { lean_object* x_1; @@ -86134,7 +87156,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5908_() { +static lean_object* _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6300_() { _start: { lean_object* x_1; @@ -115460,16 +116482,16 @@ l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec_ lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1___rarg___closed__2(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_DTreeMap_Raw_getKey_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__3(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_min_x21___at_Std_DTreeMap_Raw_min_x21___spec__1___rarg___closed__3); -l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_max_x21___at_Std_DTreeMap_Raw_max_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minEntry_x21___at_Std_DTreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3); +l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_maxEntry_x21___at_Std_DTreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_DTreeMap_Raw_minKey_x21___spec__1___rarg___closed__2(); @@ -115500,14 +116522,14 @@ l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21__ lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg___closed__2(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_DTreeMap_Raw_Const_get_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_DTreeMap_Raw_Const_min_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_DTreeMap_Raw_Const_max_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_DTreeMap_Raw_Const_minEntry_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_DTreeMap_Raw_Const_maxEntry_x21___spec__1___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_DTreeMap_Raw_Const_entryAtIdx_x21___spec__1___rarg___closed__2(); @@ -115538,18 +116560,18 @@ l_Std_DTreeMap_Raw_all___rarg___closed__2 = _init_l_Std_DTreeMap_Raw_all___rarg_ lean_mark_persistent(l_Std_DTreeMap_Raw_all___rarg___closed__2); l_Std_DTreeMap_Raw_keysArray___rarg___closed__1 = _init_l_Std_DTreeMap_Raw_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Raw_keysArray___rarg___closed__1); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5234_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5234_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5234_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5369_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5369_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5369_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5727_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5727_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5727_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5774_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5774_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5774_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5861_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5861_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5861_); -l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5908_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5908_(); -lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5908_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5626_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5626_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5626_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5761_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5761_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_5761_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6119_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6119_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6119_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6166_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6166_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6166_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6253_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6253_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6253_); +l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6300_ = _init_l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6300_(); +lean_mark_persistent(l___auto____x40_Std_Data_DTreeMap_Raw_Basic___hyg_6300_); l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1 = _init_l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1(); lean_mark_persistent(l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__1); l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__2 = _init_l_repr___at_Std_DTreeMap_Raw_instRepr___spec__3___rarg___closed__2(); diff --git a/stage0/stdlib/Std/Data/Internal/List/Associative.c b/stage0/stdlib/Std/Data/Internal/List/Associative.c index a5a36b3ad3..3f3447b988 100644 --- a/stage0/stdlib/Std/Data/Internal/List/Associative.c +++ b/stage0/stdlib/Std/Data/Internal/List/Associative.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Std.Data.Internal.List.Associative -// Imports: Init.Data.BEq Init.Data.Nat.Simproc Init.Data.List.Perm Init.Data.List.Find Init.Data.List.Monadic Std.Classes.Ord Std.Data.Internal.List.Defs +// Imports: Init.Data.BEq Init.Data.Nat.Simproc Init.Data.List.Perm Init.Data.List.Find Init.Data.List.MinMax Init.Data.List.Monadic Std.Classes.Ord Std.Data.Internal.List.Defs #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,16 +13,23 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_Const_alterKey_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_alterKey_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_replaceEntry(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_modifyKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_insertListIfNewUnit_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_List_minKey_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minSigmaOfOrd___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_List_minEntry_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertListConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCast_x3f(lean_object*, lean_object*); @@ -32,9 +39,12 @@ LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_ LEAN_EXPORT lean_object* l_Std_Internal_List_getKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCast___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Internal_List_getValueCast_x21___rarg___closed__1; +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_List_minKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertEntryIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_insertListIfNewUnit_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValue(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_getValue_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Std_Internal_List_insertListConst___spec__1(lean_object*, lean_object*); lean_object* l_panic___rarg(lean_object*, lean_object*); @@ -43,11 +53,14 @@ LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_ LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCastD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_getValue_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCastD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_Option_dmap___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Std_Internal_List_insertListConst___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_Const_modifyKey(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minSigmaOfOrd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCast_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_eraseKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,10 +70,13 @@ LEAN_EXPORT lean_object* l_Std_Internal_List_Const_alterKey(lean_object*, lean_o LEAN_EXPORT lean_object* l_Std_Internal_List_getKey(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertListIfNewUnit___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_containsKey(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_leSigmaOfOrd(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_alterKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_insertListIfNewUnit_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertListConst___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Std_Internal_List_minEntry_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCast_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValue_x3f(lean_object*, lean_object*); @@ -69,15 +85,19 @@ LEAN_EXPORT lean_object* l_Std_Internal_List_getKey_x21___rarg(lean_object*, lea LEAN_EXPORT uint8_t l_Std_Internal_List_containsKey___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_containsKey___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getKey_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_List_minEntry_x3f___rarg(lean_object*, lean_object*); static lean_object* l_Std_Internal_List_getValueCast_x21___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_Internal_List_alterKey(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_replaceEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getEntry_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_Prod_toSigma(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getKeyD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_Const_alterKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Std_Internal_List_minEntry_x3f___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_forIn_x27__cons_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_Option_dmap(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValue_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -89,10 +109,12 @@ LEAN_EXPORT lean_object* l_Std_Internal_List_eraseKey___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_Internal_List_Const_modifyKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_getEntry_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*); +uint8_t l_Ordering_isLE(uint8_t); LEAN_EXPORT lean_object* l_Std_Internal_List_insertList___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_getValue_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_filterMap_match__1_splitter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getEntry_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_leSigmaOfOrd___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_getValueCast(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_getEntry_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Internal_List_insertListIfNewUnit(lean_object*); @@ -246,6 +268,50 @@ lean_dec(x_2); return x_4; } } +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_8 = lean_apply_3(x_3, x_6, x_7, x_5); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg___boxed), 3, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_Internal_List_getValue_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1299,50 +1365,6 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_dec(x_3); -lean_inc(x_2); -return x_2; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_4, 1); -lean_inc(x_7); -lean_dec(x_4); -x_8 = lean_apply_3(x_3, x_6, x_7, x_5); -return x_8; -} -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg___boxed), 3, 0); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_keys_match__1_splitter___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_forIn_x27__cons_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1812,10 +1834,317 @@ x_3 = lean_alloc_closure((void*)(l_Std_Internal_List_Const_modifyKey___rarg), 4, return x_3; } } +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_leSigmaOfOrd(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_leSigmaOfOrd___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_leSigmaOfOrd(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_apply_2(x_1, x_4, x_5); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +x_8 = l_Ordering_isLE(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_instDecidableLESigma__std___rarg(x_1, x_2, x_3); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minSigmaOfOrd___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_apply_2(x_1, x_4, x_5); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +x_8 = l_Ordering_isLE(x_7); +if (x_8 == 0) +{ +lean_dec(x_2); +return x_3; +} +else +{ +lean_dec(x_3); +return x_2; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minSigmaOfOrd(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minSigmaOfOrd___rarg), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Std_Internal_List_minEntry_x3f___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +lean_inc(x_1); +x_8 = lean_apply_2(x_1, x_6, x_7); +x_9 = lean_unbox(x_8); +lean_dec(x_8); +x_10 = l_Ordering_isLE(x_9); +if (x_10 == 0) +{ +lean_dec(x_2); +x_2 = x_4; +x_3 = x_5; +goto _start; +} +else +{ +lean_dec(x_4); +x_3 = x_5; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Std_Internal_List_minEntry_x3f___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_List_foldl___at_Std_Internal_List_minEntry_x3f___spec__2___rarg), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l_List_foldl___at_Std_Internal_List_minEntry_x3f___spec__2___rarg(x_1, x_4, x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1___rarg), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_List_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_List_minEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_Internal_List_minEntry_x3f___rarg), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_List_minKey_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_min_x3f___at_Std_Internal_List_minEntry_x3f___spec__1___rarg(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_List_minKey_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_Internal_List_minKey_x3f___rarg), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter___rarg___boxed), 3, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Std_Data_Internal_List_Associative_0__Std_Internal_List_minEntry_x3f__cons_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_dec(x_3); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_3, x_4, x_5); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Std_Data_Internal_List_Associative_0__List_getLast_x3f_match__1_splitter___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} lean_object* initialize_Init_Data_BEq(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Nat_Simproc(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Perm(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Find(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_List_MinMax(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_List_Monadic(uint8_t builtin, lean_object*); lean_object* initialize_Std_Classes_Ord(uint8_t builtin, lean_object*); lean_object* initialize_Std_Data_Internal_List_Defs(uint8_t builtin, lean_object*); @@ -1836,6 +2165,9 @@ lean_dec_ref(res); res = initialize_Init_Data_List_Find(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_List_MinMax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_Data_List_Monadic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Std/Data/TreeMap/Basic.c b/stage0/stdlib/Std/Data/TreeMap/Basic.c index 8aa9c4284a..71b1dfe1ad 100644 --- a/stage0/stdlib/Std/Data/TreeMap/Basic.c +++ b/stage0/stdlib/Std/Data/TreeMap/Basic.c @@ -16,26 +16,27 @@ extern "C" { LEAN_EXPORT lean_object* l_Std_TreeMap_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instForMProd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_entryAtIdx_x21___spec__1___rarg___closed__2; static lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_forM___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__3; LEAN_EXPORT lean_object* l_Std_TreeMap_forIn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_partition(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_minKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_toList___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insert(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_revFold___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_min_x3f___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_insertMany___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_TreeMap_instRepr___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__20; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_all___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_TreeMap_getKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -49,6 +50,8 @@ LEAN_EXPORT lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4(lean_ob LEAN_EXPORT lean_object* l_Std_TreeMap_toList___rarg___boxed(lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_link2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_getEntryGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1(lean_object*, lean_object*); static lean_object* l_Std_TreeMap_getEntryGE_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_containsThenInsertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_TreeMap_modify___spec__1(lean_object*, lean_object*); @@ -62,9 +65,12 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_size___rarg(lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__7; static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__11; static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_entryAtIdx_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instInhabited(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__26; +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_2911_; LEAN_EXPORT lean_object* l_Std_TreeMap_instForInProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_contains___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndexD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_TreeMap_getEntryGT_x21___spec__1(lean_object*, lean_object*); @@ -75,12 +81,14 @@ lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___rarg(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_getThenInsertIfNew_x3f___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_instDecidableMem___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_fromArray___spec__2(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_insertIfNew___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_TreeMap_getEntryLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keysArray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntryD(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__6; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std_TreeMap_entryAtIdxD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,7 +99,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_TreeM LEAN_EXPORT lean_object* l_Std_TreeMap_minKeyD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_revFold(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLE_x3f___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_instForInProd___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_insertIfNew___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_entryAtIdx_x21___spec__1___rarg___closed__3; @@ -113,12 +120,14 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_co LEAN_EXPORT lean_object* l_Std_TreeMap_alter(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___rarg___closed__2; static lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_TreeMap_getKeyLTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_maxKey_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_TreeMap_foldlM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_revFold___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_TreeMap_getEntryLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_fold___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_TreeMap_getEntryLED___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_instGetElem_x3fMem___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,6 +135,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_fo LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instRepr___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_find_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_ofList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keysArray___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -137,6 +147,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_containsThenInsert___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_ofList___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__24; static lean_object* l_Std_TreeMap_instRepr___rarg___closed__1; @@ -153,6 +164,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_keysArray(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Std_TreeMap_ofArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_TreeMap_getEntryGE_x21___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_max(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__9; @@ -173,11 +185,9 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_fromList___spec_ static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_all___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_TreeMap_minKey___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_any___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_TreeMap_minKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_TreeMap_maxKey___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_TreeMap_maxKey_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_find_x3f___rarg(lean_object*, lean_object*, lean_object*); @@ -185,6 +195,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_getThenInsertIfNew_x3f___rarg(lean_object LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_forIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___closed__6; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_find_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_getEntryGED___spec__1(lean_object*, lean_object*); @@ -211,8 +222,9 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_ofList___spec__2 LEAN_EXPORT lean_object* l_Std_TreeMap_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGT_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGT_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_revFold___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_containsThenInsertIfNew___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -247,29 +259,35 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey_x3f___rarg___boxed(lean_object*, l lean_object* l_panic___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instInsertProd___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_TreeMap_find_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_modify___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_TreeMap_minKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_TreeMap_erase___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_mergeWith(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_TreeMap_getEntryLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdx(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instForMProd(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_all___rarg___lambda__1___boxed(lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_unitOfList___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_any___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_TreeMap_isEmpty___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_TreeMap_alter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_fromArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_TreeMap_getEntryLT_x21___spec__1(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___closed__7; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_instRepr___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_2853_; LEAN_EXPORT lean_object* l_Std_TreeMap_maxD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_instInsertProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_ofArray___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_2982_; lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instMembership___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -277,7 +295,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_fromArray LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_TreeMap_getKey___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_any___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instForMProd___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_valuesArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_empty___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_getThenInsertIfNew_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -298,12 +316,10 @@ static lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___clo LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_TreeMap_getKeyLED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec__1___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLT_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_containsThenInsert_size___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instDecidableMem(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_foldl___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter___at_Std_TreeMap_filter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -313,6 +329,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_any_ LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_partition___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_ofArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_TreeMap_maxKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_minKey___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -331,13 +348,12 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_fo LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_TreeMap_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_TreeMap_getKeyGE_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_instDecidableMem___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_2924_; LEAN_EXPORT lean_object* l_Std_TreeMap_findD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter___at_Std_TreeMap_filter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_min_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_insertIfNew___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_toList___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_fromList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldl___rarg(lean_object*, lean_object*, lean_object*); @@ -347,14 +363,19 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_T LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter___at_Std_TreeMap_filter___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_TreeMap_erase___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_TreeMap_getThenInsertIfNew_x3f___spec__1(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_all___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_TreeMap_getEntryLT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_unitOfList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex___at_Std_DTreeMap_keyAtIndex___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keys___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldlM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_insertManyIfNewUnit___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_ofList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_fromList___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__27; @@ -363,13 +384,18 @@ static lean_object* l_Std_TreeMap_any___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_TreeMap_findD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_TreeMap_fromArray___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdx_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_toList___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_eraseMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__25; LEAN_EXPORT lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_fromList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_insertManyIfNewUnit___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__12; LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -381,6 +407,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGE_x21(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_TreeMap_minKey_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_Std_TreeMap_all___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at_Std_TreeMap_mergeBy___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_values___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_TreeMap_findD___spec__1(lean_object*, lean_object*); @@ -391,9 +418,12 @@ LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Std_TreeMap_instRepr___spec__ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keys___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_3053_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___at_Std_TreeMap_minKey___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_TreeMap_maxKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -401,16 +431,19 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_va LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_forM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_fromArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_get_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_foldr___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instRepr(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_TreeMap_getKeyLE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29_; +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2; static lean_object* l_Std_TreeMap_getEntryGE_x21___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_partition___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_ofList___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_valuesArray___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_partition___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insertManyIfNewUnit(lean_object*); @@ -425,29 +458,33 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_foldr___boxed(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_minKey_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_get_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_forIn___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_values___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_TreeMap_getKeyLE_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_keysArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_maxKey_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_containsThenInsert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instMembership(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_unitOfArray___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdx___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey___at_Std_TreeMap_maxKey___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_instDecidableMem___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_size___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_instForMProd___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_TreeMap_getEntryGE_x21___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_unitOfList___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_isEmpty___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__15; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_TreeMap_get_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_values___rarg___boxed(lean_object*); @@ -457,11 +494,9 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_find_x21(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__21; LEAN_EXPORT lean_object* l_Std_TreeMap_valuesArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey_x21(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_getThenInsertIfNew_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_getKeyGTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_getThenInsertIfNew_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instForInProd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1(lean_object*, lean_object*); @@ -476,13 +511,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___ LEAN_EXPORT lean_object* l_Std_TreeMap_eraseMany(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instGetElem_x3fMem(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_TreeMap_entryAtIdx_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_toList___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndexD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instSingletonProd___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_TreeMap_getD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_TreeMap_getEntryGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_min(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_link___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_min___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_TreeMap_all___rarg___closed__1; @@ -504,24 +539,25 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGT_x3f___rarg(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdxD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_all___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_minKeyD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_any___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldrM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__7; LEAN_EXPORT lean_object* l_Std_TreeMap_ofList(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_TreeMap_getKeyGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_forIn___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insertMany___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instRepr___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_insertManyIfNewUnit___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_TreeMap_getEntryLE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_getEntryGE_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_TreeMap_getEntryGT_x3f___spec__1(lean_object*, lean_object*); @@ -532,6 +568,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey_x3f___rarg(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_partition___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_unitOfArray___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_instForMProd___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_partition___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at_Std_TreeMap_instRepr___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKey_x3f(lean_object*, lean_object*); @@ -550,9 +587,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey___at_Std_TreeMap_mi LEAN_EXPORT lean_object* l_Std_TreeMap_minD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_TreeMap_maxKeyD___spec__1(lean_object*, lean_object*); lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instDecidableMem___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdx_x21(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_unitOfArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_mergeBy(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -569,9 +608,11 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_unitOfArr LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_ofArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_unitOfList___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_containsThenInsertIfNew___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_max_x3f___rarg___boxed(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_getEntryGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__2; lean_object* l_Std_DTreeMap_Internal_Impl_minView___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -586,17 +627,19 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_maxD___rarg___boxed(lean_object*, lean_ob static lean_object* l_Std_TreeMap_any___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_minKeyD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLTD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_containsThenInsert___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_TreeMap_getKeyLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_instSingletonProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_TreeMap_getKey_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_2711_; LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_getKeyGTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_TreeMap_getKeyLED___spec__1(lean_object*, lean_object*); @@ -611,12 +654,10 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_maxKeyD___rarg___boxed(lean_object*, lean static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__23; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_maxKey_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLT_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_containsThenInsert(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insertMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_fromArray___spec__1(lean_object*, lean_object*); @@ -636,18 +677,19 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGT_x3f___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_ofArray___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_minD___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Const_entryAtIdx(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_max___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyLT_x3f___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_all___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_entryAtIdx_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdx_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndex_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_contains___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_find_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x3f___at_Std_TreeMap_entryAtIdx_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -660,6 +702,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_keyAtIndexD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at_Std_TreeMap_eraseMany___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_mergeBy___spec__2(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_TreeMap_contains___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdxD(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_any___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_TreeMap_getKeyGE_x21___spec__1(lean_object*, lean_object*); @@ -673,7 +716,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_of LEAN_EXPORT lean_object* l_Std_TreeMap_mergeWith___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_TreeMap_find_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_instRepr___spec__2___rarg___closed__5; LEAN_EXPORT lean_object* l_Std_TreeMap_getKeyGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLE_x3f(lean_object*, lean_object*); @@ -684,14 +726,14 @@ LEAN_EXPORT uint8_t l_Std_TreeMap_all___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_getKeyGT_x21___spec__1(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_filter___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_2782_; LEAN_EXPORT lean_object* l_Std_TreeMap_entryAtIdxD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_instForMProd___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_getKeyGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_max_x3f___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instInhabited___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_foldM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_getEntryLT_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_toList(lean_object*, lean_object*, lean_object*); @@ -706,27 +748,33 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_maxKey___rarg(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_instForMProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_eraseMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_getKeyGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x3f(lean_object*, lean_object*); static lean_object* l_Std_TreeMap_keysArray___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_unitOfList(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_containsThenInsertIfNew___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_instForMProd___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__13; +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_emptyWithCapacity(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_minD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_mergeBy___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_instForInProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_keys___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_containsThenInsertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_entryAtIdx_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_insertMany(lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__4; +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Basic___hyg_3124_; LEAN_EXPORT lean_object* l_Std_TreeMap_max_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_instForInProd___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_min_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_TreeMap_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__3; static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_29____closed__1() { _start: { @@ -32699,7 +32747,7 @@ lean_dec(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -32734,11 +32782,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_minEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_minEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_TreeMap_minEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -32746,7 +32873,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_min_x3f___rarg(lean_object* x_1, lean_obj _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -32758,11 +32885,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_min_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_min_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -32778,7 +32905,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32803,11 +32930,80 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg(x_1, x_2, lean_box(0)); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_minEntry___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_minEntry___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_minEntry___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +x_3 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -32815,7 +33011,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_min___rarg(lean_object* x_1, lean_object* _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg(x_1, x_2, lean_box(0)); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg(x_1, x_2, lean_box(0)); return x_4; } } @@ -32827,11 +33023,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_min___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min___at_Std_TreeMap_min___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry___at_Std_TreeMap_min___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -32847,15 +33043,15 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.min!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.minEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; @@ -32863,20 +33059,20 @@ x_1 = lean_mk_string_unchecked("Map is empty", 12, 12); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__3() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(741u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -32905,17 +33101,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__3; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_minEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_minEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -32923,7 +33198,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_min_x21___rarg(lean_object* x_1, lean_obj _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -32935,11 +33210,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_min_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_min_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -32955,7 +33230,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -32987,11 +33262,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_minEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_minEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -32999,7 +33352,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_minD___rarg(lean_object* x_1, lean_object _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33011,11 +33364,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_minD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_minD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -33033,7 +33386,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -33068,11 +33421,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_maxEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_maxEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_TreeMap_maxEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -33080,7 +33512,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_max_x3f___rarg(lean_object* x_1, lean_obj _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -33092,11 +33524,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_max_x3f___rarg___boxed), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_max_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -33112,7 +33544,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33137,11 +33569,80 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg(x_1, x_2, lean_box(0)); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_maxEntry___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_maxEntry___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_maxEntry___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +x_3 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33149,7 +33650,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_max___rarg(lean_object* x_1, lean_object* _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg(x_1, x_2, lean_box(0)); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg(x_1, x_2, lean_box(0)); return x_4; } } @@ -33161,11 +33662,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_max___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max___at_Std_TreeMap_max___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry___at_Std_TreeMap_max___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -33181,28 +33682,28 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.max!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.maxEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(764u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -33231,17 +33732,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_maxEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_maxEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33249,7 +33829,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_max_x21___rarg(lean_object* x_1, lean_obj _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33261,11 +33841,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_max_x21___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_max_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -33281,7 +33861,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -33313,11 +33893,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_maxEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_maxEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -33325,7 +33983,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_maxD___rarg(lean_object* x_1, lean_object _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -33337,11 +33995,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_maxD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_maxD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -33513,7 +34171,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec x_2 = l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(338u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -33819,7 +34477,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_get_x21___spec x_2 = l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_maxKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(361u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -45109,7 +45767,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2711_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2911_() { _start: { lean_object* x_1; @@ -51505,7 +52163,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2782_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2982_() { _start: { lean_object* x_1; @@ -54867,7 +55525,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2853_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_3053_() { _start: { lean_object* x_1; @@ -61287,7 +61945,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2924_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_3124_() { _start: { lean_object* x_1; @@ -84778,16 +85436,16 @@ l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___ lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___rarg___closed__2(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_getKey_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__3(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_min_x21___spec__1___rarg___closed__3); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_max_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_minEntry_x21___spec__1___rarg___closed__3); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_maxEntry_x21___spec__1___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_minKey_x21___spec__1___rarg___closed__2(); @@ -84836,14 +85494,14 @@ l_Std_TreeMap_all___rarg___closed__2 = _init_l_Std_TreeMap_all___rarg___closed__ lean_mark_persistent(l_Std_TreeMap_all___rarg___closed__2); l_Std_TreeMap_keysArray___rarg___closed__1 = _init_l_Std_TreeMap_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_TreeMap_keysArray___rarg___closed__1); -l___auto____x40_Std_Data_TreeMap_Basic___hyg_2711_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2711_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_2711_); -l___auto____x40_Std_Data_TreeMap_Basic___hyg_2782_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2782_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_2782_); -l___auto____x40_Std_Data_TreeMap_Basic___hyg_2853_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2853_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_2853_); -l___auto____x40_Std_Data_TreeMap_Basic___hyg_2924_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2924_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_2924_); +l___auto____x40_Std_Data_TreeMap_Basic___hyg_2911_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2911_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_2911_); +l___auto____x40_Std_Data_TreeMap_Basic___hyg_2982_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_2982_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_2982_); +l___auto____x40_Std_Data_TreeMap_Basic___hyg_3053_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_3053_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_3053_); +l___auto____x40_Std_Data_TreeMap_Basic___hyg_3124_ = _init_l___auto____x40_Std_Data_TreeMap_Basic___hyg_3124_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Basic___hyg_3124_); l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__1 = _init_l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__1(); lean_mark_persistent(l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__1); l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__2 = _init_l_Prod_repr___at_Std_TreeMap_instRepr___spec__4___rarg___closed__2(); diff --git a/stage0/stdlib/Std/Data/TreeMap/Raw/Basic.c b/stage0/stdlib/Std/Data/TreeMap/Raw/Basic.c index 580d5cf412..0c8f0d5f35 100644 --- a/stage0/stdlib/Std/Data/TreeMap/Raw/Basic.c +++ b/stage0/stdlib/Std/Data/TreeMap/Raw/Basic.c @@ -27,7 +27,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Ra LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_alter___spec__3(lean_object*, lean_object*); static lean_object* l_Std_TreeMap_Raw_getEntryGE_x21___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_toList___rarg___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_TreeMap_Raw_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keys___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keys(lean_object*, lean_object*, lean_object*); @@ -47,6 +46,8 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLED___rarg___boxed(lean_objec LEAN_EXPORT lean_object* l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsertIfNew___spec__5___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instSingletonProd(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insertIfNew___spec__2(lean_object*, lean_object*); @@ -87,6 +88,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_all___rarg(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_containsThenInsert___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_entryAtIdx_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_TreeMap_Raw_getKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_eraseMany___spec__3(lean_object*, lean_object*); @@ -101,6 +103,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKey_x3f___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_instSingletonProd___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keyAtIndex_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_entryAtIdx_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldrM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_unitOfArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -114,8 +117,10 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldl(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_modify(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_insertManyIfNewUnit___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxKey_x21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_TreeMap_Raw_getEntryLTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_contains___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_max_x3f___rarg(lean_object*, lean_object*); @@ -130,8 +135,8 @@ static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____close LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_min_x3f___rarg___boxed(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instGetElem_x3fMem___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__7___rarg(lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGT_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_TreeMap_Raw_getKeyLT_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_TreeMap_Raw_instDecidableMem___rarg(lean_object*, lean_object*, lean_object*); @@ -149,25 +154,24 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMa LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_Raw_ofArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__21; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_TreeMap_Raw_getEntryGT_x21___spec__1(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_TreeMap_Raw_getKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_filter___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_link_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_TreeMap_Raw_getKeyLTD___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__5; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___at_Std_TreeMap_Raw_getEntryLT_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_unitOfArray___rarg___boxed(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_minView_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_insertManyIfNewUnit___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKey___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__14; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_containsThenInsertIfNew(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_modify___at_Std_TreeMap_Raw_modify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxKey_x21___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; static lean_object* l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_TreeMap_Raw_maxKey_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_Raw_any___spec__1___rarg___closed__3; @@ -177,15 +181,13 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMa LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instEmptyCollection(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_TreeMap_Raw_getKeyLT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLE_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29_; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_TreeMap_Raw_getKeyLED___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_unitOfList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsertIfNew___spec__3(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_insertIfNew___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_Raw_any___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Raw_instRepr___spec__1___rarg(lean_object*, lean_object*); @@ -199,7 +201,6 @@ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insertIfNew___spec__5___ra LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_eraseMany___spec__7___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase_x21___at_Std_TreeMap_Raw_eraseMany___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_erase___spec__5___rarg(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_eraseMany___spec__2___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_filter___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -209,20 +210,21 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_toList(lean_object*, lean_object*, le LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_ofList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minKey_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_insertIfNew(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_TreeMap_Raw_all___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_TreeMap_Raw_any___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_Raw_all___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_TreeMap_Raw_getKeyD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_TreeMap_Raw_maxKeyD___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntryD(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_Raw_getEntryGED___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__1; LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_erase___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyGE_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_TreeMap_Raw_alter___spec__1(lean_object*, lean_object*); static lean_object* l_Std_TreeMap_Raw_all___rarg___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_unitOfList___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,6 +240,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLT_x3f_go___ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_foldl___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_containsThenInsert___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instMembership(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_TreeMap_Raw_getKey_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_contains___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -266,17 +269,17 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLT_x3f___rarg(lean_object*, lea static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_TreeMap_Raw_getD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_getThenInsertIfNew_x3f___spec__5___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x3f(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_maxView_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndexD___at_Std_TreeMap_Raw_keyAtIndexD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldr___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_erase___spec__3___rarg(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_Raw_any___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKeyD___at_Std_TreeMap_Raw_minKeyD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__3___rarg(lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2606_; LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insertIfNew___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_TreeMap_Raw_getEntryLED___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_forM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -291,6 +294,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instEmptyCollection___boxed(lean_obje LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_findD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_Raw_instForInProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_insertManyIfNewUnit___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_toArray___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_size(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_TreeMap_Raw_getKeyGED___spec__1(lean_object*, lean_object*); @@ -307,10 +311,12 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdxD___at_Std LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_unitOfList___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_TreeMap_Raw_maxKeyD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_Raw_getEntryGED___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase_x21___at_Std_TreeMap_Raw_erase___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insertMany___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_find_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLT_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_filter(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_Raw_maxKey_x21___spec__1(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_link2_x21___rarg(lean_object*, lean_object*); @@ -323,7 +329,6 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMa LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKey_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Std_TreeMap_Raw_instRepr___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_fromArray___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insert___spec__2(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -336,8 +341,10 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_forIn___boxed(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxKey_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_instSingletonProd___spec__4___rarg(lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2827_; static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__27; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instMembership___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsertIfNew___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insertMany___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_empty(lean_object*, lean_object*, lean_object*); @@ -367,20 +374,22 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGED___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_Raw_instRepr___spec__2___rarg___closed__6; -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2748_; static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_Raw_entryAtIdx_x21___spec__1___rarg___closed__3; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntryD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_unitOfList___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instInsertProd___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_TreeMap_Raw_keyAtIndex_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instForMProd(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2969_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_TreeMap_Raw_get___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_insertMany___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldlM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxKeyD(lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__18; +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_Raw_getKeyGT_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_Raw_entryAtIdx_x21___spec__1___rarg___closed__1; static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_TreeMap_Raw_keyAtIndex_x21___spec__1___rarg___closed__2; @@ -416,16 +425,20 @@ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsert___spec_ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_values___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x3f___at_Std_TreeMap_Raw_getKey_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keysArray___rarg(lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsert___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_keyAtIndex_x21___at_Std_TreeMap_Raw_keyAtIndex_x21___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_erase___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insertIfNew___spec__4___rarg(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLE_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keyAtIndex_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLED(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_toArray___spec__1___rarg(lean_object*, lean_object*); @@ -456,6 +469,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_Tre LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_any___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keys___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keyAtIndex_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_keysArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_forM___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey___at_Std_TreeMap_Raw_getKey___spec__1(lean_object*, lean_object*); @@ -482,20 +496,25 @@ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsert___spec_ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x3f___at_Std_TreeMap_Raw_minKey_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_filter_x21___at_Std_TreeMap_Raw_filter___spec__1(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minKey_x3f(lean_object*, lean_object*); static lean_object* l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__5; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__22; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_toArray___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGT_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__2___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyGE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minD___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_unitOfList___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Raw_keys___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_containsThenInsertIfNew___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Raw_keys___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_TreeMap_Raw_maxKey_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_mergeBy___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_fold___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_min_x3f(lean_object*, lean_object*); @@ -504,6 +523,8 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter_x21___at_Std_T LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minKey_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_containsThenInsertIfNew___spec__6___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGE_x3f_go___at_Std_TreeMap_Raw_getKeyGE_x21___spec__1(lean_object*, lean_object*); +static lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instSingletonProd___rarg(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___spec__1___rarg___closed__3; @@ -512,6 +533,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insertManyIfNewUnit___spec LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_TreeMap_Raw_getEntryLE_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_containsThenInsertIfNew___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at_Std_TreeMap_Raw_instRepr___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_Raw_fromArray___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -519,12 +541,14 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLT_x3f_go___at_Std_T static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__4; static lean_object* l_Std_TreeMap_Raw_partition___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_Raw_ofArray___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x3f___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_partition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_insertManyIfNewUnit___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyGTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_alter___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__10___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_Raw_unitOfArray___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_Raw_getEntryGE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_entryAtIdx_x21___at_Std_TreeMap_Raw_entryAtIdx_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_Raw_getKeyGT_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -575,7 +599,6 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLTD___rarg(lean_object*, lean LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKeyD___at_Std_TreeMap_Raw_maxKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_ofArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_min_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Raw_toList___spec__1(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_Raw_fromArray___spec__1(lean_object*, lean_object*); @@ -584,11 +607,12 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_findD___rarg___boxed(lean_object*, le LEAN_EXPORT uint8_t l_Std_TreeMap_Raw_any___rarg___lambda__1(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Std_TreeMap_Raw_keysArray___rarg___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldr(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_erase___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_alter___spec__2(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2898_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_Raw_unitOfList___spec__2(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x3f___at_Std_TreeMap_Raw_maxKey_x3f___spec__1(lean_object*, lean_object*); @@ -606,6 +630,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyD___rarg___boxed(lean_object*, LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_eraseMany___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insert___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instDecidableMem___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_entryAtIdx_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minKey_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_eraseMany___spec__2(lean_object*, lean_object*); @@ -615,6 +640,7 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMa static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__9; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_mergeWith___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGED___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2756_; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_fromList(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1(lean_object*, lean_object*); @@ -631,6 +657,8 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Ra LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_Std_TreeMap_Raw_getThenInsertIfNew_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_ofList___spec__2(lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_eraseMany___spec__5___rarg(lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__1; extern lean_object* l_Id_instMonad; @@ -639,6 +667,7 @@ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__5(lean_o LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyGT_x3f_go___at_Std_TreeMap_Raw_getKeyGTD___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_isEmpty___rarg___boxed(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldrM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_Raw_fromList___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_erase___spec__6___rarg(lean_object*); @@ -668,9 +697,8 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Std_TreeMap_Raw_fromA LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_min_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGTD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_revFold___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyLE_x3f_go___at_Std_TreeMap_Raw_getKeyLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insertManyIfNewUnit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_Raw_maxKey_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGE_x3f(lean_object*, lean_object*); @@ -697,12 +725,12 @@ LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_u static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__24; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_ofList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_erase___spec__2___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_TreeMap_Raw_contains___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLTD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryGE_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_fromList___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2819_; LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instRepr___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_unitOfArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__3(lean_object*, lean_object*); @@ -712,11 +740,14 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_size___boxed(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLTD___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyGE_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLT_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___spec__1___rarg___closed__1; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_forInStep___at_Std_TreeMap_Raw_all___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_getThenInsertIfNew_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getEntryLE_x3f___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Raw_toList___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldrM___at_Std_TreeMap_Raw_foldr___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_Raw_maxKey_x21___spec__1___rarg___closed__1; @@ -746,6 +777,8 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at_Std_TreeMa static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__5; LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_instInsertProd___spec__4___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Std_TreeMap_Raw_fromList___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x3f___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_getThenInsertIfNew_x3f___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_mergeWith___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -794,13 +827,15 @@ static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____close LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_ofArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___at_Std_TreeMap_Raw_getEntryLE_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_getThenInsertIfNew_x3f___spec__4___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x3f___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntryD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyD(lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_Raw_instRepr___spec__2___rarg___closed__7; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_keys___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at_Std_TreeMap_Raw_instRepr___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_getKeyD___at_Std_TreeMap_Raw_getKeyD___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2677_; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_fold___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_foldl___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_TreeMap_Raw_getEntryGE_x21___rarg___closed__3; @@ -818,10 +853,9 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryLE_x3f_go___ LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_instInsertProd___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_get___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at_Std_TreeMap_Raw_ofList___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntryD___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at_Std_TreeMap_Raw_valuesArray___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at_Std_TreeMap_Raw_unitOfList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_partition___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_partition___spec__9___rarg(lean_object*); static lean_object* l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_29____closed__16; @@ -836,9 +870,11 @@ LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMa LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get___at_Std_TreeMap_Raw_get___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_mergeWith(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGE_x3f_go___at_Std_TreeMap_Raw_getEntryGE_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getEntryGT_x3f_go___at_Std_TreeMap_Raw_getEntryGTD___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Std_TreeMap_Raw_insert___spec__3___rarg(lean_object*); static lean_object* l_Std_TreeMap_Raw_instRepr___rarg___closed__2; +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_getKeyLE_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_instCoeWFWFInner(lean_object*, lean_object*, lean_object*, lean_object*); @@ -37232,7 +37268,7 @@ lean_dec(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37267,11 +37303,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_minEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_minEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_TreeMap_Raw_minEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -37279,7 +37394,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_min_x3f___rarg(lean_object* x_1, lean _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -37291,11 +37406,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_min_x3f___rarg___boxed), 2, 0 return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_min_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x3f___at_Std_TreeMap_Raw_min_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -37311,15 +37426,15 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.min!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.minEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; @@ -37327,20 +37442,20 @@ x_1 = lean_mk_string_unchecked("Map is empty", 12, 12); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__3() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(741u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -37369,17 +37484,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__3; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_minEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_Raw_minEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37387,7 +37581,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_min_x21___rarg(lean_object* x_1, lean _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37399,11 +37593,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_min_x21___rarg___boxed), 3, 0 return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -37419,7 +37613,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37451,11 +37645,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_minEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_Raw_minEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 3); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37463,7 +37735,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_minD___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37475,11 +37747,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_minD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_minD___at_Std_TreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_minEntryD___at_Std_TreeMap_Raw_minD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -37497,7 +37769,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37532,11 +37804,90 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x3f___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_maxEntry_x3f___rarg___boxed), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_maxEntry_x3f___spec__1___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_TreeMap_Raw_maxEntry_x3f___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_3) == 0) +{ +x_2 = x_3; +goto _start; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; +x_9 = lean_box(0); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg___boxed), 2, 0); return x_3; } } @@ -37544,7 +37895,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_max_x3f___rarg(lean_object* x_1, lean _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); return x_3; } } @@ -37556,11 +37907,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_max_x3f___rarg___boxed), 2, 0 return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_DTreeMap_Internal_Impl_Const_max_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); +x_3 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x3f___at_Std_TreeMap_Raw_max_x3f___spec__1___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -37576,28 +37927,28 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__1() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.max!", 37, 37); +x_1 = lean_mk_string_unchecked("Std.DTreeMap.Internal.Impl.Const.maxEntry!", 42, 42); return x_1; } } -static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__2() { +static lean_object* _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___spec__1___rarg___closed__1; -x_2 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__1; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(764u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -37626,17 +37977,96 @@ return x_8; else { lean_object* x_9; lean_object* x_10; -x_9 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__2; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2; x_10 = l_panic___rarg(x_2, x_9); return x_10; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x21(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_maxEntry_x21___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntry_x21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_Raw_maxEntry_x21___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_3 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2; +x_10 = l_panic___rarg(x_2, x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37644,7 +38074,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_max_x21___rarg(lean_object* x_1, lean _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37656,11 +38086,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_max_x21___rarg___boxed), 3, 0 return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_1); return x_4; @@ -37676,7 +38106,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -37708,11 +38138,89 @@ return x_3; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg___boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntryD___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntryD(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_maxEntryD___rarg___boxed), 3, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxEntryD___spec__1___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxEntryD___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_TreeMap_Raw_maxEntryD___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 4); +if (lean_obj_tag(x_4) == 0) +{ +x_2 = x_4; +goto _start; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg___boxed), 3, 0); return x_3; } } @@ -37720,7 +38228,7 @@ LEAN_EXPORT lean_object* l_Std_TreeMap_Raw_maxD___rarg(lean_object* x_1, lean_ob _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); return x_4; } } @@ -37732,11 +38240,11 @@ x_3 = lean_alloc_closure((void*)(l_Std_TreeMap_Raw_maxD___rarg___boxed), 3, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_maxEntryD___at_Std_TreeMap_Raw_maxD___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -37844,7 +38352,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___ x_2 = l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(338u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -38086,7 +38594,7 @@ x_1 = l_Std_DTreeMap_Internal_Impl_Const_get_x21___at_Std_TreeMap_Raw_get_x21___ x_2 = l_Std_DTreeMap_Internal_Impl_maxKey_x21___at_Std_TreeMap_Raw_maxKey_x21___spec__1___rarg___closed__1; x_3 = lean_unsigned_to_nat(361u); x_4 = lean_unsigned_to_nat(13u); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -50716,7 +51224,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2606_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2756_() { _start: { lean_object* x_1; @@ -57112,7 +57620,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2677_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2827_() { _start: { lean_object* x_1; @@ -60474,7 +60982,7 @@ lean_dec(x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2748_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2898_() { _start: { lean_object* x_1; @@ -66894,7 +67402,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2819_() { +static lean_object* _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2969_() { _start: { lean_object* x_1; @@ -92559,16 +93067,16 @@ l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__ lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1___rarg___closed__2(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_getKey_x21___at_Std_TreeMap_Raw_getKey_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__2); -l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__3(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_min_x21___at_Std_TreeMap_Raw_min_x21___spec__1___rarg___closed__3); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__1); -l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_max_x21___at_Std_TreeMap_Raw_max_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__2); +l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_minEntry_x21___at_Std_TreeMap_Raw_minEntry_x21___spec__1___rarg___closed__3); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__1); +l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_maxEntry_x21___at_Std_TreeMap_Raw_maxEntry_x21___spec__1___rarg___closed__2); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__1 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__1(); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__1); l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_minKey_x21___at_Std_TreeMap_Raw_minKey_x21___spec__1___rarg___closed__2(); @@ -92621,14 +93129,14 @@ l_Std_TreeMap_Raw_all___rarg___closed__2 = _init_l_Std_TreeMap_Raw_all___rarg___ lean_mark_persistent(l_Std_TreeMap_Raw_all___rarg___closed__2); l_Std_TreeMap_Raw_keysArray___rarg___closed__1 = _init_l_Std_TreeMap_Raw_keysArray___rarg___closed__1(); lean_mark_persistent(l_Std_TreeMap_Raw_keysArray___rarg___closed__1); -l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2606_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2606_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2606_); -l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2677_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2677_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2677_); -l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2748_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2748_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2748_); -l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2819_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2819_(); -lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2819_); +l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2756_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2756_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2756_); +l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2827_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2827_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2827_); +l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2898_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2898_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2898_); +l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2969_ = _init_l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2969_(); +lean_mark_persistent(l___auto____x40_Std_Data_TreeMap_Raw_Basic___hyg_2969_); l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__1 = _init_l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__1(); lean_mark_persistent(l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__1); l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__2 = _init_l_Prod_repr___at_Std_TreeMap_Raw_instRepr___spec__4___rarg___closed__2(); diff --git a/stage0/stdlib/Std/Internal/Async.c b/stage0/stdlib/Std/Internal/Async.c index a16e64556a..4040cf4179 100644 --- a/stage0/stdlib/Std/Internal/Async.c +++ b/stage0/stdlib/Std/Internal/Async.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Std.Internal.Async -// Imports: Std.Internal.Async.Basic Std.Internal.Async.Timer +// Imports: Std.Internal.Async.Basic Std.Internal.Async.Timer Std.Internal.Async.TCP #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,6 +15,7 @@ extern "C" { #endif lean_object* initialize_Std_Internal_Async_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Std_Internal_Async_Timer(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Internal_Async_TCP(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Std_Internal_Async(uint8_t builtin, lean_object* w) { lean_object * res; @@ -26,6 +27,9 @@ lean_dec_ref(res); res = initialize_Std_Internal_Async_Timer(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Std_Internal_Async_TCP(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Std/Internal/Async/TCP.c b/stage0/stdlib/Std/Internal/Async/TCP.c new file mode 100644 index 0000000000..45c432939f --- /dev/null +++ b/stage0/stdlib/Std/Internal/Async/TCP.c @@ -0,0 +1,1176 @@ +// Lean compiler output +// Module: Std.Internal.Async.TCP +// Imports: Std.Time Std.Internal.UV Std.Internal.Async.Basic Std.Net.Addr +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_getSockName(lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__22; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__26; +lean_object* lean_uv_tcp_bind(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_mk(lean_object*); +lean_object* lean_uv_tcp_getsockname(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_noDelay___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getPeerName(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept___lambda__1(lean_object*); +lean_object* lean_uv_tcp_connect(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_noDelay___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_shutdown(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_send(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_recv_x3f(lean_object*, uint64_t, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_keepAlive___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_getpeername(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_recv_x3f___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__16; +lean_object* lean_uv_tcp_send(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_listen(lean_object*, uint32_t, lean_object*); +lean_object* lean_uv_tcp_nodelay(lean_object*, lean_object*); +lean_object* lean_uv_tcp_new(lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_connect___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__5; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_mk(lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__14; +uint32_t lean_uint32_of_nat(lean_object*); +lean_object* lean_uv_tcp_listen(lean_object*, uint32_t, lean_object*); +uint8_t lean_bool_to_int8(uint8_t); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_listen___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__18; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__21; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getSockName(lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__17; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__15; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__23; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__24; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__8; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__9; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_bind___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Task_Priority_default; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__4; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +lean_object* lean_uv_tcp_accept(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_getSockName___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_bind(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134_; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_bind___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_bind(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_keepAlive___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__25; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__12; +lean_object* lean_uv_tcp_keepalive(lean_object*, uint8_t, uint32_t, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__7; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept___boxed(lean_object*, lean_object*); +lean_object* lean_uv_tcp_recv(lean_object*, uint64_t, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__19; +lean_object* l_Int_toNat(lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_noDelay(lean_object*, lean_object*); +lean_object* l_IO_Promise_result_x21___rarg(lean_object*); +lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_shutdown___boxed(lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_keepAlive(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getSockName___boxed(lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_noDelay(lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11; +LEAN_EXPORT lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_269_; +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__13; +lean_object* lean_uv_tcp_shutdown(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_send___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__20; +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_keepAlive(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getPeerName___boxed(lean_object*, lean_object*); +lean_object* l_Array_emptyWithCapacity(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_connect(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_mk(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_uv_tcp_new(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_inc(x_4); +lean_dec(x_2); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +return x_2; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 0); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_2); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_bind(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_bind(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_bind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_Internal_IO_Async_TCP_Socket_Server_bind(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_listen(lean_object* x_1, uint32_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_listen(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_listen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint32_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_5 = l_Std_Internal_IO_Async_TCP_Socket_Server_listen(x_1, x_4, x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept___lambda__1(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +return x_1; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +} +static lean_object* _init_l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Std_Internal_IO_Async_TCP_Socket_Server_accept___lambda__1), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_accept(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l_IO_Promise_result_x21___rarg(x_5); +lean_dec(x_5); +x_7 = l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1; +x_8 = l_Task_Priority_default; +x_9 = 0; +x_10 = lean_task_map(x_7, x_6, x_8, x_9); +lean_ctor_set(x_3, 0, x_10); +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_13 = l_IO_Promise_result_x21___rarg(x_11); +lean_dec(x_11); +x_14 = l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1; +x_15 = l_Task_Priority_default; +x_16 = 0; +x_17 = lean_task_map(x_14, x_13, x_15, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_12); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_3); +if (x_19 == 0) +{ +return x_3; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_3, 0); +x_21 = lean_ctor_get(x_3, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_3); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_accept___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Server_accept(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_getSockName(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_getsockname(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_getSockName___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Server_getSockName(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_noDelay(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_nodelay(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_noDelay___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Server_noDelay(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3; +x_4 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Array_emptyWithCapacity(lean_box(0), x_1); +return x_2; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3; +x_4 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__7; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("null", 4, 4); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("decide", 6, 6); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3; +x_4 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__13; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("optConfig", 9, 9); +return x_1; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3; +x_4 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__15; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__17; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__16; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__18; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__14; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__19; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__12; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__20; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__21; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__22; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__23; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__8; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__24; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6; +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__25; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__5; +x_3 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__26; +x_4 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_keepAlive(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; uint32_t x_8; lean_object* x_9; +x_6 = lean_bool_to_int8(x_2); +x_7 = l_Int_toNat(x_3); +x_8 = lean_uint32_of_nat(x_7); +lean_dec(x_7); +x_9 = lean_uv_tcp_keepalive(x_1, x_6, x_8, x_5); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Server_keepAlive___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); +lean_dec(x_2); +x_7 = l_Std_Internal_IO_Async_TCP_Socket_Server_keepAlive(x_1, x_6, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_mk(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_uv_tcp_new(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_inc(x_4); +lean_dec(x_2); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +return x_2; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 0); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_2); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_bind(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_bind(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_bind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_Internal_IO_Async_TCP_Socket_Client_bind(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_connect(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_connect(x_1, x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = l_IO_Promise_result_x21___rarg(x_6); +lean_dec(x_6); +lean_ctor_set(x_4, 0, x_7); +return x_4; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = l_IO_Promise_result_x21___rarg(x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_4); +if (x_12 == 0) +{ +return x_4; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_4, 0); +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_connect___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_Internal_IO_Async_TCP_Socket_Client_connect(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_send(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_send(x_1, x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = l_IO_Promise_result_x21___rarg(x_6); +lean_dec(x_6); +lean_ctor_set(x_4, 0, x_7); +return x_4; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = l_IO_Promise_result_x21___rarg(x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_4); +if (x_12 == 0) +{ +return x_4; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_4, 0); +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_send___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_Internal_IO_Async_TCP_Socket_Client_send(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_recv_x3f(lean_object* x_1, uint64_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_recv(x_1, x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = l_IO_Promise_result_x21___rarg(x_6); +lean_dec(x_6); +lean_ctor_set(x_4, 0, x_7); +return x_4; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = l_IO_Promise_result_x21___rarg(x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_4); +if (x_12 == 0) +{ +return x_4; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_4, 0); +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_recv_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint64_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_5 = l_Std_Internal_IO_Async_TCP_Socket_Client_recv_x3f(x_1, x_4, x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_shutdown(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_shutdown(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l_IO_Promise_result_x21___rarg(x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_6); +return x_3; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_3); +x_9 = l_IO_Promise_result_x21___rarg(x_7); +lean_dec(x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_3); +if (x_11 == 0) +{ +return x_3; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_3); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_shutdown___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Client_shutdown(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getPeerName(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_getpeername(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getPeerName___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Client_getPeerName(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getSockName(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_getsockname(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_getSockName___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Client_getSockName(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_noDelay(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_nodelay(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_noDelay___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_Internal_IO_Async_TCP_Socket_Client_noDelay(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l___auto____x40_Std_Internal_Async_TCP___hyg_269_() { +_start: +{ +lean_object* x_1; +x_1 = l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_keepAlive(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; uint32_t x_8; lean_object* x_9; +x_6 = lean_bool_to_int8(x_2); +x_7 = l_Int_toNat(x_3); +x_8 = lean_uint32_of_nat(x_7); +lean_dec(x_7); +x_9 = lean_uv_tcp_keepalive(x_1, x_6, x_8, x_5); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_IO_Async_TCP_Socket_Client_keepAlive___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); +lean_dec(x_2); +x_7 = l_Std_Internal_IO_Async_TCP_Socket_Client_keepAlive(x_1, x_6, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +lean_object* initialize_Std_Time(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Internal_UV(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Internal_Async_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Net_Addr(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Std_Internal_Async_TCP(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Std_Time(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Internal_UV(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Internal_Async_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Net_Addr(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1 = _init_l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1(); +lean_mark_persistent(l_Std_Internal_IO_Async_TCP_Socket_Server_accept___closed__1); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__1); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__2); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__3); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__4 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__4(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__4); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__5 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__5(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__5); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__6); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__7 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__7(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__7); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__8 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__8(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__8); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__9 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__9(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__9); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__10); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__11); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__12 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__12(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__12); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__13 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__13(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__13); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__14 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__14(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__14); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__15 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__15(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__15); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__16 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__16(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__16); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__17 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__17(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__17); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__18 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__18(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__18); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__19 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__19(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__19); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__20 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__20(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__20); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__21 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__21(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__21); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__22 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__22(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__22); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__23 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__23(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__23); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__24 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__24(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__24); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__25 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__25(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__25); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__26 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__26(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__26); +l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27 = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134____closed__27); +l___auto____x40_Std_Internal_Async_TCP___hyg_134_ = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_134_(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_134_); +l___auto____x40_Std_Internal_Async_TCP___hyg_269_ = _init_l___auto____x40_Std_Internal_Async_TCP___hyg_269_(); +lean_mark_persistent(l___auto____x40_Std_Internal_Async_TCP___hyg_269_); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Std/Internal/UV.c b/stage0/stdlib/Std/Internal/UV.c index 2a9e0261f2..32139555e8 100644 --- a/stage0/stdlib/Std/Internal/UV.c +++ b/stage0/stdlib/Std/Internal/UV.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Std.Internal.UV -// Imports: Init.System.IO Init.System.Promise Std.Internal.UV.Loop Std.Internal.UV.Timer +// Imports: Init.System.IO Init.System.Promise Std.Internal.UV.Loop Std.Internal.UV.Timer Std.Internal.UV.TCP #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -17,6 +17,7 @@ lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*); lean_object* initialize_Init_System_Promise(uint8_t builtin, lean_object*); lean_object* initialize_Std_Internal_UV_Loop(uint8_t builtin, lean_object*); lean_object* initialize_Std_Internal_UV_Timer(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Internal_UV_TCP(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Std_Internal_UV(uint8_t builtin, lean_object* w) { lean_object * res; @@ -34,6 +35,9 @@ lean_dec_ref(res); res = initialize_Std_Internal_UV_Timer(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Std_Internal_UV_TCP(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Std/Internal/UV/TCP.c b/stage0/stdlib/Std/Internal/UV/TCP.c new file mode 100644 index 0000000000..78ccfe261f --- /dev/null +++ b/stage0/stdlib/Std/Internal/UV/TCP.c @@ -0,0 +1,190 @@ +// Lean compiler output +// Module: Std.Internal.UV.TCP +// Imports: Init.System.IO Init.System.Promise Init.Data.SInt Std.Net +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_keepAlive___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_bind(lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_getsockname(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Internal_UV_TCP_0__Std_Internal_UV_TCP_SocketImpl; +lean_object* lean_uv_tcp_connect(lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_getpeername(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_connect___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_recv_x3f___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_send(lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_nodelay(lean_object*, lean_object*); +lean_object* lean_uv_tcp_new(lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_getPeerName___boxed(lean_object*, lean_object*); +lean_object* lean_uv_tcp_listen(lean_object*, uint32_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_new___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_bind___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_accept(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_listen___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_uv_tcp_keepalive(lean_object*, uint8_t, uint32_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_getSockName___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_accept___boxed(lean_object*, lean_object*); +lean_object* lean_uv_tcp_recv(lean_object*, uint64_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_send___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_noDelay___boxed(lean_object*, lean_object*); +lean_object* lean_uv_tcp_shutdown(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_shutdown___boxed(lean_object*, lean_object*); +static lean_object* _init_l___private_Std_Internal_UV_TCP_0__Std_Internal_UV_TCP_SocketImpl() { +_start: +{ +return lean_box(0); +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_new___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_uv_tcp_new(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_connect___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_connect(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_send___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_send(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_recv_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint64_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_5 = lean_uv_tcp_recv(x_1, x_4, x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_bind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_uv_tcp_bind(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_listen___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint32_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_5 = lean_uv_tcp_listen(x_1, x_4, x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_accept___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_accept(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_shutdown___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_shutdown(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_getPeerName___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_getpeername(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_getSockName___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_getsockname(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_noDelay___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_uv_tcp_nodelay(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Internal_UV_TCP_Socket_keepAlive___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; uint32_t x_6; lean_object* x_7; +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = lean_unbox_uint32(x_3); +lean_dec(x_3); +x_7 = lean_uv_tcp_keepalive(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*); +lean_object* initialize_Init_System_Promise(uint8_t builtin, lean_object*); +lean_object* initialize_Init_Data_SInt(uint8_t builtin, lean_object*); +lean_object* initialize_Std_Net(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Std_Internal_UV_TCP(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init_System_IO(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_System_Promise(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_SInt(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Std_Net(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Std_Internal_UV_TCP_0__Std_Internal_UV_TCP_SocketImpl = _init_l___private_Std_Internal_UV_TCP_0__Std_Internal_UV_TCP_SocketImpl(); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif